Bug 265113

Summary: Kmail crashes when deleting more than one attachment
Product: [Unmaintained] kmail Reporter: Phil Hobbs <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Phil Hobbs 2011-02-01 19:09:19 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-28-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Deleted two attachments--nothing much appeared to happen.  Did it again.  One showed as deleted.  Tried deleting the other one for a third time.  Kmail crashed.

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

Thread 2 (Thread 0xb4d03b70 (LWP 13631)):
#0  0x058e8e16 in *__GI_clock_gettime (clock_id=93245428, tp=0xb4d02f48) at ../sysdeps/unix/clock_gettime.c:100
#1  0x088936fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x08898825 in QTimerInfoList::updateCurrentTime (this=0xa3a07bc) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0889886a in QTimerInfoList::timerWait (this=0xa3a07bc, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x08896818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4d0305c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x088968a5 in timerSourcePrepare (source=0x0, timeout=0x58ecff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x06381aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x06381ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x063824b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0889660f in QEventDispatcherGlib::processEvents (this=0xa34cc30, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x08869059 in QEventLoop::processEvents (this=0xb4d03220, flags=) at kernel/qeventloop.cpp:149
#11 0x088694aa in QEventLoop::exec (this=0xb4d03220, flags=...) at kernel/qeventloop.cpp:201
#12 0x087655a8 in QThread::exec (this=0xa34b0b0) at thread/qthread.cpp:487
#13 0x08848c1b in QInotifyFileSystemWatcherEngine::run (this=0xa34b0b0) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0876832e in QThreadPrivate::start (arg=0xa34b0b0) at thread/qthread_unix.cpp:248
#15 0x0088b96e in start_thread (arg=0xb4d03b70) at pthread_create.c:300
#16 0x00c2aa4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77bb780 (LWP 13563)):
[KCrash Handler]
#6  0x01099b9a in KMMoveCommand::addMsg (this=0xcb8e498, sernum=26865) at ../../kmail/kmcommands.h:776
#7  KMTrashMsgCommand (this=0xcb8e498, sernum=26865) at ../../kmail/kmcommands.cpp:2375
#8  0x01099e3a in AttachmentModifyCommand::messageStoreResult (this=0xbb63948, folder=0x0, success=true) at ../../kmail/kmcommands.cpp:3421
#9  0x0109a141 in AttachmentModifyCommand::storeChangedMessage (this=0xbb63948, msg=0xca82048) at ../../kmail/kmcommands.cpp:3413
#10 0x0109a7d5 in KMDeleteAttachmentCommand::doAttachmentModify (this=0xbb63948) at ../../kmail/kmcommands.cpp:3466
#11 0x01082f72 in AttachmentModifyCommand::execute (this=0xbb63948) at ../../kmail/kmcommands.cpp:3388
#12 0x0107cc22 in KMCommand::slotPostTransfer (this=0xbb63948, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#13 0x01086d5f in KMCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd9e0c8) at ./kmcommands.moc:93
#14 0x0109a83a in AttachmentModifyCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd9e0c8) at ./kmcommands.moc:2638
#15 0x0109a952 in KMDeleteAttachmentCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd9e0c8) at ./kmcommands.moc:2695
#16 0x0886fc9a in QMetaObject::metacall (object=0xbb63948, cl=144176272, idx=9, argv=0xbfd9e0c8) at kernel/qmetaobject.cpp:237
#17 0x0887e3d5 in QMetaObject::activate (sender=0xbb63948, m=0x14761d4, local_signal_index=0, argv=0xbfd9e0c8) at kernel/qobject.cpp:3293
#18 0x01076623 in KMCommand::messagesTransfered (this=0xbb63948, _t1=KMCommand::OK) at ./kmcommands.moc:108
#19 0x0108f296 in KMCommand::transferSelectedMsgs (this=0xbb63948) at ../../kmail/kmcommands.cpp:393
#20 0x0108f4ce in KMCommand::slotStart (this=0xbb63948) at ../../kmail/kmcommands.cpp:287
#21 0x01086d3b in KMCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd9e32c) at ./kmcommands.moc:92
#22 0x0109a83a in AttachmentModifyCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd9e32c) at ./kmcommands.moc:2638
#23 0x0109a952 in KMDeleteAttachmentCommand::qt_metacall (this=0xbb63948, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd9e32c) at ./kmcommands.moc:2695
#24 0x0886fc9a in QMetaObject::metacall (object=0xbb63948, cl=144176272, idx=8, argv=0xbfd9e32c) at kernel/qmetaobject.cpp:237
#25 0x0887e3d5 in QMetaObject::activate (sender=0xb866900, m=0x897d188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#26 0x08885fe7 in QSingleShotTimer::timeout (this=0xb866900) at .moc/release-shared/qtimer.moc:82
#27 0x088860fc in QSingleShotTimer::timerEvent (this=0xb866900) at kernel/qtimer.cpp:308
#28 0x0887b254 in QObject::event (this=0xb866900, e=0x0) at kernel/qobject.cpp:1212
#29 0x04be64dc in QApplicationPrivate::notify_helper (this=0x9db9688, receiver=0xb866900, e=0xbfd9e860) at kernel/qapplication.cpp:4300
#30 0x04bed05e in QApplication::notify (this=0xbfd9ec70, receiver=0xb866900, e=0xbfd9e860) at kernel/qapplication.cpp:3704
#31 0x004ae40a in KApplication::notify (this=0xbfd9ec70, receiver=0xb866900, event=0xbfd9e860) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x0886aa3b in QCoreApplication::notifyInternal (this=0xbfd9ec70, receiver=0xb866900, event=0xbfd9e860) at kernel/qcoreapplication.cpp:704
#33 0x08899d66 in QCoreApplication::sendEvent (this=0x9d8aa44) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QTimerInfoList::activateTimers (this=0x9d8aa44) at kernel/qeventdispatcher_unix.cpp:603
#35 0x088968e4 in timerSourceDispatch (source=0x9d8aa10) at kernel/qeventdispatcher_glib.cpp:184
#36 0x0637e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x063822d8 in ?? () from /lib/libglib-2.0.so.0
#38 0x063824b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x088965d5 in QEventDispatcherGlib::processEvents (this=0x9d5e278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#40 0x04ca6135 in QGuiEventDispatcherGlib::processEvents (this=0x9d5e278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x08869059 in QEventLoop::processEvents (this=0xbfd9eb24, flags=) at kernel/qeventloop.cpp:149
#42 0x088694aa in QEventLoop::exec (this=0xbfd9eb24, flags=...) at kernel/qeventloop.cpp:201
#43 0x0886d69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x04be6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#45 0x0804ab0e in main (argc=1, argv=0xbfd9ee34) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 211803.

Possible duplicates by query: bug 247524.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-14 13:00:33 UTC

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