Bug 199698

Summary: kmail crash deleting "invisible" messages
Product: [Unmaintained] kmail Reporter: Andrey Borzenkov <arvidjaar>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, lrm.regs-15.07, sayeed.ka, thomas.mueller, workingwriter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrey Borzenkov 2009-07-10 18:29:34 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

KDE 4.2.95 distributed by Mandriva (Bugzilla won't let me select this version)

I have several messages in a thread view. I moved to the last message, collapsed thread using "," and presssed DEL. KMail crashed.

Exactly when I tried to copy stack trace Dr. Konqi crashed as wel :(
Comment 1 Dario Andres 2009-07-11 17:21:43 UTC
Can you reproduce the crash all the times? Does DrKonqi also crashes all the times?
Thanks
Comment 2 Andrey Borzenkov 2009-07-11 17:32:59 UTC
(In reply to comment #1)
> Can you reproduce the crash all the times? 

yes

> Does DrKonqi also crashes all the
> times?

No.

Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fcfa95b0710 (LWP 12883))]

Thread 3 (Thread 0x7fcf8e497910 (LWP 12886)):
#0  0x00007fcfa60c81ad in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcfa79b8ef2 in QWaitCondition::wait (this=<value optimized out>, mutex=0x12f9aa0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fcfa79aed8a in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#3  0x00007fcfa79b7ed5 in QThreadPrivate::start (arg=0x13030d0) at thread/qthread_unix.cpp:188
#4  0x00007fcfa60c37dd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fcfa660725d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcf8dc96910 (LWP 12887)):
#0  0x00007fcfa60c81ad in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcfa79b8ef2 in QWaitCondition::wait (this=<value optimized out>, mutex=0x12f9aa0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fcfa79aed8a in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#3  0x00007fcfa79b7ed5 in QThreadPrivate::start (arg=0x1308a00) at thread/qthread_unix.cpp:188
#4  0x00007fcfa60c37dd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fcfa660725d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcfa95b0710 (LWP 12883)):
[KCrash Handler]
#5  0x00007fcfa655f915 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fcfa6560f8a in abort () at abort.c:88
#7  0x00007fcfa79b0124 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042
#8  0x00007fcfa79b0276 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#9  0x00007fcfa8505376 in KMail::MessageListView::Widget::getSelectionStats (this=0xa8c130, selectedSernums=<value optimized out>, selectedVisibleSernums=<value optimized out>, 
    allSelectedBelongToSameThread=<value optimized out>, includeCollapsedChildren=<value optimized out>) at /usr/src/debug/kdepim-4.2.95/kmail/messagelistview/widget.cpp:578
#10 0x00007fcfa840b277 in KMMainWidget::updateMessageActions (this=0xa7d4d0) at /usr/src/debug/kdepim-4.2.95/kmail/kmmainwidget.cpp:4278
#11 0x00007fcfa84202ed in KMMainWidget::qt_metacall (this=0xa7d4d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff97e8f50)
    at /usr/src/debug/kdepim-4.2.95/build/kmail/kmmainwidget.moc:366
#12 0x00007fcfa7ab6952 in QMetaObject::activate (sender=0xf5c570, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3104
#13 0x00007fcfa7ab0773 in QObject::event (this=0xf5c570, e=0x3253) at kernel/qobject.cpp:1066
#14 0x00007fcfa6f3e50c in QApplicationPrivate::notify_helper (this=0x725740, receiver=0xf5c570, e=0x7ffff97e9570) at kernel/qapplication.cpp:4056
#15 0x00007fcfa6f457ce in QApplication::notify (this=0x7ffff97eb970, receiver=0xf5c570, e=0x7ffff97e9570) at kernel/qapplication.cpp:4021
#16 0x00007fcfa8fc6b4e in KApplication::notify (this=0x7ffff97eb970, receiver=0xf5c570, event=0x7ffff97e9570) at /usr/src/debug/kdelibs-4.2.96/kdeui/kernel/kapplication.cpp:302
#17 0x00007fcfa7aa128c in QCoreApplication::notifyInternal (this=0x7ffff97eb970, receiver=0xf5c570, event=0x7ffff97e9570) at kernel/qcoreapplication.cpp:610
#18 0x00007fcfa7accad2 in QTimerInfoList::activateTimers (this=0x728b70) at ../../src/corelib/kernel/qcoreapplication.h:213
#19 0x00007fcfa7aca42d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#20 0x00007fcf9e776b6e in IA__g_main_context_dispatch (context=0x727cc0) at gmain.c:1960
#21 0x00007fcf9e77a5d8 in g_main_context_iterate (context=0x727cc0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#22 0x00007fcf9e77a720 in IA__g_main_context_iteration (context=0x727cc0, may_block=1) at gmain.c:2654
#23 0x00007fcfa7aca376 in QEventDispatcherGlib::processEvents (this=0x6ee8d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#24 0x00007fcfa6fd32de in QGuiEventDispatcherGlib::processEvents (this=0x3253, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007fcfa7a9fb52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fcfa7a9ff2c in QEventLoop::exec (this=0x1394110, flags=) at kernel/qeventloop.cpp:201
#27 0x00007fcfa84f5196 in KMail::KleoJobExecutor::exec (this=0x7ffff97e9b10, job=<value optimized out>, signature=<value optimized out>, signedData=@0x7ffff97ea310)
    at /usr/src/debug/kdepim-4.2.95/kmail/kleojobexecutor.cpp:56
#28 0x00007fcfa83d7bc7 in KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData (this=<value optimized out>, data=<value optimized out>, sign=<value optimized out>, 
    fromAddress=<value optimized out>, doCheck=<value optimized out>, cleartextData=<value optimized out>, paramSignatures=@0x7ffff97ea460, hideErrors=false)
    at /usr/src/debug/kdepim-4.2.95/kmail/objecttreeparser.cpp:470
#29 0x00007fcfa83d9eb8 in KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0x7ffff97ea870, node=0x1033740) at /usr/src/debug/kdepim-4.2.95/kmail/objecttreeparser.cpp:1240
#30 0x00007fcfa83d4e9b in KMail::ObjectTreeParser::parseObjectTree (this=0x7ffff97ea870, node=0x1033740) at /usr/src/debug/kdepim-4.2.95/kmail/objecttreeparser.cpp:290
#31 0x00007fcfa82b98b6 in KMReaderWin::parseMsg (this=0xba4da0, aMsg=0x1122b70) at /usr/src/debug/kdepim-4.2.95/kmail/kmreaderwin.cpp:1656
#32 0x00007fcfa82b1264 in KMReaderWin::displayMessage (this=0xba4da0) at /usr/src/debug/kdepim-4.2.95/kmail/kmreaderwin.cpp:1589
#33 0x00007fcfa82b13c9 in KMReaderWin::updateReaderWin (this=0xba4da0) at /usr/src/debug/kdepim-4.2.95/kmail/kmreaderwin.cpp:1529
#34 0x00007fcfa82b476d in KMReaderWin::qt_metacall (this=0xba4da0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff97eaf10)
    at /usr/src/debug/kdepim-4.2.95/build/kmail/kmreaderwin.moc:165
#35 0x00007fcfa7ab6952 in QMetaObject::activate (sender=0xba4e38, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3104
#36 0x00007fcfa7ab0773 in QObject::event (this=0xba4e38, e=0x3253) at kernel/qobject.cpp:1066
#37 0x00007fcfa6f3e50c in QApplicationPrivate::notify_helper (this=0x725740, receiver=0xba4e38, e=0x7ffff97eb530) at kernel/qapplication.cpp:4056
#38 0x00007fcfa6f457ce in QApplication::notify (this=0x7ffff97eb970, receiver=0xba4e38, e=0x7ffff97eb530) at kernel/qapplication.cpp:4021
#39 0x00007fcfa8fc6b4e in KApplication::notify (this=0x7ffff97eb970, receiver=0xba4e38, event=0x7ffff97eb530) at /usr/src/debug/kdelibs-4.2.96/kdeui/kernel/kapplication.cpp:302
#40 0x00007fcfa7aa128c in QCoreApplication::notifyInternal (this=0x7ffff97eb970, receiver=0xba4e38, event=0x7ffff97eb530) at kernel/qcoreapplication.cpp:610
#41 0x00007fcfa7accad2 in QTimerInfoList::activateTimers (this=0x728b70) at ../../src/corelib/kernel/qcoreapplication.h:213
#42 0x00007fcfa7aca42d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#43 0x00007fcf9e776b6e in IA__g_main_context_dispatch (context=0x727cc0) at gmain.c:1960
#44 0x00007fcf9e77a5d8 in g_main_context_iterate (context=0x727cc0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#45 0x00007fcf9e77a720 in IA__g_main_context_iteration (context=0x727cc0, may_block=1) at gmain.c:2654
#46 0x00007fcfa7aca376 in QEventDispatcherGlib::processEvents (this=0x6ee8d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#47 0x00007fcfa6fd32de in QGuiEventDispatcherGlib::processEvents (this=0x3253, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x00007fcfa7a9fb52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007fcfa7a9ff2c in QEventLoop::exec (this=0x7ffff97eb7d0, flags=) at kernel/qeventloop.cpp:201
#50 0x00007fcfa7aa2139 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#51 0x0000000000402e05 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.95/kmail/main.cpp:146
Comment 3 Dario Andres 2009-07-11 17:39:53 UTC
Thanks. This looks related to bug 195893.
Comment 4 Christophe Marin 2009-07-13 22:45:50 UTC

*** This bug has been marked as a duplicate of bug 195893 ***
Comment 5 Christophe Marin 2009-10-21 00:51:32 UTC
*** Bug 211270 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2010-03-28 14:44:08 UTC
*** Bug 232468 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2010-03-28 14:45:19 UTC
reopen this report, I have a doubt about it.
Comment 8 Björn Ruberg 2010-04-05 23:17:40 UTC
*** Bug 219103 has been marked as a duplicate of this bug. ***
Comment 9 Björn Ruberg 2010-04-05 23:17:46 UTC
*** Bug 227763 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2011-07-08 12:59:54 UTC
*** Bug 275470 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2012-08-19 10:59:48 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding