Bug 444916

Summary: Kontact crash when quitting while using KMail with open e-mail windows
Product: [Applications] kontact Reporter: David <davidanema>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description David 2021-11-04 00:47:37 UTC
Application: kontact (5.15.3 (20.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-9-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux 11 (bullseye)

-- Information about the crash:
- What I was doing when the application crashed:

1) While using Kontact, switch to KMail component and open any e-mail in a separate window.

2) With the e-mail window still open, switch back to Kontact main window and quit by any means (Ctrl+Q or other hotkey, close window by means of window manager close button, etc). Note that KMail no longer needs to be the active component in Kontact window, so long as an open e-mail window exists.

3) Kontact crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1f1f940f4f in KMReaderMainWin::~KMReaderMainWin() () at /lib/x86_64-linux-gnu/libkmailprivate.so.5
#5  0x00007f1f1f941019 in KMReaderMainWin::~KMReaderMainWin() () at /lib/x86_64-linux-gnu/libkmailprivate.so.5
#6  0x00007f1fa9dd0daf in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1fab081659 in KXmlGuiWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#8  0x00007f1faa86715f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f1fa9da4fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f1fa9da7a01 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f1fa9dfce93 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f1fa0b82e6b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f1fa0b83118 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f1fa0b831cf in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f1fa9dfc51f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f1fa9da398b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f1fa9dabc00 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000055d6240b602b in  ()
#19 0x00007f1fa9789d0a in __libc_start_main (main=0x55d6240b5610, argc=1, argv=0x7fff341fa978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff341fa968) at ../csu/libc-start.c:308
#20 0x000055d6240b654a in  ()
[Inferior 1 (process 4064907) detached]

Possible duplicates by query: bug 444909, bug 444543, bug 444534, bug 444446, bug 444421.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-01-06 12:22:00 UTC

*** This bug has been marked as a duplicate of bug 420669 ***