Summary: | Kmail Crashes at exit | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Oleg <prcoder> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | dvratil, eikelmt, prcoder |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.11.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Oleg
2013-10-03 16:45:21 UTC
Created attachment 82644 [details]
New crash information added by DrKonqi
kmail (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5
Kmail repeating crash at exitiing
-- Backtrace (Reduced):
#8 0x47dffba6 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9 0x47e013e3 in __GI_abort () at abort.c:89
[...]
#13 0x4fadcc04 in operator-> (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:74
#14 Akonadi::Control::widgetNeedsAkonadi (widget=widget@entry=0xa1cd608) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:263
#15 0x4311a8d7 in KMMainWidget::KMMainWidget (this=0xa1cd608, parent=0xb785590, aGUIClient=0xb7855c4, actionCollection=0xbfdcdb0, config=...) at /usr/src/debug/kdepim-4.11.2/kmail/kmmainwidget.cpp:250
This is indeed a bug in KMail: it calls a code that depends on event loop from KMKernel::cleanup(), which is invoked after the main event loop is destroyed (and QCoreApplication::aboutToQuit() is emitted). This hits an assert in KGlobalStatic in Akonadi::Control, but could trigger a bug anywhere. Starting a "nested" event loop after the main event loop is destroyed is IMO wrong - it should better be handled from KMailApplication destructor, or somewhere similar. Created attachment 82776 [details]
New crash information added by DrKonqi
kmail (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5
Every time after KMail crashes and I tyr to restart it i got same error:
Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d
#12 0xb6fe9689 in qFatal (msg=msg@entry=0x42c8a42c "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2552
#13 0x42b84c04 in operator-> (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:74
#14 Akonadi::Control::widgetNeedsAkonadi (widget=widget@entry=0x9b71068) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:263
-- Backtrace (Reduced):
#8 0x48be4ba6 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9 0x48be63e3 in __GI_abort () at abort.c:89
[...]
#13 0x42b84c04 in operator-> (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:74
#14 Akonadi::Control::widgetNeedsAkonadi (widget=widget@entry=0x9b71068) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/control.cpp:263
#15 0x443098d7 in KMMainWidget::KMMainWidget (this=0x9b71068, parent=0xa0ecae8, aGUIClient=0xa0ecb1c, actionCollection=0xa380eb8, config=...) at /usr/src/debug/kdepim-4.11.2/kmail/kmmainwidget.cpp:250
*** Bug 326562 has been marked as a duplicate of this bug. *** This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |