[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Need suggestion on how to fix the common crash in plasma-desktop (kdelibs related)
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2012-03-21 11:31:45
Message-ID: 51248407.iD6ZTbnirN () freedom
[Download RAW message or body]
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
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic