[Bug 228284] New: Crash when opening the message contain mime

Murz MurzNN at gmail.com
Wed Feb 24 10:34:06 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=228284

           Summary: Crash when opening the message contain mime
           Product: kmail
           Version: 1.13.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: MurzNN at gmail.com


Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I have an imap account with many messages, it works normally long time.
But now I receive a message, that crash kmail if I try to view it (in preview
or in new window).
When I click on it, kmail crashes and shows in command line:

$ kmail(1681)/kio (KIOJob) KIO::TransferJob::slotData: mimetype() not emitted
when sending first data!; job URL =
KUrl("imaps://xxx%40xxx.ru@mail.xxx.ru:993/INBOX/;UID=2150;SECTION=BODY.PEEK[1]")
data size = 235
kmail(1681) 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 24 and type 'Read', disabling...


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 0x7fd96207c7f0 (LWP 1681))]

Thread 2 (Thread 0x7fd944592910 (LWP 1691)):
#0  0x00007fd95eb933c3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd95635837c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd9563586c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fd95f4ed4b6 in QEventDispatcherGlib::processEvents (this=0x1dd3c50,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd95f4c2862 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fd95f4c2c3c in QEventLoop::exec (this=0x7fd944591f60, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fd95f3ccd29 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fd95f4a3098 in QInotifyFileSystemWatcherEngine::run (this=0x1dd3ad0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd95f3cf745 in QThreadPrivate::start (arg=0x1dd3ad0) at
thread/qthread_unix.cpp:248
#9  0x00007fd95ccc9a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fd95eb9f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd96207c7f0 (LWP 1681)):
[KCrash Handler]
#5  QAbstractItemView::d_func (this=0xbff0000000000000) at
itemviews/qabstractitemview.h:353
#6  QAbstractItemView::model (this=0xbff0000000000000) at
itemviews/qabstractitemview.cpp:684
#7  0x00007fd95ff3a805 in QTreeWidgetItem::executePendingSort (this=<value
optimized out>) at itemviews/qtreewidget.cpp:2189
#8  0x00007fd960b62ef5 in QTreeWidgetItem::indexOfChild (this=0x2076bc0,
parent=0x2011360, node=0x202e5f0, description=..., mimetype=...,
encoding=<value optimized out>, size=0, revertOrder=false)
    at /usr/include/qt4/QtGui/qtreewidget.h:251
#9  KMMimePartTreeItem (this=0x2076bc0, parent=0x2011360, node=0x202e5f0,
description=..., mimetype=..., encoding=<value optimized out>, size=0,
revertOrder=false)
    at ../../kmail/kmmimeparttree.cpp:385
#10 0x00007fd960ba7c03 in partNode::fillMimePartTree (this=0x202e5f0,
parentItem=0x2011360, mimePartTree=<value optimized out>, labelDescr=<value
optimized out>, labelCntType=<value optimized out>, 
    labelEncoding=<value optimized out>, size=0, revertOrder=false) at
../../kmail/partNode.cpp:549
#11 0x00007fd960b963fc in KMail::ObjectTreeParser::insertAndParseNewChildNode
(this=0x7fff89324430, startNode=..., content=<value optimized out>,
cntDesc=<value optimized out>, append=false, 
    addToTextualContent=<value optimized out>) at
../../kmail/objecttreeparser.cpp:232
#12 0x00007fd960b9a220 in KMail::ObjectTreeParser::processMessageRfc822Subtype
(this=0x7fff89324430, node=0x207e760) at ../../kmail/objecttreeparser.cpp:1582
#13 0x00007fd960b95b21 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff89324430, node=0x207e760) at ../../kmail/objecttreeparser.cpp:318
#14 0x00007fd960b95e45 in KMail::ObjectTreeParser::stdChildHandling
(this=0x7fff89324740, child=0x20ecac0) at ../../kmail/objecttreeparser.cpp:1278
#15 0x00007fd960b961f4 in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=0xbff0000000000000, node=<value optimized out>) at
../../kmail/objecttreeparser.cpp:1291
#16 0x00007fd960b95b21 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff89324740, node=0x1fe7fb0) at ../../kmail/objecttreeparser.cpp:318
#17 0x00007fd960a17400 in KMReaderWin::parseMsg (this=0x1733120,
aMsg=0x1ed38f0) at ../../kmail/kmreaderwin.cpp:1611
#18 0x00007fd960a0d630 in KMReaderWin::displayMessage (this=0x1733120) at
../../kmail/kmreaderwin.cpp:1535
#19 0x00007fd960a0d800 in KMReaderWin::updateReaderWin (this=0x1733120) at
../../kmail/kmreaderwin.cpp:1478
#20 0x00007fd960a0e0d5 in KMReaderWin::update (this=0x1733120,
observable=<value optimized out>) at ../../kmail/kmreaderwin.cpp:903
#21 0x00007fd960c35751 in KMail::ISubject::notify (this=0x1ed39c0) at
../../kmail/isubject.cpp:33
#22 0x00007fd96092ff8c in KMMessage::updateBodyPart (this=0x1ed38f0,
partSpecifier=) at ../../kmail/kmmessage.cpp:3185
#23 0x00007fd960c0ced9 in KMail::ImapJob::slotGetMessageResult (this=0x1d70f80,
job=<value optimized out>) at ../../kmail/imapjob.cpp:435
#24 0x00007fd960c0ea9b in KMail::ImapJob::qt_metacall (this=0x1d70f80,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff89325210)
at ./imapjob.moc:88
#25 0x00007fd95f4d6d3f in QMetaObject::activate (sender=0x20e29e0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x202e780) at
kernel/qobject.cpp:3275
#26 0x00007fd9614c8c92 in KJob::result (this=0xbff0000000000000, _t1=0x20e29e0)
at ./kjob.moc:194
#27 0x00007fd9614c8f30 in KJob::emitResult (this=0x20e29e0) at
../../kdecore/jobs/kjob.cpp:312
#28 0x00007fd95bbc9843 in KIO::SimpleJob::slotFinished (this=0x20e29e0) at
../../kio/kio/job.cpp:486
#29 0x00007fd95bbca207 in KIO::TransferJob::slotFinished (this=0x20e29e0) at
../../kio/kio/job.cpp:1058
#30 0x00007fd95bbc8181 in KIO::TransferJob::qt_metacall (this=0x20e29e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff89325610)
at ./jobclasses.moc:367
#31 0x00007fd95f4d6d3f in QMetaObject::activate (sender=0x1c219c0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x202e780) at
kernel/qobject.cpp:3275
#32 0x00007fd95bc88c11 in KIO::SlaveInterface::dispatch (this=0x1c219c0,
_cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#33 0x00007fd95bc85f83 in KIO::SlaveInterface::dispatch (this=0x1c219c0) at
../../kio/kio/slaveinterface.cpp:91
#34 0x00007fd95bc7a2e6 in KIO::Slave::gotInput (this=0x1c219c0) at
../../kio/kio/slave.cpp:324
#35 0x00007fd95bc7a4cc in KIO::Slave::qt_metacall (this=0x1c219c0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff89325a30)
at ./slave.moc:82
#36 0x00007fd95f4d6d3f in QMetaObject::activate (sender=0x1c204b0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x202e780) at
kernel/qobject.cpp:3275
#37 0x00007fd95bb98aa7 in KIO::ConnectionPrivate::dequeue (this=0x1c22e80) at
../../kio/kio/connection.cpp:82
#38 0x00007fd95bb98bcd in KIO::Connection::qt_metacall (this=0x1c204b0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x208d7c0) at
./connection.moc:79
#39 0x00007fd95f4d3c79 in QObject::event (this=0x1c204b0, e=0x201bef0) at
kernel/qobject.cpp:1248
#40 0x00007fd95f996fac in QApplicationPrivate::notify_helper (this=0x14952e0,
receiver=0x1c204b0, e=0x201bef0) at kernel/qapplication.cpp:4298
#41 0x00007fd95f99d59b in QApplication::notify (this=0x7fff89326650,
receiver=0x1c204b0, e=0x201bef0) at kernel/qapplication.cpp:4181
#42 0x00007fd961a9ed16 in KApplication::notify (this=0x7fff89326650,
receiver=0x1c204b0, event=0x201bef0) at ../../kdeui/kernel/kapplication.cpp:302
#43 0x00007fd95f4c3f3c in QCoreApplication::notifyInternal
(this=0x7fff89326650, receiver=0x1c204b0, event=0x201bef0) at
kernel/qcoreapplication.cpp:704
#44 0x00007fd95f4c66b7 in QCoreApplication::sendEvent (receiver=0x0,
event_type=<value optimized out>, data=0x145d9c0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x145d9c0) at kernel/qcoreapplication.cpp:1345
#46 0x00007fd95f4ed923 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#48 0x00007fd956354bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0x00007fd956358598 in ?? () from /lib/libglib-2.0.so.0
#50 0x00007fd9563586c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#51 0x00007fd95f4ed463 in QEventDispatcherGlib::processEvents (this=0x149bdb0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#52 0x00007fd95fa467ee in QGuiEventDispatcherGlib::processEvents
(this=0xbff0000000000000, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fd95f4c2862 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#54 0x00007fd95f4c2c3c in QEventLoop::exec (this=0x7fff89326480, flags=) at
kernel/qeventloop.cpp:201
#55 0x00007fd95f4c697b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#56 0x0000000000403572 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 220960, bug 186502.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list