Bug 219639 - korganizer crash while importing to-do ics file
Summary: korganizer crash while importing to-do ics file
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 06:59 UTC by Ruchir Brahmbhatt
Modified: 2010-01-31 01:39 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 Ruchir Brahmbhatt 2009-12-22 06:59:11 UTC
Version:           4.4 (using Devel)
Installed from:    Compiled sources

Qt: 4.6.1
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) "release 3"
KOrganizer: 4.4 pre

Steps to reproduce:
1. Click /home/USER/.evolution/tasks/local/system/tasks.ics.
2. This will ask to import the file in korganizer with options to import in new calendar or merge in existing calendar.
3. Select merge in existing calendar.

Expected result:
all to-dos should merge in existing calendar.

Actual result:
Crash

Backtrace:

Thread 1 (Thread 0x7ffb8a5297f0 (LWP 12420)):
#0  0x00007ffb89839938 in ?? () from /usr/lib64/libkcal.so.4
#1  0x00007ffb89838c3d in KCal::CustomProperties::removeNonKDECustomProperty(QByteArray const&) () from /usr/lib64/libkcal.so.4
#2  0x00007ffb898391ad in KCal::CustomProperties::removeCustomProperty(QByteArray const&, QByteArray const&) () from /usr/lib64/libkcal.so.4
#3  0x00007ffb8985b8fc in ?? () from /usr/lib64/libkcal.so.4                                                                                
#4  0x00007ffb8985c4b5 in ?? () from /usr/lib64/libkcal.so.4                                                                                
#5  0x00007ffb89852e2a in KCal::ICalFormat::toString(KCal::Calendar*) () from /usr/lib64/libkcal.so.4                                       
#6  0x00007ffb8985290b in KCal::ICalFormat::save(KCal::Calendar*, QString const&) () from /usr/lib64/libkcal.so.4                           
#7  0x00007ffb89889cf5 in KCal::FileStorage::save() () from /usr/lib64/libkcal.so.4                                                         
#8  0x00007ffb898417dc in KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) () from /usr/lib64/libkcal.so.4                       
#9  0x00007ffb8988e689 in KCal::ResourceLocal::doSave(bool) () from /usr/lib64/libkcal.so.4                                                 
#10 0x00007ffb8988cc2b in KCal::ResourceCalendar::save(KCal::Incidence*) () from /usr/lib64/libkcal.so.4                                    
#11 0x00007ffb89899641 in KCal::CalendarResources::save(KCal::CalendarResources::Ticket*, KCal::Incidence*) () from /usr/lib64/libkcal.so.4 
#12 0x00007ffb8989b76f in KCal::CalendarResources::endChange(KCal::Incidence*) () from /usr/lib64/libkcal.so.4                              
#13 0x00007ffb8989af26 in KCal::CalendarResources::addIncidence(KCal::Incidence*) () from /usr/lib64/libkcal.so.4
#14 0x00007ffb8985fd63 in ?? () from /usr/lib64/libkcal.so.4
#15 0x00007ffb89852402 in KCal::ICalFormat::fromRawString(KCal::Calendar*, QByteArray const&) () from /usr/lib64/libkcal.so.4
#16 0x00007ffb89851a60 in KCal::ICalFormat::load(KCal::Calendar*, QString const&) () from /usr/lib64/libkcal.so.4
#17 0x00007ffb89889faf in KCal::FileStorage::load() () from /usr/lib64/libkcal.so.4
#18 0x00007ffb88f2b76c in CalendarView::openCalendar (this=0x8023d0, filename=..., merge=true) at /usr/src/debug/kdepim-4.3.85/korganizer/calendarview.cpp:385
#19 0x00007ffb88f913bf in ActionManager::openURL (this=0x968a20, url=..., merge=<value optimized out>) at /usr/src/debug/kdepim-4.3.85/korganizer/actionmanager.cpp:942
#20 0x00007ffb88f9cfec in ActionManager::qt_metacall (this=0x968a20, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff45d7c440)
    at /usr/src/debug/kdepim-4.3.85/build/korganizer/actionmanager.moc:203
#21 0x00007ffb873a068f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#22 0x00007ffb88fad816 in ImportDialog::openURL (this=0x223e2d0, _t1=<value optimized out>, _t2=true) at /usr/src/debug/kdepim-4.3.85/build/korganizer/importdialog.moc:103
#23 0x00007ffb88fae3b1 in ImportDialog::slotOk (this=0x648b40) at /usr/src/debug/kdepim-4.3.85/korganizer/importdialog.cpp:95
#24 0x00007ffb88fae5a4 in ImportDialog::qt_metacall (this=0x648b40, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff45d7c5d0)
    at /usr/src/debug/kdepim-4.3.85/build/korganizer/importdialog.moc:84
#25 0x00007ffb873a068f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#26 0x00007ffb89eb86d8 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#27 0x00007ffb89eba549 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#28 0x00007ffb88fae570 in ImportDialog::qt_metacall (this=0x223e2d0, _c=1171754416, _id=39266305, _a=0x4449) at /usr/src/debug/kdepim-4.3.85/build/korganizer/importdialog.moc:75
#29 0x00007ffb873a068f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#30 0x00007ffb873a599e in QSignalMapper::mapped(int) () from /usr/lib64/libQtCore.so.4
#31 0x00007ffb873a6bb2 in QSignalMapper::map(QObject*) () from /usr/lib64/libQtCore.so.4
#32 0x00007ffb873a6e30 in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtCore.so.4
#33 0x00007ffb873a068f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#34 0x00007ffb87ed5222 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#35 0x00007ffb87bf21cb in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007ffb87bf308b in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00007ffb87bf32fc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007ffb878b38f2 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007ffb8785d62c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007ffb87864404 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#41 0x00007ffb89f46a86 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#42 0x00007ffb8738d92c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#43 0x00007ffb878635d6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#44 0x00007ffb878e22c5 in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007ffb878e0fda in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007ffb8790b1d2 in ?? () from /usr/lib64/libQtGui.so.4
#47 0x00007ffb802d4f6e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#48 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#49 0x00007ffb802d8938 in g_main_context_iterate (context=0x64e520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#50 0x00007ffb802d8a60 in IA__g_main_context_iteration (context=0x64e520, may_block=1) at gmain.c:2654
#51 0x00007ffb873b6e53 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#52 0x00007ffb8790adbe in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007ffb8738c242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007ffb8738c61c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#55 0x00007ffb8739036b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#56 0x000000000040858a in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.85/korganizer/main.cpp:61
Comment 1 Laurent Montel 2010-01-29 09:55:33 UTC
Could you add your .ics file please ?
Otherwise it's not easy to test this crash
thanks
Comment 2 Ruchir Brahmbhatt 2010-01-29 16:22:48 UTC
It might have some confidential information. Which is the other way to provide information?
Comment 3 Sergio Martins 2010-01-29 22:45:31 UTC
can you remove items with a text editor until it doesn't crash? Then just send us the offending to-do.
Comment 4 Ruchir Brahmbhatt 2010-01-29 22:53:59 UTC
Wow I was trying to reproduce this but now it no longer crashes on me. I tired to add as new calendar and merge to existing calendar, both worked.
Comment 5 Sergio Martins 2010-01-31 01:39:20 UTC
OK, please reopen with more information if it happens to you again.

Thanks.