Application: kmail (1.13.0) KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) Qt Version: 4.6.0 Operating System: Linux 2.6.31-17-generic x86_64 Distribution: Ubuntu 9.10 -- Information about the crash: I have open kmail, go to IMAP folder Drafts, select for view first unread message from drafts (Created from another computer) and kmail crashes momentally. I try this operation four times and see the crash every time. On another computer with KDE 4.3.2 this message opens successfully without crashes. The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault The current source language is "auto; currently c". [Current thread is 1 (Thread 0x7f58f7faa7f0 (LWP 8845))] Thread 2 (Thread 0x7f58d7df0910 (LWP 8856)): #0 0x00007fffe8ef982c in clock_gettime () #1 0x00007f58eb776fdf in *__GI_clock_gettime (clock_id=1, tp=0x7f58d7defcb0) at ../sysdeps/unix/clock_gettime.c:100 #2 0x00007f58f5423acf in qt_gettime () at kernel/qcore_unix.cpp:109 #3 0x00007f58f542874d in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340 #4 0x00007f58f5428775 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #5 0x00007f58f542686d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f58d7defdcc) at kernel/qeventdispatcher_glib.cpp:136 #6 0x00007f58f5426915 in timerSourcePrepare (source=0x1, timeout=0x7f58d7defcb0) at kernel/qeventdispatcher_glib.cpp:169 #7 0x00007f58ec6c7dba in g_main_context_prepare () from /lib/libglib-2.0.so.0 #8 0x00007f58ec6c8191 in ?? () from /lib/libglib-2.0.so.0 #9 0x00007f58ec6c86c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #10 0x00007f58f5426676 in QEventDispatcherGlib::processEvents (this=0x1c42950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409 #11 0x00007f58f53fb972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #12 0x00007f58f53fbd4c in QEventLoop::exec (this=0x7f58d7deff60, flags=) at kernel/qeventloop.cpp:201 #13 0x00007f58f5306c79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #14 0x00007f58f53dc298 in QInotifyFileSystemWatcherEngine::run (this=0x1bac670) at io/qfilesystemwatcher_inotify.cpp:248 #15 0x00007f58f53096c5 in QThreadPrivate::start (arg=0x1bac670) at thread/qthread_unix.cpp:244 #16 0x00007f58f2e24a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300 #17 0x00007f58f4ad980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #18 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f58f7faa7f0 (LWP 8845)): [KCrash Handler] #5 0x00007f58f5e6d0d0 in QTreeWidgetItem::addChild (this=0x1df9990, child=0x1ca9f40) at itemviews/qtreewidget.cpp:1882 #6 0x00007f58f5e6d4d3 in QTreeWidgetItem (this=0x1ca9f40, parent=0x1df9990, type=<value optimized out>) at itemviews/qtreewidget.cpp:1428 #7 0x00007f58f6a94989 in KMMimePartTreeItem (this=0x1df9990, parent=0x1ca9f40, node=0x1ccf060, description=..., mimetype=..., encoding=..., size=0, revertOrder=false) at ../../kmail/kmmimeparttree.cpp:378 #8 0x00007f58f6ad96a3 in partNode::fillMimePartTree (this=0x1ccf060, parentItem=0x1df9990, mimePartTree=<value optimized out>, labelDescr=<value optimized out>, labelCntType=<value optimized out>, labelEncoding=<value optimized out>, size=0, revertOrder=195) at ../../kmail/partNode.cpp:549 #9 0x00007f58f6ac7e9c in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0x7fffe8ed6540, startNode=..., content=<value optimized out>, cntDesc=<value optimized out>, append=false, addToTextualContent=<value optimized out>) at ../../kmail/objecttreeparser.cpp:232 #10 0x00007f58f6acbcc0 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0x7fffe8ed6540, node=0x1f4c330) at ../../kmail/objecttreeparser.cpp:1582 #11 0x00007f58f6ac75c1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffe8ed6540, node=0x1f4c330) at ../../kmail/objecttreeparser.cpp:318 #12 0x00007f58f6ac78e5 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fffe8ed6850, child=0x1f4b670) at ../../kmail/objecttreeparser.cpp:1278 #13 0x00007f58f6ac7c94 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0x1df9990, node=<value optimized out>) at ../../kmail/objecttreeparser.cpp:1291 #14 0x00007f58f6ac75c1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffe8ed6850, node=0x1f39af0) at ../../kmail/objecttreeparser.cpp:318 #15 0x00007f58f69490b0 in KMReaderWin::parseMsg (this=0x13007f0, aMsg=0x124fb00) at ../../kmail/kmreaderwin.cpp:1611 #16 0x00007f58f693f2e0 in KMReaderWin::displayMessage (this=0x13007f0) at ../../kmail/kmreaderwin.cpp:1535 #17 0x00007f58f693f4b0 in KMReaderWin::updateReaderWin (this=0x13007f0) at ../../kmail/kmreaderwin.cpp:1478 #18 0x00007f58f693fd85 in KMReaderWin::update (this=0x13007f0, observable=<value optimized out>) at ../../kmail/kmreaderwin.cpp:903 #19 0x00007f58f6b67191 in KMail::ISubject::notify (this=0x124fbd0) at ../../kmail/isubject.cpp:33 #20 0x00007f58f6861e9c in KMMessage::updateBodyPart (this=0x124fb00, partSpecifier=) at ../../kmail/kmmessage.cpp:3185 #21 0x00007f58f6b3e929 in KMail::ImapJob::slotGetMessageResult (this=0x1ece4c0, job=<value optimized out>) at ../../kmail/imapjob.cpp:435 #22 0x00007f58f6b404eb in KMail::ImapJob::qt_metacall (this=0x1ece4c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8ed7320) at ./imapjob.moc:88 #23 0x00007f58f540fdc3 in QMetaObject::activate (sender=0x1bbe7a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1dd7701) at kernel/qobject.cpp:3294 #24 0x00007f58f73f9842 in KJob::result (this=0x1df9990, _t1=0x1bbe7a0) at ./kjob.moc:194 #25 0x00007f58f73f9ae0 in KJob::emitResult (this=0x1bbe7a0) at ../../kdecore/jobs/kjob.cpp:312 #26 0x00007f58f1f346e3 in KIO::SimpleJob::slotFinished (this=0x1bbe7a0) at ../../kio/kio/job.cpp:475 #27 0x00007f58f1f34ba3 in KIO::TransferJob::slotFinished (this=0x1bbe7a0) at ../../kio/kio/job.cpp:975 #28 0x00007f58f1f32d81 in KIO::TransferJob::qt_metacall (this=0x1bbe7a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8ed7740) at ./jobclasses.moc:367 #29 0x00007f58f540fdc3 in QMetaObject::activate (sender=0x1a7a770, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1dd7701) at kernel/qobject.cpp:3294 #30 0x00007f58f1ff31e1 in KIO::SlaveInterface::dispatch (this=0x1a7a770, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175 #31 0x00007f58f1ff0553 in KIO::SlaveInterface::dispatch (this=0x1a7a770) at ../../kio/kio/slaveinterface.cpp:91 #32 0x00007f58f1fe48b6 in KIO::Slave::gotInput (this=0x1a7a770) at ../../kio/kio/slave.cpp:324 #33 0x00007f58f1fe4a9c in KIO::Slave::qt_metacall (this=0x1a7a770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8ed7b60) at ./slave.moc:82 #34 0x00007f58f540fdc3 in QMetaObject::activate (sender=0x1a7b190, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1dd7701) at kernel/qobject.cpp:3294 #35 0x00007f58f1f03cd7 in KIO::ConnectionPrivate::dequeue (this=0x1a7aea0) at ../../kio/kio/connection.cpp:82 #36 0x00007f58f1f03dfd in KIO::Connection::qt_metacall (this=0x1a7b190, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1b5d180) at ./connection.moc:79 #37 0x00007f58f540cd19 in QObject::event (this=0x1a7b190, e=0x1ef8830) at kernel/qobject.cpp:1260 #38 0x00007f58f58cfe8c in QApplicationPrivate::notify_helper (this=0x104c420, receiver=0x1a7b190, e=0x1ef8830) at kernel/qapplication.cpp:4242 #39 0x00007f58f58d648d in QApplication::notify (this=0x7fffe8ed86f0, receiver=0x1a7b190, e=0x1ef8830) at kernel/qapplication.cpp:4125 #40 0x00007f58f79cbe16 in KApplication::notify (this=0x7fffe8ed86f0, receiver=0x1a7b190, event=0x1ef8830) at ../../kdeui/kernel/kapplication.cpp:302 #41 0x00007f58f53fd04c in QCoreApplication::notifyInternal (this=0x7fffe8ed86f0, receiver=0x1a7b190, event=0x1ef8830) at kernel/qcoreapplication.cpp:704 #42 0x00007f58f53ff7c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1011070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1011070) at kernel/qcoreapplication.cpp:1345 #44 0x00007f58f5426ae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #45 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #46 0x00007f58ec6c4bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #47 0x00007f58ec6c8598 in ?? () from /lib/libglib-2.0.so.0 #48 0x00007f58ec6c86c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #49 0x00007f58f5426623 in QEventDispatcherGlib::processEvents (this=0x1052ff0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #50 0x00007f58f597e2fe in QGuiEventDispatcherGlib::processEvents (this=0x1df9990, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #51 0x00007f58f53fb972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #52 0x00007f58f53fbd4c in QEventLoop::exec (this=0x7fffe8ed8520, flags=) at kernel/qeventloop.cpp:201 #53 0x00007f58f53ffa8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #54 0x0000000000403572 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156 Possible duplicates by query: bug 222216, bug 209117, bug 186502. Reported using DrKonqi
In output of kmail on crash I see the strings: QPainter::setPen: Painter not active QPainter::worldTransform: Painter not active kmail(8845)/kdeui (KIconEffect) KIconEffect::overlay: Image depth src ( 0 ) != overlay ( 32 )! kmail(8845)/kdeui (KIconEffect) KIconEffect::overlay: Image depth src ( 0 ) != overlay ( 32 )! kmail(8845)/kdeui (KIconEffect) KIconEffect::overlay: Image depth src ( 0 ) != overlay ( 32 )! kmail(8845)/kdeui (KIconEffect) KIconEffect::overlay: Image depth src ( 0 ) != overlay ( 32 )! kmail(8845)/kio (KIOJob) KIO::TransferJob::slotData: mimetype() not emitted when sending first data!; job URL = KUrl("imap://xxx%40xxx.ru@mail.xxx.ru:143/Drafts/;UID=100;SECTION=BODY.PEEK[1]") data size = 1388 kmail(8845) KMReaderWin::parseMsg: The root node is not yet processed! Danger! kmail(8845) KMReaderWin::parseMsg: The root node is not yet processed! Danger! kmail(8845)/kdepimlibs (kpgp) Kpgp::Module::checkForPGP: Kpgp: gpg found kmail(8845) KMReaderWin::parseMsg: The root node is not yet processed! Danger! kmail(8845) KMReaderWin::parseMsg: The root node is not yet processed! Danger! *** KMail got signal 11 (Crashing) KCrash: Application 'kmail' crashing... sock_file=/home/murz/.kde/socket-axe/kdeinit4__0 QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
After removing this message from this folder and testing on another messages I can't repeat this bug, all messages opens without crashes. The problem message have a "new" status, filled out "subject", "to" and body fields, have 3 attachments.
This is being tracked at bug 186502. Thanks *** This bug has been marked as a duplicate of bug 186502 ***