Need suggestion on how to fix the common crash in plasma-desktop (kdelibs related)

Aaron J. Seigo aseigo at kde.org
Wed Mar 21 11:31:45 GMT 2012


On Tuesday, March 20, 2012 22:31:57 Lamarque V. Souza wrote:
> 	There is a crash in WeatherEngine (kde-workspace) triggered by the fact
> that Plasma::DataEngineManager::self() (kdelib) is invalid when
> plasma-{desktop,device} are exiting. WeatherEngine::~WeatherEngine() calls
> WeatherEngine::unloadIons(), which tries to use the invalid
> Plasma::DataEngineManager::self(). The crash only happens if there is

this happens only when the application uncleanly exits. if you notice in the 
bug reports you linked to there was a problem elsewhere (e.g. an xioerror, an 
uncaught exception, etc.) and that caused an abort of the process with an 
unclean exit which then triggers this problem. the cause of the crash was 
never the WeatherEngine itself, but rather a crash in WeatherEngine was 
triggered while the application was otherwise closing down due to an error 
elsewhere that was itself bringing down the application.

DataEngines created by DataEngineManager *must* be released prior to 
application exit. and normally this happens except in such cases where the 
application is brought down by an abnormal situation.

so while you can make the changes David suggests, it will only change the 
backtraces in those bug reports but not actually solve anything in the real 
world. the aborts will still happen as a result of the underlying error.

p.s. this probably belongs on plasma-devel rather than kde-core-devel ...

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120321/1f460ca5/attachment.sig>


More information about the kde-core-devel mailing list