Summary: | Crash after ical import failed | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Thomas Janssen <thomasj> |
Component: | import/export | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, christophe, Ulmo |
Priority: | NOR | ||
Version: | 4.3 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thomas Janssen
2009-07-07 06:55:16 UTC
Bug 187276 seems to be a duplicate of this one. *** Bug 187276 has been marked as a duplicate of this bug. *** This time Kontact crashed over night (i was sleeping box was idling). Application that crashed: kontact Version of the application: 4.3.0 rc1 KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1)) Qt Version: 4.5.2 Operating System: Linux 2.6.27.21-170.2.56.fc10.x86_64 x86_64 Distribution: "Fedora release 10 (Cambridge)" What I was doing when the application crashed: <In detail, tell us what you were doing when the application crashed.> -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #5 0x00007f9024b5f8c4 in QListData::size () at /usr/include/QtCore/qlist.h:87 #6 QList<KOTodoModel::TodoTreeNode*>::count () at /usr/include/QtCore/qlist.h:250 #7 KOTodoModel::TodoTreeNode::childrenCount () at /usr/src/debug/kdepim-4.2.95/korganizer/views/todoview/kotodomodel.cpp:161 #8 KOTodoModel::rowCount (this=0x15feac0, parent=@0x176b630) at /usr/src/debug/kdepim-4.2.95/korganizer/views/todoview/kotodomodel.cpp:640 #9 0x00007f9024b5f77c in KOTodoModel::index (this=0x15feac0, row=0, column=0, parent=@0x176b630) at /usr/src/debug/kdepim-4.2.95/korganizer/views/todoview/kotodomodel.cpp:599 #10 0x00000033ec30b39a in QSortFilterProxyModelPrivate::proxy_to_source (this=<value optimized out>, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:325 #11 0x00000033ec30b49d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=@0x0) at itemviews/qsortfilterproxymodel.cpp:2383 #12 0x00000033ec303585 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:912 #13 0x00000033ec309cc9 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2709aa0, source_top_left=@0x7fff3fd93f90, source_bottom_right=@0x7fff3fd93f70) at itemviews/qsortfilterproxymodel.cpp:1063 #14 0x00000033ec30ac9a in QSortFilterProxyModel::qt_metacall (this=0x172d840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3fd93c80) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:120 #15 0x00007f9024b67b85 in KOTodoViewSortFilterProxyModel::qt_metacall (this=0x15feac0, _c=24557104, _id=0, _a=0x0) at /usr/src/debug/kdepim-4.2.95/x86_64-redhat-linux-gnu/korganizer/kotodoviewsortfilterproxymodel.moc:62 #16 0x0000003117358f32 in QMetaObject::activate (sender=0x15feac0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113 #17 0x00000031173904b7 in QAbstractItemModel::dataChanged (this=0x15feac0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:126 #18 0x00007f9024b62c09 in KOTodoModel::reloadTodos (this=0x15feac0) at /usr/src/debug/kdepim-4.2.95/korganizer/views/todoview/kotodomodel.cpp:255 #19 0x00007f90246135e7 in KOrg::BaseView::qt_metacall (this=0x2701830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3fd94160) at /usr/src/debug/kdepim-4.2.95/x86_64-redhat-linux-gnu/korganizer/interfaces/korganizer/baseview.moc:141 #20 0x00007f9024b6dba5 in KOTodoView::qt_metacall (this=0x15feac0, _c=24557104, _id=0, _a=0x0) at /usr/src/debug/kdepim-4.2.95/x86_64-redhat-linux-gnu/korganizer/kotodoview.moc:114 #21 0x0000003117358f32 in QMetaObject::activate (sender=0x2665fd0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113 #22 0x00007f9024b31d02 in DateChecker::dayPassed (this=0x15feac0, _t1=<value optimized out>) at /usr/src/debug/kdepim-4.2.95/x86_64-redhat-linux-gnu/korganizer/datechecker.moc:88 #23 0x00007f9024b31d96 in DateChecker::passedMidnight (this=0x2665fd0) at /usr/src/debug/kdepim-4.2.95/korganizer/datechecker.cpp:76 #24 0x00007f9024b31ddb in DateChecker::possiblyPastMidnight (this=0x2665fd0) at /usr/src/debug/kdepim-4.2.95/korganizer/datechecker.cpp:82 #25 0x00007f9024b31ed8 in DateChecker::qt_metacall (this=0x2665fd0, _c=QMetaObject::InvokeMetaMethod, _id=157325, _a=0x7fff3fd942a0) at /usr/src/debug/kdepim-4.2.95/x86_64-redhat-linux-gnu/korganizer/datechecker.moc:75 #26 0x0000003117358f32 in QMetaObject::activate (sender=0x266d590, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113 #27 0x0000003117353d43 in QObject::event (this=0x266d590, e=0x176b630) at kernel/qobject.cpp:1075 #28 0x00000033ebd8f80d in QApplicationPrivate::notify_helper (this=0x162bd10, receiver=0x266d590, e=0x7fff3fd94950) at kernel/qapplication.cpp:4056 #29 0x00000033ebd97a7a in QApplication::notify (this=0x7fff3fd94ca0, receiver=0x266d590, e=0x7fff3fd94950) at kernel/qapplication.cpp:4021 #30 0x0000003243e12a9b in KApplication::notify (this=0x7fff3fd94ca0, receiver=0x266d590, event=0x7fff3fd94950) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302 #31 0x000000311734403c in QCoreApplication::notifyInternal (this=0x7fff3fd94ca0, receiver=0x266d590, event=0x7fff3fd94950) at kernel/qcoreapplication.cpp:610 #32 0x0000003117370ff9 in QCoreApplication::sendEvent () at kernel/qcoreapplication.h:213 #33 QTimerInfoList::activateTimers (this=0x162e4d0) at kernel/qeventdispatcher_unix.cpp:572 #34 0x000000311736d60d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165 #35 0x0000003a68e377bb in g_main_dispatch () at gmain.c:2144 #36 IA__g_main_context_dispatch (context=0x162daa0) at gmain.c:2697 #37 0x0000003a68e3af8d in g_main_context_iterate (context=0x162daa0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778 #38 0x0000003a68e3b14b in IA__g_main_context_iteration (context=0x162daa0, may_block=1) at gmain.c:2841 #39 0x000000311736d56f in QEventDispatcherGlib::processEvents (this=0x15fdf40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #40 0x00000033ebe26c5f in QGuiEventDispatcherGlib::processEvents (this=0x15feac0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #41 0x00000031173428d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #42 0x0000003117342ca4 in QEventLoop::exec (this=0x7fff3fd94c00, flags=) at kernel/qeventloop.cpp:201 #43 0x0000003117344f74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #44 0x00000000004045f5 in main (argc=1, argv=0x7fff3fd95388) at /usr/src/debug/kdepim-4.2.95/kontact/src/main.cpp:218 The second backtrace seems to be different comparing it to the first one. Does the crash situation relates with the original crash situation? If it doesn't, you should file a new bug report about it (the policy is one report per issue, and not mixing backtraces). Thanks! You're right, my bad. It wasn't the same situation. I shouldn't file bugreports without my first coffee :) Well, interesting is that the import just "appeared" to fail. I checked the dates today and the ical source got imported *scratches his head*. So it was trapped in a loop (the import in a popup), Kontact crashed after i closed it (while the loop was there) but it added it. Steps to reproduce: Import: http://poelstra.fedorapeople.org/schedules/f-12/f-12-devel.ics ok, the loop is easy to reproduce: File / import / pick a ICS / Merge into an existing resource. (I need to dig, I think we have a report for this issue) Console output : merge/selected the std2 (test calendar) resource / clicked ok : korganizer(19823)/kdepimlibs (kabc) KABC::Lock::lock: -- lock name: "/home/krop/.kde/share/apps/kabc/lock/.lock" korganizer(19823)/kdepimlibs (kabc) KABC::Lock::lock: -- lock unique name: "/home/krop/.kde/share/apps/kabc/lock/ayJfl2pP" korganizer(19823)/kdepimlibs (kcal) KCal::ResourceCalendar::save: "std2 (test calendar)" korganizer(19823)/kdepimlibs (kcal) KCal::FileStorage::save: korganizer(19823)/kdepimlibs (kcal) KCal::ICalFormat::save: "/home/krop/.kde/share/apps/korganizer/std2.ics" korganizer(19823)/kdepimlibs (kcal) KCal::ResourceLocal::doSave: Save of "/home/krop/.kde/share/apps/korganizer/std2.ics" was true Attempt 2: korganizer(19823)/kdepimlibs (kabc) KABC::Lock::lock: -- lock name: "/home/krop/.kde/share/apps/kabc/lock/.lock" korganizer(19823)/kdepimlibs (kabc) KABC::Lock::lock: -- lock unique name: "/home/krop/.kde/share/apps/kabc/lock/0sZwhHar" korganizer(19823)/kdepimlibs (kcal) KCal::ResourceCalendar::save: "std2 (test calendar)" korganizer(19823)/kdepimlibs (kcal) KCal::FileStorage::save: korganizer(19823)/kdepimlibs (kcal) KCal::ICalFormat::save: "/home/krop/.kde/share/apps/korganizer/std2.ics" korganizer(19823)/kdepimlibs (kcal) KCal::ResourceLocal::doSave: Save of "/home/krop/.kde/share/apps/korganizer/std2.ics" was true and so on. SVN commit 1002658 by smartins: When merging ics files, only ask which resource to use once, and not one time for each incidence. Review: http://reviewboard.kde.org/r/994/ MERGE: e4 BUG: 199234 M +10 -0 calendar.cpp M +36 -0 calendar.h M +31 -2 calendarresources.cpp M +14 -0 calendarresources.h M +4 -0 icalformat_p.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002658 |