Bug 195624

Summary: kmail crashes with SIGABRT while closing e-mail windows
Product: [Unmaintained] kmail Reporter: Ralph Janke <txwikinger>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, bjoern, mail
Priority: NOR    
Version: 1.11.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Ralph Janke 2009-06-08 04:58:18 UTC
Version:           1.11.4 (using 4.2.4 (KDE 4.2.4), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-12-generic

Application: KMail (kmail), signal SIGABRT
[Current thread is 0 (LWP 6140)]

Thread 2 (Thread 0xb1200b90 (LWP 7070)):
#0  0xb7ef2430 in __kernel_vsyscall ()
#1  0xb5b167b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5dea380 in QProcessManager::run (this=0x89522e8) at io/qprocess_unix.cpp:305
#3  0xb5d1896e in QThreadPrivate::start (arg=0x89522e8) at thread/qthread_unix.cpp:189
#4  0xb4f474ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5b1e49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3b3db40 (LWP 6140)):
[KCrash Handler]
#6  0xb7ef2430 in __kernel_vsyscall ()
#7  0xb5a656d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5a67098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5d10595 in qt_message_output (msgType=QtFatalMsg, buf=0xb2597c0 "ASSERT: \"!transferInProgress( serNum )\" in file /build/buildd/kdepim-4.2.4/kmail/messageproperty.cpp, line 180")
    at global/qglobal.cpp:2006
#10 0xb5d10681 in qFatal (msg=0xb5e5f318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5d10775 in qt_assert (assertion=0xb77c444b "!transferInProgress( serNum )", file=0xb77c43f8 "/build/buildd/kdepim-4.2.4/kmail/messageproperty.cpp", line=180) at global/qglobal.cpp:1777
#12 0xb72f3660 in KMail::MessageProperty::forget (msgBase=0xb0e6500) at /build/buildd/kdepim-4.2.4/kmail/messageproperty.cpp:180
#13 0xb7358e7a in ~KMMsgBase (this=0xb0e6500) at /build/buildd/kdepim-4.2.4/kmail/kmmsgbase.cpp:125
#14 0xb71b6944 in ~KMMessage (this=0xb0e6500) at /build/buildd/kdepim-4.2.4/kmail/kmmessage.cpp:225
#15 0xb72c6fb2 in ~KMReaderWin (this=0xaff2f08) at /build/buildd/kdepim-4.2.4/kmail/kmreaderwin.cpp:909
#16 0xb5e1be3f in QObjectPrivate::deleteChildren (this=0xb00cc08) at kernel/qobject.cpp:1854
#17 0xb610b66b in ~QWidget (this=0xb009f30) at kernel/qwidget.cpp:1373
#18 0xb6507531 in ~QMainWindow (this=0xb009f30) at widgets/qmainwindow.cpp:328
#19 0xb7dfe8bb in ~KMainWindow (this=0xb009f30) at /build/buildd/kde4libs-4.2.4/kdeui/widgets/kmainwindow.cpp:467
#20 0xb7e419f7 in ~KXmlGuiWindow (this=0xb009f30, __vtt_parm=0xb792af98) at /build/buildd/kde4libs-4.2.4/kdeui/xmlgui/kxmlguiwindow.cpp:127
#21 0xb755ddf8 in ~SecondaryWindow (this=0xb009f30, __vtt_parm=0xb792af94) at /build/buildd/kdepim-4.2.4/kmail/secondarywindow.cpp:56
#22 0xb74c79ca in ~KMReaderMainWin (this=0xb009f30) at /build/buildd/kdepim-4.2.4/kmail/kmreadermainwin.cpp:117
#23 0xb5e1bb25 in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3771
#24 0xb5e1d3cb in QObject::event (this=0xb009f30, e=0xb210000) at kernel/qobject.cpp:1101
#25 0xb6110440 in QWidget::event (this=0xb009f30, event=0xb210000) at kernel/qwidget.cpp:7913
#26 0xb65080d7 in QMainWindow::event (this=0xb009f30, event=0xb210000) at widgets/qmainwindow.cpp:1396
#27 0xb7dfdaa7 in KMainWindow::event (this=0xb009f30, ev=0xb210000) at /build/buildd/kde4libs-4.2.4/kdeui/widgets/kmainwindow.cpp:1094
#28 0xb7e4289c in KXmlGuiWindow::event (this=0xb009f30, ev=0xb210000) at /build/buildd/kde4libs-4.2.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#29 0xb60b9e9c in QApplicationPrivate::notify_helper (this=0x89525a8, receiver=0xb009f30, e=0xb210000) at kernel/qapplication.cpp:4084
#30 0xb60c2282 in QApplication::notify (this=0xbf80f368, receiver=0xb009f30, e=0xb210000) at kernel/qapplication.cpp:4049
#31 0xb7d19e0d in KApplication::notify (this=0xbf80f368, receiver=0xb009f30, event=0xb210000) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#32 0xb5e0ca3b in QCoreApplication::notifyInternal (this=0xbf80f368, receiver=0xb009f30, event=0xb210000) at kernel/qcoreapplication.cpp:602
#33 0xb5e0d695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x892c1f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#34 0xb5e0d88d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#35 0xb5e387ef in postEventSourceDispatch (s=0x895a6f8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0xb423eb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb42420eb in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb4242268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb5e38438 in QEventDispatcherGlib::processEvents (this=0x89375a8, flags={i = -1082068536}) at kernel/qeventdispatcher_glib.cpp:323
#40 0xb615b365 in QGuiEventDispatcherGlib::processEvents (this=0x89375a8, flags={i = -1082068488}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb5e0b06a in QEventLoop::processEvents (this=0xbf80f270, flags={i = -1082068424}) at kernel/qeventloop.cpp:149
#42 0xb5e0b4aa in QEventLoop::exec (this=0xbf80f270, flags={i = -1082068360}) at kernel/qeventloop.cpp:200
#43 0xb5e0d959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#44 0xb60b9d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#45 0x0804a7a0 in main (argc=) at /build/buildd/kdepim-4.2.4/kmail/main.cpp:146
Comment 1 Dario Andres 2009-06-09 01:10:38 UTC
This may be related to bug 156991 / bug 176571
Could you check them to see if you find any coincidence in your situation?
Thanks
Comment 2 Ralph Janke 2009-06-10 07:31:10 UTC
There is some similarity with bug 156991 until #15, so maybe it is an underlying problem cause by two different actions.

Similar with bug 176571. That bug seem to have something to do with synchronisation.

My trace happened when I had openened a particular e-mail multiple times and close a couple of those windows.
Comment 3 Elias Probst 2010-06-01 15:06:28 UTC
Created attachment 47559 [details]
New crash information added by DrKonqi

KMail crashed here too when closing it - I'm not sure whether the reason (according to the backtrace) is the same.
Comment 4 Björn Ruberg 2010-08-08 01:32:36 UTC

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