Bug 187489 - crash when changing pri for TODO item in Directory resource
Summary: crash when changing pri for TODO item in Directory resource
Status: RESOLVED DUPLICATE of bug 180221
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-18 10:18 UTC by Juha Tuomala
Modified: 2009-03-30 05:45 UTC (History)
3 users (show)

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


Attachments

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

Created a new TODO, initial priority was 0, trying to change it and:

Application: KOrganizer (korganizer), signal SIGSEGV
0x0000003875aa7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7fcb5f596800 (LWP 32587))]

Thread 2 (Thread 0x7fcb54b23950 (LWP 32588)):
#0  0x0000003875adeaa2 in select () from /lib64/libc.so.6
#1  0x00000038b5322626 in QProcessManager::run (this=0x1a4b640) at io/qprocess_unix.cpp:301
#2  0x00000038b5259852 in QThreadPrivate::start (arg=0x1a4b640) at thread/qthread_unix.cpp:185
#3  0x00000038766073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003875ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7fcb5f596800 (LWP 32587)):
[KCrash Handler]
#5  QBasicAtomicInt::ref () at /usr/include/QtCore/qatomic_x86_64.h:117
#6  QString () at /usr/include/QtCore/qstring.h:671
#7  KCal::IncidenceBase::uid (this=0x2002220) at /usr/src/debug/kdepimlibs-4.2.1/kcal/incidencebase.cpp:179
#8  0x00000038bb80784c in KOEventViewer::changeIncidenceDisplay (this=0x21d6340, incidence=0x21344f0, action=1) at /usr/src/debug/kdepim-4.2.1/korganizer/koeventviewer.cpp:136
#9  0x00000038bef386c0 in CalendarView::incidenceChanged (this=0x1de19c0, oldIncidence=<value optimized out>, newIncidence=0x21344f0, what=0)
    at /usr/src/debug/kdepim-4.2.1/korganizer/calendarview.cpp:743
#10 0x00000038bef3cf36 in CalendarView::qt_metacall (this=0x1de19c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff675df9a0)
    at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/calendarview.moc:484
#11 0x00000038b5356764 in QMetaObject::activate (sender=0x24b29d0, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x1) at kernel/qobject.cpp:3031
#12 0x00000038bf80497f in KOrg::IncidenceChangerBase::incidenceChanged (this=0x7fff675df520, _t1=0x29723a0, _t2=0x21344f0, _t3=0)
    at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/interfaces/korganizer/incidencechangerbase.moc:99
#13 0x00000038befb7ffa in IncidenceChanger::changeIncidence (this=0x24b29d0, oldinc=0x29723a0, newinc=0x21344f0, action=0) at /usr/src/debug/kdepim-4.2.1/korganizer/incidencechanger.cpp:326
#14 0x00000038bef178f3 in KOTodoView::setNewPriority (this=0x212cfd0, action=0x20abc30) at /usr/src/debug/kdepim-4.2.1/korganizer/views/todoview/kotodoview.cpp:665
#15 0x00000038bef18ba2 in KOTodoView::qt_metacall (this=0x212cfd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff675dfb90)
    at /usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/korganizer/kotodoview.moc:135
#16 0x00000038b5356764 in QMetaObject::activate (sender=0x2164030, from_signal_index=<value optimized out>, to_signal_index=29, argv=0x1) at kernel/qobject.cpp:3031
#17 0x00000038b690d762 in QMenu::triggered (this=0x7fff675df520, _t1=0x20abc30) at .moc/release-shared/moc_qmenu.cpp:156
#18 0x00000038b690e7ce in QMenuPrivate::_q_actionTriggered (this=<value optimized out>) at widgets/qmenu.cpp:1065
#19 0x00000038b6916d99 in QMenu::qt_metacall (this=0x2164030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff675dfd00) at .moc/release-shared/moc_qmenu.cpp:98
#20 0x00000038b5356764 in QMetaObject::activate (sender=0x20abc30, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1) at kernel/qobject.cpp:3031
#21 0x00000038b657cbf7 in QAction::triggered (this=0x7fff675df520, _t1=false) at .moc/release-shared/moc_qaction.cpp:216
#22 0x00000038b657d3c0 in QAction::activate (this=0x20abc30, event=<value optimized out>) at kernel/qaction.cpp:1125
#23 0x00000038b6914a6d in QMenuPrivate::activateAction (this=0x20845a0, action=0x20abc30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#24 0x00000038b65d4fd9 in QWidget::event (this=0x2164030, event=0x7fff675e05e0) at kernel/qwidget.cpp:7163
#25 0x00000038b691724b in QMenu::event (this=0x2164030, e=0x7fff675e05e0) at widgets/qmenu.cpp:2265
#26 0x00000038b65828dd in QApplicationPrivate::notify_helper (this=0x1a56a10, receiver=0x2164030, e=0x7fff675e05e0) at kernel/qapplication.cpp:3803
#27 0x00000038b658aefa in QApplication::notify (this=<value optimized out>, receiver=0x2164030, e=0x7fff675e05e0) at kernel/qapplication.cpp:3528
#28 0x00000038b7804f3b in KApplication::notify (this=0x7fff675e13d0, receiver=0x2164030, event=0x7fff675e05e0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#29 0x00000038b5342391 in QCoreApplication::notifyInternal (this=0x7fff675e13d0, receiver=0x2164030, event=0x7fff675e05e0) at kernel/qcoreapplication.cpp:587
#30 0x00000038b658a298 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:212
#31 QApplicationPrivate::sendMouseEvent (receiver=0x2164030, event=0x7fff675e05e0, alienWidget=0x0, nativeWidget=0x2164030, buttonDown=<value optimized out>, lastMouseReceiver=@0x38b6efe420)
    at kernel/qapplication.cpp:2793
#32 0x00000038b65eead4 in QETWidget::translateMouseEvent (this=0x2164030, event=<value optimized out>) at kernel/qapplication_x11.cpp:3980
#33 0x00000038b65ed337 in QApplication::x11ProcessEvent (this=0x68, event=0x7fff675e1050) at kernel/qapplication_x11.cpp:3164
#34 0x00000038b6613ae4 in x11EventSourceDispatch (s=0x1a50470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#35 0x000000387723779b in g_main_dispatch () at gmain.c:2144
#36 IA__g_main_context_dispatch (context=0x1a4f840) at gmain.c:2697
#37 0x000000387723af6d in g_main_context_iterate (context=0x1a4f840, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#38 0x000000387723b12b in IA__g_main_context_iteration (context=0x1a4f840, may_block=1) at gmain.c:2841
#39 0x00000038b536a79f in QEventDispatcherGlib::processEvents (this=0x1a49f20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#40 0x00000038b661328f in QGuiEventDispatcherGlib::processEvents (this=0x7fff675df520, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#41 0x00000038b5340cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#42 0x00000038b5340e3d in QEventLoop::exec (this=0x7fff675e1380, flags=) at kernel/qeventloop.cpp:194
#43 0x00000038b53432ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#44 0x000000000040a9f7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.1/korganizer/main.cpp:59

Akonadi is configured, but not active. I've akonaditray applet runnin, and also a window on screen 

 'Directory <res name> - AkonadiTray':
  Unknown error (There is no transaction in progress.)

can't tell is that related. x86_64 on nfs4 home.
kdepim-4.2.1-2.fc10.x86_64
Comment 1 Juha Tuomala 2009-03-18 10:19:07 UTC
Action succeeds just fine after restarting the app.
Comment 2 Juha Tuomala 2009-03-18 10:20:00 UTC
I also have file resource and it appears to be active after restart, can't tell was that the case when crash happened.
Comment 3 Juha Tuomala 2009-03-18 10:22:49 UTC
Ouh, and yes, Dir res is *default*, that's where it should write it.

I've also noticed that with dir resource, it appears that changes are written directly and instantly when done, not after Save button, but I guess that only applies to the kaddressbook these days as korganizer lost the whole button some releases ago.
Comment 4 Dario Andres 2009-03-18 13:26:38 UTC
This sounds related to bug 180221 / bug 176991
Comment 5 Sergio Martins 2009-03-30 05:45:56 UTC
I investigated this, it has the same cause as bug 180221.

*** This bug has been marked as a duplicate of bug 180221 ***