Bug 182119

Summary: Crash with SIGFPE when deleting message from IMAP folder
Product: [Unmaintained] kmail Reporter: James Hogan <james>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James Hogan 2009-01-28 02:31:55 UTC
Version:            (using KDE 4.1.4)
Compiler:          gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 
OS:                Linux
Installed from:    Fedora RPMs

I tried to delete a spam message in an IMAP folder by selecting it and pressing delete, Usually it goes to the trash folder, however this time it is crashing kmail with a floating point error signal. It is currently repeatable, however I had some similar crashes the other day and it had since stopped crashing.
When I reopen KMail the message is still in the folder as if I had not deleted it.

Backtrace:

Application: KMail (kmail), signal SIGFPE
0x00000034c10a7f50 in __nanosleep_nocancel () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7fd496e80800 (LWP 1876))]

Thread 1 (Thread 0x7fd496e80800 (LWP 1876)):
[KCrash Handler]
#5  0x00000034d48c3c5e in Q3GDict::look_string (this=0x1642090, key=@0x7fff9eed7d80, d=0x0, op=0) at tools/q3gdict.cpp:333
#6  0x0000003cbf78915d in Q3Dict<KMail::SortCacheItem>::operator[] () at /usr/include/Qt3Support/q3dict.h:77
#7  KMHeaders::msgRemoved (this=0x1641ff0, id=528, msgId=@0x7fff9eed7d80) at /usr/src/debug/kdepim-4.1.4/kmail/kmheaders.cpp:1104
#8  0x0000003cbf79ef8f in KMHeaders::qt_metacall (this=0x1641ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eed7c10)
    at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmheaders.moc:155
#9  0x00000034ccd56764 in QMetaObject::activate (sender=0x158a770, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x230ebba1) at kernel/qobject.cpp:3031
#10 0x0000003cbf7deed6 in KMFolder::msgRemoved (this=0x16, _t1=528, _t2=<value optimized out>) at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmfolder.moc:193
#11 0x0000003cbf7df39f in KMFolder::qt_metacall (this=0x158a770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eed7d50)
    at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmfolder.moc:114
#12 0x00000034ccd56764 in QMetaObject::activate (sender=0x158a870, from_signal_index=<value optimized out>, to_signal_index=14, argv=0x230ebba1) at kernel/qobject.cpp:3031
#13 0x0000003cbf8019e6 in FolderStorage::msgRemoved (this=0x16, _t1=528, _t2=<value optimized out>) at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/folderstorage.moc:220
#14 0x0000003cbf804144 in FolderStorage::take (this=0x158a870, idx=528) at /usr/src/debug/kdepim-4.1.4/kmail/folderstorage.cpp:451
#15 0x0000003cbf8c9605 in KMFolderMaildir::addMsgInternal (this=0x151d720, aMsg=0x1c912e0, index_return=0x7fff9eed819c, stripUid=false) at /usr/src/debug/kdepim-4.1.4/kmail/kmfoldermaildir.cpp:423
#16 0x0000003cbf80296e in FolderStorage::moveMsg (this=0x151d720, aMsg=0x1c912e0, aIndex_ret=0x7fff9eed819c) at /usr/src/debug/kdepim-4.1.4/kmail/folderstorage.cpp:610
#17 0x0000003cbf97f3e2 in KMMoveCommand::execute (this=0x2835c50) at /usr/src/debug/kdepim-4.1.4/kmail/kmcommands.cpp:2111
#18 0x0000003cbf96e392 in KMCommand::slotPostTransfer (this=0x2835c50, result=KMCommand::OK) at /usr/src/debug/kdepim-4.1.4/kmail/kmcommands.cpp:273
#19 0x0000003cbf977e2e in KMCommand::qt_metacall (this=0x2835c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eed8360)
    at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:86
#20 0x0000003cbf9780c5 in KMMoveCommand::qt_metacall (this=0x16, _c=22, _id=0, _a=0x230ebba1) at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1662
#21 0x00000034ccd56764 in QMetaObject::activate (sender=0x2835c50, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x230ebba1) at kernel/qobject.cpp:3031
#22 0x0000003cbf96b24e in KMCommand::messagesTransfered (this=0x16, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:100
#23 0x0000003cbf980189 in KMCommand::transferSelectedMsgs (this=0x2835c50) at /usr/src/debug/kdepim-4.1.4/kmail/kmcommands.cpp:367
#24 0x0000003cbf98038d in KMCommand::slotStart (this=0x2835c50) at /usr/src/debug/kdepim-4.1.4/kmail/kmcommands.cpp:265
#25 0x0000003cbf977e42 in KMCommand::qt_metacall (this=0x2835c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eed85b0)
    at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:85
#26 0x0000003cbf9780c5 in KMMoveCommand::qt_metacall (this=0x16, _c=22, _id=0, _a=0x230ebba1) at /usr/src/debug/kdepim-4.1.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1662
#27 0x00000034ccd56764 in QMetaObject::activate (sender=0x1c55170, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x230ebba1) at kernel/qobject.cpp:3031
#28 0x00000034ccd5c9cf in QSingleShotTimer::timerEvent (this=0x1c55170) at kernel/qtimer.cpp:294
#29 0x00000034ccd51073 in QObject::event (this=0x1c55170, e=0x16) at kernel/qobject.cpp:1120
#30 0x00000034d0b828dd in QApplicationPrivate::notify_helper (this=0x11d3580, receiver=0x1c55170, e=0x7fff9eed8c70) at kernel/qapplication.cpp:3803
#31 0x00000034d0b8a68a in QApplication::notify (this=0x7fff9eed90d0, receiver=0x1c55170, e=0x7fff9eed8c70) at kernel/qapplication.cpp:3768
#32 0x000000398d7fb60b in KApplication::notify (this=0x7fff9eed90d0, receiver=0x1c55170, event=0x7fff9eed8c70) at /usr/src/debug/kdelibs-4.1.4/kdeui/kernel/kapplication.cpp:311
#33 0x00000034ccd42391 in QCoreApplication::notifyInternal (this=0x7fff9eed90d0, receiver=0x1c55170, event=0x7fff9eed8c70) at kernel/qcoreapplication.cpp:587
#34 0x00000034ccd6e0d6 in QCoreApplication::sendEvent () at ../../src/corelib/kernel/qcoreapplication.h:209
#35 QTimerInfoList::activateTimers (this=0x11cd510) at kernel/qeventdispatcher_unix.cpp:557
#36 0x00000034ccd6a83d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:160
#37 0x00000034c283779b in g_main_dispatch () at gmain.c:2144
#38 IA__g_main_context_dispatch (context=0x11cc920) at gmain.c:2697
#39 0x00000034c283af6d in g_main_context_iterate (context=0x11cc920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#40 0x00000034c283b12b in IA__g_main_context_iteration (context=0x11cc920, may_block=1) at gmain.c:2841
#41 0x00000034ccd6a79f in QEventDispatcherGlib::processEvents (this=0x11be570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#42 0x00000034d0c1328f in QGuiEventDispatcherGlib::processEvents (this=0x16, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#43 0x00000034ccd40cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#44 0x00000034ccd40e3d in QEventLoop::exec (this=0x7fff9eed8f20, flags=) at kernel/qeventloop.cpp:194
#45 0x00000034ccd432ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#46 0x0000000000402e6b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.1.4/kmail/main.cpp:146
Comment 1 James Hogan 2009-01-28 02:39:26 UTC
*** Bug 182120 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-01-28 02:46:30 UTC
Fixed in 4.2 :)

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