Re: KPluginLoader ==> cannot load any more object with static TLS

2012-11-03 Thread Thiago Macieira
On quarta-feira, 31 de outubro de 2012 14.30.08, Sune Vuorela wrote: > On 2012-10-30, Stephane MANKOWSKI wrote: > > On kubuntu 12.04 (with KDE 4.9.1), all plugins were successfully loaded. > > On kubuntu 12.10 (with KDE 4.9.2), some plugins are not loaded due to a=20 > > NULL pointer returned by /

Re: KPluginLoader ==> cannot load any more object with static TLS

2012-11-03 Thread Stephane MANKOWSKI
Hi All, I am progressing. If I call a plasma _static_ method (as const KPluginInfo::List skglist = Plasma::Applet::listAppletInfo("", "skrooge");) in my plugin, the I have the error "*dlopen: cannot load any more object with static TLS*". If I comment this line, then the plugin is loaded witho

Re: KPluginLoader ==> cannot load any more object with static TLS

2012-11-01 Thread Stephane MANKOWSKI
Hi, I don't know if this is a coincidence or not but Skrooge is not able to load /*_only the plugins using "Plasma" APIs_*/ any more (The same code works on kubuntu 12.04 but not on 12.10). Do you think I am on the right track? Do you have some advice to find the correction? Thank you. Le 31

Re: KPluginLoader ==> cannot load any more object with static TLS

2012-10-31 Thread Stephane MANKOWSKI
Hi, Thank you for your answer. Now, I know the reason of the error (not due to KDE or Skrooge, due to libc) ... ... do you know how to repair it? Do I have to put special linking "tags" in the CMakeLists.txt of my plugins? Do I have to open a bug on KPluginLoader? Is somebody else has the sam

Re: KPluginLoader ==> cannot load any more object with static TLS

2012-10-31 Thread Sune Vuorela
On 2012-10-30, Stephane MANKOWSKI wrote: > On kubuntu 12.04 (with KDE 4.9.1), all plugins were successfully loaded. > On kubuntu 12.10 (with KDE 4.9.2), some plugins are not loaded due to a=20 > NULL pointer returned by /*loader.factory()*/ > I didn't change the code of Skrooge in between. > > If

Re: KPluginLoader ==> cannot load any more object with static TLS

2012-10-30 Thread Andreas Pakulat
Hi, On Tue, Oct 30, 2012 at 10:20 PM, Stephane MANKOWSKI wrote: > I am working on Skrooge which uses plugin mechanism like this: > KPluginLoader loader(service->library()); > KPluginFactory* factory = loader.factory(); > if (factory) { > ... > } > > On kubuntu 12.04 (with KDE 4.9.1), all plugins

KPluginLoader ==> cannot load any more object with static TLS

2012-10-30 Thread Stephane MANKOWSKI
Hi, I am working on Skrooge which uses plugin mechanism like this: /*KPluginLoader loader(service->library());*//* *//*KPluginFactory* factory = loader.factory();*//* *//*if (factory) {*//* *//*...*//* *//*}*/ On kubuntu 12.04 (with KDE 4.9.1), all plugins were successfully loaded. On kubuntu 12