Comment 39 for bug 131227

Revision history for this message
Michael Vogt (mvo) wrote :

Just for the record, the removal of "Wl,--as-needed" is also required, otherwise the daemon crashes when it loads libsexy. The reason seems to be that libsexy is not mapped into memory from the daemon. So when the theme engine module is loaded it maps libsexy and registers with the gobject system. Now when the engine changes the module is unloaded and a new one is loaded. This contains also libsexy but mapped to a different adress. It seems that this confuses the gobject system and the crash happens. As a workaround removing --as-needed will have libsexy linked against the daemon itself.