Summary: | Inport of calendar events causes korganizer to crash if line breaks occur in middle of words | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Alex Tabisz <alex> |
Component: | import/export | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | christophe, smartins |
Priority: | HI | Keywords: | triaged |
Version: | SVN trunk (KDE 4) | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
ical file with line-broken keywords
backtrace of crash on debian sarge with korganizer 3.5.0 previous attached demo ical file with the keywords not broken across lines |
Description
Alex Tabisz
2005-02-07 22:33:07 UTC
Yes I can confirm this awfull behavior (it seems to go wrong in the versit routines..). I tried it on Korganizer 3.3.2, 3.4.2 and 3.5.0 and they all simply crash on import of an .ics file with lines with broken keywords. (using debian sarge and kubuntu (breezy) systems. below attached another example of a broken and an unbroken demo ics file and a (relevant parts only) bugtrace A more gracefull errorhandling would be nice.... :-) Created attachment 14238 [details]
ical file with line-broken keywords
this one crashes korganizer (at least) 3.3.2 3.4.2 and 3.5.0
Created attachment 14239 [details]
backtrace of crash on debian sarge with korganizer 3.5.0
here is the crash backtrace for importing the demoical-with-line-broken
keywords on debian-sarge (with kde 3.5.0 backported and Korganizer 3.5.0) But
no matter: it also crashes alike on standard sarge and kubuntu with many
korganizer versions..
Created attachment 14240 [details]
previous attached demo ical file with the keywords not broken across lines
Oke just to show that it is the keywords broken across the lines...
Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. Backtrace in KDE4.1 (4.1.73) : Application: Kontact (kontact), signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] 0xb55ac56c in nanosleep () from /lib/libc.so.6 [Current thread is 1 (Thread 0xb49c3700 (LWP 28258))] Thread 2 (Thread 0xb071bb90 (LWP 31162)): #0 0xb55dc627 in select () from /lib/libc.so.6 #1 0xb58d0dc7 in ?? () from /usr/lib/libQtCore.so.4 #2 0xb580185e in ?? () from /usr/lib/libQtCore.so.4 #3 0xb57a0030 in start_thread () from /lib/libpthread.so.0 #4 0xb55e348e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb49c3700 (LWP 28258)): [KCrash Handler] #5 uStrLen (u=0x0) at /usr/src/debug/kdepimlibs-4.1.73/kcal/versit/vobject.c:1408 #6 0xb720077e in fakeCString (u=0x0) at /usr/src/debug/kdepimlibs-4.1.73/kcal/versit/vobject.c:1415 #7 0xb723b261 in KCal::VCalFormat::VEventToEvent (this=0xbfd384d4, vevent=0xae1e638) at /usr/src/debug/kdepimlibs-4.1.73/kcal/vcalformat.cpp:949 #8 0xb723fcf7 in KCal::VCalFormat::populate (this=0xbfd384d4, vcal=0xae0b4b8) at /usr/src/debug/kdepimlibs-4.1.73/kcal/vcalformat.cpp:1531 #9 0xb723ff0d in KCal::VCalFormat::load (this=0xbfd384d4, calendar=0x880b7f8, fileName=@0xc4fcca8) at /usr/src/debug/kdepimlibs-4.1.73/kcal/vcalformat.cpp:100 #10 0xb726ea1c in KCal::FileStorage::load (this=0xbfd38524) at /usr/src/debug/kdepimlibs-4.1.73/kcal/filestorage.cpp:127 #11 0xb094ed2d in CalendarView::openCalendar (this=0x872e450, filename=@0x880b18c, merge=true) at /usr/src/debug/kdepim-4.1.73/korganizer/calendarview.cpp:387 #12 0xb09bd5b2 in ActionManager::openURL (this=0x880b178, url=@0xc513a90, merge=true) at /usr/src/debug/kdepim-4.1.73/korganizer/actionmanager.cpp:927 #13 0xb09c95b7 in ActionManager::qt_metacall (this=0x880b178, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd386f8) at /usr/src/debug/kdepim-4.1.73/build/korganizer/actionmanager.moc:190 #14 0xb5906580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #15 0xb5907302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0xb09da71f in ImportDialog::openURL (this=0xc513a78, _t1=@0xc513a90, _t2=true) at /usr/src/debug/kdepim-4.1.73/build/korganizer/importdialog.moc:95 #17 0xb09daa37 in ImportDialog::slotOk (this=0xc513a78) at /usr/src/debug/kdepim-4.1.73/korganizer/importdialog.cpp:97 #18 0xb09dabab in ImportDialog::qt_metacall (this=0xc513a78, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd387f8) at /usr/src/debug/kdepim-4.1.73/build/korganizer/importdialog.moc:77 #19 0xb5906580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #20 0xb5907302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #21 0xb675e4a7 in KDialog::okClicked() () from /usr/lib/libkdeui.so.5 #22 0xb6760f58 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5 #23 0xb67622c4 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #24 0xb09dab6a in ImportDialog::qt_metacall (this=0xc513a78, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd389bc) at /usr/src/debug/kdepim-4.1.73/build/korganizer/importdialog.moc:68 #25 0xb5906580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #26 0xb5907302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #27 0xb590a393 in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4 #28 0xb590ac1d in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4 #29 0xb590ae0e in QSignalMapper::map() () from /usr/lib/libQtCore.so.4 #30 0xb590b74b in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #31 0xb5906580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #32 0xb5906980 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4 #33 0xb63fd631 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #34 0xb6150d39 in ?? () from /usr/lib/libQtGui.so.4 #35 0xb61528b4 in ?? () from /usr/lib/libQtGui.so.4 #36 0xb6152b46 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #37 0xb5e68a62 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #38 0xb6150bde in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #39 0xb61f7290 in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #40 0xb5e108fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #41 0xb5e19111 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #42 0xb67f0fdd in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #43 0xb58f1961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #44 0xb5e1839e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4 #45 0xb5e82716 in ?? () from /usr/lib/libQtGui.so.4 #46 0xb5e81ac5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #47 0xb5eaa08a in ?? () from /usr/lib/libQtGui.so.4 #48 0xb4f3d9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #49 0xb4f41063 in ?? () from /usr/lib/libglib-2.0.so.0 #50 0xb4f41221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #51 0xb591bfb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #52 0xb5ea9785 in ?? () from /usr/lib/libQtGui.so.4 #53 0xb58f001a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #54 0xb58f01da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #55 0xb58f2895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #56 0xb5e10777 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #57 0x0804c00f in main (argc=1, argv=0xbfd39ce4) at /usr/src/debug/kdepim-4.1.73/kontact/src/main.cpp:218 This seems to be fixed in trunk 892126, it doesn't crash. :) In 4.1.3 it still crashes. Confirmed, the crash can not be reproduced. Closing. |