Bug 187595 - crash when adding event into Directory resource
Summary: crash when adding event into Directory resource
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.2.1
Platform: Fedora RPMs Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 13:38 UTC by Juha Tuomala
Modified: 2009-04-29 14:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juha Tuomala 2009-03-19 13:38:33 UTC
Version:            (using KDE 4.2.1)
Installed from:    Fedora RPMs

Application: KOrganizer (korganizer), signal SIGSEGV
0x0000003875aa7f50 in __nanosleep_nocancel () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f4092180800 (LWP 5660))]

Thread 1 (Thread 0x7f4092180800 (LWP 5660)):
[KCrash Handler]
#5  0x00007f4000000019 in ?? ()
#6  0x0000003d85349777 in KOEventEditor::processInput (this=0x7f408845d560) at /usr/src/debug/kdepim-4.2.1/korganizer/koeventeditor.cpp:288
#7  0x0000003d85348245 in KOIncidenceEditor::slotButtonClicked (this=0x7f408845d560, button=<value optimized out>) at /usr/src/debug/kdepim-4.2.1/korganizer/koincidenceeditor.cpp:98
#8  0x00000038b7780c8d in KDialog::qt_metacall (this=0x7f408845d560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a1c7d90)
    at /usr/src/debug/kdelibs-4.2.1/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:181
#9  0x00000038b782efb6 in KPageDialog::qt_metacall (this=0x7f4087efb4d0, _c=41938324, _id=1, _a=0x1) at /usr/src/debug/kdelibs-4.2.1/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:63
#10 0x0000003d85346cf5 in KOIncidenceEditor::qt_metacall (this=0x7f4087efb4d0, _c=41938324, _id=1, _a=0x1) at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/koincidenceeditor.moc:106
#11 0x0000003d85349f26 in KOEventEditor::qt_metacall (this=0x7f4087efb4d0, _c=41938324, _id=1, _a=0x1) at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/koeventeditor.moc:69
#12 0x00000038b5356764 in QMetaObject::activate (sender=0x7f40880e7e78, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3031
#13 0x00000038b535a43e in QSignalMapper::mapped (this=0x7f4087efb4d0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:93
#14 0x00000038b535ace0 in QSignalMapper::map (this=0x7f40880e7e78, sender=0x7f408848f730) at kernel/qsignalmapper.cpp:271
#15 0x00000038b535b8d0 in QSignalMapper::qt_metacall (this=0x7f40880e7e78, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a1c7f10)
    at .moc/release-shared/moc_qsignalmapper.cpp:80
#16 0x00000038b5356764 in QMetaObject::activate (sender=0x7f408848f730, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x1) at kernel/qobject.cpp:3031
#17 0x00000038b6b080c7 in QAbstractButton::clicked (this=0x7f4087efb4d0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#18 0x00000038b688c1cb in QAbstractButtonPrivate::emitClicked (this=0x7f40884793b0) at widgets/qabstractbutton.cpp:538
#19 0x00000038b688dd82 in QAbstractButtonPrivate::click (this=0x7f40884793b0) at widgets/qabstractbutton.cpp:531
#20 0x00000038b688dfd5 in QAbstractButton::mouseReleaseEvent (this=0x7f408848f730, e=0x7fff9a1c86d0) at widgets/qabstractbutton.cpp:1110
#21 0x00000038b65d4fd9 in QWidget::event (this=0x7f408848f730, event=0x7fff9a1c86d0) at kernel/qwidget.cpp:7163
#22 0x00000038b65828dd in QApplicationPrivate::notify_helper (this=0x280fb10, receiver=0x7f408848f730, e=0x7fff9a1c86d0) at kernel/qapplication.cpp:3803
#23 0x00000038b658aefa in QApplication::notify (this=<value optimized out>, receiver=0x7f408848f730, e=0x7fff9a1c86d0) at kernel/qapplication.cpp:3528
#24 0x00000038b7804f3b in KApplication::notify (this=0x7fff9a1c94c0, receiver=0x7f408848f730, event=0x7fff9a1c86d0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#25 0x00000038b5342391 in QCoreApplication::notifyInternal (this=0x7fff9a1c94c0, receiver=0x7f408848f730, event=0x7fff9a1c86d0) at kernel/qcoreapplication.cpp:587
#26 0x00000038b658a298 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:212
#27 QApplicationPrivate::sendMouseEvent (receiver=0x7f408848f730, event=0x7fff9a1c86d0, alienWidget=0x7f408848f730, nativeWidget=0x7f408845d560, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x38b6efe420) at kernel/qapplication.cpp:2793
#28 0x00000038b65ee919 in QETWidget::translateMouseEvent (this=0x7f408845d560, event=<value optimized out>) at kernel/qapplication_x11.cpp:4046
#29 0x00000038b65ed337 in QApplication::x11ProcessEvent (this=0x68, event=0x7fff9a1c9140) at kernel/qapplication_x11.cpp:3164
#30 0x00000038b6613ae4 in x11EventSourceDispatch (s=0x2809870, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#31 0x000000387723779b in g_main_dispatch () at gmain.c:2144
#32 IA__g_main_context_dispatch (context=0x2808c60) at gmain.c:2697
#33 0x000000387723af6d in g_main_context_iterate (context=0x2808c60, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#34 0x000000387723b12b in IA__g_main_context_iteration (context=0x2808c60, may_block=1) at gmain.c:2841
#35 0x00000038b536a79f in QEventDispatcherGlib::processEvents (this=0x2802fd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#36 0x00000038b661328f in QGuiEventDispatcherGlib::processEvents (this=0x7f4087efb4d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#37 0x00000038b5340cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#38 0x00000038b5340e3d in QEventLoop::exec (this=0x7fff9a1c9470, flags=) at kernel/qeventloop.cpp:194
#39 0x00000038b53432ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#40 0x000000000040a9f7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.1/korganizer/main.cpp:59
Comment 1 Juha Tuomala 2009-03-19 13:40:21 UTC
Application: KOrganizer (korganizer), signal SIGSEGV
0x0000003875aa7f50 in __nanosleep_nocancel () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f78f02a6800 (LWP 7313))]

Thread 1 (Thread 0x7f78f02a6800 (LWP 7313)):
[KCrash Handler]
#5  0x0000003d85349774 in KOEventEditor::processInput (this=0x1e24c10) at /usr/src/debug/kdepim-4.2.1/korganizer/koeventeditor.cpp:288
#6  0x0000003d85348245 in KOIncidenceEditor::slotButtonClicked (this=0x1e24c10, button=<value optimized out>) at /usr/src/debug/kdepim-4.2.1/korganizer/koincidenceeditor.cpp:98
#7  0x00000038b7780c8d in KDialog::qt_metacall (this=0x1e24c10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff82edeb0)
    at /usr/src/debug/kdelibs-4.2.1/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:181
#8  0x00000038b782efb6 in KPageDialog::qt_metacall (this=0x1fc5ac0, _c=16387684, _id=1, _a=0x1) at /usr/src/debug/kdelibs-4.2.1/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:63
#9  0x0000003d85346cf5 in KOIncidenceEditor::qt_metacall (this=0x1fc5ac0, _c=16387684, _id=1, _a=0x1) at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/koincidenceeditor.moc:106
#10 0x0000003d85349f26 in KOEventEditor::qt_metacall (this=0x1fc5ac0, _c=16387684, _id=1, _a=0x1) at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/koeventeditor.moc:69
#11 0x00000038b5356764 in QMetaObject::activate (sender=0x1e80828, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3031
#12 0x00000038b535a43e in QSignalMapper::mapped (this=0x1fc5ac0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:93
#13 0x00000038b535ace0 in QSignalMapper::map (this=0x1e80828, sender=0x1c8aaa0) at kernel/qsignalmapper.cpp:271
#14 0x00000038b535b8d0 in QSignalMapper::qt_metacall (this=0x1e80828, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff82ee030) at .moc/release-shared/moc_qsignalmapper.cpp:80
#15 0x00000038b5356764 in QMetaObject::activate (sender=0x1c8aaa0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x1) at kernel/qobject.cpp:3031
#16 0x00000038b6b080c7 in QAbstractButton::clicked (this=0x1fc5ac0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#17 0x00000038b688c1cb in QAbstractButtonPrivate::emitClicked (this=0x1e747f0) at widgets/qabstractbutton.cpp:538
#18 0x00000038b688dd82 in QAbstractButtonPrivate::click (this=0x1e747f0) at widgets/qabstractbutton.cpp:531
#19 0x00000038b688dfd5 in QAbstractButton::mouseReleaseEvent (this=0x1c8aaa0, e=0x7ffff82ee7f0) at widgets/qabstractbutton.cpp:1110
#20 0x00000038b65d4fd9 in QWidget::event (this=0x1c8aaa0, event=0x7ffff82ee7f0) at kernel/qwidget.cpp:7163
#21 0x00000038b65828dd in QApplicationPrivate::notify_helper (this=0xfb1a60, receiver=0x1c8aaa0, e=0x7ffff82ee7f0) at kernel/qapplication.cpp:3803
#22 0x00000038b658aefa in QApplication::notify (this=<value optimized out>, receiver=0x1c8aaa0, e=0x7ffff82ee7f0) at kernel/qapplication.cpp:3528
#23 0x00000038b7804f3b in KApplication::notify (this=0x7ffff82ef5e0, receiver=0x1c8aaa0, event=0x7ffff82ee7f0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#24 0x00000038b5342391 in QCoreApplication::notifyInternal (this=0x7ffff82ef5e0, receiver=0x1c8aaa0, event=0x7ffff82ee7f0) at kernel/qcoreapplication.cpp:587
#25 0x00000038b658a298 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:212
#26 QApplicationPrivate::sendMouseEvent (receiver=0x1c8aaa0, event=0x7ffff82ee7f0, alienWidget=0x1c8aaa0, nativeWidget=0x1e24c10, buttonDown=<value optimized out>, lastMouseReceiver=@0x38b6efe420)
    at kernel/qapplication.cpp:2793
#27 0x00000038b65ee919 in QETWidget::translateMouseEvent (this=0x1e24c10, event=<value optimized out>) at kernel/qapplication_x11.cpp:4046
#28 0x00000038b65ed337 in QApplication::x11ProcessEvent (this=0x68, event=0x7ffff82ef260) at kernel/qapplication_x11.cpp:3164
#29 0x00000038b6613ae4 in x11EventSourceDispatch (s=0xfab7d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#30 0x000000387723779b in g_main_dispatch () at gmain.c:2144
#31 IA__g_main_context_dispatch (context=0xfaa220) at gmain.c:2697
#32 0x000000387723af6d in g_main_context_iterate (context=0xfaa220, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#33 0x000000387723b12b in IA__g_main_context_iteration (context=0xfaa220, may_block=1) at gmain.c:2841
#34 0x00000038b536a79f in QEventDispatcherGlib::processEvents (this=0xfa9430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#35 0x00000038b661328f in QGuiEventDispatcherGlib::processEvents (this=0x1fc5ac0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#36 0x00000038b5340cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#37 0x00000038b5340e3d in QEventLoop::exec (this=0x7ffff82ef590, flags=) at kernel/qeventloop.cpp:194
#38 0x00000038b53432ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#39 0x000000000040a9f7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.1/korganizer/main.cpp:59

pretty repeatable.
Comment 2 Dario Andres 2009-03-19 23:13:48 UTC
The backtrace looks similar to the one in bug 185314
Comment 3 Juha Tuomala 2009-03-20 08:25:34 UTC
(In reply to comment #2)
> The backtrace looks similar to the one in bug 185314

Note that that was a std.ics unlike this one. That doesn't mean that it would not be the same issue. I also did not have full disk.
Comment 4 Sergio Martins 2009-03-30 05:47:39 UTC
Are you using resource local dir on this one?
Comment 5 Juha Tuomala 2009-03-30 11:46:10 UTC
This bug is based on Directory resource on nfs4 share.
Comment 6 Sergio Martins 2009-04-16 22:25:41 UTC
SVN commit 955052 by smartins:

Change the way resource local dir handles changes, this fixes some segfaults and avoids closing the calendar each time an incidence 
is modified.

Review: http://reviewboard.kde.org/r/516/
BUG: 180221
BUG: 187595



 M  +129 -48   resourcelocaldir.cpp  
 M  +23 -6     resourcelocaldir_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=955052
Comment 7 Juha Tuomala 2009-04-17 09:08:21 UTC
Thanks!
Comment 8 Sergio Martins 2009-04-29 14:39:14 UTC
SVN commit 960992 by smartins:

Backport r955052 by smartins from trunk to the 4.2 branch:

Change the way resource local dir handles changes, this fixes some segfaults and avoids closing the calendar each time an incidence 
is modified.

Review: http://reviewboard.kde.org/r/516/
CCBUG: 180221
CCBUG: 187595



 AM            assignmentvisitor_p.h   [License: LGPL (v2+)]
 A             comparisonvisitor_p.h   [License: LGPL (v2+)]
 M  +304 -45   resourcelocaldir.cpp  
 M  +23 -6     resourcelocaldir_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=960992