Bug 214364 - KOrganizer part crashes either when closing or when opening
Summary: KOrganizer part crashes either when closing or when opening
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.3.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 11:27 UTC by Bigey
Modified: 2017-01-07 22:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind when calendar view is off. (103.83 KB, text/plain)
2009-11-13 21:33 UTC, Raphael Kubo da Costa
Details
Valgrind log for the crash that happens when calendar view is on. (18.31 KB, text/plain)
2009-11-13 21:34 UTC, Raphael Kubo da Costa
Details
New crash information added by DrKonqi (7.98 KB, text/plain)
2010-05-13 17:13 UTC, Bernhard Jungk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bigey 2009-11-13 11:27:13 UTC
Application that crashed: ark
Version of the application: 2.13
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[KCrash Handler]
#6  0x00000001 in ?? ()
#7  0x0149a112 in QSplitter::sizes (this=0x88c9810) at widgets/qsplitter.cpp:1606
#8  0x01c3eab8 in CalendarView::writeSettings() () from /usr/lib/libkorganizerprivate.so.4
#9  0x01cbf7ee in ActionManager::writeSettings() () from /usr/lib/libkorganizerprivate.so.4
#10 0x0817cedf in ?? () from /usr/lib/kde4/korganizerpart.so
#11 0x005e2e2e in KParts::Part::slotWidgetDestroyed (this=0x88ca500) at ../../kparts/part.cpp:354
#12 0x005e2f4b in KParts::Part::qt_metacall (this=0x88ca500, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe143c8) at ./part.moc:76
#13 0x005e2fba in KParts::ReadOnlyPart::qt_metacall (this=0x88ca500, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe143c8) at ./part.moc:154
#14 0x0817d40a in ?? () from /usr/lib/kde4/korganizerpart.so
#15 0x004ad263 in QMetaObject::activate (sender=0x88ca0c8, from_signal_index=0, to_signal_index=1, argv=0xbfe143c8) at kernel/qobject.cpp:3113
#16 0x004ad6d8 in QMetaObject::activate (sender=0x88ca0c8, m=0x5841a8, from_local_signal_index=0, to_local_signal_index=1, argv=0xbfe143c8) at kernel/qobject.cpp:3207
#17 0x004ad76b in QObject::destroyed (this=0x88ca0c8, _t1=0x88ca0c8) at .moc/release-shared/moc_qobject.cpp:143
#18 0x004ae536 in ~QObject (this=0x88ca0c8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:757
#19 0x0107debf in ~QWidget (this=0x88ca0c8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1380
#20 0x004a646f in QObjectPrivate::deleteChildren (this=0x88bb0e0) at kernel/qobject.cpp:1847
#21 0x0107d85b in ~QWidget (this=0x8884828, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#22 0x01431961 in ~QFrame (this=0x8884828, __in_chrg=<value optimized out>) at widgets/qframe.cpp:243
#23 0x00916301 in ~KHBox (this=0x8884828, __in_chrg=<value optimized out>) at ../../kdeui/widgets/khbox.cpp:51
#24 0x0096e795 in ~KVBox (this=0x8884828, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#25 0x004a646f in QObjectPrivate::deleteChildren (this=0x88bd4b8) at kernel/qobject.cpp:1847
#26 0x0107d85b in ~QWidget (this=0xbfe146c8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#27 0x01519184 in ~QDialog (this=0xbfe146c8, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:298
#28 0x007ae4c4 in ~KDialog (this=0xbfe146c8, __in_chrg=<value optimized out>) at ../../kdeui/dialogs/kdialog.cpp:197
#29 0x0650bc4e in ?? () from /usr/lib/kde4/libarkpart.so
#30 0x0650cbb4 in ?? () from /usr/lib/kde4/libarkpart.so
#31 0x065056bb in ?? () from /usr/lib/kde4/libarkpart.so
#32 0x064fe28b in ?? () from /usr/lib/kde4/libarkpart.so
#33 0x004a5f0b in QMetaCallEvent::placeMetaCall (this=0x85856a8, object=0x8343f30) at kernel/qobject.cpp:477
#34 0x004a75fe in QObject::event (this=0x8343f30, e=0x85856a8) at kernel/qobject.cpp:1111
#35 0x0102cf54 in QApplicationPrivate::notify_helper (this=0x829d8f8, receiver=0x8343f30, e=0x85856a8) at kernel/qapplication.cpp:4056
#36 0x0103467c in QApplication::notify (this=0xbfe14fe0, receiver=0x8343f30, e=0x85856a8) at kernel/qapplication.cpp:3603
#37 0x00848bfa in KApplication::notify (this=0xbfe14fe0, receiver=0x8343f30, event=0x85856a8) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x004976cb in QCoreApplication::notifyInternal (this=0xbfe14fe0, receiver=0x8343f30, event=0x85856a8) at kernel/qcoreapplication.cpp:610
#39 0x004982b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8286800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8286800) at kernel/qcoreapplication.cpp:1247
#41 0x0049847d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#42 0x004c23ff in QCoreApplication::sendPostedEvents (s=0x82a05b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 postEventSourceDispatch (s=0x82a05b0) at kernel/qeventdispatcher_glib.cpp:210
#44 0x01954e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x01958720 in ?? () from /lib/libglib-2.0.so.0
#46 0x01958853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x004c202c in QEventDispatcherGlib::processEvents (this=0x82869d8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#48 0x010cdbe5 in QGuiEventDispatcherGlib::processEvents (this=0x82869d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#49 0x00495c79 in QEventLoop::processEvents (this=0xbfe14f44, flags=) at kernel/qeventloop.cpp:149
#50 0x004960ca in QEventLoop::exec (this=0xbfe14f44, flags=...) at kernel/qeventloop.cpp:201
#51 0x0049853f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#52 0x0102cdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#53 0x08050184 in _start ()

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2009-11-13 14:24:24 UTC
More information is needed. Please install the debug packages for Ark (or kdeutils), and tell us what you were doing and what you were previewing when this crash happened.
Comment 2 Bigey 2009-11-13 18:48:23 UTC
I can successfully reproduced the crash as describe below:

1) in Firefox export Google Agenda
2) save as bigey@gmail.com.ical.zip file
3) in Dolphin click to open the zip archive
3) in Ark click on bigey@gmail.com_fr.bigey@gmail.com.ics VCS/ICS calendar file to open it
4) KOrganizer open the file (it seems to be KOrganizer but not sure?)
5) click the Close button
6) then Ark crashes

Fred
Comment 3 Raphael Kubo da Costa 2009-11-13 21:30:44 UTC
Reassigning to KOrganizer, as it looks like it's its fault.

More details: this crash happens when KOrganizer's view is set to 'To-do' list, so the calendar view is disabled.

More detailed backtrace:

Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5217960 (LWP 8031))]

Thread 2 (Thread 0xb2ee4b70 (LWP 8033)):
#0  0xb76e3424 in __kernel_vsyscall ()  
#1  0xb5ad89b1 in select () from /lib/libc.so.6
#2  0xb5e0dfcf in QProcessManager::run (this=0xb5f4a710) at /home/kubo/kde4/src/qt-copy/src/corelib/io/qprocess_unix.cpp:245
#3  0xb5d31d3e in QThreadPrivate::start (arg=0xb5f4a710) at /home/kubo/kde4/src/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#4  0xb5c978ac in start_thread () from /lib/libpthread.so.0                                                                    
#5  0xb5adfa9e in clone () from /lib/libc.so.6                                                                                 

Thread 1 (Thread 0xb5217960 (LWP 8031)):
[KCrash Handler]                        
#6  0x03000020 in ?? ()                 
#7  0xb60f3e23 in QWidget::ensurePolished (this=0x97ea828) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qwidget.cpp:9295
#8  0xb6558882 in QSplitter::sizes (this=0x97ea828) at /home/kubo/kde4/src/qt-copy/src/gui/widgets/qsplitter.cpp:1627    
#9  0xb221d9da in CalendarView::writeSettings (this=0x97e9b20) at /home/kubo/kde4/src/kdepim/korganizer/calendarview.cpp:487
#10 0xb2286984 in ActionManager::writeSettings (this=0x98c0210) at /home/kubo/kde4/src/kdepim/korganizer/actionmanager.cpp:731
#11 0xb24ba3df in ~KOrganizerPart (this=0x97e93b8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/kubo/kde4/src/kdepim/korganizer/korganizer_part.cpp:103
#12 0xb75cd5cc in KParts::Part::slotWidgetDestroyed (this=0x97e93b8) at /home/kubo/kde4/src/kdelibs/kparts/part.cpp:354                                                               
#13 0xb75cd67b in KParts::Part::qt_metacall (this=0x97e93b8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe0de28) at /home/kubo/kde4/src/build/kdelibs/kparts/part.moc:82          
#14 0xb75cd6ca in KParts::ReadOnlyPart::qt_metacall (this=0x97e93b8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe0de28) at /home/kubo/kde4/src/build/kdelibs/kparts/part.moc:166 
#15 0xb24ba13a in KOrganizerPart::qt_metacall (this=0x97e93b8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe0de28) at /home/kubo/kde4/src/build/kdepim/korganizer/korganizer_part.moc:75
#16 0xb5e37d0a in QMetaObject::metacall (object=0x97e93b8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfe0de28) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237  
#17 0xb5e462eb in QMetaObject::activate (sender=0x94106d8, m=0xb5f42790, local_signal_index=0, argv=0xbfe0de28) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:3274          
#18 0xb5e46783 in QObject::destroyed (this=0x94106d8, _t1=0x94106d8) at .moc/release-shared/moc_qobject.cpp:149                                                                             
#19 0xb5e48f3a in ~QObject (this=0x94106d8, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:869                                              
#20 0xb6105a8e in ~QWidget (this=0x94106d8, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qwidget.cpp:1475                                                 
#21 0xb5e420ff in QObjectPrivate::deleteChildren (this=0x97d89f8) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:1978                                                        
#22 0xb6106487 in ~QWidget (this=0x97adc08, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qwidget.cpp:1459                                                 
#23 0xb64f2be1 in ~QFrame (this=0x97adc08, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/gui/widgets/qframe.cpp:242                                                   
#24 0xb7163a61 in ~KHBox (this=0x97adc08, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/kdelibs/kdeui/widgets/khbox.cpp:51                                                        
#25 0xb71b6955 in ~KVBox (this=0x97adc08, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/kdelibs/kdeui/widgets/kvbox.cpp:29
#26 0xb5e420ff in QObjectPrivate::deleteChildren (this=0x9665228) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:1978
#27 0xb6106487 in ~QWidget (this=0xbfe0e14c, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qwidget.cpp:1459
#28 0xb65d5614 in ~QDialog (this=0xbfe0e14c, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/qt-copy/src/gui/dialogs/qdialog.cpp:312
#29 0xb6ff8f44 in ~KDialog (this=0xbfe0e14c, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/kdelibs/kdeui/dialogs/kdialog.cpp:197
#30 0xb388a0de in ~ArkViewer (this=0xbfe0e14c, __in_chrg=<value optimized out>) at /home/kubo/kde4/src/kdeutils/ark/part/arkviewer.cpp:83
#31 0xb388a354 in ArkViewer::view (filename=..., parent=0x95a8700) at /home/kubo/kde4/src/kdeutils/ark/part/arkviewer.cpp:108
#32 0xb387dbf4 in Ark::Part::slotPreviewExtracted (this=0x95cf870, job=0x9660250) at /home/kubo/kde4/src/kdeutils/ark/part/part.cpp:502
#33 0xb387af94 in Ark::Part::qt_metacall (this=0x95cf870, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x97ae710) at /home/kubo/kde4/src/build/kdeutils/ark/part/moc_part.cpp:132
#34 0xb5e37d0a in QMetaObject::metacall (object=0x95cf870, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0x97ae710) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#35 0xb5e422a6 in QMetaCallEvent::placeMetaCall (this=0x9577fb0, object=0x95cf870) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:562
#36 0xb5e432fe in QObject::event (this=0x95cf870, e=0x9577fb0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:1240
#37 0xb60a19ac in QApplicationPrivate::notify_helper (this=0x94094d0, receiver=0x95cf870, e=0x9577fb0) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:4242
#38 0xb60a85f7 in QApplication::notify (this=0xbfe0eb24, receiver=0x95cf870, e=0x9577fb0) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:3661
#39 0xb709488b in KApplication::notify (this=0xbfe0eb24, receiver=0x95cf870, event=0x9577fb0) at /home/kubo/kde4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#40 0xb5e32afb in QCoreApplication::notifyInternal (this=0xbfe0eb24, receiver=0x95cf870, event=0x9577fb0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:704
#41 0xb5e354d3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x93da670) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x93da670) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1345
#43 0xb5e3563d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1238
#44 0xb5e5eb6f in QCoreApplication::sendPostedEvents (s=0x940b718) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x940b718) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#46 0xb5571328 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb5574ba0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#48 0xb5574cd3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb5e5e665 in QEventDispatcherGlib::processEvents (this=0x9409490, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#50 0xb615c9d5 in QGuiEventDispatcherGlib::processEvents (this=0x9409490, flags=...) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#51 0xb5e31119 in QEventLoop::processEvents (this=0xbfe0ea34, flags=) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#52 0xb5e3156a in QEventLoop::exec (this=0xbfe0ea34, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#53 0xb5e356ff in QCoreApplication::exec () at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:981
#54 0xb60a1a47 in QApplication::exec () at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:3570
#55 0x080508cd in main (argc=2, argv=0xbfe0eec4) at /home/kubo/kde4/src/kdeutils/ark/app/main.cpp:210
Comment 4 Raphael Kubo da Costa 2009-11-13 21:33:05 UTC
Created attachment 38309 [details]
Valgrind when calendar view is off.
Comment 5 Raphael Kubo da Costa 2009-11-13 21:34:44 UTC
Created attachment 38310 [details]
Valgrind log for the crash that happens when calendar view is on.

If calendar view is on, a different crash happens: the preview window cannot be loaded and core is dumped. DrKonqi doesn't show up, but I'm able to get this Valgrind log.
Comment 6 Christophe Marin 2009-11-13 21:37:46 UTC
Confirmed in trunk.
Comment 7 Bernhard Jungk 2010-05-13 17:13:54 UTC
Created attachment 43544 [details]
New crash information added by DrKonqi

Crash happend when closing Kontact. The backtrace is very similar to the one reported, therefore I think it's the same bug.
Comment 8 Sergio Martins 2011-06-22 00:43:10 UTC
Can anyone reproduce in 4.6 ?
Comment 9 Raphael Kubo da Costa 2011-06-22 04:17:58 UTC
I tried to reproduce it with KOrganizer set to both calendar and todo modes. Ark did not crash when I closed its previewer in either mode. It did crash when I closed Ark itself, but I'm getting an incomplete backtrace. This is kdepim and kdepim-runtime from the master branch.

It'd be nice if someone else using either the 4.6 or master branches could try to reproduce the crash too.
Comment 10 Denis Kurz 2016-09-24 18:48:06 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 11 Denis Kurz 2017-01-07 22:40:24 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.