Bug 199907 - Clicking on resources available crashes Kontact
Summary: Clicking on resources available crashes Kontact
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.4 pre
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-12 19:16 UTC by Dotan Cohen
Modified: 2011-06-04 16:46 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 Dotan Cohen 2009-07-12 19:16:20 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-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I had clicked on the Akonadi Compatibility Resource's subresources (birthdays and ics resources) and Kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb61010e0 in QWidget::effectiveWinId (this=0xa07ae78) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:234
#7  0xb6146512 in qt_x11_enforce_cursor (w=0xa0848a8, force=false) at kernel/qwidget_x11.cpp:306
#8  0xb6146679 in qt_x11_enforce_cursor (w=0xa0848a8) at kernel/qwidget_x11.cpp:333
#9  0xb61466e0 in QWidgetPrivate::setCursor_sys (this=0xa0848e8) at kernel/qwidget_x11.cpp:1212
#10 0xb610915a in QWidget::setCursor (this=0xa0848a8, cursor=@0xbfdc1f08) at kernel/qwidget.cpp:4601
#11 0xb14a6735 in KODecorationLabel::setUrl (this=0xa0848a8, url=@0xbfdc1f60) at /build/buildd/kdepim-4.2.96/korganizer/kodecorationlabel.cpp:142
#12 0xb14a709f in KODecorationLabel (this=0xa0848a8, e=0xa0820f0, parent=0xa07d068) at /build/buildd/kdepim-4.2.96/korganizer/kodecorationlabel.cpp:43
#13 0xb14c38ba in KOAgendaView::placeDecorations (this=0x8b41b48, decoList=@0xbfdc2120, date=@0xbfdc2110, labelBox=0xa085d50, forWeek=false)
    at /build/buildd/kdepim-4.2.96/korganizer/views/agendaview/koagendaview.cpp:468
#14 0xb14c78b2 in KOAgendaView::createDayLabels (this=0x8b41b48) at /build/buildd/kdepim-4.2.96/korganizer/views/agendaview/koagendaview.cpp:561
#15 0xb14c7daf in KOAgendaView::fillAgenda (this=0x8b41b48) at /build/buildd/kdepim-4.2.96/korganizer/views/agendaview/koagendaview.cpp:1286
#16 0xb14c82be in KOAgendaView::showDates (this=0x8b41b48, start=@0xa07d09c, end=@0xa07d0b4) at /build/buildd/kdepim-4.2.96/korganizer/views/agendaview/koagendaview.cpp:1057
#17 0xb152102a in KOViewManager::updateView (this=0x8941f70, start=@0xa07d09c, end=@0xa07d0b4) at /build/buildd/kdepim-4.2.96/korganizer/koviewmanager.cpp:215
#18 0xb150f5b7 in CalendarView::updateView (this=0x89921f0, start=@0xa07d09c, end=@0xa07d0b4, updateTodos=true) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:801
#19 0xb151128d in CalendarView::updateView (this=0x89921f0) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:810
#20 0xb150ed70 in CalendarView::resourcesChanged (this=0x89921f0) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:2528
#21 0xb151f26a in CalendarView::qt_metacall (this=0x89921f0, _c=QMetaObject::InvokeMetaMethod, _id=174, _a=0xbfdc23f8)
    at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/calendarview.moc:571
#22 0xb5be7ca8 in QMetaObject::activate (sender=0x8b087e0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#23 0xb5be8932 in QMetaObject::activate (sender=0x8b087e0, m=0xb7376e2c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#24 0xb72dda67 in KCal::Calendar::calendarChanged (this=0x8b087e0) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:86
#25 0xb72ddad5 in KCal::Calendar::qt_metacall (this=0x8b087e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdc256c) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:73
#26 0xb73422fa in KCal::CalendarResources::qt_metacall (this=0x8b087e0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdc256c)
    at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendarresources.moc:76
#27 0xb5be7ca8 in QMetaObject::activate (sender=0x8b0afd8, from_signal_index=4, to_signal_index=4, argv=0xbfdc256c) at kernel/qobject.cpp:3069
#28 0xb5be8932 in QMetaObject::activate (sender=0x8b0afd8, m=0xb73777b4, local_signal_index=0, argv=0xbfdc256c) at kernel/qobject.cpp:3143
#29 0xb7330213 in KCal::ResourceCalendar::resourceChanged (this=0x8b0afd8, _t1=0x8b0afd8) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/resourcecalendar.moc:117
#30 0xaffa0ccd in ?? () from /usr/lib/kde4/kcal_akonadi.so
#31 0xaffa1561 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#32 0xb5be7ca8 in QMetaObject::activate (sender=0x95c5b48, from_signal_index=6, to_signal_index=6, argv=0xbfdc26c8) at kernel/qobject.cpp:3069
#33 0xb5be8932 in QMetaObject::activate (sender=0x95c5b48, m=0xaffd26d4, local_signal_index=2, argv=0xbfdc26c8) at kernel/qobject.cpp:3143
#34 0xaffa8c49 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#35 0xaffa9569 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#36 0xaffc2617 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#37 0xaff9b622 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#38 0xb1596064 in ResourceItem::stateChange (this=0x946b948, active=<value optimized out>) at /build/buildd/kdepim-4.2.96/korganizer/resourceview.cpp:197
#39 0xb159610d in ResourceView::slotItemClicked (this=0x9194f98, i=0x946b948) at /build/buildd/kdepim-4.2.96/korganizer/resourceview.cpp:817
#40 0xb159a455 in ResourceView::qt_metacall (this=0x9194f98, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfdc2918) at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/resourceview.moc:121
#41 0xb5be7ca8 in QMetaObject::activate (sender=0x8b54078, from_signal_index=96, to_signal_index=96, argv=0xbfdc2918) at kernel/qobject.cpp:3069
#42 0xb5be8932 in QMetaObject::activate (sender=0x8b54078, m=0xb694bad0, local_signal_index=1, argv=0xbfdc2918) at kernel/qobject.cpp:3143
#43 0xb66a2eb9 in QTreeWidget::itemClicked (this=0x8b54078, _t1=0x946b948, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#44 0xb66a6d75 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x9198228, index=@0x9acbfb0) at itemviews/qtreewidget.cpp:2226
#45 0xb66b0491 in QTreeWidget::qt_metacall (this=0x8b54078, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfdc2a4c) at .moc/release-shared/moc_qtreewidget.cpp:144
#46 0xb5be7ca8 in QMetaObject::activate (sender=0x8b54078, from_signal_index=32, to_signal_index=32, argv=0xbfdc2a4c) at kernel/qobject.cpp:3069
#47 0xb5be8932 in QMetaObject::activate (sender=0x8b54078, m=0xb694aa24, local_signal_index=1, argv=0xbfdc2a4c) at kernel/qobject.cpp:3143
#48 0xb66251b3 in QAbstractItemView::clicked (this=0x8b54078, _t1=@0x9acbfb0) at .moc/release-shared/moc_qabstractitemview.cpp:321
#49 0xb66327b5 in QAbstractItemView::mouseReleaseEvent (this=0x8b54078, event=0xbfdc3368) at itemviews/qabstractitemview.cpp:1655
#50 0xb667578c in QTreeView::mouseReleaseEvent (this=0x8b54078, event=0xbfdc3368) at itemviews/qtreeview.cpp:1787
#51 0xb6109b43 in QWidget::event (this=0x8b54078, event=0xbfdc3368) at kernel/qwidget.cpp:7516
#52 0xb64e3993 in QFrame::event (this=0x8b54078, e=0xbfdc3368) at widgets/qframe.cpp:559
#53 0xb658394f in QAbstractScrollArea::viewportEvent (this=0x8b54078, e=0xa0848e8) at widgets/qabstractscrollarea.cpp:962
#54 0xb6635647 in QAbstractItemView::viewportEvent (this=0x8b54078, event=0xbfdc3368) at itemviews/qabstractitemview.cpp:1466
#55 0xb66700c4 in QTreeView::viewportEvent (this=0x8b54078, event=0xbfdc3368) at itemviews/qtreeview.cpp:1257
#56 0xb6585f55 in QAbstractScrollAreaFilter::eventFilter (this=0x9195760, o=0x8b54090, e=0xbfdc3368) at widgets/qabstractscrollarea_p.h:100
#57 0xb5bd0c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x866c768, receiver=0x8b54090, event=0xbfdc3368) at kernel/qcoreapplication.cpp:718
#58 0xb60b2e7a in QApplicationPrivate::notify_helper (this=0x866c768, receiver=0x8b54090, e=0xbfdc3368) at kernel/qapplication.cpp:4080
#59 0xb60bbb11 in QApplication::notify (this=0xbfdc3c98, receiver=0x8b54090, e=0xbfdc3368) at kernel/qapplication.cpp:3786
#60 0xb6cd94dd in KApplication::notify (this=0xbfdc3c98, receiver=0x8b54090, event=0xbfdc3368) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#61 0xb5bd1a3b in QCoreApplication::notifyInternal (this=0xbfdc3c98, receiver=0x8b54090, event=0xbfdc3368) at kernel/qcoreapplication.cpp:602
#62 0xb60bab7e in QApplicationPrivate::sendMouseEvent (receiver=0x8b54090, event=0xbfdc3368, alienWidget=0x8b54090, nativeWidget=0x8767658, buttonDown=0xb695d200, lastMouseReceiver=@0xb695d204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#63 0xb612a97e in QETWidget::translateMouseEvent (this=0x8767658, event=0xbfdc39ac) at kernel/qapplication_x11.cpp:4425
#64 0xb6129ca7 in QApplication::x11ProcessEvent (this=0xbfdc3c98, event=0xbfdc39ac) at kernel/qapplication_x11.cpp:3421
#65 0xb6154c6a in x11EventSourceDispatch (s=0x86610c8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0xb4c96b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#67 0xb4c9a0eb in ?? () from /usr/lib/libglib-2.0.so.0
#68 0xb4c9a268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#69 0xb5bfd438 in QEventDispatcherGlib::processEvents (this=0x8670980, flags={i = -1076085912}) at kernel/qeventdispatcher_glib.cpp:323
#70 0xb6154365 in QGuiEventDispatcherGlib::processEvents (this=0x8670980, flags={i = -1076085864}) at kernel/qguieventdispatcher_glib.cpp:202
#71 0xb5bd006a in QEventLoop::processEvents (this=0xbfdc3c10, flags={i = -1076085800}) at kernel/qeventloop.cpp:149
#72 0xb5bd04aa in QEventLoop::exec (this=0xbfdc3c10, flags={i = -1076085736}) at kernel/qeventloop.cpp:200
#73 0xb5bd2959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#74 0xb60b2d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#75 0x0804bfef in main (argc=1, argv=0xbfdc3f94) at /build/buildd/kdepim-4.2.96/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-13 20:24:11 UTC
I wonder if Qt4.5.2+ would fix this.
Does this also happen in a standalone KOrganizer session ?
Thanks
Comment 2 Dotan Cohen 2009-07-13 21:07:27 UTC
> Does this also happen in a standalone KOrganizer session?

I will try to crash it. Please also check Bug #200080 which may or may not be a dupe of this bug. Bug #200080 occured while trying to reproduce this issue inside Kontact.
Comment 3 Dotan Cohen 2009-07-14 18:22:06 UTC
Alright, Dario, I managed to crash it outside of Kontact by clicking repeatedly on the resources:
https://bugs.kde.org/show_bug.cgi?id=200195
Comment 4 Sergio Martins 2011-06-04 16:46:05 UTC
KCal isn't used anymore.
KRES isn't used anymore.

Closing.