Bug 262895 - kontact crach when edit categories in calendar
Summary: kontact crach when edit categories in calendar
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 21:48 UTC by marian.trenkwalder
Modified: 2012-08-27 14:12 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 marian.trenkwalder 2011-01-11 21:48:52 UTC
Application: kontact (4.6 beta3)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.0
Operating System: Linux 2.6.37-CHAKRA x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I create a new Event in Calendar, edit Categories, press Apply, edit Categories again, press Apply. a "Conflict Resolution-Kontact" Window appear and ask me whih update(s) to apply. I press "Take left one" --> crash

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f994fd0b760 (LWP 3802))]

Thread 2 (Thread 0x7f9937ee8710 (LWP 3803)):
#0  0x00007f994804540c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f994c6d0574 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#2  0x00007f994c6d05a9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#3  0x00007f9948040cb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007f994d2199fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f994fd0b760 (LWP 3802)):
[KCrash Handler]
#6  QVector<QSharedPointer<KCalCore::Attendee> >::constBegin (this=0x0, emails=<value optimized out>, email=...) at /usr/include/QtCore/qvector.h:236
#7  KCalCore::IncidenceBase::attendeeByMails (this=0x0, emails=<value optimized out>, email=...) at /home/manutortosa/desktop-testing/kdepimlibs/src/kdepimlibs-4.5.95/kcalcore/incidencebase.cpp:502
#8  0x00007f9930a320fd in IncidenceEditorNG::InvitationDispatcherPrivate::myAttendeeStatusChanged (this=<value optimized out>, oldInc=..., newInc=...)
    at /home/manutortosa/desktop-testing/kdepim-beta/src/kdepim-4.6beta3/incidenceeditor-ng/invitationdispatcher.cpp:57
#9  0x00007f9930a3238e in IncidenceEditorNG::InvitationDispatcherPrivate::sentEventModifiedMessage (this=0x2f65da0)
    at /home/manutortosa/desktop-testing/kdepim-beta/src/kdepim-4.6beta3/incidenceeditor-ng/invitationdispatcher.cpp:106
#10 0x00007f9930a32490 in IncidenceEditorNG::InvitationDispatcher::qt_metacall (this=0x30fe2e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3252980)
    at /home/manutortosa/desktop-testing/kdepim-beta/src/kdepim-4.6beta3/incidenceeditor-ng/invitationdispatcher.moc:75
#11 0x00007f994d9359ba in QObject::event (this=0x30fe2e0, e=<value optimized out>) at kernel/qobject.cpp:1219
#12 0x00007f994e2f42f4 in QApplicationPrivate::notify_helper (this=0x1a3c6b0, receiver=0x30fe2e0, e=0x314c760) at kernel/qapplication.cpp:4397
#13 0x00007f994e2f9531 in QApplication::notify (this=<value optimized out>, receiver=0x30fe2e0, e=0x314c760) at kernel/qapplication.cpp:4278
#14 0x00007f994f0be596 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f994d91f4ec in QCoreApplication::notifyInternal (this=0x7fff85003940, receiver=0x30fe2e0, event=0x314c760) at kernel/qcoreapplication.cpp:732
#16 0x00007f994d923422 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x19eb4d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19eb4d0) at kernel/qcoreapplication.cpp:1373
#18 0x00007f994d94d593 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f9947b12bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f9947b133d0 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f9947b1366d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f994d94d72f in QEventDispatcherGlib::processEvents (this=0x19eafa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007f994e3a399e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f994d91df82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f994d91e1cc in QEventLoop::exec (this=0x7fff85003890, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007f994d92371b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#28 0x0000000000404067 in main (argc=1, argv=0x7fff85003f28) at /home/manutortosa/desktop-testing/kdepim-beta/src/kdepim-4.6beta3/kontact/src/main.cpp:217

Reported using DrKonqi
Comment 1 Christophe Marin 2011-01-12 17:42:51 UTC
Confirmed with korg from master. (although my backtrace is quite different)

Core was generated by `/kde/inst/kdepim/bin/korganizer'.
Program terminated with signal 6, Aborted.
#0  0x00007f139bac8a75 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f139bac8a75 in raise () from /lib64/libc.so.6
#1  0x00007f139bac9f76 in abort () from /lib64/libc.so.6
#2  0x00007f139c3928d4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#3  0x00007f139c392a9d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, 
    msg=0x7f139c4e3448 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffb388f570) at global/qglobal.cpp:2328
#4  0x00007f139c392c35 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#5  0x00007f139c392c7a in qt_assert (assertion=0x5804 <Address 0x5804 out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1)
    at global/qglobal.cpp:2027
#6  0x00007f13974f4698 in Akonadi::EntityTreeModelPrivate::monitoredItemLinked (this=0x95a650, item=..., collection=...)
    at /kde/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:1048
#7  0x00007f13974eb6f7 in Akonadi::EntityTreeModel::qt_metacall (this=0x8a2620, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fffb388f870)
    at /kde/build/KDE/kdepimlibs/akonadi/entitytreemodel.moc:161
#8  0x00007f139606a881 in CalendarSupport::CalendarModel::qt_metacall (this=0x8a2620, _c=QMetaObject::InvokeMetaMethod, _id=51, 
    _a=0x7fffb388f870) at /kde/build/KDE/kdepim/calendarsupport/moc_calendarmodel.cpp:66
#9  0x00007f139c498e3f in QMetaObject::activate (sender=0x953910, m=<value optimized out>, local_signal_index=<value optimized out>, 
    argv=0x7fffb388f870) at kernel/qobject.cpp:3272
#10 0x00007f1397541269 in Akonadi::Monitor::itemLinked (this=0x953910, _t1=..., _t2=...)
    at /kde/build/KDE/kdepimlibs/akonadi/monitor.moc:197
#11 0x00007f1397544d04 in Akonadi::MonitorPrivate::emitItemNotification (this=0x926b50, msg=..., item=..., collection=..., 
    collectionDest=...) at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:462
#12 0x00007f1397543774 in Akonadi::MonitorPrivate::emitNotification (this=0x926b50, msg=...)
    at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:270
#13 0x00007f13974a0a69 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x926b50, msg=...)
    at /kde/src/KDE/kdepimlibs/akonadi/changerecorder_p.h:60
#14 0x00007f13975431ca in Akonadi::MonitorPrivate::dispatchNotifications (this=0x926b50)
    at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:212
#15 0x00007f1397544280 in Akonadi::MonitorPrivate::slotNotify (this=0x926b50, msgs=QList<Akonadi::NotificationMessage> = {...})
    at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:378
#16 0x00007f13974a09de in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x926b50, msgs=QList<Akonadi::NotificationMessage> = {...})
    at /kde/src/KDE/kdepimlibs/akonadi/changerecorder_p.h:51
#17 0x00007f1397541008 in Akonadi::Monitor::qt_metacall (this=0x953910, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffb388fe90)
    at /kde/build/KDE/kdepimlibs/akonadi/monitor.moc:155
#18 0x00007f13974a00af in Akonadi::ChangeRecorder::qt_metacall (this=0x953910, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fffb388fe90)
    at /kde/build/KDE/kdepimlibs/akonadi/changerecorder.moc:72
#19 0x00007f139c498e3f in QMetaObject::activate (sender=0x8ee330, m=<value optimized out>, local_signal_index=<value optimized out>, 
    argv=0x7fffb388fe90) at kernel/qobject.cpp:3272
#20 0x00007f13975baed3 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=0x8ee330, _t1=
    QList<Akonadi::NotificationMessage> = {...}) at /kde/build/KDE/kdepimlibs/akonadi/notificationsourceinterface.moc:91
#21 0x00007f13975bae16 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x8ee330, _c=QMetaObject::InvokeMetaMethod, 
    _id=0, _a=0x7fffb3890080) at /kde/build/KDE/kdepimlibs/akonadi/notificationsourceinterface.moc:77
#22 0x00007f1399c0ad08 in QDBusConnectionPrivate::deliverCall (this=0x6809b0, object=0x8ee330, msg=..., metaTypes=QList<int> = {...}, 
    slotIdx=5) at qdbusintegrator.cpp:919
#23 0x00007f1399c15daf in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>)
    at qdbusintegrator_p.h:103
Comment 2 Sergio Martins 2011-01-12 23:45:50 UTC
Stephen, have a look at the second backtrace.

I can't reproduce any.
Comment 3 Sergio Martins 2011-01-15 13:44:21 UTC
First backtrace was fixed by:
2208a57d252206ff5e0f371e808c21af32796180
Comment 4 marian.trenkwalder 2012-08-27 14:12:28 UTC
Testet with 
KOrganizer
Version 4.9
Unter KDE 4.9.00

distribution: Calculate Linux (gentoo)