Bug 176330 - Korganizer crash after switching to akonadi resource (only first time)
Summary: Korganizer crash after switching to akonadi resource (only first time)
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 12:38 UTC by FiNeX
Modified: 2011-08-24 12:24 UTC (History)
2 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 FiNeX 2008-11-28 12:38:58 UTC
How I've got the crash:
1) I'm switched to the akonadi calendar resource
2) Started korganizer
-> on the resources I've the akonadi one (enabled), the old file resource (disabled) and the "birthday" resource
3) Added a new event
-> korganizer crash
4) restarted akonadi and korganizer
5) I can see the created event (fortunatly) and I can add/delete/edit events with no crash.

It seems that after a new akonadi resource is added, akonadi needs to be restared otherwise korganizer crash.

Here is the backtrace:



Application: KOrganizer (korganizer), signal SIGSEGV
0x00007f87164f9ea0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7f871e117750 (LWP 20682)):
[KCrash Handler]
#5  0x000000010000000a in ?? ()
#6  0x00007f871b7cbffb in EntryAdd (this=0x2da59d0, calendar=0x25623b0, incidence=0x2dbde20) at /home/test/KDE4/src/kdepim/korganizer/history.cpp:183
#7  0x00007f871b7ccfe5 in KOrg::History::recordAdd (this=0x2581570, incidence=0x2dbde20) at /home/test/KDE4/src/kdepim/korganizer/history.cpp:124
#8  0x00007f871b74b36a in CalendarView::incidenceAdded (this=0x206a2d0, incidence=0x2dbde20) at /home/test/KDE4/src/kdepim/korganizer/calendarview.cpp:660
#9  0x00007f871b755a79 in CalendarView::qt_metacall (this=0x206a2d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2625e5d0)
    at /home/test/KDE4/src/build/kdepim/korganizer/calendarview.moc:484
#10 0x00007f87181fecf0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0x00007f871870ee0f in KOrg::IncidenceChangerBase::incidenceAdded (this=0x2dbde20, _t1=0x2dbde20)
    at /home/test/KDE4/src/build/kdepim/korganizer/interfaces/korganizer/incidencechangerbase.moc:92
#12 0x00007f871b7dbd7b in IncidenceChanger::addIncidence (this=0x2585cb0, incidence=0x2dbde20, parent=0x215a490) at /home/test/KDE4/src/kdepim/korganizer/incidencechanger.cpp:376
#13 0x00007f871b7638f7 in KOEventEditor::processInput (this=0x215a490) at /home/test/KDE4/src/kdepim/korganizer/koeventeditor.cpp:324
#14 0x00007f871b75f689 in KOIncidenceEditor::slotOk (this=0x215a490) at /home/test/KDE4/src/kdepim/korganizer/koincidenceeditor.cpp:118
#15 0x00007f871b75fc7d in KOIncidenceEditor::qt_metacall (this=0x215a490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2625e9b0)
    at /home/test/KDE4/src/build/kdepim/korganizer/koincidenceeditor.moc:126
#16 0x00007f871b763dc6 in KOEventEditor::qt_metacall (this=0x2dbde20, _c=39199664, _id=47963680, _a=0xf) at /home/test/KDE4/src/build/kdepim/korganizer/koeventeditor.moc:69
#17 0x00007f87181fecf0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x00007f871d73cea8 in KDialog::slotButtonClicked (this=0x215a490, button=4) at /home/test/KDE4/src/kdelibs/kdeui/dialogs/kdialog.cpp:850
#19 0x00007f871d73d02d in KDialog::qt_metacall (this=0x215a490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2625ec00)
    at /home/test/KDE4/src/build/kdelibs/kdeui/kdialog.moc:181
#20 0x00007f871d7f82c6 in KPageDialog::qt_metacall (this=0x2dbde20, _c=39199664, _id=47963680, _a=0xf) at /home/test/KDE4/src/build/kdelibs/kdeui/kpagedialog.moc:63
#21 0x00007f871b75fa65 in KOIncidenceEditor::qt_metacall (this=0x2dbde20, _c=39199664, _id=47963680, _a=0xf) at /home/test/KDE4/src/build/kdepim/korganizer/koincidenceeditor.moc:104
#22 0x00007f871b763dc6 in KOEventEditor::qt_metacall (this=0x2dbde20, _c=39199664, _id=47963680, _a=0xf) at /home/test/KDE4/src/build/kdepim/korganizer/koeventeditor.moc:69
#23 0x00007f87181fecf0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0x00007f871820324e in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#25 0x00007f87182032f0 in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#26 0x00007f8718204520 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#27 0x00007f87181fecf0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0x00007f87175f09c7 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#29 0x00007f87173b0e5b in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f87173b1c32 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f87173b1e65 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#32 0x00007f871713859c in QWidget::event () from /usr/lib/libQtGui.so.4
#33 0x00007f87170eb4dd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0x00007f87170f20ee in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0x00007f871d7cbc5b in KApplication::notify (this=0x7fff262602e0, receiver=0x29ebc50, event=0x7fff2625f6a0) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#36 0x00007f87181ed3c1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0x00007f87170f3498 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#38 0x00007f8717149afc in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007f8717148c79 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#40 0x00007f871716c724 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f87135dcac2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f87135e023d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#43 0x00007f87135e03fb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x00007f871821188f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#45 0x00007f871716bfdf in ?? () from /usr/lib/libQtGui.so.4
#46 0x00007f87181ebd32 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0x00007f87181ebec5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0x00007f87181ee015 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#49 0x000000000040b521 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/test/KDE4/src/kdepim/korganizer/main.cpp:58
Comment 1 Sergio Martins 2009-02-17 09:49:40 UTC
Can you reproduce this?
Comment 2 FiNeX 2011-08-24 12:24:15 UTC
The bug is no more reproducible on KDE 4.6