Summary: | Kontact (KMail?) crash on exit | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Louis Moureaux <m_louis30> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | damien.rembert, giecrilj, hans.tovetjarn, kenny1, linuxuser, matthias.nagel, nicolas.fella, pub, solbeziel |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kmail/commit/06848bf8d9685858fc348d9ab0f7a5a998264918 | Version Fixed In: | |
Sentry Crash Report: |
Description
Louis Moureaux
2020-04-27 15:03:18 UTC
*** Bug 448017 has been marked as a duplicate of this bug. *** *** Bug 421095 has been marked as a duplicate of this bug. *** *** Bug 428549 has been marked as a duplicate of this bug. *** *** Bug 432709 has been marked as a duplicate of this bug. *** *** Bug 437111 has been marked as a duplicate of this bug. *** Posting the backtrace from https://bugs.kde.org/show_bug.cgi?id=437111 since it has debug symbols: Application: Kontact (kontact), signal: Segmentation fault Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe6f6a57ec0 (LWP 1853))] [KCrash Handler] #6 0x00007fe65110e321 in KMReaderMainWin::~KMReaderMainWin() (this=this@entry=0x7fe67c02a490, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kmail-20.12.3/work/kmail-20.12.3/src/kmreadermainwin.cpp:115 #7 0x00007fe65110e409 in KMReaderMainWin::~KMReaderMainWin() (this=0x7fe67c02a490, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kmail-20.12.3/work/kmail-20.12.3/src/kmreadermainwin.cpp:117 #8 0x00007fe709aa4d8f in QObject::event(QEvent*) (this=this@entry=0x7fe67c02a490, e=e@entry=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:1301 #9 0x00007fe70a4b57c3 in QWidget::event(QEvent*) (this=this@entry=0x7fe67c02a490, event=event@entry=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qwidget.cpp:9080 #10 0x00007fe70a5c9734 in QMainWindow::event(QEvent*) (this=this@entry=0x7fe67c02a490, event=event@entry=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/widgets/qmainwindow.cpp:1341 #11 0x00007fe70accfedb in KMainWindow::event(QEvent*) (this=this@entry=0x7fe67c02a490, ev=ev@entry=0x7fe67c06c370) at /var/tmp/portage/kde-frameworks/kxmlgui-5.80.0/work/kxmlgui-5.80.0/src/kmainwindow.cpp:913 #12 0x00007fe70ad19fb7 in KXmlGuiWindow::event(QEvent*) (this=0x7fe67c02a490, ev=0x7fe67c06c370) at /var/tmp/portage/kde-frameworks/kxmlgui-5.80.0/work/kxmlgui-5.80.0/src/kxmlguiwindow.cpp:109 #13 0x00007fe70a473d3f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55f6cdd183f0, receiver=receiver@entry=0x7fe67c02a490, e=e@entry=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3632 #14 0x00007fe70a47c950 in QApplication::notify(QObject*, QEvent*) (this=0x7ffeaf399a20, receiver=0x7fe67c02a490, e=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3156 #15 0x00007fe709a79817 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fe67c02a490, event=0x7fe67c06c370) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1063 #16 0x00007fe709a7c340 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55f6cdd08f90) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1817 #17 0x00007fe709acee73 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55f6cdd92b50) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #18 0x00007fe7003e1c7c in g_main_dispatch (context=0x7fe6f0005000) at ../glib-2.66.7/glib/gmain.c:3325 #19 g_main_context_dispatch (context=context@entry=0x7fe6f0005000) at ../glib-2.66.7/glib/gmain.c:4043 #20 0x00007fe7003e1ef8 in g_main_context_iterate (context=context@entry=0x7fe6f0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.66.7/glib/gmain.c:4119 #21 0x00007fe7003e1f8f in g_main_context_iteration (context=0x7fe6f0005000, may_block=may_block@entry=1) at ../glib-2.66.7/glib/gmain.c:4184 #22 0x00007fe709acec20 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f6cdd8e230, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #23 0x00007fe709a78663 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffeaf399900, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69 #24 0x00007fe709a805a0 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:121 #25 0x000055f6cd407027 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kontact-20.12.3/work/kontact-20.12.3/src/main.cpp:217 *** Bug 444916 has been marked as a duplicate of this bug. *** *** Bug 445427 has been marked as a duplicate of this bug. *** *** Bug 416986 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/pim/kmail/-/merge_requests/53 Git commit 06848bf8d9685858fc348d9ab0f7a5a998264918 by Laurent Montel, on behalf of Nicolas Fella. Committed on 06/01/2022 at 19:00. Pushed by mlaurent into branch 'master'. Don't access KMKernel when destructing KMReaderMainWin At this point the kernel is already deleted by KMailPart, so we are accessing a nullptr. Since we know which config we want to access we can do that directly. M +1 -1 src/kmreadermainwin.cpp https://invent.kde.org/pim/kmail/commit/06848bf8d9685858fc348d9ab0f7a5a998264918 |