Bug 193654 - [steps] Kontact crashes when clicking "Show in Context" from Google calendar event
Summary: [steps] Kontact crashes when clicking "Show in Context" from Google calendar ...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.2.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 17:12 UTC by Davide Rondini
Modified: 2011-06-25 05:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Complete Backtrace (5.78 KB, application/octet-stream)
2009-06-28 10:39 UTC, Davide Rondini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Rondini 2009-05-22 17:12:54 UTC
Version:           4.2.3 (using KDE 4.2.3)
OS:                Linux
Installed from:    Fedora RPMs

I loaded my Google Calendar readonly in Korganizer (Kontact). I clicked on an event ad a dialog opened with event info. When I clicked on "Show in context" (I suppose this is the original text, my italian translation showed "Mostra nel contesto") and Kontact crashed. When I restarted Kontact the Google Calendar resource disappeared. I recreated it the same way, and now the bug don't seem to reappear: clicking on that button appearently does nothing.

My system: Fedora 10 x86_64, KDE 4.2.3

Backtrace:

Applicazione: Kontact (kontact), segnale SIGSEGV
0x0000003cd70a7f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f169d087810 (LWP 4973))]

Thread 2 (Thread 0x7f1688672950 (LWP 5936)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045b697 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x0000003000451189 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x000000300045a6d2 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f169d087810 (LWP 4973)):
[KCrash Handler]
#5  0x000000300e24be94 in KCal::IncidenceBase::uid () from /usr/lib64/libkcal.so.4
#6  0x00007f1684928c79 in KOEventViewer::showIncidenceContext () from /usr/lib64/libkorganizer_eventviewer.so.4
#7  0x00007f1684928a3f in KOEventViewer::qt_metacall () from /usr/lib64/libkorganizer_eventviewer.so.4
#8  0x00000030005590a2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#9  0x0000003006980c68 in KDialog::slotButtonClicked () from /usr/lib64/libkdeui.so.5
#10 0x000000300698206d in KDialog::qt_metacall () from /usr/lib64/libkdeui.so.5
#11 0x00000030005590a2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#12 0x000000300055bece in QSignalMapper::mapped () from /usr/lib64/libQtCore.so.4
#13 0x000000300055c770 in QSignalMapper::map () from /usr/lib64/libQtCore.so.4
#14 0x000000300055d360 in QSignalMapper::qt_metacall () from /usr/lib64/libQtCore.so.4
#15 0x00000030005590a2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#16 0x00000030149d1a07 in QAbstractButton::clicked () from /usr/lib64/libQtGui.so.4
#17 0x000000301472f6eb in ?? () from /usr/lib64/libQtGui.so.4
#18 0x0000003014731342 in ?? () from /usr/lib64/libQtGui.so.4
#19 0x0000003014731595 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#20 0x00000030143df84f in QWidget::event () from /usr/lib64/libQtGui.so.4
#21 0x000000301438e73d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#22 0x000000301439708a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#23 0x0000003006a0717b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#24 0x000000300054360c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#25 0x00000030143962d8 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#26 0x00000030143ffb89 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00000030143fe7f8 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#28 0x0000003014425bb4 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00000030014377bb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x000000300143af8d in ?? () from /lib64/libglib-2.0.so.0
#31 0x000000300143b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x000000300056cd1f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#33 0x000000301442533f in ?? () from /usr/lib64/libQtGui.so.4
#34 0x0000003000541eb2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#35 0x000000300054227d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#36 0x0000003000544544 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#37 0x00000000004044e5 in _start ()
Current language:  auto; currently asm
Current language:  auto; currently c
Comment 1 Dario Andres 2009-05-22 18:32:04 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the "kdepim4-debuginfo" package.
Thanks
Comment 2 Dario Andres 2009-06-26 15:55:05 UTC
Marking as NEEDSINFO
Comment 3 Davide Rondini 2009-06-28 10:39:56 UTC
Created attachment 34883 [details]
Complete Backtrace

Ok, I installed the debuginfo and find out how to reproduce the bug:

1. Enable the google calendar in the resource calendar
2. Double click on an event from google calendar
3. Close the window which appears
4. disable Google calendar resource
5. re-enable the resource
6. double click on an event from google calendar
7. click on the button "Show in context"
Comment 4 Dario Andres 2009-06-30 20:56:42 UTC
Pasted backtrace from comment 3: (thanks)
-------

Applicazione: Kontact (kontact), segnale SIGSEGV
0x0000003cd70a7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f8589105810 (LWP 5258))]

Thread 2 (Thread 0x7f8574545950 (LWP 5405)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045b5d7 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2e86178, mutex=0x2e86170, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003000451189 in QThreadPoolThread::run (this=0x2ab5370) at concurrent/qthreadpool.cpp:140
#4  0x000000300045a612 in QThreadPrivate::start (arg=0x2ab5370) at thread/qthread_unix.cpp:189
#5  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f8589105810 (LWP 5258)):
[KCrash Handler]
#5  0x000000301164be94 in QString () at /usr/include/QtCore/qstring.h:711
#6  KCal::IncidenceBase::uid (this=0x2c75150) at /usr/src/debug/kdepimlibs-4.2.4/kcal/incidencebase.cpp:179
#7  0x00007f8571280c79 in KOEventViewer::showIncidenceContext (this=0x2c7ecd0) at /usr/src/debug/kdepim-4.2.4/korganizer/koeventviewer.cpp:173
#8  0x00007f8571280a3f in KOEventViewer::qt_metacall (this=0x2c7ecd0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff706849d0)
    at /usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/korganizer/koeventviewer.moc:75
#9  0x0000003000559422 in QMetaObject::activate (sender=0x2ee6a30, from_signal_index=<value optimized out>, to_signal_index=41, argv=0x1) at kernel/qobject.cpp:3120
#10 0x0000003005380af8 in KDialog::slotButtonClicked (this=0x2ee6a30, button=8192) at /usr/src/debug/kdelibs-4.2.4/kdeui/dialogs/kdialog.cpp:861
#11 0x0000003005381f0d in KDialog::qt_metacall (this=0x2ee6a30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff70684b70)
    at /usr/src/debug/kdelibs-4.2.4/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:184
#12 0x0000003000559422 in QMetaObject::activate (sender=0x33aa588, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3120
#13 0x000000300055c24e in QSignalMapper::mapped (this=0x7fff70684860, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:95
#14 0x000000300055caf0 in QSignalMapper::map (this=0x33aa588, sender=0x324d9c0) at kernel/qsignalmapper.cpp:266
#15 0x000000300055d6e0 in QSignalMapper::qt_metacall (this=0x33aa588, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff70684cf0) at .moc/release-shared/moc_qsignalmapper.cpp:81
#16 0x0000003000559422 in QMetaObject::activate (sender=0x324d9c0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x1) at kernel/qobject.cpp:3120
#17 0x0000003013fd8ac7 in QAbstractButton::clicked (this=0x7fff70684860, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#18 0x0000003013d33deb in QAbstractButtonPrivate::emitClicked (this=0x3394f80) at widgets/qabstractbutton.cpp:543
#19 0x0000003013d35a32 in QAbstractButtonPrivate::click (this=0x3394f80) at widgets/qabstractbutton.cpp:536
#20 0x0000003013d35c85 in QAbstractButton::mouseReleaseEvent (this=0x324d9c0, e=0x7fff706854c0) at widgets/qabstractbutton.cpp:1115
#21 0x00000030139e067f in QWidget::event (this=0x324d9c0, event=0x7fff706854c0) at kernel/qwidget.cpp:7521
#22 0x000000301398f46d in QApplicationPrivate::notify_helper (this=0x1870af0, receiver=0x324d9c0, e=0x7fff706854c0) at kernel/qapplication.cpp:4057
#23 0x0000003013997e4a in QApplication::notify (this=<value optimized out>, receiver=0x324d9c0, e=0x7fff706854c0) at kernel/qapplication.cpp:3759
#24 0x00000030054070db in KApplication::notify (this=0x7fff70687410, receiver=0x324d9c0, event=0x7fff706854c0) at /usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#25 0x00000030005437dc in QCoreApplication::notifyInternal (this=0x7fff70687410, receiver=0x324d9c0, event=0x7fff706854c0) at kernel/qcoreapplication.cpp:610
#26 0x0000003013997098 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#27 QApplicationPrivate::sendMouseEvent (receiver=0x324d9c0, event=0x7fff706854c0, alienWidget=0x324d9c0, nativeWidget=0x2ee6a30, buttonDown=<value optimized out>, lastMouseReceiver=@0x30143edcf0)
    at kernel/qapplication.cpp:2925
#28 0x0000003013a00df9 in QETWidget::translateMouseEvent (this=0x2ee6a30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448
#29 0x00000030139ffe65 in QApplication::x11ProcessEvent (this=0x7fff70687410, event=0x7fff70687040) at kernel/qapplication_x11.cpp:3566
#30 0x0000003013a26fd4 in x11EventSourceDispatch (s=0x1864bc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00000030014377bb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x000000300143af8d in ?? () from /lib64/libglib-2.0.so.0
#33 0x000000300143b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x000000300056d07f in QEventDispatcherGlib::processEvents (this=0x1842cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#35 0x0000003013a2675f in QGuiEventDispatcherGlib::processEvents (this=0x7fff70684860, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x0000003000542082 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x000000300054244d in QEventLoop::exec (this=0x7fff70687370, flags=) at kernel/qeventloop.cpp:200
#38 0x0000003000544714 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x00000000004044e5 in main (argc=1, argv=0x7fff70687af8) at /usr/src/debug/kdepim-4.2.4/kontact/src/main.cpp:218
Current language:  auto; currently asm
Current language:  auto; currently c
Comment 5 Sergio Martins 2011-06-04 16:42:41 UTC
KCal isn't used anymore. Closing.