Bug 300284 - Kontact/Kmail/Korganizer crashed on meeting cancellation
Summary: Kontact/Kmail/Korganizer crashed on meeting cancellation
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 23:27 UTC by Kevin Clevenger
Modified: 2013-06-13 21:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments
New crash information added by DrKonqi (4.67 KB, text/plain)
2012-09-07 07:02 UTC, Jeroen Muis
Details
New crash information added by DrKonqi (4.36 KB, text/plain)
2012-10-05 13:56 UTC, Jan Dosoudil
Details
New crash information added by DrKonqi (6.62 KB, text/plain)
2013-04-22 15:04 UTC, Kevin Clevenger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Clevenger 2012-05-18 23:27:19 UTC
Application: kontact (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.3.5-2.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
While using Kontact I had received an email meeting cancellation update. I had clicked on the relevant link in the message body to update my calendar and Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f55c1a85840 (LWP 27564))]

Thread 3 (Thread 0x7f55b69e2700 (LWP 27566)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000035f01b86ec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x35f0b7cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000035f01b8819 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003f64607d90 in start_thread (arg=0x7f55b69e2700) at pthread_create.c:309
#4  0x0000003f642f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f55b60c9700 (LWP 27567)):
#0  0x0000003f642e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000035dfa45448 in g_main_context_poll (n_fds=1, fds=0x7f55b00013e0, priority=<optimized out>, timeout=9034, context=0x7f55b00009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f55b00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00000035dfa4590c in g_main_context_iteration (context=0x7f55b00009a0, may_block=1) at gmain.c:3152
#4  0x00000035e0fa8626 in QEventDispatcherGlib::processEvents (this=0x7f55b00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000035e0f78a12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000035e0f78c67 in QEventLoop::exec (this=0x7f55b60c8d40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000035e0e78ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000035e0e7bb1b in QThreadPrivate::start (arg=0x6abce0) at thread/qthread_unix.cpp:298
#9  0x0000003f64607d90 in start_thread (arg=0x7f55b60c9700) at pthread_create.c:309
#10 0x0000003f642f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f55c1a85840 (LWP 27564)):
[KCrash Handler]
#6  CalendarSupport::NepomukCalendar::weakPointer (this=0x0) at /usr/src/debug/kdepim-4.8.3/calendarsupport/nepomukcalendar.cpp:423
#7  0x00000037db07ebb4 in CalendarSupport::Groupware::calendarJobFinished (this=0x18ec8e0, success=true, errorString=...) at /usr/src/debug/kdepim-4.8.3/calendarsupport/groupware.cpp:468
#8  0x00000035e0f927a6 in QObject::event (this=0x18ec8e0, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00000035e27c9bc4 in notify_helper (e=0x86f83d0, receiver=0x18ec8e0, this=0x69cdb0) at kernel/qapplication.cpp:4554
#10 QApplicationPrivate::notify_helper (this=0x69cdb0, receiver=0x18ec8e0, e=0x86f83d0) at kernel/qapplication.cpp:4526
#11 0x00000035e27cea43 in QApplication::notify (this=0x7fff0a63d6e0, receiver=0x18ec8e0, e=0x86f83d0) at kernel/qapplication.cpp:4415
#12 0x00000035e4a51ff6 in KApplication::notify (this=0x7fff0a63d6e0, receiver=0x18ec8e0, event=0x86f83d0) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#13 0x00000035e0f798dc in QCoreApplication::notifyInternal (this=0x7fff0a63d6e0, receiver=0x18ec8e0, event=0x86f83d0) at kernel/qcoreapplication.cpp:876
#14 0x00000035e0f7d36a in sendEvent (event=0x86f83d0, receiver=0x18ec8e0) at kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6635e0) at kernel/qcoreapplication.cpp:1500
#16 0x00000035e0fa8193 in sendPostedEvents () at kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=0x6a07a0) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00000035dfa44f3d in g_main_dispatch (context=0x69ede0) at gmain.c:2441
#19 g_main_context_dispatch (context=0x69ede0) at gmain.c:3011
#20 0x00000035dfa45738 in g_main_context_iterate (context=0x69ede0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#21 0x00000035dfa4590c in g_main_context_iteration (context=0x69ede0, may_block=1) at gmain.c:3152
#22 0x00000035e0fa85bf in QEventDispatcherGlib::processEvents (this=0x664ec0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00000035e286c8ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#24 0x00000035e0f78a12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00000035e0f78c67 in QEventLoop::exec (this=0x7fff0a63d670, flags=...) at kernel/qeventloop.cpp:204
#26 0x00000035e0f7d665 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0x00000000004036e9 in main (argc=1, argv=0x7fff0a63dd08) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Allen Winter 2012-05-20 13:52:31 UTC
Git commit 8b066d058838b3a37e97bcd4c033e6f6c4ce1d77 by Allen Winter.
Committed on 20/05/2012 at 15:49.
Pushed by winterz into branch 'master'.

gracefully handle the case of failing to create the NepomukCalendar.
should fix crashes that occur later on when the qobject_cast returns 0.

MERGE: 4.8 (but will need to be clever about the new i18n)
FIXED-IN: 4.8.4

M  +9    -0    calendarsupport/groupware.cpp

http://commits.kde.org/kdepim/8b066d058838b3a37e97bcd4c033e6f6c4ce1d77
Comment 2 Allen Winter 2012-05-20 14:39:18 UTC
Git commit 084e17ba0c6efe6e7d59ee722f3f9db68a115241 by Allen Winter.
Committed on 20/05/2012 at 16:37.
Pushed by winterz into branch 'KDE/4.8'.

backport 8b066d058838b3a37e97bcd4c033e6f6c4ce1d77
reuses an i18n string

gracefully handle the case of failing to create the NepomukCalendar.
should fix crashes that occur later on when the qobject_cast returns 0.

M  +6    -0    calendarsupport/groupware.cpp

http://commits.kde.org/kdepim/084e17ba0c6efe6e7d59ee722f3f9db68a115241
Comment 3 Allen Winter 2012-05-20 14:42:01 UTC
Git commit 79142a87c612fe6a69d3a8672846624177901eb3 by Allen Winter.
Committed on 20/05/2012 at 16:41.
Pushed by winterz into branch 'master'.

forgot to return

M  +1    -0    calendarsupport/groupware.cpp

http://commits.kde.org/kdepim/79142a87c612fe6a69d3a8672846624177901eb3
Comment 4 Jeroen Muis 2012-09-07 07:02:41 UTC
Created attachment 73714 [details]
New crash information added by DrKonqi

kontact (4.9) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed:
Cancelling a meeting event from my inbox causing the segv
The current bug report describes KDE 4.8.4 to fix this issue, but I'm running 4.9 and see equal behavior

-- Backtrace (Reduced):
#6  CalendarSupport::NepomukCalendar::weakPointer (this=0x0) at ../../calendarsupport/nepomukcalendar.cpp:423
#7  0x00007f4238604b84 in CalendarSupport::Groupware::calendarJobFinished (this=0x98de190, success=true, errorString=...) at ../../calendarsupport/groupware.cpp:484
#8  0x00007f42555c2a06 in QObject::event (this=0x98de190, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007f4255fa37b4 in notify_helper (e=0x9e70c00, receiver=0x98de190, this=0x21e8370) at kernel/qapplication.cpp:4556
#10 QApplicationPrivate::notify_helper (this=0x21e8370, receiver=0x98de190, e=0x9e70c00) at kernel/qapplication.cpp:4528
Comment 5 Myriam Schweingruber 2012-09-10 01:50:24 UTC
Reopening based on comment #4
Comment 6 Jan Dosoudil 2012-10-05 13:56:11 UTC
Created attachment 74357 [details]
New crash information added by DrKonqi

kontact (4.8.5) on KDE Platform 4.8.5 (4.8.5) "release 2" using Qt 4.8.1

- What I was doing when the application crashed: Clicko on "Cancel event" link on RSVP viewed in mail.

- Custom settings of the application: gcalendar

-- Backtrace (Reduced):
#6  CalendarSupport::NepomukCalendar::weakPointer (this=0x0) at /usr/src/debug/kdepim-4.8.5/calendarsupport/nepomukcalendar.cpp:423
#7  0x00007f9b6475b8a3 in CalendarSupport::Groupware::calendarJobFinished (this=0x4680820, success=true, errorString=...) at /usr/src/debug/kdepim-4.8.5/calendarsupport/groupware.cpp:474
#8  0x00007f9b7d1270ae in QObject::event (this=0x4680820, e=<optimized out>) at kernel/qobject.cpp:1204
#9  0x00007f9b7db1174c in QApplicationPrivate::notify_helper (this=this@entry=0x1c4b700, receiver=receiver@entry=0x4680820, e=e@entry=0x7ad6380) at kernel/qapplication.cpp:4554
#10 0x00007f9b7db15c7a in QApplication::notify (this=0x7fff9c4c2a90, receiver=0x4680820, e=0x7ad6380) at kernel/qapplication.cpp:4415
Comment 7 Kevin Clevenger 2013-04-22 15:04:38 UTC
Created attachment 79379 [details]
New crash information added by DrKonqi

kontact (4.10.2) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:
Clicked on a meeting cancellation notice, got an error about the meeting not being in my calendar (it was though), and then Kontact crashed

-- Backtrace (Reduced):
#6  CalendarSupport::NepomukCalendar::weakPointer (this=0x0) at /usr/src/debug/kdepim-4.10.2/calendarsupport/nepomukcalendar.cpp:416
#7  0x0000003dfbe7d2c3 in CalendarSupport::Groupware::calendarJobFinished (this=0x721b580, success=true, errorString=...) at /usr/src/debug/kdepim-4.10.2/calendarsupport/groupware.cpp:484
#8  0x0000003895f8c3ce in QObject::event (this=0x721b580, e=<optimized out>) at kernel/qobject.cpp:1194
#9  0x000000389a7ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x2180470, receiver=receiver@entry=0x721b580, e=e@entry=0x12636dc0) at kernel/qapplication.cpp:4562
#10 0x000000389a7cea4a in QApplication::notify (this=0x7fff4ad776e0, receiver=0x721b580, e=0x12636dc0) at kernel/qapplication.cpp:4423