https://bugs.kde.org/show_bug.cgi?id=340014
Bug ID: 340014 Summary: kMail crashes when opening a new main window if the original (first) main window has been closed Product: kmail2 Version: 4.14.1 Platform: Kubuntu Packages OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: UI Assignee: kdepim-bugs@kde.org Reporter: kdeb...@customcdrom.de kMail crashes if a new main window should be opened but the original, first main window has been closed before. Reproducible: Always Steps to Reproduce: 1. Start kMail 2. Open a new main window using File->New->Main Window 3. Close the first (original) main window. 4. Chose File->New->Main Window again, in the newly opened main window => crash Actual Results: kMail crashes. Expected Results: kMail should not crash and a new, second main window should appear. Application: KMail (kmail), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f75977d6800 (LWP 7300))] Thread 6 (Thread 0x7f756f8a9700 (LWP 7303)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f758957e81d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #2 0x00007f758957e859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #3 0x00007f75923fc182 in start_thread (arg=0x7f756f8a9700) at pthread_create.c:312 #4 0x00007f7594b3afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f752e0aa700 (LWP 7304)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f75892bf20d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #2 0x00007f75895adfd6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #3 0x00007f75923fc182 in start_thread (arg=0x7f752e0aa700) at pthread_create.c:312 #4 0x00007f7594b3afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f752d1b2700 (LWP 7305)): #0 0x00007f7594b2dc6d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f758cb97fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f758cb980ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f75954ca7be in QEventDispatcherGlib::processEvents (this=0x7f75200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #4 0x00007f759549c0af in QEventLoop::processEvents (this=this@entry=0x7f752d1b1de0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f759549c3a5 in QEventLoop::exec (this=this@entry=0x7f752d1b1de0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f7595398c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537 #7 0x00007f759539b32f in QThreadPrivate::start (arg=0x228ad60) at thread/qthread_unix.cpp:349 #8 0x00007f75923fc182 in start_thread (arg=0x7f752d1b2700) at pthread_create.c:312 #9 0x00007f7594b3afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f752760f700 (LWP 7306)): #0 0x00007f7594b2dc6d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f758cb97fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f758cb980ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f75954ca7be in QEventDispatcherGlib::processEvents (this=0x7f751c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #4 0x00007f759549c0af in QEventLoop::processEvents (this=this@entry=0x7f752760eda0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f759549c3a5 in QEventLoop::exec (this=this@entry=0x7f752760eda0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f7595398c5f in QThread::exec (this=this@entry=0x2677b20) at thread/qthread.cpp:537 #7 0x00007f759547d823 in QInotifyFileSystemWatcherEngine::run (this=0x2677b20) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f759539b32f in QThreadPrivate::start (arg=0x2677b20) at thread/qthread_unix.cpp:349 #9 0x00007f75923fc182 in start_thread (arg=0x7f752760f700) at pthread_create.c:312 #10 0x00007f7594b3afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f7526bfd700 (LWP 7308)): #0 0x00007f7594b328e3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f759547a171 in QProcessManager::run (this=0x7f7595804540 <processManager()::processManager>) at io/qprocess_unix.cpp:270 #2 0x00007f759539b32f in QThreadPrivate::start (arg=0x7f7595804540 <processManager()::processManager>) at thread/qthread_unix.cpp:349 #3 0x00007f75923fc182 in start_thread (arg=0x7f7526bfd700) at pthread_create.c:312 #4 0x00007f7594b3afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f75977d6800 (LWP 7300)): [KCrash Handler] #6 QString::operator== (this=0x28002000680103, other=...) at tools/qstring.cpp:2192 #7 0x00007f759732874c in KStatusNotifierItem::setToolTipSubTitle (this=this@entry=0x256dbe0, subTitle=...) at ../../kdeui/notifications/kstatusnotifieritem.cpp:419 #8 0x00007f759655e86e in KMail::KMSystemTray::unreadMail (this=this@entry=0x256dbe0, model=model@entry=0x1e76cc0, parentIndex=...) at ../../kmail/kmsystemtray.cpp:415 #9 0x00007f759655e74d in KMail::KMSystemTray::unreadMail (this=this@entry=0x256dbe0, model=model@entry=0x1e76cc0, parentIndex=...) at ../../kmail/kmsystemtray.cpp:408 #10 0x00007f759655ea25 in KMail::KMSystemTray::initListOfCollection (this=0x256dbe0) at ../../kmail/kmsystemtray.cpp:375 #11 0x00007f759655ef3f in updateSystemTray (this=<optimized out>) at ../../kmail/kmsystemtray.cpp:437 #12 KMail::KMSystemTray::setShowUnreadCount (this=<optimized out>, showUnreadCount=<optimized out>) at ../../kmail/kmsystemtray.cpp:154 #13 0x00007f75965674a5 in KMKernel::toggleSystemTray (this=0x7fff1cf95630) at ../../kmail/kmkernel.cpp:2060 #14 0x00007f7596597bff in KMMainWidget::readConfig (this=this@entry=0x23d1910) at ../../kmail/kmmainwidget.cpp:875 #15 0x00007f75965a6f66 in KMMainWidget::KMMainWidget (this=0x23d1910, parent=<optimized out>, aGUIClient=0x28e65e0, actionCollection=<optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:271 #16 0x00007f7596556ab1 in KMMainWin::KMMainWin (this=this@entry=0x28e6580, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:67 #17 0x00007f7596556e5d in KMMainWin::slotNewMailReader (this=<optimized out>) at ../../kmail/kmmainwin.cpp:156 #18 0x00007f75954b187a in QMetaObject::activate (sender=sender@entry=0xc8d2da0, m=m@entry=0x7f7596478de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff1cf94400) at kernel/qobject.cpp:3539 #19 0x00007f75959c8a62 in QAction::triggered (this=this@entry=0xc8d2da0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #20 0x00007f75959ca433 in QAction::activate (this=this@entry=0xc8d2da0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #21 0x00007f7595df8489 in QMenuPrivate::activateCausedStack (this=this@entry=0x86b07d0, causedStack=..., action=action@entry=0xc8d2da0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038 #22 0x00007f7595dfc9b9 in QMenuPrivate::activateAction (this=0x86b07d0, action=0xc8d2da0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130 #23 0x00007f7595e00385 in QMenu::mouseReleaseEvent (this=this@entry=0x84ff380, e=e@entry=0x7fff1cf94b30) at widgets/qmenu.cpp:2372 #24 0x00007f75972cc665 in KMenu::mouseReleaseEvent (this=0x84ff380, e=0x7fff1cf94b30) at ../../kdeui/widgets/kmenu.cpp:464 #25 0x00007f7595a1e50a in QWidget::event (this=this@entry=0x84ff380, event=event@entry=0x7fff1cf94b30) at kernel/qwidget.cpp:8376 #26 0x00007f7595e007bb in QMenu::event (this=0x84ff380, e=0x7fff1cf94b30) at widgets/qmenu.cpp:2481 #27 0x00007f75959cee2c in QApplicationPrivate::notify_helper (this=this@entry=0x1cefa90, receiver=receiver@entry=0x84ff380, e=e@entry=0x7fff1cf94b30) at kernel/qapplication.cpp:4567 #28 0x00007f75959d55dd in QApplication::notify (this=this@entry=0x7fff1cf95600, receiver=receiver@entry=0x84ff380, e=e@entry=0x7fff1cf94b30) at kernel/qapplication.cpp:4110 #29 0x00007f7597215d1a in KApplication::notify (this=0x7fff1cf95600, receiver=0x84ff380, event=0x7fff1cf94b30) at ../../kdeui/kernel/kapplication.cpp:311 #30 0x00007f759549d4dd in QCoreApplication::notifyInternal (this=0x7fff1cf95600, receiver=receiver@entry=0x84ff380, event=event@entry=0x7fff1cf94b30) at kernel/qcoreapplication.cpp:953 #31 0x00007f75959d4d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #32 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x84ff380, event=event@entry=0x7fff1cf94b30, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x84ff380, buttonDown=buttonDown@entry=0x7f75964b4318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178 #33 0x00007f7595a49cfc in QETWidget::translateMouseEvent (this=this@entry=0x84ff380, event=event@entry=0x7fff1cf94e80) at kernel/qapplication_x11.cpp:4568 #34 0x00007f7595a49269 in QApplication::x11ProcessEvent (this=0x7fff1cf95600, event=event@entry=0x7fff1cf94e80) at kernel/qapplication_x11.cpp:3627 #35 0x00007f7595a70b02 in x11EventSourceDispatch (s=0x1d0a130, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #36 0x00007f758cb97e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f758cb98048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007f758cb980ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007f75954ca7a1 in QEventDispatcherGlib::processEvents (this=0x1c08af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #40 0x00007f7595a70bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007f759549c0af in QEventLoop::processEvents (this=this@entry=0x7fff1cf95250, flags=...) at kernel/qeventloop.cpp:149 #42 0x00007f759549c3a5 in QEventLoop::exec (this=this@entry=0x7fff1cf95250, flags=...) at kernel/qeventloop.cpp:204 #43 0x00007f75954a1b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #44 0x00007f75959cd37c in QApplication::exec () at kernel/qapplication.cpp:3828 #45 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs