Bug 296896

Summary: KMail crashes when clicking a mail
Product: [Applications] kmail2 Reporter: Robert Riemann <robert>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Riemann 2012-03-27 16:47:48 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 478"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I have a disconnected IMAP (GMail) resource. The KDE folder holds more than 1e3 mails. I just clicked one mail of the more recent and the application crashed.


Konsole Output:

kmail2(10210) MessageList::Core::ModelPrivate::findMessageParent: Circular In-Reply-To reference loop detected in the message tree 
kmail2(10210) MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill: Circular In-Reply-To reference loop detected in the message tree 
kmail2(10210) MessageList::Core::ModelPrivate::findMessageParent: Circular In-Reply-To reference loop detected in the message tree 
kmail2(10210)/kdeui (KWindowInfo) KWindowInfo::state: Pass NET::WMState to KWindowInfo 
kmail2(10210)/kdeui (KWindowInfo) KWindowInfo::state: Pass NET::WMState to KWindowInfo 
*** glibc detected *** kmail: double free or corruption (fasttop): 0x00007f9ddc0811e0 ***
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
======= Backtrace: =========
/lib64/libc.so.6(+0x766d6)[0x7f9e4b0546d6]
/usr/lib64/libQtDBus.so.4(+0x5a54e)[0x7f9e4913054e]

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f9e4dd79780 (LWP 10210))]

Thread 5 (Thread 0x7f9e2fa8a700 (LWP 10214)):
#0  0x00007f9e48ec4e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9e3f57dc12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f9e3f57dc49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f9e48ec0f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9e4b0b910d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9e2f189700 (LWP 10215)):
#0  0x00007f9e48ec411f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f9e43297a8c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9e43297f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9e4c715956 in QEventDispatcherGlib::processEvents (this=0x7f9e280008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9e4c6e5682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9e4c6e58d7 in QEventLoop::exec (this=0x7f9e2f188e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9e4c5e6537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9e4c5e955b in QThreadPrivate::start (arg=0xcc30d0) at thread/qthread_unix.cpp:298
#8  0x00007f9e48ec0f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f9e4b0b910d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9e2ce6d700 (LWP 21593)):
[KCrash Handler]
#10 0x00007f9e4b054a30 in malloc_consolidate () from /lib64/libc.so.6
#11 0x00007f9e4b055bf3 in _int_malloc () from /lib64/libc.so.6
#12 0x00007f9e4b05883e in malloc () from /lib64/libc.so.6
#13 0x00007f9e4c5eb558 in QByteArray::realloc (this=0x7f9ddc07bc28, alloc=65504) at tools/qbytearray.cpp:1452
#14 0x00007f9e4c5eb679 in QByteArray::resize (this=0x7f9ddc07bc28, size=32768) at tools/qbytearray.cpp:1420
#15 0x00007f9e4a0dd986 in reserve (bytes=2, this=0x7f9ddc015790) at ../../src/corelib/tools/qringbuffer_p.h:158
#16 QAbstractSocket::writeData (this=<optimized out>, data=0x7f9e2ce6c62c "\021", size=2) at socket/qabstractsocket.cpp:2315
#17 0x00007f9e4c67982f in QIODevice::write (this=0x7f9ddc05bd80, data=0x7f9e2ce6c62c "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
#18 0x00007f9e3cca8bd5 in ?? () from /usr/lib64/libsopranoclient.so.1
#19 0x00007f9e3ccafd6a in ?? () from /usr/lib64/libsopranoclient.so.1
#20 0x00007f9e3ccb18b3 in ?? () from /usr/lib64/libsopranoclient.so.1
#21 0x00007f9e43e9c64c in ?? () from /usr/lib64/libnepomuk.so.4
#22 0x00007f9e43e88eb3 in ?? () from /usr/lib64/libnepomuk.so.4
#23 0x00007f9e43e897bc in ?? () from /usr/lib64/libnepomuk.so.4
#24 0x00007f9e43e9f7e3 in Nepomuk::Resource::property(QUrl const&) const () from /usr/lib64/libnepomuk.so.4
#25 0x00007f9e472060ca in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x69c84f0) at /usr/src/debug/kdepim-4.8.1/messagecore/asyncnepomukresourceretriever.cpp:47
#26 0x00007f9e4c5dcd12 in QThreadPoolThread::run (this=0xe72d00) at concurrent/qthreadpool.cpp:107
#27 0x00007f9e4c5e955b in QThreadPrivate::start (arg=0xe72d00) at thread/qthread_unix.cpp:298
#28 0x00007f9e48ec0f05 in start_thread () from /lib64/libpthread.so.0
#29 0x00007f9e4b0b910d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9e2d66e700 (LWP 21595)):
#0  0x00007f9e48ec51eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9e4c5e99cf in wait (time=30000, this=0x1a03f90) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1a11bd8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9e4c5dcddf in QThreadPoolThread::run (this=0x1a12e30) at concurrent/qthreadpool.cpp:141
#4  0x00007f9e4c5e955b in QThreadPrivate::start (arg=0x1a12e30) at thread/qthread_unix.cpp:298
#5  0x00007f9e48ec0f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9e4b0b910d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9e4dd79780 (LWP 10210)):
[KCrash Handler]
#6  0x00007f9e4b012d95 in raise () from /lib64/libc.so.6
#7  0x00007f9e4b0142ab in abort () from /lib64/libc.so.6
#8  0x00007f9e4b04e99e in __libc_message () from /lib64/libc.so.6
#9  0x00007f9e4b0546d6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f9e4913054e in qMetaTypeDeleteHelper<QDBusMessage> (t=0x5683c00) at ../../src/corelib/kernel/qmetatype.h:134
#11 0x00007f9e4c6f6d79 in QMetaCallEvent::~QMetaCallEvent (this=0x1ab4c70, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#12 0x00007f9e4c6f6dd9 in QMetaCallEvent::~QMetaCallEvent (this=0x1ab4c70, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#13 0x00007f9e4c6ea143 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60b720) at kernel/qcoreapplication.cpp:1516
#14 0x00007f9e4c7154c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007f9e4329758d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f9e43297d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f9e43297f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f9e4c7158ef in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f9e4bb0f2de in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007f9e4c6e5682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f9e4c6e58d7 in QEventLoop::exec (this=0x7fffea4cde50, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f9e4c6ea435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#24 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.1/kmail/main.cpp:145

Possible duplicates by query: bug 296125, bug 296098, bug 295989, bug 295983, bug 295872.

Reported using DrKonqi
Comment 1 Robert Riemann 2012-04-17 11:03:20 UTC
Seems to be resolved in KDE 4.8.2.