Bug 181589 - Korganizer crashes when opening, after an appointment has been merged into the calendar
Summary: Korganizer crashes when opening, after an appointment has been merged into th...
Status: VERIFIED DUPLICATE of bug 173323
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 14:18 UTC by Carsten Schlipf
Modified: 2009-01-28 09:00 UTC (History)
1 user (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 Carsten Schlipf 2009-01-22 14:18:55 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

After I've merged an appointment into my default calendar, korganizer crashes at startup. I can't open this calendar anymore. Each time I start korganizer I get this crash:

Application: KOrganizer (korganizer), signal SIGABRT

Thread 1 (Thread 0xb4f806c0 (LWP 29057)):
[KCrash Handler]
#6  0xb7ffa430 in __kernel_vsyscall ()
#7  0xb5e56880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5e58248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb60fb795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb60fb872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb60fb915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7a95c1b in KCal::CalendarLocal::Private::insertEvent () from /usr/lib/libkcal.so.4
#13 0xb7a95def in KCal::CalendarLocal::addEvent () from /usr/lib/libkcal.so.4
#14 0xb7a942db in KCal::Incidence::AddVisitor<KCal::Calendar>::visit () from /usr/lib/libkcal.so.4
#15 0xb7a6d258 in ?? () from /usr/lib/libkcal.so.4
#16 0xb7a8c586 in KCal::Calendar::addIncidence () from /usr/lib/libkcal.so.4
#17 0xb3662524 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#18 0xb3665147 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#19 0xb6208a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb62097e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb641f443 in KJob::result () from /usr/lib/libkdecore.so.5
#22 0xb641f959 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#23 0xb377d9dd in ?? () from /usr/lib/libakonadi-kde.so.4
#24 0xb379424b in ?? () from /usr/lib/libakonadi-kde.so.4
#25 0xb3796846 in Akonadi::Session::qt_metacall () from /usr/lib/libakonadi-kde.so.4
#26 0xb6208a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb62097e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb6241847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#29 0xb624191d in QIODevice::qt_metacall () from /usr/lib/libQtCore.so.4
#30 0xb6f5590a in QLocalSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#31 0xb6208a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb62097e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb6241847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#34 0xb6f50a72 in ?? () from /usr/lib/libQtNetwork.so.4
#35 0xb6f3fceb in ?? () from /usr/lib/libQtNetwork.so.4
#36 0xb6f41056 in ?? () from /usr/lib/libQtNetwork.so.4
#37 0xb66bc8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb66c472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb7e0f04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#40 0xb61f3e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb621e70a in ?? () from /usr/lib/libQtCore.so.4
#42 0xb54c96f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb54ccda3 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb54ccf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb621e478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb6756ea5 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb61f252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb61f26ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0xb641fad1 in KJob::exec () from /usr/lib/libkdecore.so.5
#50 0xb365a082 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#51 0xb3663cf9 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#52 0xb7adec6f in KCal::ResourceCalendar::load () from /usr/lib/libkcal.so.4
#53 0xb7af1801 in KCal::CalendarResources::load () from /usr/lib/libkcal.so.4
#54 0x08053215 in _start ()
Comment 1 Dario Andres 2009-01-22 21:43:21 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Carsten Schlipf 2009-01-23 08:56:50 UTC
I am sorry... didn't had a close look at the stack trace, before submitting it. Please also note that the version is reported wrong. My installed version is KDE 4.2 RC 1.

Here is a hopefully more useful stacktrace. Unfortunately I am unable to resolve all missing debug information for the QT libraries. The libqt4-dbg package is installed and claims to contain these informations, but somehow these libs are not resolved in the stacktrace.

Application: KOrganizer (korganizer), signal SIGABRT

Thread 1 (Thread 0xb4ebb6c0 (LWP 22975)):
[KCrash Handler]
#6  0xb7f35430 in __kernel_vsyscall ()
#7  0xb5d91880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5d93248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6036795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6036872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6036915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb79d0c1b in KCal::CalendarLocal::Private::insertEvent (this=0x9c7f1a8, event=0xa01e340) at /build/buildd/kdepimlibs-4.1.96/kcal/calendarlocal.cpp:377
#13 0xb79d0def in KCal::CalendarLocal::addEvent (this=0x9c7fdcc, event=0xa01e340) at /build/buildd/kdepimlibs-4.1.96/kcal/calendarlocal.cpp:179
#14 0xb79cf2db in KCal::Incidence::AddVisitor<KCal::Calendar>::visit (this=0xbf83558c, e=0xa01e340) at /build/buildd/kdepimlibs-4.1.96/kcal/incidence.h:80
#15 0xb79a8258 in KCal::Event::accept (this=0xa01e340, v=@0xbf83558c) at /build/buildd/kdepimlibs-4.1.96/kcal/event.h:200
#16 0xb79c7586 in KCal::Calendar::addIncidence (this=0x9c7fdcc, incidence=0xa01e340) at /build/buildd/kdepimlibs-4.1.96/kcal/calendar.cpp:431
#17 0xb359d524 in KCal::ResourceAkonadi::Private::subResourceLoadResult (this=0x9c7fdb8, job=0x9b4a1d8) at /build/buildd/kdepim-4.1.96/kresources/akonadi/kcal/resourceakonadi.cpp:927
#18 0xb35a0147 in KCal::ResourceAkonadi::qt_metacall (this=0x9c7f5c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8357fc)
    at /build/buildd/kdepim-4.1.96/obj-i486-linux-gnu/kresources/akonadi/kcal/resourceakonadi.moc:82
#19 0xb6143a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb61447e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb635a443 in KJob::result (this=0x9b4a1d8, _t1=0x9b4a1d8) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kdecore/kjob.moc:186
#22 0xb635a959 in KJob::emitResult (this=0x9b4a1d8) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:294
#23 0xb36b89dd in Akonadi::JobPrivate::handleResponse (this=0x9ebc1f8, tag=@0xbf8358e0, data=@0xbf8358dc) at /build/buildd/kdepimlibs-4.1.96/akonadi/job.cpp:63
#24 0xb36cf24b in Akonadi::SessionPrivate::dataReceived (this=0x9b39300) at /build/buildd/kdepimlibs-4.1.96/akonadi/session.cpp:114
#25 0xb36d1846 in Akonadi::Session::qt_metacall (this=0x9b18ee8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8359c8) at /build/buildd/kdepimlibs-4.1.96/obj-i486-linux-gnu/akonadi/session.moc:76
#26 0xb6143a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb61447e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb617c847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#29 0xb617c91d in QIODevice::qt_metacall () from /usr/lib/libQtCore.so.4
#30 0xb6e9090a in QLocalSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#31 0xb6143a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb61447e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb617c847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#34 0xb6e8ba72 in ?? () from /usr/lib/libQtNetwork.so.4
#35 0xb6e7aceb in ?? () from /usr/lib/libQtNetwork.so.4
#36 0xb6e7c056 in ?? () from /usr/lib/libQtNetwork.so.4
#37 0xb65f78ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb65ff72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb7d4a04d in KApplication::notify (this=0xbf837070, receiver=0x99f6330, event=0xbf835ef0) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#40 0xb612ee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb615970a in ?? () from /usr/lib/libQtCore.so.4
#42 0xb54046f8 in IA__g_main_context_dispatch (context=0x99a2898) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#43 0xb5407da3 in g_main_context_iterate (context=0x99a2898, block=1, dispatch=1, self=0x99ab728) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#44 0xb5407f61 in IA__g_main_context_iteration (context=0x99a2898, may_block=1) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2841
#45 0xb6159478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb6691ea5 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb612d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb612d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0xb635aad1 in KJob::exec (this=0x9eaefb8) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:195
#50 0xb3595082 in KCal::ResourceAkonadi::Private::reloadSubResource (this=0x9c7fdb8, subResource=0x9e4b800, changed=@0xbf83636b)
    at /build/buildd/kdepim-4.1.96/kresources/akonadi/kcal/resourceakonadi.cpp:1455
#51 0xb359ecf9 in KCal::ResourceAkonadi::doLoad (this=0x9c7f5c0, syncCache=false) at /build/buildd/kdepim-4.1.96/kresources/akonadi/kcal/resourceakonadi.cpp:703
#52 0xb7a19c6f in KCal::ResourceCalendar::load (this=0x9c7f5c0) at /build/buildd/kdepimlibs-4.1.96/kcal/resourcecalendar.cpp:168
#53 0xb7a2c801 in KCal::CalendarResources::load (this=0x9bff848) at /build/buildd/kdepimlibs-4.1.96/kcal/calendarresources.cpp:272
#54 0x08053215 in KOrganizerApp::processCalendar (this=0xbf837070, url=@0xbf836500) at /build/buildd/kdepim-4.1.96/korganizer/koapp.cpp:146
#55 0x08053662 in KOrganizerApp::newInstance (this=0xbf837070) at /build/buildd/kdepim-4.1.96/korganizer/koapp.cpp:93
#56 0xb7d53e86 in KUniqueApplicationAdaptor::newInstance (this=0x9a14f80, asn_id=@0x9a07618, args=@0x9a15100) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kuniqueapplication_p.h:77
#57 0xb7d5204e in KUniqueApplicationAdaptor::qt_metacall (this=0x9a14f80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf836788)
    at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kdeui/kuniqueapplication_p.moc:74
#58 0xb623826e in ?? () from /usr/lib/libQtDBus.so.4
#59 0xb62394a7 in ?? () from /usr/lib/libQtDBus.so.4
#60 0xb62399b1 in ?? () from /usr/lib/libQtDBus.so.4
#61 0xb6239eaa in ?? () from /usr/lib/libQtDBus.so.4
#62 0xb613e771 in QObject::event () from /usr/lib/libQtCore.so.4
#63 0xb612e7cb in QCoreApplication::event () from /usr/lib/libQtCore.so.4
#64 0xb65fd206 in QApplication::event () from /usr/lib/libQtGui.so.4
#65 0xb65f78ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#66 0xb65ff72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#67 0xb7d4a04d in KApplication::notify (this=0xbf837070, receiver=0xbf837070, event=0x9993980) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#68 0xb612ee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#69 0xb612fae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#70 0xb612fcdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#71 0xb615982f in ?? () from /usr/lib/libQtCore.so.4
#72 0xb54046f8 in IA__g_main_context_dispatch (context=0x99a2898) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#73 0xb5407da3 in g_main_context_iterate (context=0x99a2898, block=1, dispatch=1, self=0x99ab728) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#74 0xb5407f61 in IA__g_main_context_iteration (context=0x99a2898, may_block=1) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2841
#75 0xb6159478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#76 0xb6691ea5 in ?? () from /usr/lib/libQtGui.so.4
#77 0xb612d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#78 0xb612d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#79 0xb612fda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#80 0xb65f7767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#81 0x080510f0 in main (argc=) at /build/buildd/kdepim-4.1.96/korganizer/main.cpp:58

Comment 3 Dario Andres 2009-01-23 10:48:34 UTC
Thanks :)

*** This bug has been marked as a duplicate of bug 173323 ***
Comment 4 Carsten Schlipf 2009-01-26 16:27:50 UTC
Is this really a duplicate of bug 173323? This report claims that duplicate events are causing the crash.

Now I have removed ~/.kde/share/config/korga* and ~/.kde/share/apps/korganizer. So there shouldn't be any events anymore. However I still get the same crash although I should have no calendar data left at all.

Or how can I reset korganizer to not load any calendar?
Comment 5 Carsten Schlipf 2009-01-28 09:00:29 UTC
Just wanted to let you know, that this is fixed with KDE 4.2 for me. Thank you very much!