Bug 263651

Summary: Kontact causes plasma desktop crash
Product: [Unmaintained] plasma4 Reporter: Dave Griffiths <dave.griffiths62>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alex22091969, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Dave Griffiths 2011-01-19 14:33:36 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Launched Kontact and then selected Contacts. Opened an existing contact record, added new Nickname, then clicked OK to save the change. The plasma desktop crashes, desktop goes completely black, but recovers after a few seconds. The change is correctly saved into the record. Any change to a contact record triggers the crash and it is reproducible very time on my system.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6ea64ba760 (LWP 5735))]

Thread 2 (Thread 0x7f6e83422710 (LWP 6080)):
#0  0x00007f6ea3baf6b3 in poll () from /lib64/libc.so.6
#1  0x00007f6ea0a21fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6ea0a22510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6ea51a5ae6 in QEventDispatcherGlib::processEvents (this=0x9d50e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6ea517a262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6ea517a475 in QEventLoop::exec (this=0x7f6e83421d20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6ea508d1a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f6ea515b918 in QInotifyFileSystemWatcherEngine::run (this=0xd96130) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6ea508fa1e in QThreadPrivate::start (arg=0xd96130) at thread/qthread_unix.cpp:285
#9  0x00007f6e98589a33 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f6ea4e00a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f6ea3bb882d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6ea64ba760 (LWP 5735)):
[KCrash Handler]
#6  KCalCore::IncidenceBase::isReadOnly (this=0x0) at /usr/src/debug/kdepimlibs-4.5.95/kcalcore/incidencebase.cpp:286
#7  0x00007f6e817b3be5 in CalendarSupport::Calendar::Private::updateItem (this=0x100c9f0, item=..., mode=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.95/plasma/generic/dataengines/calendar/akonadi/calendar.cpp:224
#8  0x00007f6e817b6773 in CalendarSupport::Calendar::Private::dataChanged (this=0x100c9f0, topLeft=..., bottomRight=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.95/plasma/generic/dataengines/calendar/akonadi/calendar.cpp:157
#9  0x00007f6e81796d54 in CalendarSupport::Calendar::Private::qt_metacall (this=0x100c9f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff338c57e0)
    at /usr/src/debug/kdebase-workspace-4.5.95/build/plasma/generic/dataengines/calendar/moc_calendar_p.cpp:155
#10 0x00007f6ea518ffef in QMetaObject::activate (sender=0x1013750, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff338c57e0) at kernel/qobject.cpp:3272
#11 0x00007f6ea51d7997 in QAbstractItemModel::dataChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#12 0x00007f6e8140436a in Akonadi::EntityTreeModelPrivate::dataChanged (this=<value optimized out>, top=..., bottom=...) at /usr/src/debug/kdepimlibs-4.5.95/akonadi/entitytreemodel_p.cpp:1402
#13 0x00007f6e814b0d3f in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x1012760, item=...) at /usr/src/debug/kdepimlibs-4.5.95/akonadi/entitytreemodel_p.cpp:940
#14 0x00007f6e814b1ef6 in Akonadi::EntityTreeModel::qt_metacall (this=0x1013750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff338c5b20)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/entitytreemodel.moc:156
#15 0x00007f6ea518ffef in QMetaObject::activate (sender=0x1010b40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff338c5b20) at kernel/qobject.cpp:3272
#16 0x00007f6e81407aa7 in Akonadi::Monitor::itemChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/monitor.moc:169
#17 0x00007f6e814560ca in Akonadi::MonitorPrivate::emitItemNotification (this=0x100dcf0, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.95/akonadi/monitor_p.cpp:432
#18 0x00007f6e814566cb in Akonadi::MonitorPrivate::emitNotification (this=0x100dcf0, msg=...) at /usr/src/debug/kdepimlibs-4.5.95/akonadi/monitor_p.cpp:267
#19 0x00007f6e814dd9d1 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x100dcf0, msg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.95/akonadi/changerecorder_p.h:60
#20 0x00007f6e814a08f4 in Akonadi::MonitorPrivate::dataAvailable (this=0x100dcf0) at /usr/src/debug/kdepimlibs-4.5.95/akonadi/monitor_p.cpp:281
#21 0x00007f6e814a0a17 in Akonadi::Monitor::qt_metacall (this=0x1010b40, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fff338c6090) at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/monitor.moc:156
#22 0x00007f6e814a0cf8 in Akonadi::ChangeRecorder::qt_metacall (this=0x1010b40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/changerecorder.moc:72
#23 0x00007f6ea518ffef in QMetaObject::activate (sender=0x100dd78, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#24 0x00007f6e814e4273 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x100dd78, job=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.95/akonadi/entitycache_p.h:189
#25 0x00007f6e81403953 in Akonadi::EntityCacheBase::qt_metacall (this=0x100dd78, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff338c6270)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/entitycache_p.moc:77
#26 0x00007f6ea518ffef in QMetaObject::activate (sender=0x1d8afb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff338c6270) at kernel/qobject.cpp:3272
#27 0x00007f6ea5570572 in KJob::result (this=<value optimized out>, _t1=0x1d8afb0) at /usr/src/debug/kdelibs-4.5.95/build/kdecore/kjob.moc:194
#28 0x00007f6ea55705b0 in KJob::emitResult (this=0x1d8afb0) at /usr/src/debug/kdelibs-4.5.95/kdecore/jobs/kjob.cpp:312
#29 0x00007f6e81435c0d in Akonadi::Job::qt_metacall (this=0x1d8afb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1c24480)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/job.moc:91
#30 0x00007f6e814a1d05 in Akonadi::ItemFetchJob::qt_metacall (this=0x1d8afb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1c24480)
    at /usr/src/debug/kdepimlibs-4.5.95/build/akonadi/itemfetchjob.moc:73
#31 0x00007f6ea518ec6a in QObject::event (this=0x1d8afb0, e=<value optimized out>) at kernel/qobject.cpp:1211
#32 0x00007f6ea431bcd4 in QApplicationPrivate::notify_helper (this=0x703650, receiver=0x1d8afb0, e=0x1ca2cb0) at kernel/qapplication.cpp:4445
#33 0x00007f6ea43241ca in QApplication::notify (this=<value optimized out>, receiver=0x1d8afb0, e=0x1ca2cb0) at kernel/qapplication.cpp:4324
#34 0x00007f6ea5e2fec6 in KApplication::notify (this=0x6f90e0, receiver=0x1d8afb0, event=0x1ca2cb0) at /usr/src/debug/kdelibs-4.5.95/kdeui/kernel/kapplication.cpp:311
#35 0x00007f6ea517ae2c in QCoreApplication::notifyInternal (this=0x6f90e0, receiver=0x1d8afb0, event=0x1ca2cb0) at kernel/qcoreapplication.cpp:732
#36 0x00007f6ea517e625 in sendEvent (receiver=0x0, event_type=0, data=0x610420) at kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x610420) at kernel/qcoreapplication.cpp:1373
#38 0x00007f6ea51a58f3 in sendPostedEvents (s=0x706db0) at kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x706db0) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007f6ea0a21a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f6ea0a22270 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f6ea0a22510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f6ea51a5a8f in QEventDispatcherGlib::processEvents (this=0x703360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f6ea43c0eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f6ea517a262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f6ea517a475 in QEventLoop::exec (this=0x7fff338c6c80, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f6ea517e8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#48 0x00007f6e943fbd68 in kdemain (argc=1, argv=0x6d1560) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/main.cpp:118
#49 0x0000000000407609 in _start ()

This bug may be a duplicate of or related to bug 261593.

Possible duplicates by query: bug 261759, bug 261593.

Reported using DrKonqi
Comment 1 Marco Martin 2011-01-19 17:01:49 UTC

*** This bug has been marked as a duplicate of bug 261593 ***
Comment 2 Alexandr 2011-02-12 06:32:03 UTC
Created attachment 57177 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

Launched Kontact and then selected Contacts. Opened an existing contact record, added new Nickname, then clicked OK to save the change. The plasma desktop crashes, desktop goes completely black, but recovers after a few seconds. The change is correctly saved into the record. Any change to a contact record triggers the crash and it is reproducible very time on my system.

-- Backtrace (Reduced):
#7  KCalCore::IncidenceBase::isReadOnly (this=0x89bd488) at ../../kcalcore/incidencebase.cpp:286
#8  0x0793cf80 in CalendarSupport::Calendar::Private::dataChanged (this=0x89bd488, topLeft=..., bottomRight=...) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:157
#9  0x0791b054 in CalendarSupport::Calendar::Private::qt_metacall (this=0x89bd488, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe73c74) at moc_calendar_p.cpp:155
[...]
#12 0x02ab7559 in QAbstractItemModel::dataChanged (this=0x89bdad8, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#13 0x068273f0 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x89bf620, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1402