Bug 208585

Summary: Kmail crashes with signal 11
Product: [Unmaintained] kmail Reporter: tony
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.11.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace obtained with gdb
Log from the crashed process

Description tony 2009-09-26 11:58:32 UTC
Version:           1.11.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

Kmail repeatedly dies with signal 11.

This is happening while I'm not even doing anything with it, so I assume it's something to do with it trying to do housekeeping on messages and hitting something it doesn't like.

I just re-started it while typing this bug and within a minute or so it fell over again.

Backtrace from the bug dialogue:
Application: KMail (kmail), signal SIGSEGV
0x00007fe68d7f8d21 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 31302)]

Thread 2 (Thread 0x7fe672017950 (LWP 31313)):
#0  0x00007fe68d82f742 in select () from /lib/libc.so.6
#1  0x00007fe68e3a0f06 in QProcessManager::run (this=0x2010c70) at io/qprocess_unix.cpp:305
#2  0x00007fe68e2d9952 in QThreadPrivate::start (arg=0x2010c70) at thread/qthread_unix.cpp:189
#3  0x00007fe6892e43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fe68d836fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe692e5f750 (LWP 31302)):
[KCrash Handler]
#5  KMail::FolderJob::msgList (this=0x31) at /usr/include/qt4/QtCore/qlist.h:111
#6  0x00007fe6919f7626 in FolderStorage::ignoreJobsForMessage (this=0x2222af0, msg=0x39929c0) at /build/buildd/kdepim-4.2.4/kmail/folderstorage.cpp:1103
#7  0x00007fe6919f6041 in FolderStorage::unGetMsg (this=0x2222af0, idx=0) at /build/buildd/kdepim-4.2.4/kmail/folderstorage.cpp:569
#8  0x00007fe691a416c6 in KMSearchPattern::matches (this=0x21709e0, serNum=<value optimized out>, ignoreBody=<value optimized out>) at /build/buildd/kdepim-4.2.4/kmail/kmsearchpattern.cpp:794
#9  0x00007fe6919f5ab9 in FolderStorage::slotProcessNextSearchBatch (this=0x2222af0) at /build/buildd/kdepim-4.2.4/kmail/folderstorage.cpp:1170
#10 0x00007fe691bf06eb in KMSearch::slotProcessNextBatch (this=0x2276fe0) at /build/buildd/kdepim-4.2.4/kmail/kmfoldersearch.cpp:272
#11 0x00007fe691bf0858 in KMSearch::qt_metacall (this=0x2276fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9aeac6b0)
    at /build/buildd/kdepim-4.2.4/obj-x86_64-linux-gnu/kmail/kmfoldersearch.moc:79
#12 0x00007fe68e3d81f2 in QMetaObject::activate (sender=0x21b9860, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x320abc0) at kernel/qobject.cpp:3069
#13 0x00007fe68e3d24d3 in QObject::event (this=0x21b9860, e=0x31) at kernel/qobject.cpp:1082
#14 0x00007fe68eb0778d in QApplicationPrivate::notify_helper (this=0x1ff8a90, receiver=0x21b9860, e=0x7fff9aeacd60) at kernel/qapplication.cpp:4084
#15 0x00007fe68eb0f97a in QApplication::notify (this=0x7fff9aead1c0, receiver=0x21b9860, e=0x7fff9aeacd60) at kernel/qapplication.cpp:4049
#16 0x00007fe6928a184b in KApplication::notify (this=0x7fff9aead1c0, receiver=0x21b9860, event=0x7fff9aeacd60) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#17 0x00007fe68e3c275c in QCoreApplication::notifyInternal (this=0x7fff9aead1c0, receiver=0x21b9860, event=0x7fff9aeacd60) at kernel/qcoreapplication.cpp:602
#18 0x00007fe68e3ef7f6 in QTimerInfoList::activateTimers (this=0x1fae3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 0x00007fe68e3ebf0d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#20 0x00007fe6854b620a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007fe6854b98e0 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007fe6854b9a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007fe68e3ebe6f in QEventDispatcherGlib::processEvents (this=0x1f8a0c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#24 0x00007fe68eb9fbef in QGuiEventDispatcherGlib::processEvents (this=0x7fff9aeac450, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007fe68e3c1002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1695887408}) at kernel/qeventloop.cpp:149
#26 0x00007fe68e3c13cd in QEventLoop::exec (this=0x7fff9aead010, flags={i = -1695887328}) at kernel/qeventloop.cpp:200
#27 0x00007fe68e3c3694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#28 0x000000000040309b in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdepim-4.2.4/kmail/main.cpp:146


Also attached (or will be shortly) output of logging the crashing process by running "kmail > /tmp/kmail.log 2>&1" and backtrace obtained by running GDB against the crashed process.
Comment 1 tony 2009-09-26 11:59:29 UTC
Created attachment 37183 [details]
Backtrace obtained with gdb
Comment 2 tony 2009-09-26 12:00:19 UTC
Created attachment 37184 [details]
Log from the crashed process
Comment 3 Christophe Marin 2009-09-26 12:08:19 UTC
Thank you. Merging this report with #200137

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