[Korganizer-devel] [Bug 164873] KOrganizer crashes when in Agenda view and editing recurences

chiefaua tom_t at gmx.at
Wed Jun 25 23:21:51 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164873         




------- Additional Comments From tom_t gmx at  2008-06-25 23:21 -------
I see the same behavior also in other views. But the backtrace differs.

What I did: Open a recurring event, click on Edit... next to the recurrence indicator and then change from recurs every 13 days to recurs every 14 days. Click OK, and click OK again.
Sometimes this works, sometimes it crashes. Actually, most of the time it crashes.

I think there is a dangling Incidence pointer around. The edit dialog deleted an incidence object IMHO, and then the next component accessing the incidence triggers the crash. If there is valid memory by hazard, nothing happens, otherwise the crash occurs. Probably the view was about to get notified about the changed/deleted incidence in changeIncidenceDisplay(), but accessed the old pointer again, which is not wrong IMHO.

The backtrace I get when doing this when being in the month view:

Application: KOrganizer (korganizer), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb504a720 (LWP 26252)]
[KCrash handler]
#6  0xb56804c7 in free () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7dd9a3d in qFree () from /usr/lib/libQtCore.so.4
#8  0xb7e21ec0 in QString::free () from /usr/lib/libQtCore.so.4
#9  0xb765021d in ~QString (this=0xbfd42d6c)
    at /usr/include/qt4/QtCore/qstring.h:831
#10 0xb764ef75 in KOEventViewer::changeIncidenceDisplay (this=0x816ea60, 
    incidence=0x839a658, action=1)
    at /home/tom/_coding/kde/src/kdepim/korganizer/koeventviewer.cpp:135
#11 0xb7823514 in CalendarView::changeIncidenceDisplay (this=0x8111ae0, 
    incidence=0x839a658, action=1)
    at /home/tom/_coding/kde/src/kdepim/korganizer/calendarview.cpp:763
#12 0xb78259e2 in CalendarView::incidenceChanged (this=0x8111ae0, 
    oldIncidence=0x8381740, newIncidence=0x839a658, what=9)
    at /home/tom/_coding/kde/src/kdepim/korganizer/calendarview.cpp:703
#13 0xb7825a3b in CalendarView::incidenceChanged (this=0x8111ae0, 
    oldIncidence=0x8381740, newIncidence=0x839a658)
    at /home/tom/_coding/kde/src/kdepim/korganizer/calendarview.cpp:644
#14 0xb782835f in CalendarView::qt_metacall (this=0x8111ae0, 
    _c=QMetaObject::InvokeMetaMethod, _id=91, _a=0xbfd42fc8)
    at /home/tom/_coding/kde/build/kdepim/korganizer/calendarview.moc:478
#15 0xb7edf4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7edfbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb64571cb in KOrg::IncidenceChangerBase::incidenceChanged (
    this=0x81ca410, _t1=0x8381740, _t2=0x839a658)
    at /home/tom/_coding/kde/build/kdepim/korganizer/interfaces/korganizer/incidencechangerbase.moc:106
#18 0xb78bc1a1 in IncidenceChanger::changeIncidence (this=0x81ca410, 
    newinc=0x839a658, oldinc=0x8381740, action=-1, counter=false)
    at /home/tom/_coding/kde/src/kdepim/korganizer/incidencechanger.cpp:303
#19 0xb783e075 in KOEventEditor::processInput (this=0x8356ce0)
    at /home/tom/_coding/kde/src/kdepim/korganizer/koeventeditor.cpp:302
#20 0xb783964a in KOIncidenceEditor::slotApply (this=0x8356ce0)
    at /home/tom/_coding/kde/src/kdepim/korganizer/koincidenceeditor.cpp:109
#21 0xb783b4eb in KOIncidenceEditor::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfd43228)
    at /home/tom/_coding/kde/build/kdepim/korganizer/koincidenceeditor.moc:125
#22 0xb783e5b6 in KOEventEditor::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=89, _a=0xbfd43228)
    at /home/tom/_coding/kde/build/kdepim/korganizer/koeventeditor.moc:69
#23 0xb7edf4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7edfbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb6712e97 in KDialog::applyClicked (this=0x8356ce0)
    at /home/tom/_data/kde/build/kdelibs/kdeui/kdialog.moc:235
#26 0xb6715fba in KDialog::slotButtonClicked (this=0x8356ce0, button=8)
    at /home/tom/_data/kde/src/kdelibs/kdeui/dialogs/kdialog.cpp:903
#27 0xb6716518 in KDialog::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd4343c)
    at /home/tom/_data/kde/build/kdelibs/kdeui/kdialog.moc:181
#28 0xb67e968a in KPageDialog::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd4343c)
    at /home/tom/_data/kde/build/kdelibs/kdeui/kpagedialog.moc:63
#29 0xb783b21c in KOIncidenceEditor::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd4343c)
    at /home/tom/_coding/kde/build/kdepim/korganizer/koincidenceeditor.moc:104
#30 0xb783e5b6 in KOEventEditor::qt_metacall (this=0x8356ce0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd4343c)
    at /home/tom/_coding/kde/build/kdepim/korganizer/koeventeditor.moc:69
#31 0xb7edf4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb7edfbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb7ee37c3 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#34 0xb7ee3fcd in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#35 0xb7ee41be in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#36 0xb7ee42d7 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#37 0xb7edf4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb7edf930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb5faeeb1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#40 0xb5d0ef49 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb5d107e0 in ?? () from /usr/lib/libQtGui.so.4
#42 0xb5d10a3b in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#43 0xb5a284a4 in QWidget::event () from /usr/lib/libQtGui.so.4
#44 0xb5d0faff in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#45 0xb5db4932 in QPushButton::event () from /usr/lib/libQtGui.so.4
#46 0xb59d0c0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#47 0xb59d5cd5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#48 0xb67b7c8d in KApplication::notify (this=0xbfd44334, receiver=0x83cf5f0, 
    event=0xbfd43b7c)
    at /home/tom/_data/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#49 0xb7eca6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#50 0xb59d2e21 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#51 0xb5a3cccd in ?? () from /usr/lib/libQtGui.so.4
#52 0xb5a3b6b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#53 0xb5a643ba in ?? () from /usr/lib/libQtGui.so.4
#54 0xb5589bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb558ce5e in ?? () from /usr/lib/libglib-2.0.so.0
#56 0xb558d3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0xb7ef5f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#58 0xb5a641b5 in ?? () from /usr/lib/libQtGui.so.4
#59 0xb7ec992d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#60 0xb7ec9abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#61 0xb7ecbd3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#62 0xb59d0567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#63 0x0804edcd in main (argc=2, argv=0xbfd44414)
    at /home/tom/_coding/kde/src/kdepim/korganizer/main.cpp:58
#0  0xb7fc5410 in __kernel_vsyscall ()


More information about the Korganizer-devel mailing list