[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KLibLoader is crashing
From:       "=?UTF-8?Q?Rafael_Fern=C3=A1ndez_L=C3=B3pez?=" <ereslibre () gmail ! com>
Date:       2007-09-02 17:21:48
Message-ID: 93f85fee0709021021x6c0af9caj653791959709dfce () mail ! gmail ! com
[Download RAW message or body]

Hi,

I've found the problem. This one is a tricky one.

The problem is a conceptual one. A library now can provide both the
configuration dialog for a plugin and the plugin itself.

If a plugin is not loaded and its configuration dialog is shown, then
the library is loaded, and after Cancel or OK is clicked, the library
is unloaded. That doesn't represent a problem.

The problem comes when a plugins is loaded and the configuration
dialog is shown. The library is "loaded", then when the configuration
dialog is closed, the library is _UNLOADED_, but it was _still
providing_ the plugin itself (that is still loaded) what makes it
crash.

I have really no time, but I will find a solution for this, I guess.
More input / patches that solve this is welcome.


Bye,
Rafael Fernández López.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic