Bug 173825 - korganizer crashes on saving new calendar
Summary: korganizer crashes on saving new calendar
Status: RESOLVED FIXED
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: 2008-10-29 12:19 UTC by Irina Rempt
Modified: 2008-11-02 16:40 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 Irina Rempt 2008-10-29 12:19:44 UTC
Version:            (using KDE 4.1.2)
Compiler:          gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
 
OS:                Linux
Installed from:    Compiled From Sources

I open Korganizer with agenda.ics loaded, start a new calendar file, put some events in, try to save it (as kalender.ics) and it crashes. Nothing is saved, nothing remembered except changes to agenda.ics.

This also happens with a completely new calendar (i.e, no other calendars loaded). agenda.ics was an old kde 3.5 file, with all times in UTC, hence the new one.

Backtrace:

Application: KOrganizer (korganizer), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb51656c0 (LWP 6271)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb80f4430 in __kernel_vsyscall ()
#7  0xb68f5880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb68f7248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb75ac795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb75ac872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb75ac915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7863f08 in KUrl::fileName () from /usr/lib/libkdecore.so.5
#13 0xb802e91b in ActionManager::getSaveURL ()
   from /usr/lib/libkorganizerprivate.so.4
#14 0xb802f14c in ActionManager::file_saveas ()
   from /usr/lib/libkorganizerprivate.so.4
#15 0xb802f3f8 in ActionManager::qt_metacall ()
   from /usr/lib/libkorganizerprivate.so.4
#16 0xb76b9a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb76b9e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6d8e5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#19 0xb6d8ef5f in QAction::activate () from /usr/lib/libQtGui.so.4
#20 0xb716c4e4 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb716cf72 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#22 0xb7c482c5 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#23 0xb6dec9a2 in QWidget::event () from /usr/lib/libQtGui.so.4
#24 0xb716f269 in QMenu::event () from /usr/lib/libQtGui.so.4
#25 0xb6d948ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#26 0xb6d9d121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb7b7372d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb76a4e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#29 0xb6d9c3ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#30 0xb6e0691e in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6e05a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0xb6e2f7ea in ?? () from /usr/lib/libQtGui.so.4
#33 0xb58c16f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb58c4da3 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb58c4f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb76cf478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#37 0xb6e2eee5 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb76a352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb76a36ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0xb76a5da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#41 0xb6d94767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#42 0x0804ea50 in _start ()
#0  0xb80f4430 in __kernel_vsyscall ()
Comment 1 Irina Rempt 2008-10-29 13:00:42 UTC
(In reply to comment #0)

Also, trying to save a completely new calendar (.kde/share/apps/konqueror and .konquerorrc moved to force a fresh instance) from a konsole, I get this:

ASSERT: "options != 0" in file /build/buildd/kde4libs-4.1.2/kdecore/io/kurl.cpp, line 1191
KCrash: Application 'korganizer' crashing...
sock_file=/home/irina/.kde/socket-turenay/kdeinit4__0

Comment 2 Oliver Putz 2008-10-29 13:42:06 UTC
Confirming on KDE-4.1.69. 

Steps to reproduce: 

1) Open new Calendar
2) Create entries
3) try to save the calendar
4) See korganizer crash with the following backtrace:

Application: KOrganizer (korganizer), signal SIGABRT

Thread 1 (Thread 0xb5274940 (LWP 20710)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb5919690 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb591aed8 in *__GI_abort () at abort.c:88
#9  0xb7e6132f in qt_message_output (msgType=QtFatalMsg, buf=0xbff59e90 "ASSERT: \"options != 0\" in file /var/tmp/portage/kde-base/kdelibs-4.1.69/work/kdelibs-4.1.69/kdecore/io/kurl.cpp, line 1196")
    at global/qglobal.cpp:2108
#10 0xb7e613ee in qFatal (msg=0xb7faae7c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2309
#11 0xb7e6172f in qt_assert (assertion=0xb7bd1a5a "options != 0", file=0xb7bd19a8 "/var/tmp/portage/kde-base/kdelibs-4.1.69/work/kdelibs-4.1.69/kdecore/io/kurl.cpp", line=1196)
    at global/qglobal.cpp:1878
#12 0xb7af0300 in KUrl::fileName (this=0xbff5bfe4, options=@0xbff5bfa4) at /var/tmp/portage/kde-base/kdelibs-4.1.69/work/kdelibs-4.1.69/kdecore/io/kurl.cpp:1196
#13 0xb65ec108 in ActionManager::getSaveURL (this=0x83b7578) at /var/tmp/portage/kde-base/korganizer-4.1.69/work/korganizer-4.1.69/korganizer/actionmanager.cpp:1251
#14 0xb65ed3cc in ActionManager::file_saveas (this=0x83b7578) at /var/tmp/portage/kde-base/korganizer-4.1.69/work/korganizer-4.1.69/korganizer/actionmanager.cpp:865
#15 0xb65efee8 in ActionManager::qt_metacall (this=0x83b7578, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbff5c14c)
    at /var/tmp/portage/kde-base/korganizer-4.1.69/work/korganizer_build/korganizer/actionmanager.moc:240
#16 0xb7f714e1 in QMetaObject::activate (sender=0x8495af8, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xbff5c14c) at kernel/qobject.cpp:3028
#17 0xb7f71904 in QMetaObject::activate (sender=0x8495af8, m=0xb787e038, from_local_signal_index=1, to_local_signal_index=2, argv=0xbff5c14c) at kernel/qobject.cpp:3118
#18 0xb70c8ffb in QAction::triggered (this=0x8495af8, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216
#19 0xb70c986c in QAction::activate (this=0x8495af8, event=QAction::Trigger) at kernel/qaction.cpp:1131
#20 0xb74aa544 in QMenuPrivate::activateAction (this=0x84d1578, action=0x8495af8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1008
#21 0xb74aafaf in QMenu::mouseReleaseEvent (this=0x84c68b8, e=0xbff5c99c) at widgets/qmenu.cpp:2175
#22 0xb6ee60ea in KMenu::mouseReleaseEvent (this=0x84c68b8, e=0xbff5c99c) at /var/tmp/portage/kde-base/kdelibs-4.1.69/work/kdelibs-4.1.69/kdeui/widgets/kmenu.cpp:452
#23 0xb71275a2 in QWidget::event (this=0x84c68b8, event=0xbff5c99c) at kernel/qwidget.cpp:7169
#24 0xb74ad341 in QMenu::event (this=0x84c68b8, e=0xbff5c99c) at widgets/qmenu.cpp:2271
#25 0xb70cefab in QApplicationPrivate::notify_helper (this=0x806a7c8, receiver=0x84c68b8, e=0xbff5c99c) at kernel/qapplication.cpp:3809
#26 0xb70d6438 in QApplication::notify (this=0xbff5d010, receiver=0x84c68b8, e=0xbff5c99c) at kernel/qapplication.cpp:3534
#27 0xb6e302b1 in KApplication::notify (this=0xbff5d010, receiver=0x84c68b8, event=0xbff5c99c) at /var/tmp/portage/kde-base/kdelibs-4.1.69/work/kdelibs-4.1.69/kdeui/kernel/kapplication.cpp:307
#28 0xb7f5ab21 in QCoreApplication::notifyInternal (this=0xbff5d010, receiver=0x84c68b8, event=0xbff5c99c) at kernel/qcoreapplication.cpp:593
#29 0xb70d7879 in QApplicationPrivate::sendMouseEvent (receiver=0x84c68b8, event=0xbff5c99c, alienWidget=0x0, nativeWidget=0x84c68b8, buttonDown=0xb7894c60, lastMouseReceiver=@0xb7894c64)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0xb713fc1f in QETWidget::translateMouseEvent (this=0x84c68b8, event=0xbff5cea8) at kernel/qapplication_x11.cpp:3982
#31 0xb713e31e in QApplication::x11ProcessEvent (this=0xbff5d010, event=0xbff5cea8) at kernel/qapplication_x11.cpp:3044
#32 0xb716496d in QEventDispatcherX11::processEvents (this=0x8069620, flags={i = -1074409656}) at kernel/qeventdispatcher_x11.cpp:134
#33 0xb7f596b0 in QEventLoop::processEvents (this=0xbff5cfc0, flags={i = -1074409592}) at kernel/qeventloop.cpp:149
#34 0xb7f59852 in QEventLoop::exec (this=0xbff5cfc0, flags={i = -1074409528}) at kernel/qeventloop.cpp:200
#35 0xb7f5bc6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#36 0xb70ced43 in QApplication::exec () at kernel/qapplication.cpp:3337
#37 0x08051ee7 in main (argc=) at /var/tmp/portage/kde-base/korganizer-4.1.69/work/korganizer-4.1.69/korganizer/main.cpp:58
Comment 3 Allen Winter 2008-11-02 14:32:55 UTC
What do you mean by "open a new calendar"?

Do you mean create a new calendar resource? If so, which type of calendar resource?

Or maybe you mean to import a calendar?
Or maybe get hot new stuff?

Comment 4 Irina Rempt 2008-11-02 15:25:42 UTC
(In reply to comment #3)
> What do you mean by "open a new calendar"?
> 
> Do you mean create a new calendar resource? If so, which type of calendar
> resource?

new .vcs calendar (choose "New" in menu, try to save it)
> 
> Or maybe you mean to import a calendar?

no, importing calendars is no problem (except that I have only KDE3 calendars, and they show up in UTC instead of CET)

> Or maybe get hot new stuff?

no, definitely not, not even tried that.

I can reproduce it very reliably:

1. Open Korganizer
2. File -> New
3. File -> Save
4. call it something, let it choose its own .vcs extension
5. CRASH!
Comment 5 Allen Winter 2008-11-02 16:40:45 UTC
I just committed a fix for this.
Next I will backport this fix for the 4.1.4 release.