Bug 270485

Summary: Spontaneous crash while deleting
Product: [Unmaintained] kmail Reporter: Con Kolivas <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, smartins
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Con Kolivas 2011-04-09 11:24:20 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.38.2-ck2 x86_64
Distribution: Ubuntu 10.10

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

On an imap inbox folder, attempting to delete a message produce this crash.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fcfc39aa820 (LWP 2631))]

Thread 2 (Thread 0x7fcfa1049700 (LWP 4096)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fcfc0b7dda2 in wait (this=<value optimized out>, mutex=0xe246d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xe246d0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcfc0b72da2 in QThreadPoolThread::run (this=0xf422b0) at concurrent/qthreadpool.cpp:140
#4  0x00007fcfc0b7d27e in QThreadPrivate::start (arg=0xf422b0) at thread/qthread_unix.cpp:266
#5  0x00007fcfbdf2d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fcfc034f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcfc39aa820 (LWP 2631)):
[KCrash Handler]
#6  ref (this=0x1354050) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x1354050) at /usr/include/qt4/QtCore/qlist.h:118
#8  KMail::FolderJob::msgList (this=0x1354050) at ../../kmail/folderjob.cpp:120
#9  0x00007fcfc2333aca in KMAcctImap::ignoreJobsForMessage (this=0xb01570, msg=<value optimized out>) at ../../kmail/kmacctimap.cpp:217
#10 0x00007fcfc24497d7 in KMMoveCommand::execute (this=0x1258440) at ../../kmail/kmcommands.cpp:2208
#11 0x00007fcfc243882a in KMCommand::slotPostTransfer (this=0x1258440, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#12 0x00007fcfc2444b13 in KMCommand::qt_metacall (this=0x1258440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff185938f0) at ./kmcommands.moc:93
#13 0x00007fcfc2444dc0 in KMMoveCommand::qt_metacall (this=0x7fff185934f0, _c=20267088, _id=21, _a=0x6) at ./kmcommands.moc:1971
#14 0x00007fcfc0c88b27 in QMetaObject::activate (sender=0x1258440, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x6) at kernel/qobject.cpp:3280
#15 0x00007fcfc24359ce in KMCommand::messagesTransfered (this=0x7fff185934f0, _t1=KMCommand::OK) at ./kmcommands.moc:108
#16 0x00007fcfc244a4ec in KMCommand::transferSelectedMsgs (this=0x1258440) at ../../kmail/kmcommands.cpp:393
#17 0x00007fcfc244a708 in KMCommand::slotStart (this=0x1258440) at ../../kmail/kmcommands.cpp:287
#18 0x00007fcfc2444af6 in KMCommand::qt_metacall (this=0x1258440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x101fe40) at ./kmcommands.moc:92
#19 0x00007fcfc2444dc0 in KMMoveCommand::qt_metacall (this=0x7fff185934f0, _c=20267088, _id=21, _a=0x6) at ./kmcommands.moc:1971
#20 0x00007fcfc0c82bde in QObject::event (this=0x1258440, e=0x7fff185934f0) at kernel/qobject.cpp:1219
#21 0x00007fcfc115bfdc in QApplicationPrivate::notify_helper (this=0x6e2cf0, receiver=0x1258440, e=0xe251a0) at kernel/qapplication.cpp:4396
#22 0x00007fcfc1161aed in QApplication::notify (this=0x7fff18594620, receiver=0x1258440, e=0xe251a0) at kernel/qapplication.cpp:4277
#23 0x00007fcfc33ba2f6 in KApplication::notify (this=0x7fff18594620, receiver=0x1258440, event=0xe251a0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fcfc0c70cdc in QCoreApplication::notifyInternal (this=0x7fff18594620, receiver=0x1258440, event=0xe251a0) at kernel/qcoreapplication.cpp:732
#25 0x00007fcfc0c73c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x60e7e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x60e7e0) at kernel/qcoreapplication.cpp:1373
#27 0x00007fcfc0c9d653 in sendPostedEvents (s=0x6e61e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x6e61e0) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007fcfb7ecd342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007fcfb7ed12a8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007fcfb7ed145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007fcfc0c9d193 in QEventDispatcherGlib::processEvents (this=0x60e2f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007fcfc120ea4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff185934f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fcfc0c6fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007fcfc0c6fdec in QEventLoop::exec (this=0x7fff18594450, flags=) at kernel/qeventloop.cpp:201
#36 0x00007fcfc0c73ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Con Kolivas 2011-04-10 14:41:21 UTC
Created attachment 58768 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0

- What I was doing when the application crashed:

Deleting a few messages in a row from an imap inbox folder.

-- Backtrace (Reduced):
#6  ref (this=0x3236a70) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x3236a70) at /usr/include/qt4/QtCore/qlist.h:118
#8  KMail::FolderJob::msgList (this=0x3236a70) at ../../kmail/folderjob.cpp:120
#9  0x00007fd559742aca in KMAcctImap::ignoreJobsForMessage (this=0xb19b70, msg=<value optimized out>) at ../../kmail/kmacctimap.cpp:217
#10 0x00007fd5598587d7 in KMMoveCommand::execute (this=0x25f1610) at ../../kmail/kmcommands.cpp:2208
Comment 2 Christophe Marin 2011-04-10 14:44:59 UTC

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