Bug 170325

Summary: KMail crashes when reading a Google Calendar invitation email
Product: [Unmaintained] kmail Reporter: Jonathan Thomas <echidnaman>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas
Priority: NOR    
Version: 1.10.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the email

Description Jonathan Thomas 2008-09-03 17:50:51 UTC
Version:           1.10.1 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-5-generic

Opening the attached email with KMail causes it to crash with this backtrace:

#0  KCal::Incidence::revision (this=0x0) at /build/buildd/kdepimlibs-4.1.1/kcal/incidence.cpp:322
#1  0x00007fc765506f15 in KCal::IncidenceFormatter::formatICalInvitation (invitation=<value optimized out>, mCalendar=<value optimized out>, helper=0x7fff72616350)
    at /build/buildd/kdepimlibs-4.1.1/kcal/incidenceformatter.cpp:1136
#2  0x00007fc74fe547dd in format (this=<value optimized out>, bodyPart=<value optimized out>, writer=0x27be4e0) at /build/buildd/kdepim-4.1.1a/plugins/kmail/bodypartformatter/text_calendar.cpp:163
#3  0x00007fc753959d62 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff72616560, node=0x2eb6390) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:267
#4  0x00007fc75395a678 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fff72616790, child=0x2ec6780) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:1088
#5  0x00007fc75395a972 in KMail::ObjectTreeParser::processMultiPartAlternativeSubtype (this=0x7fff72616790, node=<value optimized out>) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:1126
#6  0x00007fc753959fca in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff72616790, node=0x293f730) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:289
#7  0x00007fc75395a678 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fff72616aa0, child=0x293f730) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:1088
#8  0x00007fc75395a9d4 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0x0, node=<value optimized out>) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:1101
#9  0x00007fc753959fca in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff72616aa0, node=0x2277fb0) at /build/buildd/kdepim-4.1.1a/kmail/objecttreeparser.cpp:289
#10 0x00007fc7537d5e41 in KMReaderWin::parseMsg (this=0x2675bf0, aMsg=0x25e7510) at /build/buildd/kdepim-4.1.1a/kmail/kmreaderwin.cpp:1558
#11 0x00007fc7537cf9af in KMReaderWin::displayMessage (this=0x2675bf0) at /build/buildd/kdepim-4.1.1a/kmail/kmreaderwin.cpp:1489
#12 0x00007fc7537cfb85 in KMReaderWin::updateReaderWin (this=0x2675bf0) at /build/buildd/kdepim-4.1.1a/kmail/kmreaderwin.cpp:1429
#13 0x00007fc7537d4da2 in KMReaderWin::update (this=0x2675bf0, observable=<value optimized out>) at /build/buildd/kdepim-4.1.1a/kmail/kmreaderwin.cpp:852
#14 0x00007fc753a03658 in KMail::ISubject::notify (this=0x25e7538) at /build/buildd/kdepim-4.1.1a/kmail/isubject.cpp:30
#15 0x00007fc7536b560c in KMMessage::updateBodyPart (this=0x25e7510, partSpecifier=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 16259}, alloc = 0, size = 0, data = 0x6064ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 377}, alloc = 0, size = 0, data = 0x7fc7692102fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff72617450, static codecForCStrings = 0x0}, data=<value optimized out>) at /build/buildd/kdepim-4.1.1a/kmail/kmmessage.cpp:4178
#16 0x00007fc7539db783 in KMail::ImapJob::slotGetMessageResult (this=0x2ebf000, job=0x2cd6000) at /build/buildd/kdepim-4.1.1a/kmail/imapjob.cpp:435
#17 0x00007fc7539dc667 in KMail::ImapJob::qt_metacall (this=0x2ebf000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff726175e0)
    at /build/buildd/kdepim-4.1.1a/obj-x86_64-linux-gnu/kmail/imapjob.moc:81
#18 0x00007fc768f3cdf4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x00007fc769306692 in KJob::result (this=0x0, _t1=0x2cd6000) at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-x86_64-linux-gnu/kdecore/kjob.moc:186
#20 0x00007fc769306a57 in KJob::emitResult (this=0x2cd6000) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdecore/jobs/kjob.cpp:290
#21 0x00007fc7675ead80 in KIO::SimpleJob::slotFinished (this=0x2cd6000) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/job.cpp:498
#22 0x00007fc7675f15b3 in KIO::TransferJob::slotFinished (this=0x2cd6000) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/job.cpp:967
#23 0x00007fc7675f2315 in KIO::TransferJob::qt_metacall (this=0x2cd6000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff726179e0)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-x86_64-linux-gnu/kio/jobclasses.moc:336
#24 0x00007fc768f3cdf4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0x00007fc7676a3c61 in KIO::SlaveInterface::dispatch (this=0x2847780, _cmd=104, rawdata=<value optimized out>) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slaveinterface.cpp:175
#26 0x00007fc7676a0ac2 in KIO::SlaveInterface::dispatch (this=0x2847780) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slaveinterface.cpp:90
#27 0x00007fc767691b13 in KIO::Slave::gotInput (this=0x2847780) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slave.cpp:319
#28 0x00007fc767694238 in KIO::Slave::qt_metacall (this=0x2847780, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff72617e00)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-x86_64-linux-gnu/kio/slave.moc:75
#29 0x00007fc768f3cdf4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0x00007fc7675b8670 in KIO::ConnectionPrivate::dequeue (this=0x284a380) at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/connection.cpp:82
#31 0x00007fc7675b87aa in KIO::Connection::qt_metacall (this=0x2846150, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x2c35790)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-x86_64-linux-gnu/kio/connection.moc:72
#32 0x00007fc768f37a65 in QObject::event () from /usr/lib/libQtCore.so.4
#33 0x00007fc76844e5dd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0x00007fc76845636a in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0x00007fc76988429b in KApplication::notify (this=0x7fff72618850, receiver=0x2846150, event=0x2ce6d60) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/kernel/kapplication.cpp:311
#36 0x00007fc768f28a1f in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0x00007fc768f296ba in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#38 0x00007fc768f51143 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007fc762668ea2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007fc76266c63d in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007fc76266c7fb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007fc768f50dcf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#43 0x00007fc7684dfe5f in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007fc768f27342 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0x00007fc768f274cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0x00007fc768f2997d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#47 0x00000000004048e5 in main (argc=1, argv=0x7fff72618f38) at /build/buildd/kdepim-4.1.1a/kontact/src/main.cpp:218


Originally reported here: https://launchpad.net/bugs/264370
Comment 1 Jonathan Thomas 2008-09-03 17:53:16 UTC
Created attachment 27211 [details]
the email
Comment 2 Thomas McGuire 2008-09-03 18:32:40 UTC

*** This bug has been marked as a duplicate of bug 170203 ***
Comment 3 Thomas McGuire 2008-09-03 20:35:10 UTC
*** Bug 170337 has been marked as a duplicate of this bug. ***