Found at [1]. <quote> Compiling Compiz Core with GCC 4.5 will cause a strange bug where static members of template classes will have their constructors called on dlopen (), causing key members such as plugin class reference counts to reset. This in turn will causes crashes in the near future as key names which are in use are deallocated. </quote>
[1] http://bugs.opencompositing.org/show_bug.cgi?id=1308 -- Summary: Compiz Core miscompiles with GCC 4.5 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44815