[Bug 170365] New: ics attachement crashes kmail

Frédéric MEUROU frederic at meurou.com
Thu Sep 4 08:44:09 BST 2008


http://bugs.kde.org/show_bug.cgi?id=170365

           Summary: ics attachement crashes kmail
           Product: kmail
           Version: 1.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: frederic at meurou.com


Version:           1.3 (using KDE 4.1.1)
Compiler:          GCC 4.3.2 
OS:                Linux
Installed from:    Unlisted Binary Package

Kontact version 1.3
KMail version 1.10.1

I received an ICS file of the following kind. When i use the preview window it
crashes kmail. The ics content has been modified for confidentiality reason, it
contained special characters like french accents.

BEGIN:VCALENDAR
PRODID:-//Apple Inc.//iCal 3.0//EN
CALSCALE:GREGORIAN
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19961027T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
TZNAME:CET
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
SEQUENCE:6
DTSTART;TZID=Europe/Paris:20080908T110000
UID:00000000-0000-0000-0000-000000000000
DESCRIPTION:REMOVED DESCRIPTION
ORGANIZER;CN="XXX":mailto:xxx at xxx.com
DTSTAMP:20080903T151315Z
SUMMARY:REMOVED SUMMARY
ATTENDEE;CN="XXX";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;RO
 LE=REQ-PARTICIPANT;RSVP=TRUE:mailto:xxx at xxx.com
ATTENDEE;CN="XXX";PARTSTAT=ACCEPTED:mailto:xxx at xxx
 .com
CREATED:20080903T150912Z
DTEND;TZID=Europe/Paris:20080908T123000
END:VEVENT
END:VCALENDAR


And here is the backtrace :
Application : Kontact (kontact), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb50bf700 (LWP 4227)]
[KCrash handler]
#6  0xb766d206 in KCal::Incidence::revision (this=0x0)
    at
/home/jan/Dev/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.1.1/kcal/incidence.cpp:322
#7  0xb76c8c39 in KCal::IncidenceFormatter::formatICalInvitation (invitation=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value
= 33159}, alloc = 0, size = 0, data = 0x804df82, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
static shared_empty = {ref = {_q_value = 657}, alloc = 0, size = 0, data =
0xb6baf5ae, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,
capacity = 0, reserved = 0, array = {0}}, d = 0xbf84aebc, static
codecForCStrings = 0x0}, 
    mCalendar=0xbf84ae94, helper=0xbf84aeb0)
    at
/home/jan/Dev/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.1.1/kcal/incidenceformatter.cpp:1136
#8  0xb123b6f8 in format (this=0x89b7510, bodyPart=0xbf84af58, 
    writer=0x873cf38)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/plugins/kmail/bodypartformatter/text_calendar.cpp:163
#9  0xb1b47f24 in KMail::ObjectTreeParser::parseObjectTree (this=0xbf84afd0, 
    node=0x8b4ef68)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/objecttreeparser.cpp:267
#10 0xb1b48b0e in KMail::ObjectTreeParser::stdChildHandling (this=0xbf84b20c, 
    child=0x8487ea8)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/objecttreeparser.cpp:1088
#11 0xb1b48dfd in KMail::ObjectTreeParser::processMultiPartMixedSubtype (
    this=0xbf84b20c, node=0x88b3018)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/objecttreeparser.cpp:1101
#12 0xb1b55a1a in process (this=0x8b299c0, otp=0xbf84b20c, node=0x88b3018, 
    result=@0xbf84b0c8)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/bodypartformatter.cpp:118
#13 0xb1b481b2 in KMail::ObjectTreeParser::parseObjectTree (this=0xbf84b20c, 
    node=0x88b3018)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/objecttreeparser.cpp:289
#14 0xb19b10d5 in KMReaderWin::parseMsg (this=0x86c1230, aMsg=0x8a971f8)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/kmreaderwin.cpp:1558
#15 0xb19aab5d in KMReaderWin::displayMessage (this=0x86c1230)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/kmreaderwin.cpp:1489
#16 0xb19aad02 in KMReaderWin::updateReaderWin (this=0x86c1230)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/kmreaderwin.cpp:1429
#17 0xb19b0178 in KMReaderWin::qt_metacall (this=0x86c1230, 
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf84b528)
    at
/home/jan/Dev/kdemod-core/work/kdepim/src/kdepim-4.1.1/kmail/kmreaderwin.moc:162
#18 0xb6b278d7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb6b27ded in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6b5b270 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#21 0xb6b2eadf in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#22 0xb6b24712 in QObject::event () from /usr/lib/libQtCore.so.4
#23 0xb5a51f13 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#24 0xb5a58a1c in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb719f05c in KApplication::notify (this=0xbf84bd6c, receiver=0x86c1280, 
    event=0xbf84b9cc)
    at
/home/jan/Dev/kdemod-core/work/kdelibs/src/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:311
#26 0xb6b1730c in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#27 0xb6b3e8ce in ?? () from /usr/lib/libQtCore.so.4
#28 0xbf84bd6c in ?? ()
#29 0x086c1280 in ?? ()
#30 0xbf84b9cc in ?? ()
#31 0xb6b17a9d in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#32 0xb6b3b75d in ?? () from /usr/lib/libQtCore.so.4
#33 0x082c897c in ?? ()
#34 0xb5583240 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xbf84ba68 in ?? ()
#36 0xb5509171 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC
#0  0xb7f31424 in __kernel_vsyscall ()


-- 
Configure bugmail: http://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