Bug 283439 - Plasma crashes while writing an email with Kontact.
Summary: Plasma crashes while writing an email with Kontact.
Status: RESOLVED DUPLICATE of bug 247642
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 03:20 UTC by Alexandre René
Modified: 2011-11-19 01:16 UTC (History)
1 user (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 Alexandre René 2011-10-06 03:20:00 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was writing an email with Kontact. Other applications that were open were:
-Amarok
-Firefox
-LibreOffice
-Yakuake

- Unusual behavior I noticed:
-Plasma crashes regularly (about 1 ever 12 hours), although most of the time no suggestion to submit a report appears and I can find no sign of a crash in the system logs. Most of these traceless crashes occur while I am not using the computer. The occasionnal ones that due generate a bug reporting suggestion (such as this one) always occur (as much as I can remember) while I am using the computer.
-Korganizer occasionnally does not display all events. This was the case before the crash, although it had been in this state for at least a few hours. Also, I made changes earlier on the server with which my calendar syncs, but they had already synched properly (the new events were actually the only events showing up)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f90cfd4a7a0 (LWP 3625))]

Thread 8 (Thread 0x7f90b3d2f700 (LWP 3626)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f90b3d2eac0 in ?? ()
#2  0x00007fff5ebff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f90b0ce2700 (LWP 3628)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f90b0ce1ac0 in ?? ()
#2  0x00007fff5ebff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f90a53a5700 (LWP 3633)):
#0  0x00007f90cf641f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f90c4075104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f90c40759f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f90a64bcc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f90c409c3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f90c4b7cd8c in start_thread (arg=0x7f90a53a5700) at pthread_create.c:304
#6  0x00007f90cf64f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f90a0eee700 (LWP 7762)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90cc75482b in wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f90c89d6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299c750, th=0x2ad5a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f90c89d8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x292d9c0, th=0x2ad5a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f90c89d8d8c in ThreadWeaver::WorkingHardState::applyForWork (this=0x292d9c0, th=0x2ad5a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f90c89d7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f90a0eede00, parent=0x299c750, th=0x2ad5a00) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f90c89d7c1b in ThreadWeaver::Thread::run (this=0x2ad5a00) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f90cc754175 in QThreadPrivate::start (arg=0x2ad5a00) at thread/qthread_unix.cpp:320
#9  0x00007f90c4b7cd8c in start_thread (arg=0x7f90a0eee700) at pthread_create.c:304
#10 0x00007f90cf64f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f90b3316700 (LWP 7763)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90cc75482b in wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f90c89d6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299c750, th=0x3bb6890) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f90c89d8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x292d9c0, th=0x3bb6890) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f90c89d7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f90b3315e00, parent=0x299c750, th=0x3bb6890) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f90c89d7c1b in ThreadWeaver::Thread::run (this=0x3bb6890) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90cc754175 in QThreadPrivate::start (arg=0x3bb6890) at thread/qthread_unix.cpp:320
#8  0x00007f90c4b7cd8c in start_thread (arg=0x7f90b3316700) at pthread_create.c:304
#9  0x00007f90cf64f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f90a5ba6700 (LWP 7764)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90cc75482b in wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f90c89d6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299c750, th=0x43ee8a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f90c89d8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x292d9c0, th=0x43ee8a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f90c89d7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f90a5ba5e00, parent=0x299c750, th=0x43ee8a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f90c89d7c1b in ThreadWeaver::Thread::run (this=0x43ee8a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90cc754175 in QThreadPrivate::start (arg=0x43ee8a0) at thread/qthread_unix.cpp:320
#8  0x00007f90c4b7cd8c in start_thread (arg=0x7f90a5ba6700) at pthread_create.c:304
#9  0x00007f90cf64f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f909da53700 (LWP 7765)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90cc75482b in wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x292e1a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f90c89d6704 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299c750, th=0x3d992d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f90c89d8d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x292d9c0, th=0x3d992d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f90c89d7b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f909da52e00, parent=0x299c750, th=0x3d992d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f90c89d7c1b in ThreadWeaver::Thread::run (this=0x3d992d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90cc754175 in QThreadPrivate::start (arg=0x3d992d0) at thread/qthread_unix.cpp:320
#8  0x00007f90c4b7cd8c in start_thread (arg=0x7f909da53700) at pthread_create.c:304
#9  0x00007f90cf64f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f90cfd4a7a0 (LWP 3625)):
[KCrash Handler]
#6  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:728
#7  KCalCore::IncidenceBase::uid (this=0x0) at ../../kcalcore/incidencebase.cpp:226
#8  0x00007f90a2bd0382 in CalendarSupport::Calendar::Private::removeItemFromMaps (this=0x286ed90, item=...) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:540
#9  0x00007f90a2bd13b6 in CalendarSupport::Calendar::Private::itemsRemoved (this=0x286ed90, items=<value optimized out>) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:586
#10 0x00007f90a2bd25dd in CalendarSupport::Calendar::Private::rowsAboutToBeRemoved (this=0x286ed90, parent=<value optimized out>, start=<value optimized out>, end=<value optimized out>) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:128
#11 0x00007f90a2bb63b4 in CalendarSupport::Calendar::Private::qt_metacall (this=0x286ed90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5ebbf690) at moc_calendar_p.cpp:152
#12 0x00007f90cc8505f8 in QMetaObject::activate (sender=0x2189770, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5ebbf690) at kernel/qobject.cpp:3287
#13 0x00007f90cc896f84 in QAbstractItemModel::rowsAboutToBeRemoved (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#14 0x00007f90cc832ec8 in QAbstractItemModel::beginRemoveRows (this=<value optimized out>, parent=<value optimized out>, first=<value optimized out>, last=0) at kernel/qabstractitemmodel.cpp:2449
#15 0x00007f90a286b02e in Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x2a595a0, item=...) at ../../akonadi/entitytreemodel_p.cpp:1020
#16 0x00007f90a2859897 in Akonadi::EntityTreeModel::qt_metacall (this=0x2189770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5ebbf900) at ./entitytreemodel.moc:168
#17 0x00007f90cc8505f8 in QMetaObject::activate (sender=0x28ec9c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5ebbf900) at kernel/qobject.cpp:3287
#18 0x00007f90a28a4705 in Akonadi::Monitor::itemRemoved (this=<value optimized out>, _t1=<value optimized out>) at ./monitor.moc:190
#19 0x00007f90a28a90fc in Akonadi::MonitorPrivate::emitItemNotification (this=0x2afd9b0, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>) at ../../akonadi/monitor_p.cpp:525
#20 0x00007f90a28aa518 in Akonadi::MonitorPrivate::emitNotification (this=0x2afd9b0, msg=...) at ../../akonadi/monitor_p.cpp:284
#21 0x00007f90a280fa11 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x2afd9b0, msg=<value optimized out>) at ../../akonadi/changerecorder_p.h:60
#22 0x00007f90a28a80cd in Akonadi::MonitorPrivate::dispatchNotifications (this=0x2afd9b0) at ../../akonadi/monitor_p.cpp:443
#23 0x00007f90a28aaa02 in Akonadi::MonitorPrivate::slotNotify (this=0x2afd9b0, msgs=<value optimized out>) at ../../akonadi/monitor_p.cpp:414
#24 0x00007f90a2810453 in Akonadi::ChangeRecorderPrivate::slotNotify (this=<value optimized out>, msgs=<value optimized out>) at ../../akonadi/changerecorder_p.h:51
#25 0x00007f90a28a4d65 in Akonadi::Monitor::qt_metacall (this=0x28ec9c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5ebc00b0) at ./monitor.moc:155
#26 0x00007f90a280e0a8 in Akonadi::ChangeRecorder::qt_metacall (this=0x28ec9c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./changerecorder.moc:72
#27 0x00007f90cc8505f8 in QMetaObject::activate (sender=0x1b5ce80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5ebc00b0) at kernel/qobject.cpp:3287
#28 0x00007f90a291f262 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=<value optimized out>, _t1=<value optimized out>) at notificationsourceinterface.moc:91
#29 0x00007f90a291f2b1 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x1b5ce80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5ebc02d0) at notificationsourceinterface.moc:77
#30 0x00007f90ccb909fa in QDBusConnectionPrivate::deliverCall (this=0x1a0ff30, object=0x1b5ce80, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
#31 0x00007f90ccb9ae4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#32 0x00007f90cc84f49a in QObject::event (this=0x1b5ce80, e=<value optimized out>) at kernel/qobject.cpp:1226
#33 0x00007f90cbbf89f4 in QApplicationPrivate::notify_helper (this=0x1a1df30, receiver=0x1b5ce80, e=0x459d940) at kernel/qapplication.cpp:4462
#34 0x00007f90cbbfd3ba in QApplication::notify (this=<value optimized out>, receiver=0x1b5ce80, e=0x459d940) at kernel/qapplication.cpp:4341
#35 0x00007f90cd4db796 in KApplication::notify (this=0x1a0f330, receiver=0x1b5ce80, event=0x459d940) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f90cc83b49c in QCoreApplication::notifyInternal (this=0x1a0f330, receiver=0x1b5ce80, event=0x459d940) at kernel/qcoreapplication.cpp:731
#37 0x00007f90cc83ec25 in sendEvent (receiver=0x0, event_type=0, data=0x199bb00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x199bb00) at kernel/qcoreapplication.cpp:1372
#39 0x00007f90cc866253 in sendPostedEvents (s=0x1a209c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x1a209c0) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f90c4074bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f90c40753a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f90c4075639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f90cc8663ef in QEventDispatcherGlib::processEvents (this=0x199b2e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f90cbca24de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f90cc83a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f90cc83aabc in QEventLoop::exec (this=0x7fff5ebc0cb0, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007f90cc83eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0x00007f90cf93b897 in kdemain (argc=1, argv=0x7fff5ebc1078) at ../../../../plasma/desktop/shell/main.cpp:118
#50 0x00007f90cf587eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fff5ebc1078, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff5ebc1068) at libc-start.c:226
#51 0x0000000000400669 in _start ()

Possible duplicates by query: bug 273566, bug 273147, bug 272389, bug 263823, bug 262117.

Reported using DrKonqi
Comment 1 Nicolas L. 2011-10-18 00:27:46 UTC
Thread 1 (Thread 0x7f90cfd4a7a0 (LWP 3625)):
[KCrash Handler]
#6  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:728
#7  KCalCore::IncidenceBase::uid (this=0x0) at
../../kcalcore/incidencebase.cpp:226
#8  0x00007f90a2bd0382 in
CalendarSupport::Calendar::Private::removeItemFromMaps (this=0x286ed90,
item=...) at
../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:540


how can uid be null ?

we have: 

KCalCore::Incidence::Ptr incidence = CalendarSupport::incidence( item );
  if ( incidence ) {
    unseen_item.uid  = incidence->uid();
    unseen_parent.uid = incidence->relatedTo();
  }

and this is supposed to be fixed since kde 4.6.x

If someone with more knowledge can take a look.
Comment 2 Christoph Feck 2011-11-19 01:16:23 UTC

*** This bug has been marked as a duplicate of bug 247642 ***