Bug 181611

Summary: Kontact crashed (SIGSEGV) when moving emails to trash [KMMessage::transferInProgress, KMail::ImapJob::slotGetMessageResult]
Product: [Unmaintained] kmail Reporter: Bernd Oliver Sünderhauf <pancho.s>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, bjoern, christophe, david, elpijao, g_fretes, kiernek, mikael, mola89, ortylp, ruchir.brahmbhatt, sven.burmeister, thiago.na.almeida, tkinyua, ungethym, wim.delvaux, xosecalvo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Bernd Oliver Sünderhauf 2009-01-22 17:11:33 UTC
Version:           4.1.96 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Kontact crashed (SIGSEGV) when moving emails to trash.
Though I can't systematically reproduce this crash, I thought the backtrace might be helpful.

This is the backtrace:

Anwendung: Kontact (kontact), Signal SIGSEGV
0x00007f067c428621 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f06827de6f0 (LWP 9482)):
[KCrash Handler]
#5  0x00007f067f767a70 in typeinfo for KIO::Job () from /usr/lib/libkio.so.5
#6  0x00007f0669d52afd in KMMessage::transferInProgress (this=0x5ba9d50) at /build/buildd/kdepim-4.1.96/kmail/kmmessage.cpp:268
#7  0x00007f066a068dfa in KMail::ImapJob::slotGetMessageResult (this=0x5b28b30, job=0x5cbb3d0) at /build/buildd/kdepim-4.1.96/kmail/imapjob.cpp:374
#8  0x00007f066a06c817 in KMail::ImapJob::qt_metacall (this=0x5b28b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8a81a940)
    at /build/buildd/kdepim-4.1.96/obj-x86_64-linux-gnu/kmail/imapjob.moc:81
#9  0x00007f067d005134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007f067d6378e2 in KJob::result (this=0x5ba9d50, _t1=0x5cbb3d0) at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kdecore/kjob.moc:186
#11 0x00007f067d637caf in KJob::emitResult (this=0x5cbb3d0) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:294
#12 0x00007f067f39c600 in KIO::SimpleJob::slotFinished (this=0x5cbb3d0) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:489
#13 0x00007f067f39cab3 in KIO::TransferJob::slotFinished (this=0x5cbb3d0) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:957
#14 0x00007f067f399c25 in KIO::TransferJob::qt_metacall (this=0x5cbb3d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8a81ad40)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/jobclasses.moc:336
#15 0x00007f067d005134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x00007f067f45b701 in KIO::SlaveInterface::dispatch (this=0x1d68fa0, _cmd=104, rawdata=<value optimized out>) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:175
#17 0x00007f067f4581f2 in KIO::SlaveInterface::dispatch (this=0x1d68fa0) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:91
#18 0x00007f067f44a3e3 in KIO::Slave::gotInput (this=0x1d68fa0) at /build/buildd/kde4libs-4.1.96/kio/kio/slave.cpp:322
#19 0x00007f067f44b418 in KIO::Slave::qt_metacall (this=0x1d68fa0, _c=QMetaObject::InvokeMetaMethod, _id=2138470416, _a=0x7fff8a81b160)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/slave.moc:75
#20 0x00007f067d005134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0x00007f067f367da0 in KIO::ConnectionPrivate::dequeue (this=0x1d910b0) at /build/buildd/kde4libs-4.1.96/kio/kio/connection.cpp:82
#22 0x00007f067f367eda in KIO::Connection::qt_metacall (this=0x1d891a0, _c=QMetaObject::InvokeMetaMethod, _id=2138470416, _a=0x5daae70)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/connection.moc:72
#23 0x00007f067cfffda5 in QObject::event () from /usr/lib/libQtCore.so.4
#24 0x00007f067db87c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#25 0x00007f067db8f9ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#26 0x00007f067eebe3cb in KApplication::notify (this=0x7fff8a81bbc0, receiver=0x1d891a0, event=0x5ec3c30) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#27 0x00007f067cff0d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#28 0x00007f067cff19fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#29 0x00007f067d0194d3 in ?? () from /usr/lib/libQtCore.so.4
#30 0x00007f0676d49d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f0676d4d50d in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f0676d4d6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f067d01915f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#34 0x00007f067dc19a6f in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007f067cfef682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#36 0x00007f067cfef80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0x00007f067cff1cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#38 0x0000000000404a15 in main (argc=1, argv=0x7fff8a81c2a8) at /build/buildd/kdepim-4.1.96/kontact/src/main.cpp:218
Comment 1 Dario Andres 2009-01-22 21:50:23 UTC
This backtrace looks similar to some backtraces posted on bug 169925 (however, not related to the original backtrace)
Comment 2 Bernd Oliver Sünderhauf 2009-01-23 00:29:38 UTC
Yeah, I'll try to reproduce the bug with stand-alone KMail.
Should I move to bug 169925 and mark this one duplicate?
Comment 3 Dario Andres 2009-01-23 00:33:13 UTC
Some backtrace in bug 169925 could not be related to that original bug report itself, so let this report as it is. Thanks
Comment 4 Dario Andres 2009-04-17 15:01:49 UTC
*** Bug 189877 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-07-24 19:51:51 UTC
*** Bug 201375 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-08-15 23:15:49 UTC
*** Bug 203818 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-11-14 01:39:21 UTC
*** Bug 213943 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2009-12-29 15:05:38 UTC
*** Bug 220505 has been marked as a duplicate of this bug. ***
Comment 9 Björn Ruberg 2010-02-05 00:17:56 UTC
Enough duplicates for being confirmed
Comment 10 Björn Ruberg 2010-03-14 01:23:23 UTC
*** Bug 201701 has been marked as a duplicate of this bug. ***
Comment 11 Thiago Almeida 2010-08-29 20:18:01 UTC
Created attachment 51087 [details]
New crash information added by DrKonqi

Kmail crash while deleting multiple messages from the gmail imap account.
Comment 12 g_fretes 2010-09-01 16:14:08 UTC
Created attachment 51181 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.6.3

- What I was doing when the application crashed:

I was deleting multiple emails, one at time, but without waiting for the server update.

-- Backtrace (Reduced):
#9  0xb6ebd223 in KMail::ImapJob::slotGetMessageResult(KJob*) () from /usr/lib/libkmailprivate.so.4
#10 0xb6ebdabf in KMail::ImapJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
[...]
[...]
#13 0xb72e8053 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#14 0xb72e80a8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#15 0xb545abd5 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
Comment 13 Christoph Feck 2010-10-19 17:27:08 UTC
*** Bug 254303 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2010-10-19 17:27:39 UTC
*** Bug 252040 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2010-10-19 17:28:55 UTC
*** Bug 243638 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2010-11-18 00:47:33 UTC
*** Bug 256706 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-12-27 13:20:33 UTC
*** Bug 261355 has been marked as a duplicate of this bug. ***
Comment 18 Christophe Marin 2011-01-13 17:25:21 UTC
*** Bug 263024 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Marin 2011-01-26 22:07:19 UTC
*** Bug 264281 has been marked as a duplicate of this bug. ***
Comment 20 Myriam Schweingruber 2012-08-19 10:55:32 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
Comment 21 Bernd Oliver Sünderhauf 2012-11-24 15:02:27 UTC
Seems to work very stable in kmail2 on KDE 4.9.3, plus ther haven't been crash reports concerning this for a while. So this has obviously been fixed anyway.