Bug 228336

Summary: Crash ok KMail when setting an expiration delay on a local folder
Product: [Unmaintained] kmail Reporter: Mickaël <mprizee>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mickaël 2010-02-24 17:12:32 UTC
Application that crashed: kmail
Version of the application: 1.12.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-desktop-1mnb i686
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
I activated the expiration of the read messages of a local folder (300 days), and I clicked Ok > crash...

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KMMsgDict::update (this=0x8e624c0, msg=0x98c98f0, index=1237, newIndex=1236) at /usr/lib/qt4/include/QtCore/qvector.h:119
#7  0xb6c16022 in KMMsgList::remove (this=0x9028620, idx=1236) at /usr/src/debug/kdepim-4.3.2/kmail/kmmsglist.cpp:151
#8  0xb6c160be in KMMsgList::take (this=0x9028620, idx=1236) at /usr/src/debug/kdepim-4.3.2/kmail/kmmsglist.cpp:165
#9  0xb6da0ba6 in KMFolderIndex::takeIndexEntry (this=0x90285d0, idx=1236) at /usr/src/debug/kdepim-4.3.2/kmail/kmfolderindex.cpp:530
#10 0xb6b9f420 in FolderStorage::removeMsg (this=0x90285d0, idx=1236) at /usr/src/debug/kdepim-4.3.2/kmail/folderstorage.cpp:397
#11 0xb6c8c3e5 in KMFolderMaildir::removeMsg (this=0x90285d0, idx=1236) at /usr/src/debug/kdepim-4.3.2/kmail/kmfoldermaildir.cpp:894
#12 0xb6b672f6 in KMFolder::removeMsg (this=0x9028530, i=1236, imapQuiet=<value optimized out>) at /usr/src/debug/kdepim-4.3.2/kmail/kmfolder.cpp:457
#13 0xb6d68d41 in KMMoveCommand::execute (this=0x95818f8) at /usr/src/debug/kdepim-4.3.2/kmail/kmcommands.cpp:2140
#14 0xb6d4c65a in KMCommand::slotPostTransfer (this=0x95818f8, result=KMCommand::OK) at /usr/src/debug/kdepim-4.3.2/kmail/kmcommands.cpp:274
#15 0xb6d574bd in KMCommand::qt_metacall (this=0x95818f8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfedacb8) at /usr/src/debug/kdepim-4.3.2/build/kmail/kmcommands.moc:87
#16 0xb6d69f52 in KMMoveCommand::qt_metacall (this=0x95818f8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfedacb8) at /usr/src/debug/kdepim-4.3.2/build/kmail/kmcommands.moc:1706
#17 0xb67e2144 in QMetaObject::activate (sender=0x95818f8, from_signal_index=4, to_signal_index=4, argv=0xbfedacb8) at kernel/qobject.cpp:3112
#18 0xb67e2e65 in QMetaObject::activate (sender=0x95818f8, m=0xb7172634, local_signal_index=0, argv=0xbfedacb8) at kernel/qobject.cpp:3186
#19 0xb6d48065 in KMCommand::messagesTransfered (this=0x95818f8, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.3.2/build/kmail/kmcommands.moc:102
#20 0xb6d668c6 in KMCommand::transferSelectedMsgs (this=0x95818f8) at /usr/src/debug/kdepim-4.3.2/kmail/kmcommands.cpp:368
#21 0xb6d66b12 in KMCommand::slotStart (this=0x95818f8) at /usr/src/debug/kdepim-4.3.2/kmail/kmcommands.cpp:266
#22 0xb6d5749c in KMCommand::qt_metacall (this=0x95818f8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfedaeac) at /usr/src/debug/kdepim-4.3.2/build/kmail/kmcommands.moc:86
#23 0xb6d69f52 in KMMoveCommand::qt_metacall (this=0x95818f8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfedaeac) at /usr/src/debug/kdepim-4.3.2/build/kmail/kmcommands.moc:1706
#24 0xb67e2144 in QMetaObject::activate (sender=0xa379a10, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#25 0xb67e2e65 in QMetaObject::activate (sender=0xa379a10, m=0xb68bd908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#26 0xb67e7405 in QSingleShotTimer::timeout (this=0xa379a10) at .moc/release-shared/qtimer.moc:76
#27 0xb67e753c in QSingleShotTimer::timerEvent (this=0xa379a10) at kernel/qtimer.cpp:298
#28 0xb67dbdfb in QObject::event (this=0xa379a10, e=0xbfedb320) at kernel/qobject.cpp:1074
#29 0xb5df268c in QApplicationPrivate::notify_helper (this=0x8eb0268, receiver=0xa379a10, e=0xbfedb320) at kernel/qapplication.cpp:4065
#30 0xb5dfa0ce in QApplication::notify (this=0xbfedb6c0, receiver=0xa379a10, e=0xbfedb320) at kernel/qapplication.cpp:3605
#31 0xb75c49e1 in KApplication::notify (this=0xbfedb6c0, receiver=0xa379a10, event=0xbfedb320) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#32 0xb67cbc0e in QCoreApplication::notifyInternal (this=0xbfedb6c0, receiver=0xa379a10, event=0xbfedb320) at kernel/qcoreapplication.cpp:610
#33 0xb67fa2c1 in QTimerInfoList::activateTimers (this=0x8ea6b7c) at ../../src/corelib/kernel/qcoreapplication.h:213
#34 0xb67f7c05 in idleTimerSourceDispatch (source=0x8ea6bb8) at kernel/qeventdispatcher_glib.cpp:184
#35 0xb3de6b92 in IA__g_main_context_dispatch (context=0x8ea5ea0) at gmain.c:1960
#36 0xb3dea468 in g_main_context_iterate (context=0x8ea5ea0, block=<value optimized out>, dispatch=1, self=0x8eac1e0) at gmain.c:2591
#37 0xb3dea58e in IA__g_main_context_iteration (context=0x8ea5ea0, may_block=1) at gmain.c:2654
#38 0xb67f78f1 in QEventDispatcherGlib::processEvents (this=0x8e3efb8, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:406
#39 0xb5e944ba in QGuiEventDispatcherGlib::processEvents (this=0x8e3efb8, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#40 0xb67ca26d in QEventLoop::processEvents (this=0xbfedb5a4, flags=) at kernel/qeventloop.cpp:149
#41 0xb67ca6b9 in QEventLoop::exec (this=0xbfedb5a4, flags={i = 0}) at kernel/qeventloop.cpp:201
#42 0xb67ccb50 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0xb5df2504 in QApplication::exec () at kernel/qapplication.cpp:3525
#44 0x0804a492 in main (argc=3, argv=0xbfedb874) at /usr/src/debug/kdepim-4.3.2/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Laurent Montel 2010-09-02 14:36:29 UTC
Can't reproduce it with 4.4.5