Bug 168800

Summary: Crash reading IMAP email
Product: [Unmaintained] kmail Reporter: David Jarvie <djarvie>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: jtamate, kde-bugs, rasasi78, ruchir.brahmbhatt
Priority: NOR Keywords: triaged
Version: 1.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Jarvie 2008-08-09 11:11:04 UTC
Version:            (using KDE 4.1.0)
Installed from:    Compiled From Sources
Compiler:          gcc 4.3 
OS:                Linux

KMail hung briefly while trying to read an email from IMAP. Then it crashed.

Application: KMail (kmail), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4450ab0 (LWP 12320)]
[KCrash handler]
#6  0xb7a1b053 in KMail::SortCacheItem::setId (this=0x48, id=303)
    at /home/david/src/svn/4.1/kdepim/kmail/headeritem.h:131
#7  0xb7a0bd01 in KMHeaders::msgRemoved (this=0x82c3340, id=283, 
    msgId=@0xbfdf8dac)
    at /home/david/src/svn/4.1/kdepim/kmail/kmheaders.cpp:1098
#8  0xb7a10e18 in KMHeaders::qt_metacall (this=0x82c3340, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfdf8c78)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/kmheaders.moc:155
#9  0xb5efc62a in QMetaObject::activate (sender=0x810f760, 
    from_signal_index=12, to_signal_index=12, argv=0xbfdf8c78)
    at kernel/qobject.cpp:3007
#10 0xb5efca72 in QMetaObject::activate (sender=0x810f760, m=0xb7f78be0, 
    local_signal_index=8, argv=0xbfdf8c78) at kernel/qobject.cpp:3080
#11 0xb7a6cfef in KMFolder::msgRemoved (this=0x810f760, _t1=283, 
    _t2=@0xbfdf8dac)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/kmfolder.moc:193
#12 0xb7a6d51e in KMFolder::qt_metacall (this=0x810f760, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfdf8d78)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/kmfolder.moc:114
#13 0xb5efc62a in QMetaObject::activate (sender=0x81115e0, 
    from_signal_index=14, to_signal_index=14, argv=0xbfdf8d78)
    at kernel/qobject.cpp:3007
#14 0xb5efca72 in QMetaObject::activate (sender=0x81115e0, m=0xb7f791c8, 
    local_signal_index=10, argv=0xbfdf8d78) at kernel/qobject.cpp:3080
#15 0xb7a97d29 in FolderStorage::msgRemoved (this=0x81115e0, _t1=283, 
    _t2=@0xbfdf8dac)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/folderstorage.moc:220
#16 0xb7a9b7a3 in FolderStorage::take (this=0x81115e0, idx=283)
    at /home/david/src/svn/4.1/kdepim/kmail/folderstorage.cpp:451
#17 0xb7b543bc in KMFolderImap::take (this=0x81115e0, idx=283)
    at /home/david/src/svn/4.1/kdepim/kmail/kmfolderimap.cpp:611
#18 0xb7a6c24b in KMFolder::take (this=0x810f760, idx=283)
    at /home/david/src/svn/4.1/kdepim/kmail/kmfolder.cpp:404
#19 0xb7b7f999 in KMFolderMaildir::addMsgInternal (this=0x82556b8, 
    aMsg=0x88529e0, index_return=0x0, stripUid=false)
    at /home/david/src/svn/4.1/kdepim/kmail/kmfoldermaildir.cpp:423
#20 0xb7b80537 in KMFolderMaildir::addMsg (this=0x82556b8, aMsg=0x88529e0, 
    index_return=0x0)
    at /home/david/src/svn/4.1/kdepim/kmail/kmfoldermaildir.cpp:346
#21 0xb7a9a6a5 in FolderStorage::moveMsg (this=0x82556b8, aMsg=0x88529e0, 
    aIndex_ret=0x0)
    at /home/david/src/svn/4.1/kdepim/kmail/folderstorage.cpp:610
#22 0xb7a6c3d8 in KMFolder::moveMsg (this=0x8250730, msg=0x88529e0, 
    index_return=0x0) at /home/david/src/svn/4.1/kdepim/kmail/kmfolder.cpp:449
#23 0xb7acea88 in KMFilterMgr::process (this=0x8257c20, msg=0x88529e0, 
    set=KMFilterMgr::Inbound, account=true, accountId=532685778)
    at /home/david/src/svn/4.1/kdepim/kmail/kmfiltermgr.cpp:263
#24 0xb7b2f3d9 in KMAcctImap::slotFilterMsg (this=0x8112e68, msg=0x88529e0)
    at /home/david/src/svn/4.1/kdepim/kmail/kmacctimap.cpp:603
#25 0xb7b30cee in KMAcctImap::qt_metacall (this=0x8112e68, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfdf91fc)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/kmacctimap.moc:88
#26 0xb5efc62a in QMetaObject::activate (sender=0x8637e50, 
    from_signal_index=4, to_signal_index=4, argv=0xbfdf91fc)
    at kernel/qobject.cpp:3007
#27 0xb5efca72 in QMetaObject::activate (sender=0x8637e50, m=0xb7f803d0, 
    local_signal_index=0, argv=0xbfdf91fc) at kernel/qobject.cpp:3080
#28 0xb7caa862 in KMail::FolderJob::messageRetrieved (this=0x8637e50, 
    _t1=0x88529e0)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/folderjob.moc:97
#29 0xb7cb6713 in KMail::ImapJob::slotGetMessageResult (this=0x8637e50, 
    job=0x88560a0) at /home/david/src/svn/4.1/kdepim/kmail/imapjob.cpp:460
#30 0xb7cb7472 in KMail::ImapJob::qt_metacall (this=0x8637e50, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdf939c)
    at /home/david/src/svn/obj/4.1/kdepim/kmail/imapjob.moc:81
#31 0xb5efc62a in QMetaObject::activate (sender=0x88560a0, 
    from_signal_index=7, to_signal_index=7, argv=0xbfdf939c)
    at kernel/qobject.cpp:3007
#32 0xb5efca72 in QMetaObject::activate (sender=0x88560a0, m=0xb625ca08, 
    local_signal_index=3, argv=0xbfdf939c) at kernel/qobject.cpp:3080
#33 0xb6150374 in KJob::result (this=0x88560a0, _t1=0x88560a0)
    at /home/david/src/svn/obj/4.1/kdelibs/kdecore/kjob.moc:186
#34 0xb61508b2 in KJob::emitResult (this=0x88560a0)
    at /home/david/src/svn/4.1/kdelibs/kdecore/jobs/kjob.cpp:290
#35 0xb68426a3 in KIO::SimpleJob::slotFinished (this=0x88560a0)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/job.cpp:498
#36 0xb6842a7c in KIO::TransferJob::slotFinished (this=0x88560a0)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/job.cpp:967
#37 0xb6849a53 in KIO::TransferJob::qt_metacall (this=0x88560a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfdf95e8)
    at /home/david/src/svn/obj/4.1/kdelibs/kio/jobclasses.moc:336
#38 0xb5efc62a in QMetaObject::activate (sender=0x853ade8, 
    from_signal_index=8, to_signal_index=8, argv=0x0)
    at kernel/qobject.cpp:3007
#39 0xb5efca72 in QMetaObject::activate (sender=0x853ade8, m=0xb69bf644, 
    local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3080
#40 0xb68ec855 in KIO::SlaveInterface::finished (this=0x853ade8)
    at /home/david/src/svn/obj/4.1/kdelibs/kio/slaveinterface.moc:161
#41 0xb68ee684 in KIO::SlaveInterface::dispatch (this=0x853ade8, _cmd=104, 
    rawdata=@0xbfdf9794)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/slaveinterface.cpp:175
#42 0xb68ee570 in KIO::SlaveInterface::dispatch (this=0x853ade8)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/slaveinterface.cpp:90
#43 0xb68e13de in KIO::Slave::gotInput (this=0x853ade8)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/slave.cpp:319
#44 0xb68e2836 in KIO::Slave::qt_metacall (this=0x853ade8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdf9898)
    at /home/david/src/svn/obj/4.1/kdelibs/kio/slave.moc:75
#45 0xb5efc62a in QMetaObject::activate (sender=0x85b06f0, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3007
#46 0xb5efca72 in QMetaObject::activate (sender=0x85b06f0, m=0xb69bc2a0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#47 0xb6811aa3 in KIO::Connection::readyRead (this=0x85b06f0)
    at /home/david/src/svn/obj/4.1/kdelibs/kio/connection.moc:84
#48 0xb68129df in KIO::ConnectionPrivate::dequeue (this=0x84833d0)
    at /home/david/src/svn/4.1/kdelibs/kio/kio/connection.cpp:82
#49 0xb6813919 in KIO::Connection::qt_metacall (this=0x85b06f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x868bfe0)
    at /home/david/src/svn/obj/4.1/kdelibs/kio/connection.moc:72
#50 0xb5ef8bcb in QMetaCallEvent::placeMetaCall (this=0x86a3f68, 
    object=0x85b06f0) at kernel/qobject.cpp:535
#51 0xb5efac13 in QObject::event (this=0x85b06f0, e=0x86a3f68)
    at kernel/qobject.cpp:1137
#52 0xb50f7bbc in QApplicationPrivate::notify_helper (this=0x8065e28, 
    receiver=0x85b06f0, e=0x86a3f68) at kernel/qapplication.cpp:3772
#53 0xb50fe619 in QApplication::notify (this=0xbfdfa108, receiver=0x85b06f0, 
    e=0x86a3f68) at kernel/qapplication.cpp:3366
#54 0xb65b384b in KApplication::notify (this=0xbfdfa108, receiver=0x85b06f0, 
    event=0x86a3f68)
    at /home/david/src/svn/4.1/kdelibs/kdeui/kernel/kapplication.cpp:311
#55 0xb5eebff9 in QCoreApplication::notifyInternal (this=0xbfdfa108, 
    receiver=0x85b06f0, event=0x86a3f68) at kernel/qcoreapplication.cpp:583
#56 0xb5eed44d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804ec58)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 0xb5eed5fd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#58 0xb5f128bf in postEventSourceDispatch (s=0x8068110)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 0xb48952f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#60 0xb4898983 in ?? () from /usr/lib/libglib-2.0.so.0
#61 0x08068090 in ?? ()
#62 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Raúl 2008-11-19 13:49:34 UTC
Also looks somewhat similar to https://bugs.kde.org/show_bug.cgi?id=127107
Comment 2 Jaime Torres 2008-11-26 13:40:39 UTC
Another possible duplicate in bug 175957
Comment 3 Dario Andres 2009-01-07 19:44:21 UTC
*** Bug 175957 has been marked as a duplicate of this bug. ***
Comment 4 Ruchir Brahmbhatt 2009-04-09 14:21:01 UTC
I can't reproduce on 1.11.2. Are you still able to reproduce it? On specific mail? Can you attach that mail if possible?
Comment 5 Myriam Schweingruber 2012-08-21 07:41:05 UTC
Closing based on comment #4