Bug 342975 - Crash when removing 'Task Manager' widget from desktop
Summary: Crash when removing 'Task Manager' widget from desktop
Status: RESOLVED DUPLICATE of bug 342763
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-17 17:21 UTC by Elias Probst
Modified: 2015-03-01 11:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Full backtrace (115.91 KB, text/plain)
2015-01-17 17:21 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2015-01-17 17:21:52 UTC
Created attachment 90482 [details]
Full backtrace

Application: plasmashell ()
 (Compiled from sources)
Qt Version: 5.4.0
Operating System: Linux 3.18.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
On several occasions I was able to crash plasmashell by removing the "Task Manager" widget from the desktop (not from a panel).
I'm not able yet to reproduce this on every attempt, but was at least 3 times able to cause this backtrace.

KF5 + Plasma 5 is up-to-date from git.

The crash can be reproduced sometimes.
Relevant parts of backtrace below, full backtrace attached (too long for inline).

-- Backtrace:

Thread 1 (Thread 0x7f9517ac2800 (LWP 7605)):
[KCrash Handler]
#6  0x00007f952638b619 in VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=0, count=<optimized out>, roles=...) at util/qqmladaptormodel.cpp:167
#7  0x00007f95265e0cb9 in notify (roles=..., count=5, index=0, items=..., this=0x3e432a8) at ../../include/QtQml/5.4.0/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:118
#8  QQmlDelegateModel::_q_itemsChanged (this=this@entry=0x3e1ee50, index=index@entry=0, count=5, roles=...) at types/qqmldelegatemodel.cpp:1121
#9  0x00007f95265e6401 in QQmlDelegateModel::_q_layoutChanged (this=0x3e1ee50, parents=..., hint=<optimized out>) at types/qqmldelegatemodel.cpp:1580
#10 0x00007f9526606fbf in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x3e1ee50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=14, _a=_a@entry=0x7fffaf70af40) at .moc/moc_qqmldelegatemodel_p.cpp:204
#11 0x00007f952660749f in QQmlDelegateModel::qt_metacall (this=0x3e1ee50, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffaf70af40) at .moc/moc_qqmldelegatemodel_p.cpp:293
#12 0x00007f95248bdd31 in QMetaObject::activate (sender=sender@entry=0x3dee850, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffaf70af40) at kernel/qobject.cpp:3731
#13 0x00007f95248be257 in QMetaObject::activate (sender=sender@entry=0x3dee850, m=m@entry=0x7f9524acda60 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffaf70af40) at kernel/qobject.cpp:3582
#14 0x00007f9524938d36 in QAbstractItemModel::layoutChanged (this=this@entry=0x3dee850, _t1=..., _t2=_t2@entry=QAbstractItemModel::VerticalSortHint) at .moc/moc_qabstractitemmodel.cpp:407
#15 0x00007f952485d0d9 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x3de8380, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1205
#16 0x00007f95248bdc31 in QMetaObject::activate (sender=0x3df9b80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b250) at kernel/qobject.cpp:3716
#17 0x00007f95248be257 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f9524acda60 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b250) at kernel/qobject.cpp:3582
#18 0x00007f9524938c8c in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393
#19 0x00007f94b03c3143 in TaskManager::TasksModelPrivate::itemChanged (this=0x3df9f60, changes=...) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/libtaskmanager/tasksmodel.cpp:515
#20 0x00007f94b03c3a67 in TaskManager::TasksModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffaf70b450) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999_build/libtaskmanager/moc_tasksmodel.cpp:213
#21 0x00007f95248bdc31 in QMetaObject::activate (sender=0x75b4210, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b450) at kernel/qobject.cpp:3716
#22 0x00007f95248be257 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f94b05e7980 <TaskManager::AbstractGroupableItem::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b450) at kernel/qobject.cpp:3582
#23 0x00007f94b03cb488 in TaskManager::AbstractGroupableItem::changed (this=<optimized out>, _t1=...) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999_build/libtaskmanager/moc_abstractgroupableitem.cpp:222
#24 0x00007f94b03cc19b in TaskManager::AbstractGroupableItem::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999_build/libtaskmanager/moc_abstractgroupableitem.cpp:134
#25 0x00007f95248bdc31 in QMetaObject::activate (sender=sender@entry=0x756b3c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b600) at kernel/qobject.cpp:3716
#26 0x00007f95248be257 in QMetaObject::activate (sender=sender@entry=0x756b3c0, m=m@entry=0x7f94b05e7680 <TaskManager::Task::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffaf70b600) at kernel/qobject.cpp:3582
#27 0x00007f94b03cb5b8 in TaskManager::Task::changed (this=this@entry=0x756b3c0, _t1=...) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999_build/libtaskmanager/moc_task.cpp:354
#28 0x00007f94b03ad816 in TaskManager::Task::setActive (this=this@entry=0x756b3c0, a=a@entry=true) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/libtaskmanager/task.cpp:178
#29 0x00007f94b03bf13c in TaskManager::TaskManager::activeWindowChanged (this=0x7f94b05e9830 <TaskManager::(anonymous namespace)::Q_QGS_privateTaskManagerSelf::innerFunction()::holder>, w=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/libtaskmanager/taskmanager.cpp:412
#30 0x00007f94b03c113c in TaskManager::TaskManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999_build/libtaskmanager/moc_taskmanager.cpp:175
#31 0x00007f95248bdc31 in QMetaObject::activate (sender=sender@entry=0x7f9528cdf110 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffaf70b7f0) at kernel/qobject.cpp:3716
#32 0x00007f95248be257 in QMetaObject::activate (sender=sender@entry=0x7f9528cdf110 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7f9528cddb20 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffaf70b7f0) at kernel/qobject.cpp:3582
#33 0x00007f9528ace952 in KWindowSystem::activeWindowChanged (this=this@entry=0x7f9528cdf110 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, _t1=75497489) at /var/tmp/portage/kde-frameworks/kwindowsystem-9999/work/kwindowsystem-9999_build/src/moc_kwindowsystem.cpp:302
#34 0x00007f9528ab9374 in NETEventFilter::nativeEventFilter (this=0x3c975d0, ev=0x7f951009fb70) at /var/tmp/portage/kde-frameworks/kwindowsystem-9999/work/kwindowsystem-9999/src/kwindowsystem_x11.cpp:207
#35 0x00007f952488b5c0 in QAbstractEventDispatcher::filterNativeEvent (this=this@entry=0x1464140, eventType=..., message=message@entry=0x7f951009fb70, result=result@entry=0x7fffaf70b958) at kernel/qabstracteventdispatcher.cpp:460
#36 0x00007f951773d37d in QXcbConnection::handleXcbEvent (this=this@entry=0x1431e70, event=event@entry=0x7f951009fb70) at qxcbconnection.cpp:854
#37 0x00007f951773e73b in QXcbConnection::processXcbEvents (this=0x1431e70) at qxcbconnection.cpp:1297
#38 0x00007f95248bea36 in QObject::event (this=0x1431e70, e=<optimized out>) at kernel/qobject.cpp:1245
#39 0x00007f9525144f0c in QApplicationPrivate::notify_helper (this=this@entry=0x1429660, receiver=receiver@entry=0x1431e70, e=e@entry=0x7f95101959d0) at kernel/qapplication.cpp:3722
#40 0x00007f9525149f20 in QApplication::notify (this=0x7fffaf70c230, receiver=0x1431e70, e=0x7f95101959d0) at kernel/qapplication.cpp:3505
#41 0x00007f952488e3e5 in QCoreApplication::notifyInternal (this=0x7fffaf70c230, receiver=0x1431e70, event=event@entry=0x7f95101959d0) at kernel/qcoreapplication.cpp:932
#42 0x00007f952489027f in sendEvent (event=0x7f95101959d0, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x141f180) at kernel/qcoreapplication.cpp:1536
#44 0x00007f95248908b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1394
#45 0x00007f95248e6223 in postEventSourceDispatch (s=0x145f4d0) at kernel/qeventdispatcher_glib.cpp:271
#46 0x00007f951fd5e934 in g_main_dispatch (context=0x7f9510001e00) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3064
#47 g_main_context_dispatch (context=context@entry=0x7f9510001e00) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3663
#48 0x00007f951fd5eb78 in g_main_context_iterate (context=context@entry=0x7f9510001e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3734
#49 0x00007f951fd5ec1c in g_main_context_iteration (context=0x7f9510001e00, may_block=1) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3795
#50 0x00007f95248e56bb in QEventDispatcherGlib::processEvents (this=0x1464140, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#51 0x00007f952488c34b in QEventLoop::exec (this=this@entry=0x7fffaf70c0c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#52 0x00007f95248939b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#53 0x00007f9524bb686c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1532
#54 0x00007f9525141715 in QApplication::exec () at kernel/qapplication.cpp:2956
#55 0x000000000042f1b4 in main (argc=2, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/shell/main.cpp:150
Comment 1 Bhushan Shah 2015-01-23 03:46:04 UTC
I can reproduce this crash.
Comment 2 Franz Trischberger 2015-02-10 08:02:05 UTC
I got a similar backtrace, some line numbers differ, mostly because I am running plasma-5.2.0.
I got this several times yet (and for some minutes it was reproducable 100% - until I attached gdb ... - but now it crashed again, yay!). It happens to me when I close a window.

#0  VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=0, count=<optimized out>, roles=...) at util/qqmladaptormodel.cpp:168        [35/1625]
#1  0x00007f7fb8456185 in notify (this=0x4593438, items=..., index=0, count=2, roles=...)
    at ../../include/QtQml/5.4.0/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:118
#2  QQmlDelegateModel::_q_itemsChanged (this=<optimized out>, index=0, count=2, roles=...) at types/qqmldelegatemodel.cpp:1121
#3  0x00007f7fb845921b in QQmlDelegateModel::_q_layoutChanged (this=0x45916a0, parents=..., hint=<optimized out>) at types/qqmldelegatemodel.cpp:1580
#4  0x00007f7fb8480344 in QQmlDelegateModel::qt_metacall (this=0x45916a0, _c=<optimized out>, _id=14, _a=0x7fff383f8950) at .moc/moc_qqmldelegatemodel_p.cpp:293
#5  0x00007f7fb5fa9fd5 in QMetaObject::activate (sender=0x456eee0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3731
#6  0x00007f7fb6013eb4 in QAbstractItemModel::layoutChanged (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, _t1=..., _t2=<optimized out>)
    at .moc/moc_qabstractitemmodel.cpp:407
#7  0x00007f7fb5f4f0ab in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x4545f50, source_top_left=..., source_bottom_right=...)
    at itemmodels/qsortfilterproxymodel.cpp:1205
#8  0x00007f7fb5faa059 in QMetaObject::activate (sender=0x45ae800, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3716
#9  0x00007f7fb6013e1d in QAbstractItemModel::dataChanged (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, _t1=..., _t2=..., _t3=...)
    at .moc/moc_qabstractitemmodel.cpp:393
#10 0x00007f7ebda5ec42 in TaskManager::TasksModelPrivate::itemChanged (this=0x455ea80, changes=...)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0/libtaskmanager/tasksmodel.cpp:515
#11 0x00007f7fb5faa059 in QMetaObject::activate (sender=0x56a5060, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3716
#12 0x00007f7ebda65ae9 in changed (this=<optimized out>, _t1=...)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0_build/libtaskmanager/moc_abstractgroupableitem.cpp:222
#13 TaskManager::AbstractGroupableItem::qt_static_metacall (_o=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff383f8f50)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0_build/libtaskmanager/moc_abstractgroupableitem.cpp:134
#14 0x00007f7fb5faa059 in QMetaObject::activate (sender=0x4558470, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3716
#15 0x00007f7ebda6745c in TaskManager::Task::changed (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, _t1=...)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0_build/libtaskmanager/moc_task.cpp:354
#16 0x00007f7ebda4743a in TaskManager::Task::setActive (this=0x4558470, a=true)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0/libtaskmanager/task.cpp:178
#17 0x00007f7ebda594bb in TaskManager::TaskManager::activeWindowChanged (this=<optimized out>, w=<optimized out>)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0/libtaskmanager/taskmanager.cpp:412
#18 0x00007f7fb5faa059 in QMetaObject::activate (sender=0x7f7fb7f13ed0 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, 
    signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3716
#19 0x00007f7fb7d068f0 in KWindowSystem::activeWindowChanged (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, _t1=<optimized out>)
    at /var/tmp/portage/kde-frameworks/kwindowsystem-5.6.0/work/kwindowsystem-5.6.0_build/src/moc_kwindowsystem.cpp:302
#20 0x00007f7fb7ceec34 in NETEventFilter::nativeEventFilter (this=0x4558060, ev=<optimized out>)
    at /var/tmp/portage/kde-frameworks/kwindowsystem-5.6.0/work/kwindowsystem-5.6.0/src/kwindowsystem_x11.cpp:207
#21 0x00007f7fb7ceef33 in non-virtual thunk to NETEventFilter::nativeEventFilter(QByteArray const&, void*, long*) ()
    at /var/tmp/portage/kde-frameworks/kwindowsystem-5.6.0/work/kwindowsystem-5.6.0/src/kwindowsystem_x11.cpp:142
#22 0x00007f7fb5f77752 in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=0x7f7fa0003a20, result=0x7fff383f9330)
    at kernel/qabstracteventdispatcher.cpp:460
#23 0x00007f7fa8ce1210 in QXcbConnection::handleXcbEvent (this=0x18e68b0, event=0x7f7fa0003a20) at qxcbconnection.cpp:854
#24 0x00007f7fa8ce2eeb in QXcbConnection::processXcbEvents (this=0x18e68b0) at qxcbconnection.cpp:1297
#25 0x00007f7fb5fa3382 in QObject::event (this=0x18e68b0, e=<optimized out>) at kernel/qobject.cpp:1245
#26 0x00007f7fa8ce35d8 in QXcbConnection::event (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, e=0x7f7fa0017310) at qxcbconnection.cpp:1910
#27 0x00007f7fb69879b9 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x18e68b0, e=0x7f7fa0017310) at kernel/qapplication.cpp:3722
#28 0x00007f7fb698b406 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:3164
#29 0x00007f7fb5f7b802 in notifyInternal (this=0x7f7fb61a86b8 <_q_ObjectMutexPool+552>, receiver=<optimized out>, event=<optimized out>)
    at kernel/qcoreapplication.cpp:932
#30 sendEvent (receiver=0x0, event=<optimized out>) at kernel/qcoreapplication.h:228
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<error reading variable: Cannot access memory at address 0x0>, data=0x18d41b0)
    at kernel/qcoreapplication.cpp:1536
#32 0x00007f7fb5fc9823 in postEventSourceDispatch (s=0x190b330) at kernel/qeventdispatcher_glib.cpp:271
#33 0x00007f7fb15628ed in g_main_dispatch (context=0x7f7fa0002450) at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3111
#34 g_main_context_dispatch (context=context@entry=0x7f7fa0002450) at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3710
#35 0x00007f7fb1562bd8 in g_main_context_iterate (context=context@entry=0x7f7fa0002450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3781
#36 0x00007f7fb1562c8c in g_main_context_iteration (context=0x7f7fa0002450, may_block=1)
    at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3842
#37 0x00007f7fb5fc8f9c in QEventDispatcherGlib::processEvents (this=0x19183a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#38 0x00007f7fb5f7851e in processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:128
#39 QEventLoop::exec (this=0x7fff383f9c00, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f7fb5f7b249 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#41 0x00000000004302dc in main (argc=<optimized out>, argv=<optimized out>)
    at /var/tmp/portage/kde-plasma/plasma-workspace-5.2.0-r1/work/plasma-workspace-5.2.0/shell/main.cpp:150
Comment 3 Bhushan Shah 2015-03-01 11:59:09 UTC
This one have more information but, RESOLVED DUPLICATE

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