Bug 201013 - crash after reload remote vcal
Summary: crash after reload remote vcal
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 18:18 UTC by Daniel Charp
Modified: 2009-08-11 00:03 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 Daniel Charp 2009-07-21 18:18:18 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc2
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-14-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I modified appointments locally and reloaded with right mouse->reload

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb72fdc28 in KCal::Incidence::recurs (this=0xaf31738) at /build/buildd/kdepimlibs-4.2.96/kcal/incidence.cpp:572
#7  0xb7303675 in KCal::Todo::dtDue (this=0xaf31738, first=false) at /build/buildd/kdepimlibs-4.2.96/kcal/todo.cpp:175
#8  0xacc42fbf in KOrg::IncidenceMonthItem::realStartDate (this=0xaf2fa70) at /build/buildd/kdepim-4.2.96/korganizer/views/monthview/monthitem.cpp:317
#9  0xacc3fc71 in KOrg::MonthView::reloadIncidences (this=0xb0839d0) at /build/buildd/kdepim-4.2.96/korganizer/views/monthview/monthview.cpp:325
#10 0xacc40f40 in KOrg::MonthView::setStartDate (this=0xb0839d0, start=@0xbfc0bd38) at /build/buildd/kdepim-4.2.96/korganizer/views/monthview/monthview.cpp:291
#11 0xacc40fae in KOrg::MonthView::showDates (this=0xb0839d0, start=@0xaf3bf54, end=@0xaf3bf6c) at /build/buildd/kdepim-4.2.96/korganizer/views/monthview/monthview.cpp:278
#12 0xacc8a02a in KOViewManager::updateView (this=0xaceb278, start=@0xaf3bf54, end=@0xaf3bf6c) at /build/buildd/kdepim-4.2.96/korganizer/koviewmanager.cpp:215
#13 0xacc785b7 in CalendarView::updateView (this=0xacec368, start=@0xaf3bf54, end=@0xaf3bf6c, updateTodos=true) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:801
#14 0xacc7a28d in CalendarView::updateView (this=0xacec368) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:810
#15 0xacc77d70 in CalendarView::resourcesChanged (this=0xacec368) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:2528
#16 0xacc8826a in CalendarView::qt_metacall (this=0xacec368, _c=QMetaObject::InvokeMetaMethod, _id=174, _a=0xbfc0bf38)
    at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/calendarview.moc:571
#17 0xb5c2dca8 in QMetaObject::activate (sender=0xaf37d60, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#18 0xb5c2e932 in QMetaObject::activate (sender=0xaf37d60, m=0xb73bce2c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#19 0xb7323a67 in KCal::Calendar::calendarChanged (this=0xaf37d60) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:86
#20 0xb7323ad5 in KCal::Calendar::qt_metacall (this=0xaf37d60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc0c0ac) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:73
#21 0xb73882fa in KCal::CalendarResources::qt_metacall (this=0xaf37d60, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc0c0ac)
    at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendarresources.moc:76
#22 0xb5c2dca8 in QMetaObject::activate (sender=0xad28d78, from_signal_index=4, to_signal_index=4, argv=0xbfc0c0ac) at kernel/qobject.cpp:3069
#23 0xb5c2e932 in QMetaObject::activate (sender=0xad28d78, m=0xb73bd7b4, local_signal_index=0, argv=0xbfc0c0ac) at kernel/qobject.cpp:3143
#24 0xb7376213 in KCal::ResourceCalendar::resourceChanged (this=0xad28d78, _t1=0xad28d78) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/resourcecalendar.moc:117
#25 0xaab5ac7a in KCal::ResourceRemote::doLoad (this=0xad28d78, syncCache=true) at /build/buildd/kdepim-4.2.96/kresources/remote/resourceremote.cpp:193
#26 0xb7382a6c in KCal::ResourceCached::load (this=0xad28d78, action=KCal::ResourceCached::SyncCache) at /build/buildd/kdepimlibs-4.2.96/kcal/resourcecached.cpp:409
#27 0xb7382ef5 in KCal::ResourceCached::load (this=0xad28d78) at /build/buildd/kdepimlibs-4.2.96/kcal/resourcecached.cpp:437
#28 0xaccfdb1a in ResourceView::reloadResource (this=0xaebe828) at /build/buildd/kdepim-4.2.96/korganizer/resourceview.cpp:769
#29 0xacd03495 in ResourceView::qt_metacall (this=0xaebe828, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfc0c33c) at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/resourceview.moc:117
#30 0xb5c2dca8 in QMetaObject::activate (sender=0xb0fe830, from_signal_index=5, to_signal_index=6, argv=0xbfc0c33c) at kernel/qobject.cpp:3069
#31 0xb5c2e0e0 in QMetaObject::activate (sender=0xb0fe830, m=0xb6985008, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfc0c33c) at kernel/qobject.cpp:3163
#32 0xb60f2891 in QAction::triggered (this=0xb0fe830, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#33 0xb60f3e0f in QAction::activate (this=0xb0fe830, event=QAction::Trigger) at kernel/qaction.cpp:1160
#34 0xb656e01c in QMenuPrivate::activateCausedStack (this=0xbe85eb8, causedStack=@0xbfc0c418, action=0xb0fe830, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:962
#35 0xb657476b in QMenuPrivate::activateAction (this=0xbe85eb8, action=0xb0fe830, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#36 0xb6575242 in QMenu::mouseReleaseEvent (this=0xaee4180, e=0xbfc0c9c8) at widgets/qmenu.cpp:2252
#37 0xb614fb43 in QWidget::event (this=0xaee4180, event=0xbfc0c9c8) at kernel/qwidget.cpp:7516
#38 0xb6577629 in QMenu::event (this=0xaee4180, e=0xbfc0c9c8) at widgets/qmenu.cpp:2351
#39 0xb60f8e9c in QApplicationPrivate::notify_helper (this=0x9f43480, receiver=0xaee4180, e=0xbfc0c9c8) at kernel/qapplication.cpp:4084
#40 0xb6101b11 in QApplication::notify (this=0xbfc0d2f8, receiver=0xaee4180, e=0xbfc0c9c8) at kernel/qapplication.cpp:3786
#41 0xb6d1f4dd in KApplication::notify (this=0xbfc0d2f8, receiver=0xaee4180, event=0xbfc0c9c8) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#42 0xb5c17a3b in QCoreApplication::notifyInternal (this=0xbfc0d2f8, receiver=0xaee4180, event=0xbfc0c9c8) at kernel/qcoreapplication.cpp:602
#43 0xb6100b7e in QApplicationPrivate::sendMouseEvent (receiver=0xaee4180, event=0xbfc0c9c8, alienWidget=0x0, nativeWidget=0xaee4180, buttonDown=0xb69a3200, lastMouseReceiver=@0xb69a3204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#44 0xb6170c06 in QETWidget::translateMouseEvent (this=0xaee4180, event=0xbfc0d00c) at kernel/qapplication_x11.cpp:4359
#45 0xb616fca7 in QApplication::x11ProcessEvent (this=0xbfc0d2f8, event=0xbfc0d00c) at kernel/qapplication_x11.cpp:3421
#46 0xb619ac6a in x11EventSourceDispatch (s=0x9f45708, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb4cdcb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb4ce00eb in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb4ce0268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb5c43438 in QEventDispatcherGlib::processEvents (this=0x9f1e028, flags={i = -1077882424}) at kernel/qeventdispatcher_glib.cpp:323
#51 0xb619a365 in QGuiEventDispatcherGlib::processEvents (this=0x9f1e028, flags={i = -1077882376}) at kernel/qguieventdispatcher_glib.cpp:202
#52 0xb5c1606a in QEventLoop::processEvents (this=0xbfc0d270, flags={i = -1077882312}) at kernel/qeventloop.cpp:149
#53 0xb5c164aa in QEventLoop::exec (this=0xbfc0d270, flags={i = -1077882248}) at kernel/qeventloop.cpp:200
#54 0xb5c18959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#55 0xb60f8d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#56 0x0804bfef in main (argc=1, argv=0xbfc0d5f4) at /build/buildd/kdepim-4.2.96/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Allen Winter 2009-07-21 19:15:40 UTC
SVN commit 1000613 by winterz:

make sure to init the mRecurrence member when making a copy.
probable fix for crash reported in
BUG: 201013
MERGE: 4.3,e4


 M  +1 -0      incidence.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1000613
Comment 2 Allen Winter 2009-07-21 19:24:52 UTC
SVN commit 1000615 by winterz:

Backport r1000613 by winterz from trunk to the 4.3 branch:

make sure to init the mRecurrence member when making a copy.
probable fix for crash reported in
CCBUG: 201013
MERGE: 4.3,e4



 M  +1 -0      incidence.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1000615
Comment 3 Dario Andres 2009-08-11 00:03:21 UTC
@Allen: is bug 197507 (and its duplicates) related(or fixed) by this ?
Thanks