[Bug 232331] New: Crash while opening email with image attachments (IMAP)

Ward Loockx ward at loockx.be
Sat Mar 27 11:00:49 GMT 2010


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

           Summary: Crash while opening email with image attachments
                    (IMAP)
           Product: kmail
           Version: 1.13.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: ward at loockx.be


Version:           1.13.1 (using KDE 4.4.1)
OS:                Linux
Installed from:    Ubuntu Packages

When opening a forwarded mail with images in attachment (+-4MB), I get an 
application crash. backtrace below.


Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76c5760 (LWP 6781))]

Thread 3 (Thread 0xb4961b70 (LWP 6784)):
#0  0x00478422 in __kernel_vsyscall ()
#1  0x0099b142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x0090a8d4 in __pthread_cond_timedwait (cond=0x92a4f58, mutex=0x92a4f40,
abstime=0xb4961250) at forward.c:152
#3  0x067af24f in QWaitConditionPrivate::wait (this=0x92a4ea4, mutex=0x92a4ea0,
time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x92a4ea4, mutex=0x92a4ea0, time=30000) at
thread/qwaitcondition_unix.cpp:159
#5  0x067a332b in QThreadPoolThread::run (this=0x92a4ff0) at
concurrent/qthreadpool.cpp:140
#6  0x067ae36e in QThreadPrivate::start (arg=0x92a4ff0) at
thread/qthread_unix.cpp:248
#7  0x0099680e in start_thread (arg=0xb4961b70) at pthread_create.c:300
#8  0x008fd8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3fffb70 (LWP 6785)):
#0  0x00478422 in __kernel_vsyscall ()
#1  0x0099b142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x0090a8d4 in __pthread_cond_timedwait (cond=0x92a4f58, mutex=0x92a4f40,
abstime=0xb3fff250) at forward.c:152
#3  0x067af24f in QWaitConditionPrivate::wait (this=0x92a4ea4, mutex=0x92a4ea0,
time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x92a4ea4, mutex=0x92a4ea0, time=30000) at
thread/qwaitcondition_unix.cpp:159
#5  0x067a332b in QThreadPoolThread::run (this=0xb4000d90) at
concurrent/qthreadpool.cpp:140
#6  0x067ae36e in QThreadPrivate::start (arg=0xb4000d90) at
thread/qthread_unix.cpp:248
#7  0x0099680e in start_thread (arg=0xb3fffb70) at pthread_create.c:300
#8  0x008fd8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76c5760 (LWP 6781)):
[KCrash Handler]
#6  QMetaObject::cast (this=0x20e3fdc, obj=0x8bffe321) at
kernel/qmetaobject.cpp:266
#7  0x01dcedf2 in qobject_cast<QTreeModel*> (this=0x9382028) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#8  QTreeWidgetItem::executePendingSort (this=0x9382028) at
itemviews/qtreewidget.cpp:2189
#9  0x00f9c3f5 in QTreeWidgetItem::indexOfChild (this=0x94877b8,
parent=0x9382028, node=0xa15a060, description=..., mimetype=..., encoding=...,
size=0, revertOrder=false)
    at /usr/include/qt4/QtGui/qtreewidget.h:251
#10 KMMimePartTreeItem (this=0x94877b8, parent=0x9382028, node=0xa15a060,
description=..., mimetype=..., encoding=..., size=0, revertOrder=false) at
../../kmail/kmmimeparttree.cpp:385
#11 0x00fe685a in partNode::fillMimePartTree (this=0xa15a060,
parentItem=0x9382028, mimePartTree=0x0, labelDescr=..., labelCntType=...,
labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at ../../kmail/partNode.cpp:549
#12 0x00fd385d in KMail::ObjectTreeParser::insertAndParseNewChildNode
(this=0xbfbe7140, startNode=..., content=0x69c63bc "", cntDesc=0x12ced82
"encapsulated message", append=<value optimized out>, 
    addToTextualContent=false) at ../../kmail/objecttreeparser.cpp:232
#13 0x00fd7b39 in KMail::ObjectTreeParser::processMessageRfc822Subtype
(this=0xbfbe7140, node=0xa0db488) at ../../kmail/objecttreeparser.cpp:1582
#14 0x00fe0deb in process (this=0xa0c51d8, otp=0xbfbe7140, node=0xa0db488,
result=...) at ../../kmail/bodypartformatter.cpp:116
#15 0x00fd2e9b in KMail::ObjectTreeParser::parseObjectTree (this=0xbfbe7140,
node=0xa0db488) at ../../kmail/objecttreeparser.cpp:318
#16 0x00fd3207 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfbe7360,
child=0xa14e450) at ../../kmail/objecttreeparser.cpp:1278
#17 0x00fd3601 in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=0xbfbe7360, node=0x95cb8c8) at ../../kmail/objecttreeparser.cpp:1291
#18 0x00fe0dab in process (this=0xa0c7010, otp=0xbfbe7360, node=0x95cb8c8,
result=...) at ../../kmail/bodypartformatter.cpp:118
#19 0x00fd2e9b in KMail::ObjectTreeParser::parseObjectTree (this=0xbfbe7360,
node=0x95cb8c8) at ../../kmail/objecttreeparser.cpp:318
#20 0x00e31d79 in KMReaderWin::parseMsg (this=0x8d23f10, aMsg=0x95e99d8) at
../../kmail/kmreaderwin.cpp:1612
#21 0x00e26d33 in KMReaderWin::displayMessage (this=0x8d23f10) at
../../kmail/kmreaderwin.cpp:1536
#22 0x00e26f1d in KMReaderWin::updateReaderWin (this=0x8d23f10) at
../../kmail/kmreaderwin.cpp:1479
#23 0x00e27820 in KMReaderWin::update (this=0x8d23f10, observable=0x95e9a48) at
../../kmail/kmreaderwin.cpp:904
#24 0x01080f22 in KMail::ISubject::notify (this=0x95e9a48) at
../../kmail/isubject.cpp:33
#25 0x00d2e972 in KMMessage::updateBodyPart (this=0x95e99d8, partSpecifier=...,
data=...) at ../../kmail/kmmessage.cpp:3185
#26 0x01055e40 in KMail::ImapJob::slotGetMessageResult (this=0xa0daee8,
job=0xa0dfb08) at ../../kmail/imapjob.cpp:435
#27 0x01057d9f in KMail::ImapJob::qt_metacall (this=0xa0daee8,
_c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfbe7958) at ./imapjob.moc:88
#28 0x068b5e5a in QMetaObject::metacall (object=0xa0daee8,
cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbfbe7958) at
kernel/qmetaobject.cpp:237
#29 0x068c45f5 in QMetaObject::activate (sender=0xa0dfb08, m=0xc21c48,
local_signal_index=3, argv=0xbfbe7958) at kernel/qobject.cpp:3293
#30 0x00aaefa3 in KJob::result (this=0xa0dfb08, _t1=0xa0dfb08) at
./kjob.moc:194
#31 0x00aaf308 in KJob::emitResult (this=0xa0dfb08) at
../../kdecore/jobs/kjob.cpp:312
#32 0x063442f0 in KIO::SimpleJob::slotFinished (this=0xa0dfb08) at
../../kio/kio/job.cpp:486
#33 0x0634481d in KIO::TransferJob::slotFinished (this=0xa0dfb08) at
../../kio/kio/job.cpp:1058
#34 0x063429a3 in KIO::TransferJob::qt_metacall (this=0xa0dfb08,
_c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfbe7bec) at
./jobclasses.moc:367
#35 0x068b5e5a in QMetaObject::metacall (object=0xa0dfb08,
cl=QMetaObject::InvokeMetaMethod, idx=47, argv=0xbfbe7bec) at
kernel/qmetaobject.cpp:237
#36 0x068c45f5 in QMetaObject::activate (sender=0x91d6800, m=0x64f1f44,
local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3293
#37 0x0640e097 in KIO::SlaveInterface::finished (this=0x91d6800) at
./slaveinterface.moc:171
#38 0x064113bd in KIO::SlaveInterface::dispatch (this=0x91d6800, _cmd=104,
rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#39 0x0640e553 in KIO::SlaveInterface::dispatch (this=0x91d6800) at
../../kio/kio/slaveinterface.cpp:91
#40 0x064018f8 in KIO::Slave::gotInput (this=0x91d6800) at
../../kio/kio/slave.cpp:324
#41 0x06401b03 in KIO::Slave::qt_metacall (this=0x91d6800,
_c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfbe7efc) at ./slave.moc:82
#42 0x068b5e5a in QMetaObject::metacall (object=0x91d6800,
cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfbe7efc) at
kernel/qmetaobject.cpp:237
#43 0x068c45f5 in QMetaObject::activate (sender=0x91d53e0, m=0x64ee820,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#44 0x0630cd17 in KIO::Connection::readyRead (this=0x91d53e0) at
./connection.moc:92
#45 0x0630f0be in KIO::ConnectionPrivate::dequeue (this=0x91d2938) at
../../kio/kio/connection.cpp:82
#46 0x0630f1ee in KIO::Connection::qt_metacall (this=0x91d53e0,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x97d06d0) at ./connection.moc:79
#47 0x068b5e5a in QMetaObject::metacall (object=0x91d53e0,
cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x97d06d0) at
kernel/qmetaobject.cpp:237
#48 0x068c0516 in QMetaCallEvent::placeMetaCall (this=0x92cac70,
object=0x91d53e0) at kernel/qobject.cpp:561
#49 0x068c163e in QObject::event (this=0x91d53e0, e=0x92cac70) at
kernel/qobject.cpp:1248
#50 0x017a63cc in QApplicationPrivate::notify_helper (this=0x8cd8890,
receiver=0x91d53e0, e=0x92cac70) at kernel/qapplication.cpp:4300
#51 0x017ad01e in QApplication::notify (this=0xbfbe8900, receiver=0x91d53e0,
e=0x92cac70) at kernel/qapplication.cpp:3704
#52 0x0065942a in KApplication::notify (this=0xbfbe8900, receiver=0x91d53e0,
event=0x92cac70) at ../../kdeui/kernel/kapplication.cpp:302
#53 0x068b0beb in QCoreApplication::notifyInternal (this=0xbfbe8900,
receiver=0x91d53e0, event=0x92cac70) at kernel/qcoreapplication.cpp:704
#54 0x068b3623 in QCoreApplication::sendEvent (receiver=0x0, event_type=0,
data=0x8caece8) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8caece8) at kernel/qcoreapplication.cpp:1345
#56 0x068b378d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1238
#57 0x068dcd0f in QCoreApplication::sendPostedEvents (s=0x8ce16c0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#58 postEventSourceDispatch (s=0x8ce16c0) at
kernel/qeventdispatcher_glib.cpp:276
#59 0x038bce88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x038c0730 in ?? () from /lib/libglib-2.0.so.0
#61 0x038c0863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x068dc805 in QEventDispatcherGlib::processEvents (this=0x8cae880,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#63 0x01865b35 in QGuiEventDispatcherGlib::processEvents (this=0x8cae880,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x068af209 in QEventLoop::processEvents (this=0xbfbe87b4, flags=) at
kernel/qeventloop.cpp:149
#65 0x068af65a in QEventLoop::exec (this=0xbfbe87b4, flags=...) at
kernel/qeventloop.cpp:201
#66 0x068b384f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#67 0x017a6467 in QApplication::exec () at kernel/qapplication.cpp:3579
#68 0x0804aace in main (argc=3, argv=0xbfbe8ac4) at ../../kmail/main.cpp:156

-- 
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