[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KPluginLoader ==> cannot load any more object with static TLS
From: Stephane MANKOWSKI <stephane () mankowski ! fr>
Date: 2012-10-30 21:20:55
Message-ID: 509044B7.3020405 () mankowski ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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.10 (with KDE 4.9.2), some plugins are not loaded due to a
NULL pointer returned by /*loader.factory()*/
I didn't change the code of Skrooge in between.
If I print the error message returned by /*loader.errorString()*/, I get
this:
/*dlopen: cannot load any more object with static TLS*/
I don't understand this error.
What does it mean?
What should I do to be able to load all plugins like on previous version?
Best regards.
Stéphane MANKOWSKI
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am working on Skrooge which uses plugin mechanism like this:<br>
<i><b>KPluginLoader loader(service->library());</b></i><i><b><br>
</b></i><i><b>KPluginFactory* factory = loader.factory();</b></i><i><b><br>
</b></i><i><b>if (factory) {</b></i><i><b><br>
</b></i><i><b>...</b></i><i><b><br>
</b></i><i><b>}</b></i><br>
<br>
On kubuntu 12.04 (with KDE 4.9.1), all plugins were successfully
loaded.<br>
On kubuntu 12.10 (with KDE 4.9.2), some plugins are not loaded due
to a NULL pointer returned by <i><b>loader.factory()</b></i><br>
I didn't change the code of Skrooge in between.<br>
<br>
If I print the error message returned by <i><b>loader.errorString()</b></i>,
I get this:<br>
<i><b><font color="#ff0000">dlopen: cannot load any more object with
static TLS</font></b></i><br>
<br>
I don't understand this error.<br>
What does it mean?<br>
What should I do to be able to load all plugins like on previous
version?<br>
<br>
Best regards.<br>
<br>
Stéphane MANKOWSKI<br>
</body>
</html>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic