[Bug 222216] New: crash when trying to read a big mail

Nicolas Lécureuil nlecureuil at mandriva.com
Mon Jan 11 13:25:49 GMT 2010


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

           Summary: crash when trying to read a big mail
           Product: kmail
           Version: 1.13.0
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: nlecureuil at mandriva.com


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.32.3-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

-- Information about the crash:
Someone send me a mail with about 30 mails in ( this was a forward of a entire
thread ) and when clicking on this mail, that makes kmail to crash

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f35fb795720 (LWP 25146))]

Thread 3 (Thread 0x7f35dd480710 (LWP 25168)):
#0  0x00007f35f6985429 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f35f98c5142 in wait (time=<value optimized out>, this=<value
optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f35f98ba589 in QThreadPoolThread::run (this=0x28c6550) at
concurrent/qthreadpool.cpp:140
#4  0x00007f35f98c4225 in QThreadPrivate::start (arg=0x28c6550) at
thread/qthread_unix.cpp:244
#5  0x00007f35f6980a5d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f35f84240dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f35dc439710 (LWP 25169)):
#0  0x00007f35f6985429 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f35f98c5142 in wait (time=<value optimized out>, this=<value
optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f35f98ba589 in QThreadPoolThread::run (this=0x2fa5df0) at
concurrent/qthreadpool.cpp:140
#4  0x00007f35f98c4225 in QThreadPrivate::start (arg=0x2fa5df0) at
thread/qthread_unix.cpp:244
#5  0x00007f35f6980a5d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f35f84240dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f35fb795720 (LWP 25146)):
[KCrash Handler]
#5  0x00007f35f931e2d0 in QTreeWidgetItem::addChild (this=0x3193230,
child=0x30f0240) at itemviews/qtreewidget.cpp:1882
#6  0x00007f35f931e6d3 in QTreeWidgetItem::QTreeWidgetItem (this=0x30f0240,
parent=0x3193230, type=<value optimized out>) at itemviews/qtreewidget.cpp:1428
#7  0x00007f35fa3801e4 in KMMimePartTreeItem::KMMimePartTreeItem
(this=0x3193230, parent=0x30f0240, node=0x2ff1d70, description=...,
mimetype=..., encoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.3.90/kmail/kmmimeparttree.cpp:378
#8  0x00007f35fa3b0ff1 in partNode::fillMimePartTree (this=0x2ff1d70,
parentItem=0x3193230, mimePartTree=<value optimized out>, labelDescr=<value
optimized out>, labelCntType=<value optimized out>, 
    labelEncoding=<value optimized out>, size=0, revertOrder=<value optimized
out>) at /usr/src/debug/kdepim-4.3.90/kmail/partNode.cpp:549
#9  0x00007f35fa3a3192 in KMail::ObjectTreeParser::insertAndParseNewChildNode
(this=0x7fff3b7f26b0, startNode=..., content=<value optimized out>,
cntDesc=<value optimized out>, 
    append=<value optimized out>, addToTextualContent=<value optimized out>) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:232
#10 0x00007f35fa3a4dc2 in KMail::ObjectTreeParser::processMessageRfc822Subtype
(this=0x7fff3b7f26b0, node=0x3186fd0) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:1582
#11 0x00007f35fa3a27ce in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff3b7f26b0, node=0x3186fd0) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:318
#12 0x00007f35fa3a28ea in KMail::ObjectTreeParser::stdChildHandling
(this=0x7fff3b7f2900, child=0x3186ad0) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:1278
#13 0x00007f35fa3a2c3e in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=0x7fff3b7f2900, node=<value optimized out>) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:1291
#14 0x00007f35fa3a27ce in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff3b7f2900, node=0x3186990) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:318
#15 0x00007f35fa3a28ea in KMail::ObjectTreeParser::stdChildHandling
(this=0x7fff3b7f2c40, child=0x3186990) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:1278
#16 0x00007f35fa3a2c3e in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=0x7fff3b7f2c40, node=<value optimized out>) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:1291
#17 0x00007f35fa3a27ce in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff3b7f2c40, node=0x3186850) at
/usr/src/debug/kdepim-4.3.90/kmail/objecttreeparser.cpp:318
#18 0x00007f35fa27d7c8 in KMReaderWin::parseMsg (this=0x2809fe0,
aMsg=0x2fe4a00) at /usr/src/debug/kdepim-4.3.90/kmail/kmreaderwin.cpp:1611
#19 0x00007f35fa275a9c in KMReaderWin::displayMessage (this=0x2809fe0) at
/usr/src/debug/kdepim-4.3.90/kmail/kmreaderwin.cpp:1535
#20 0x00007f35fa275bd1 in KMReaderWin::updateReaderWin (this=0x2809fe0) at
/usr/src/debug/kdepim-4.3.90/kmail/kmreaderwin.cpp:1478
#21 0x00007f35fa2778a4 in KMReaderWin::update (this=0x2809fe0,
observable=<value optimized out>) at
/usr/src/debug/kdepim-4.3.90/kmail/kmreaderwin.cpp:903
#22 0x00007f35fa421009 in KMail::ISubject::notify (this=0x2fe4ad0) at
/usr/src/debug/kdepim-4.3.90/kmail/isubject.cpp:33
#23 0x00007f35fa1bbd26 in KMMessage::updateBodyPart (this=0x2fe4a00,
partSpecifier=) at /usr/src/debug/kdepim-4.3.90/kmail/kmmessage.cpp:3185
#24 0x00007f35fa403a23 in KMail::ImapJob::slotGetMessageResult (this=0x30d0330,
job=<value optimized out>) at
/usr/src/debug/kdepim-4.3.90/kmail/imapjob.cpp:435
#25 0x00007f35fa404293 in KMail::ImapJob::qt_metacall (this=0x30d0330,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b7f3660) at
/usr/src/debug/kdepim-4.3.90/build/kmail/imapjob.moc:88
#26 0x00007f35f99ca1b3 in QMetaObject::activate (sender=0x30d0930, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x308e001) at
kernel/qobject.cpp:3286
#27 0x00007f35fabd6a52 in KJob::result (this=0x3193230, _t1=0x30d0930) at
/usr/src/debug/kdelibs-4.3.90/build/kdecore/kjob.moc:194
#28 0x00007f35fac09611 in KJob::emitResult (this=0x30d0930) at
/usr/src/debug/kdelibs-4.3.90/kdecore/jobs/kjob.cpp:312
#29 0x00007f35f56dd6e9 in KIO::SimpleJob::slotFinished (this=0x30d0930) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/job.cpp:475
#30 0x00007f35f56f9070 in KIO::TransferJob::slotFinished (this=0x30d0930) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/job.cpp:975
#31 0x00007f35f570a04d in KIO::TransferJob::qt_metacall (this=0x30d0930,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b7f3a50)
    at /usr/src/debug/kdelibs-4.3.90/build/kio/jobclasses.moc:367
#32 0x00007f35f99ca1b3 in QMetaObject::activate (sender=0x2d9eae0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x308e001) at
kernel/qobject.cpp:3286
#33 0x00007f35f569a582 in KIO::SlaveInterface::dispatch (this=<value optimized
out>, _cmd=104, rawdata=...) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/slaveinterface.cpp:175
#34 0x00007f35f565dd3a in KIO::SlaveInterface::dispatch (this=0x2d9eae0) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/slaveinterface.cpp:91
#35 0x00007f35f5669c56 in KIO::Slave::gotInput (this=0x2d9eae0) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/slave.cpp:324
#36 0x00007f35f56a3154 in KIO::Slave::qt_metacall (this=0x2d9eae0,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b7f3e00) at
/usr/src/debug/kdelibs-4.3.90/build/kio/slave.moc:82
#37 0x00007f35f99ca1b3 in QMetaObject::activate (sender=0x2eff030, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x308e001) at
kernel/qobject.cpp:3286
#38 0x00007f35f565df94 in KIO::ConnectionPrivate::dequeue (this=0x2effc50) at
/usr/src/debug/kdelibs-4.3.90/kio/kio/connection.cpp:82
#39 0x00007f35f566a355 in KIO::Connection::qt_metacall (this=0x2eff030,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x2fe49b0) at
/usr/src/debug/kdelibs-4.3.90/build/kio/connection.moc:79
#40 0x00007f35f99c7109 in QObject::event (this=0x2eff030, e=0x30fd600) at
kernel/qobject.cpp:1252
#41 0x00007f35f8d8242c in QApplicationPrivate::notify_helper (this=0x2463960,
receiver=0x2eff030, e=0x30fd600) at kernel/qapplication.cpp:4242
#42 0x00007f35f8d88a4d in QApplication::notify (this=0x7fff3b7f4990,
receiver=0x2eff030, e=0x30fd600) at kernel/qapplication.cpp:4125
#43 0x00007f35fb1b547e in KApplication::notify (this=0x7fff3b7f4990,
receiver=0x2eff030, event=0x30fd600) at
/usr/src/debug/kdelibs-4.3.90/kdeui/kernel/kapplication.cpp:302
#44 0x00007f35f99b745c in QCoreApplication::notifyInternal
(this=0x7fff3b7f4990, receiver=0x2eff030, event=0x30fd600) at
kernel/qcoreapplication.cpp:704
#45 0x00007f35f99b9bd7 in sendEvent (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#47 0x00007f35f99e0ed3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#48 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#49 0x00007f35efede65e in g_main_dispatch (context=<value optimized out>) at
gmain.c:1960
#50 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#51 0x00007f35efee2028 in g_main_context_iterate (context=0x23b8930,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:2591
#52 0x00007f35efee2150 in IA__g_main_context_iteration (context=0x23b8930,
may_block=1) at gmain.c:2654
#53 0x00007f35f99e0a13 in QEventDispatcherGlib::processEvents (this=0x2389380,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#54 0x00007f35f8e2f68e in QGuiEventDispatcherGlib::processEvents
(this=0x3193230, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#55 0x00007f35f99b5d82 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#56 0x00007f35f99b615c in QEventLoop::exec (this=0x7fff3b7f47d0, flags=) at
kernel/qeventloop.cpp:201
#57 0x00007f35f99b9e9b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#58 0x00000000004031bd in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdepim-4.3.90/kmail/main.cpp:156

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