Bug 289140 - Crash when opening an appointment email in the Outbox folder
Summary: Crash when opening an appointment email in the Outbox folder
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: calendar (show other bugs)
Version: 4.7.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 298948 299021 299027 305817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-16 19:27 UTC by cirta
Modified: 2015-09-11 23:25 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.17 KB, text/plain)
2012-01-04 23:39 UTC, cirta
Details
New crash information added by DrKonqi (9.17 KB, text/plain)
2012-01-04 23:39 UTC, cirta
Details
New crash information added by DrKonqi (9.17 KB, text/plain)
2012-01-04 23:39 UTC, cirta
Details
Kontact Valgrind report (25.25 KB, text/x-log)
2012-04-30 18:06 UTC, Vasilis Tsiligiannis
Details
New crash information added by DrKonqi (8.77 KB, text/plain)
2012-09-14 20:39 UTC, rod260185
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cirta 2011-12-16 19:27:08 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
Se produit quand j'essaie d'ouvrir un message présent dans la boite d'envoi.
Le message a été créé à partir de l'agenda : "envoi des disponibilités"

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7867730 (LWP 1961))]

Thread 4 (Thread 0xb6a86b70 (LWP 1962)):
#0  0x00514416 in __kernel_vsyscall ()
#1  0x01ee0a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00415cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03998883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x0399899f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x01edcd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x004080ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb615db70 (LWP 1963)):
#0  0x047f652b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x047f6c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x01148b37 in QEventDispatcherGlib::processEvents (this=0x8738d80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0x011191dd in QEventLoop::processEvents (this=0xb615d2c0, flags=...) at kernel/qeventloop.cpp:149
#4  0x01119421 in QEventLoop::exec (this=0xb615d2c0, flags=...) at kernel/qeventloop.cpp:201
#5  0x0101c90b in QThread::exec (this=0x870b868) at thread/qthread.cpp:498
#6  0x0101c9fb in QThread::run (this=0x870b868) at thread/qthread.cpp:565
#7  0x0101f7b3 in QThreadPrivate::start (arg=0x870b868) at thread/qthread_unix.cpp:331
#8  0x01edcd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x004080ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3c7db70 (LWP 1971)):
#0  0x009a6d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x010767d5 in do_gettime (frac=0xb3c7d000, sec=0xb3c7cff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x011494b6 in QTimerInfoList::updateCurrentTime (this=0x8c23254) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0114980a in QTimerInfoList::timerWait (this=0x8c23254, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01148053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb3c7d10c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x011480ed in timerSourcePrepare (source=0x8c23220, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x047f588c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x047f6637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x047f6c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01148b37 in QEventDispatcherGlib::processEvents (this=0x88b4da0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x011191dd in QEventLoop::processEvents (this=0xb3c7d290, flags=...) at kernel/qeventloop.cpp:149
#12 0x01119421 in QEventLoop::exec (this=0xb3c7d290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0101c90b in QThread::exec (this=0x8c1d570) at thread/qthread.cpp:498
#14 0x010f9e2d in QInotifyFileSystemWatcherEngine::run (this=0x8c1d570) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0101f7b3 in QThreadPrivate::start (arg=0x8c1d570) at thread/qthread_unix.cpp:331
#16 0x01edcd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x004080ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7867730 (LWP 1961)):
[KCrash Handler]
#7  0x016ecd77 in KCalCore::Incidence::revision (this=0x949b5f8) at ../../kcalcore/incidence.cpp:375
#8  0x024f3fcf in formatICalInvitationHelper (invitation=<optimized out>, mCalendar=..., helper=0xbf9d454c, noHtmlMode=true, spec=..., sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3117
#9  0x024f6951 in KCalUtils::IncidenceFormatter::formatICalInvitationNoHtml (invitation=..., calendar=..., helper=0xbf9d454c, sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3248
#10 0x04e928b5 in (anonymous namespace)::Formatter::format (this=0x9781d68, bodyPart=0xbf9d4568, writer=0x8b45d50, asyncResultObserver=0xbf9d4598) at ../../../../plugins/messageviewer/bodypartformatter/text_calendar.cpp:253
#11 0x04e00c02 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0xbf9d46ac, node=0x980f198) at ../../messageviewer/objecttreeparser.cpp:310
#12 0x04e017e5 in MessageViewer::ObjectTreeParser::stdChildHandling (this=0xbf9d4870, child=0x8c04bf8) at ../../messageviewer/objecttreeparser.cpp:1388
#13 0x04e01cda in processMultiPartMixedSubtype (node=0x9ff74b8, this=0xbf9d4870) at ../../messageviewer/objecttreeparser.cpp:1424
#14 MessageViewer::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbf9d4870, node=0x9ff74b8) at ../../messageviewer/objecttreeparser.cpp:1413
#15 0x04db38fb in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x9543088, otp=0xbf9d4870, node=0x9ff74b8, result=...) at ../../messageviewer/bodypartformatter.cpp:119
#16 0x04e00f17 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0xbf9d4870, node=0x9ff74b8) at ../../messageviewer/objecttreeparser.cpp:335
#17 0x04e01d76 in MessageViewer::ObjectTreeParser::parseObjectTree (this=0xbf9d4870, node=0x9ff74b8) at ../../messageviewer/objecttreeparser.cpp:248
#18 0x04e39d82 in MessageViewer::ViewerPrivate::parseContent (this=0x8b163f8, content=0x9ff74b8) at ../../messageviewer/viewer_p.cpp:857
#19 0x04e3ca46 in MessageViewer::ViewerPrivate::displayMessage (this=0x8b163f8) at ../../messageviewer/viewer_p.cpp:729
#20 0x04e3d340 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x8b163f8) at ../../messageviewer/viewer_p.cpp:1946
#21 0x04e40d4d in MessageViewer::ViewerPrivate::qt_metacall (this=0x8b163f8, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf9d4b24) at ./viewer_p.moc:220
#22 0x01120b7d in metacall (argv=0xbf9d4b24, idx=31, cl=QMetaObject::InvokeMetaMethod, object=0x8b163f8) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0x8b163f8, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbf9d4b24) at kernel/qmetaobject.cpp:232
#24 0x0112fa6a in QMetaObject::activate (sender=0x8b1643c, m=0x12515f8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#25 0x0117e7d5 in QTimer::timeout (this=0x8b1643c) at .moc/release-shared/moc_qtimer.cpp:134
#26 0x01137286 in QTimer::timerEvent (this=0x8b1643c, e=0xbf9d4f1c) at kernel/qtimer.cpp:271
#27 0x01132994 in QObject::event (this=0x8b1643c, e=0xbf9d4f1c) at kernel/qobject.cpp:1181
#28 0x0525dd54 in notify_helper (e=0xbf9d4f1c, receiver=0x8b1643c, this=0x861e588) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0x861e588, receiver=0x8b1643c, e=0xbf9d4f1c) at kernel/qapplication.cpp:4458
#30 0x05263103 in QApplication::notify (this=0xbf9d4f1c, receiver=0x8b1643c, e=0xbf9d4f1c) at kernel/qapplication.cpp:3886
#31 0x006fc681 in KApplication::notify (this=0xbf9d5234, receiver=0x8b1643c, event=0xbf9d4f1c) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x0111a19e in QCoreApplication::notifyInternal (this=0xbf9d5234, receiver=0x8b1643c, event=0xbf9d4f1c) at kernel/qcoreapplication.cpp:787
#33 0x0114ac10 in sendEvent (event=0xbf9d4f1c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QTimerInfoList::activateTimers (this=0x861ac74) at kernel/qeventdispatcher_unix.cpp:603
#35 0x01148122 in timerSourceDispatch (source=0x861ac40) at kernel/qeventdispatcher_glib.cpp:184
#36 0x047f625f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x047f6990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x047f6c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x01148ada in QEventDispatcherGlib::processEvents (this=0x85f6268, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x05315e3a in QGuiEventDispatcherGlib::processEvents (this=0x85f6268, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x011191dd in QEventLoop::processEvents (this=0xbf9d5194, flags=...) at kernel/qeventloop.cpp:149
#42 0x01119421 in QEventLoop::exec (this=0xbf9d5194, flags=...) at kernel/qeventloop.cpp:201
#43 0x0111e19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x0525b8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#45 0x0804ac91 in main (argc=136, argv=0x28) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2011-12-17 10:44:10 UTC
tr:
The crash happens when I try to open one message in the outbox folder. The message was created by KOrganizer.
Comment 2 Sergio Martins 2011-12-17 15:22:00 UTC
Can you attach a valgrind report ?
Comment 3 Christophe Marin 2012-01-04 14:28:29 UTC
@cirta: please run

valgrind kontact --nocrashhandler --nofork &>~/kontact.log, reproduce the crash and attach the kontact.log file to this report
Comment 4 cirta 2012-01-04 23:39:51 UTC
Created attachment 67464 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed: I was simply trying to open the message in the outbox folder

-- Backtrace (Reduced):
#7  0x04faed77 in KCalCore::Incidence::revision (this=0xb223b08) at ../../kcalcore/incidence.cpp:375
#8  0x047a1fbf in formatICalInvitationHelper (invitation=<optimized out>, mCalendar=..., helper=0xbf892f5c, noHtmlMode=true, spec=..., sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3117
#9  0x047a4941 in KCalUtils::IncidenceFormatter::formatICalInvitationNoHtml (invitation=..., calendar=..., helper=0xbf892f5c, sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3248
#10 0x06afa8a5 in (anonymous namespace)::Formatter::format (this=0xa4ed5a0, bodyPart=0xbf892f78, writer=0xa138ae0, asyncResultObserver=0xbf892fa8) at ../../../../plugins/messageviewer/bodypartformatter/text_calendar.cpp:253
#11 0x05265ed2 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0xbf8930bc, node=0xad88e18) at ../../messageviewer/objecttreeparser.cpp:310
Comment 5 cirta 2012-01-04 23:39:52 UTC
Created attachment 67465 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed: I was simply trying to open the message in the outbox folder

-- Backtrace (Reduced):
#7  0x04faed77 in KCalCore::Incidence::revision (this=0xb223b08) at ../../kcalcore/incidence.cpp:375
#8  0x047a1fbf in formatICalInvitationHelper (invitation=<optimized out>, mCalendar=..., helper=0xbf892f5c, noHtmlMode=true, spec=..., sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3117
#9  0x047a4941 in KCalUtils::IncidenceFormatter::formatICalInvitationNoHtml (invitation=..., calendar=..., helper=0xbf892f5c, sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3248
#10 0x06afa8a5 in (anonymous namespace)::Formatter::format (this=0xa4ed5a0, bodyPart=0xbf892f78, writer=0xa138ae0, asyncResultObserver=0xbf892fa8) at ../../../../plugins/messageviewer/bodypartformatter/text_calendar.cpp:253
#11 0x05265ed2 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0xbf8930bc, node=0xad88e18) at ../../messageviewer/objecttreeparser.cpp:310
Comment 6 cirta 2012-01-04 23:39:52 UTC
Created attachment 67466 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed: I was simply trying to open the message in the outbox folder

-- Backtrace (Reduced):
#7  0x04faed77 in KCalCore::Incidence::revision (this=0xb223b08) at ../../kcalcore/incidence.cpp:375
#8  0x047a1fbf in formatICalInvitationHelper (invitation=<optimized out>, mCalendar=..., helper=0xbf892f5c, noHtmlMode=true, spec=..., sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3117
#9  0x047a4941 in KCalUtils::IncidenceFormatter::formatICalInvitationNoHtml (invitation=..., calendar=..., helper=0xbf892f5c, sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3248
#10 0x06afa8a5 in (anonymous namespace)::Formatter::format (this=0xa4ed5a0, bodyPart=0xbf892f78, writer=0xa138ae0, asyncResultObserver=0xbf892fa8) at ../../../../plugins/messageviewer/bodypartformatter/text_calendar.cpp:253
#11 0x05265ed2 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0xbf8930bc, node=0xad88e18) at ../../messageviewer/objecttreeparser.cpp:310
Comment 7 Christophe Marin 2012-04-29 12:55:47 UTC
*** Bug 298948 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2012-04-29 12:56:09 UTC
*** Bug 299021 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2012-04-30 15:43:09 UTC
*** Bug 299027 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2012-04-30 15:44:14 UTC
If you're able to reproduce the crash, please run:

valgrind kontact --nocrashhandler --nofork &>~/kontact.log, reproduce the crash and attach the kontact.log file to this report
Comment 11 Vasilis Tsiligiannis 2012-04-30 18:06:12 UTC
Created attachment 70777 [details]
Kontact Valgrind report
Comment 12 Christophe Marin 2012-08-28 15:39:26 UTC
*** Bug 305817 has been marked as a duplicate of this bug. ***
Comment 13 rod260185 2012-09-14 20:39:37 UTC
Created attachment 73918 [details]
New crash information added by DrKonqi

kontact (4.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

I was opening a sent e-mail which had a iCal file attached.

-- Backtrace (Reduced):
#6  0x00007f72e1bf1c94 in KCalCore::Incidence::revision (this=0x76b0330) at ../../kcalcore/incidence.cpp:373
#7  0x00007f728bdcac87 in formatICalInvitationHelper (invitation=..., mCalendar=..., helper=0x7fffc3ede9d0, noHtmlMode=<optimized out>, spec=..., sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3133
#8  0x00007f728bdcd3b7 in KCalUtils::IncidenceFormatter::formatICalInvitationNoHtml (invitation=..., calendar=..., helper=0x7fffc3ede9d0, sender=..., outlookCompareStyle=true) at ../../kcalutils/incidenceformatter.cpp:3264
#9  0x00007f7267874379 in (anonymous namespace)::Formatter::format (this=<optimized out>, bodyPart=<optimized out>, writer=0x26d2070, asyncResultObserver=<optimized out>) at ../../../../plugins/messageviewer/bodypartformatter/text_calendar.cpp:255
#10 0x00007f72872d2a6f in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7fffc3edec90, node=0x6e61a10) at ../../messageviewer/objecttreeparser.cpp:328
Comment 14 Sergio Martins 2012-09-19 20:44:12 UTC
I can't make sense of the valgrind report.
Anyway to reproduce this ?
Could anyone send me the invitation ?
Comment 15 Allen Winter 2015-09-11 23:25:27 UTC
3 years old.  Sergio didn't get the info he wanted.
probably fixed in the meantime.  resolving.