Bug 172354 - Korganizer (and kontact) crashes when removing a participant from an event
Summary: Korganizer (and kontact) crashes when removing a participant from an event
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.1.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 177161 179910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-07 19:35 UTC by Marek McGann
Modified: 2009-01-07 15:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kontact backtrace (4.88 KB, text/plain)
2008-11-19 10:06 UTC, Marek McGann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek McGann 2008-10-07 19:35:01 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

When editting an event to remove an attendee, korganizer (and kontact) crashes when either the Apply or OK buttons are pressed.

This is the case whether or not the event recurs, and whether or not they are the only listed attendee.
Comment 1 Christophe Marin 2008-11-18 23:35:05 UTC
Are you able to reproduce this crash ? If yes, please install the kdepim-dbg package and provide a backtrace when Korganizer crashes.



Comment 2 Marek McGann 2008-11-19 10:06:42 UTC
Created attachment 28687 [details]
Kontact backtrace
Comment 3 Christophe Marin 2008-11-19 21:43:29 UTC
Thank you. 

Application: Kontact (kontact), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9df399c6f0 (LWP 9557)]
[KCrash handler]
#5  0x00007f9deb870f1d in KCal::IncidenceBase::updated (this=0x1cc19d0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidencebase.cpp:474
#6  0x00007f9deb8724e6 in KCal::IncidenceBase::addAttendee (this=0x1cc19d0, 
    a=0x22a52e0, doupdate=true)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidencebase.cpp:367
#7  0x00007f9dd8943aa8 in KOAttendeeEditor::cancelAttendeeIncidence (
    this=0x20bbc30, incidence=<value optimized out>)
    at /build/buildd/kdepim-4.1.3/korganizer/koattendeeeditor.cpp:413
#8  0x00007f9dd88b8143 in KOIncidenceEditor::cancelRemovedAttendees (
    this=0x1b73ef0, incidence=0x22d8460)
    at /build/buildd/kdepim-4.1.3/korganizer/koincidenceeditor.cpp:140
#9  0x00007f9dd88bba3b in KOEventEditor::writeEvent (this=0x1b73ef0, 
    event=0x22d8460)
    at /build/buildd/kdepim-4.1.3/korganizer/koeventeditor.cpp:367
#10 0x00007f9dd88bd28d in KOEventEditor::processInput (this=0x1b73ef0)
    at /build/buildd/kdepim-4.1.3/korganizer/koeventeditor.cpp:293
#11 0x00007f9dd88b804d in KOIncidenceEditor::qt_metacall (this=0x1b73ef0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7ffffb9e4ad0)
    at /build/buildd/kdepim-4.1.3/obj-x86_64-linux-gnu/korganizer/koincidenceeditor.moc:125
#12 0x00007f9dd88bbfd6 in KOEventEditor::qt_metacall (this=0x0, _c=30153168, 
    _id=35110000, _a=0x0)
    at /build/buildd/kdepim-4.1.3/obj-x86_64-linux-gnu/korganizer/koeventeditor.moc:69
#13 0x00007f9df34f3134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#14 0x00007f9df2aca795 in KDialog::slotButtonClicked (this=0x1b73ef0, 
    button=8) at /build/buildd/kde4libs-4.1.3/kdeui/dialogs/kdialog.cpp:848
#15 0x00007f9df2acaa3d in KDialog::qt_metacall (this=0x1b73ef0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7ffffb9e4d20)
    at /build/buildd/kde4libs-4.1.3/obj-x86_64-linux-gnu/kdeui/kdialog.moc:181
#16 0x00007f9df2b869f6 in KPageDialog::qt_metacall (this=0x0, _c=30153168, 
    _id=35110000, _a=0x0)
    at /build/buildd/kde4libs-4.1.3/obj-x86_64-linux-gnu/kdeui/kpagedialog.moc:63
#17 0x00007f9dd88b7e25 in KOIncidenceEditor::qt_metacall (this=0x0, 
    _c=30153168, _id=35110000, _a=0x0)
    at /build/buildd/kdepim-4.1.3/obj-x86_64-linux-gnu/korganizer/koincidenceeditor.moc:104
#18 0x00007f9dd88bbfd6 in KOEventEditor::qt_metacall (this=0x0, _c=30153168, 
    _id=35110000, _a=0x0)
    at /build/buildd/kdepim-4.1.3/obj-x86_64-linux-gnu/korganizer/koeventeditor.moc:69
#19 0x00007f9df34f3134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#20 0x00007f9df34f6e0e in QSignalMapper::mapped ()
   from /usr/lib/libQtCore.so.4
#21 0x00007f9df34f76b0 in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#22 0x00007f9df34f82a0 in QSignalMapper::qt_metacall ()
   from /usr/lib/libQtCore.so.4
#23 0x00007f9df34f3134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#24 0x00007f9df1d9b787 in QAbstractButton::clicked ()
   from /usr/lib/libQtGui.so.4
#25 0x00007f9df1b1f8db in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f9df1b214a2 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f9df1b216f5 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#28 0x00007f9df1867329 in QWidget::event () from /usr/lib/libQtGui.so.4
#29 0x00007f9df1814c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#30 0x00007f9df181d22a in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0x00007f9df2b5afcb in KApplication::notify (this=0x7ffffb9e64a0, 
    receiver=0x2249e20, event=0x7ffffb9e5660)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#32 0x00007f9df34ded61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#33 0x00007f9df181c5c8 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#34 0x00007f9df1880be9 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007f9df187f607 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#36 0x00007f9df18a72c4 in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f9df0719d3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#38 0x00007f9df071d50d in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x00007f9df071d6cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#40 0x00007f9df350715f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#41 0x00007f9df18a6a6f in ?? () from /usr/lib/libQtGui.so.4
#42 0x00007f9df34dd682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#43 0x00007f9df34dd80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#44 0x00007f9df34dfcbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#45 0x00000000004048e5 in main (argc=1, argv=0x7ffffb9e6b88)
    at /build/buildd/kdepim-4.1.3/kontact/src/main.cpp:218
#0  0x00007f9df10735f0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 4 Allen Winter 2008-11-20 13:55:33 UTC
SVN commit 886882 by winterz:

when changing the Attendee list, let's not overload the Incidence
Observer about it. 

This fixes a crash when removing Attendees.
Well, at least it does in my testing.  More testing appreciated.
I'll close until someone reports that they can still make it crash.
BUGS: 172354



 M  +1 -1      koattendeeeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=886882
Comment 5 Ian Turner 2008-12-05 02:12:10 UTC
I am able to reproduce this bug on 4.1.3 (ubuntu intrepid-backports). Also I see the issue with to-do entries. My backtrace follows.

#6  KCal::IncidenceBase::updated (this=0xa6c2eb0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidencebase.cpp:474
#7  0xb76807e3 in KCal::IncidenceBase::addAttendee (this=0xa6c2eb0, 
    a=0xa7071e0, doupdate=true)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidencebase.cpp:367
#8  0xb7a4e311 in KOAttendeeEditor::cancelAttendeeIncidence (this=0xa6e3630, 
    incidence=0xa6c2eb0)
    at /build/buildd/kdepim-4.1.3/korganizer/koattendeeeditor.cpp:413
#9  0xb79b0ae7 in KOIncidenceEditor::cancelRemovedAttendees (this=0xa9c2890, 
    incidence=0xa88d7b0)
    at /build/buildd/kdepim-4.1.3/korganizer/koincidenceeditor.cpp:140
#10 0xb79b6a94 in KOTodoEditor::writeTodo (this=0xa9c2890, todo=0xa88d7b0)
    at /build/buildd/kdepim-4.1.3/korganizer/kotodoeditor.cpp:334
#11 0xb79b8b9a in KOTodoEditor::processInput (this=0xa9c2890)
    at /build/buildd/kdepim-4.1.3/korganizer/kotodoeditor.cpp:250
#12 0xb79b0306 in KOIncidenceEditor::slotOk (this=0xa9c2890)
    at /build/buildd/kdepim-4.1.3/korganizer/koincidenceeditor.cpp:118
#13 0xb79b09d8 in KOIncidenceEditor::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfa3fa08)
    at /build/buildd/kdepim-4.1.3/obj-i486-linux-gnu/korganizer/koincidenceeditor.moc:126
#14 0xb79b7cea in KOTodoEditor::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=90, _a=0xbfa3fa08)
    at /build/buildd/kdepim-4.1.3/obj-i486-linux-gnu/korganizer/kotodoeditor.moc:63
#15 0xb7e35a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7e367e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb73933a7 in KDialog::okClicked (this=0xa9c2890)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kdeui/kdialog.moc:247
#18 0xb7396378 in KDialog::slotButtonClicked (this=0xa9c2890, button=4)
    at /build/buildd/kde4libs-4.1.3/kdeui/dialogs/kdialog.cpp:844
#19 0xb73964e4 in KDialog::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfa3fc3c)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kdeui/kdialog.moc:181
#20 0xb7463eaa in KPageDialog::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfa3fc3c)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kdeui/kpagedialog.moc:63
#21 0xb79b078a in KOIncidenceEditor::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfa3fc3c)
    at /build/buildd/kdepim-4.1.3/obj-i486-linux-gnu/korganizer/koincidenceeditor.moc:104
#22 0xb79b7cea in KOTodoEditor::qt_metacall (this=0xa9c2890, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfa3fc3c)
    at /build/buildd/kdepim-4.1.3/obj-i486-linux-gnu/korganizer/kotodoeditor.moc:63
#23 0xb7e35a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7e367e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7e39873 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#26 0xb7e3a0fd in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#27 0xb7e3a2ee in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#28 0xb7e3abbb in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#29 0xb7e35a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb7e35e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb7081de1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#32 0xb6dd5119 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb6dd6d14 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb6dd6fa6 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#35 0xb6aeb9a2 in QWidget::event () from /usr/lib/libQtGui.so.4
#36 0xb6dd4fbe in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#37 0xb6e7b890 in QPushButton::event () from /usr/lib/libQtGui.so.4
#38 0xb6a938ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#39 0xb6a9c121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#40 0xb7432b2d in KApplication::notify (this=0xbfa40c30, receiver=0xa182c00, 
    event=0xbfa40398)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#41 0xb7e20e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#42 0xb6a9b3ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#43 0xb6b05696 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb6b04a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#45 0xb6b2e7ea in ?? () from /usr/lib/libQtGui.so.4
#46 0xb66686f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb666bda3 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb666bf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb7e4b478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#50 0xb6b2dee5 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb7e1f52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb7e1f6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#53 0xb7e21da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#54 0xb6a93767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#55 0x0804ea50 in main (argc=)
    at /build/buildd/kdepim-4.1.3/korganizer/main.cpp:58
#0  0xb7f3f430 in __kernel_vsyscall ()
Comment 6 Dario Andres 2008-12-07 20:56:40 UTC
*** Bug 177161 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-01-07 15:37:15 UTC
*** Bug 179910 has been marked as a duplicate of this bug. ***