Bug 212094

Summary: plasma-desktop crashes when switching desktops
Product: [Unmaintained] plasma4 Reporter: Matthew <hatchmt>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthew 2009-10-27 19:28:51 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
This happens several times per day, has been happening for a while, and the other bugs on the topic say 'resolved' since before 4.3 was even released.  It's obviously still an issue with 4.3.2, and I can reproduce this on two machines using Ubuntu 9.10 and openSUSE 11.1.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f68f62817a0 (LWP 30074))]

Thread 2 (Thread 0x7f68e2987910 (LWP 30075)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f68fefb64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1650768, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1650768, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f68fbf8478c in QHostInfoAgent::run (this=0x1650750) at kernel/qhostinfo.cpp:260
#4  0x00007f68fefb5445 in QThreadPrivate::start (arg=0x1650750) at thread/qthread_unix.cpp:188
#5  0x00007f68f9862a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6901def7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f68f62817a0 (LWP 30074)):
[KCrash Handler]
#5  0x00007f68ffd6dcc4 in QGraphicsLayoutItem::parentLayoutItem (this=0x1bc4760) at graphicsview/qgraphicslayoutitem.cpp:762
#6  0x00007f68ffd6ce1d in QGraphicsLayoutPrivate::addChildLayoutItem (this=0x1848f40, layoutItem=0x1bc4760) at graphicsview/qgraphicslayout_p.cpp:150
#7  0x00007f68ffd86bfa in QGraphicsGridLayout::addItem (this=0x1844d40, item=0x1bc4760, row=<value optimized out>, column=<value optimized out>, rowSpan=<value optimized out>, 
    columnSpan=<value optimized out>, alignment=...) at graphicsview/qgraphicsgridlayout.cpp:158
#8  0x00007f68e432035d in TaskItemLayout::layoutItems (this=0x1844d40) at ../../../../plasma/applets/tasks/taskitemlayout.cpp:370
#9  0x00007f68e4320a4f in TaskItemLayout::insert (this=0x1844d40, index=<value optimized out>, item=0x21ab250) at ../../../../plasma/applets/tasks/taskitemlayout.cpp:125
#10 0x00007f68e4320c20 in TaskItemLayout::addTaskItem (this=0x1844d40, item=0x21ab250) at ../../../../plasma/applets/tasks/taskitemlayout.cpp:82
#11 0x00007f68e432c948 in TaskGroupItem::itemAdded (this=0x18486c0, groupableItem=0x1bde7e0) at ../../../../plasma/applets/tasks/taskgroupitem.cpp:477
#12 0x00007f68e432cfc4 in TaskGroupItem::qt_metacall (this=0x18486c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff994b4f40) at ./taskgroupitem.moc:113
#13 0x00007f68ff0b0ddc in QMetaObject::activate (sender=0x1844be0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x4) at kernel/qobject.cpp:3113
#14 0x00007f68e4565d6f in TaskManager::TaskGroup::itemAdded (this=0x1bc4760, _t1=0x1bde7e0) at ./taskgroup.moc:145
#15 0x00007f68e456665f in TaskManager::TaskGroup::add (this=0x1844be0, item=0x1bde7e0) at ../../../libs/taskmanager/taskgroup.cpp:138
#16 0x00007f68e454ffd4 in TaskManager::GroupManagerPrivate::addTask (this=0x18303f0, task=) at ../../../libs/taskmanager/groupmanager.cpp:290
#17 0x00007f68e45508bb in TaskManager::GroupManagerPrivate::actuallyReloadTasks (this=0x18303f0) at ../../../libs/taskmanager/groupmanager.cpp:155
#18 0x00007f68e4552139 in TaskManager::GroupManager::qt_metacall (this=0x186f8c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff994b51c0) at ./groupmanager.moc:108
#19 0x00007f68ff0b0ddc in QMetaObject::activate (sender=0x1830458, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x4) at kernel/qobject.cpp:3113
#20 0x00007f68ff0aad83 in QObject::event (this=0x1830458, e=0x1bc4760) at kernel/qobject.cpp:1075
#21 0x00007f68ff79fefc in QApplicationPrivate::notify_helper (this=0x1234180, receiver=0x1830458, e=0x7fff994b57c0) at kernel/qapplication.cpp:4056
#22 0x00007f68ff7a71ce in QApplication::notify (this=0x12244a0, receiver=0x1830458, e=0x7fff994b57c0) at kernel/qapplication.cpp:4021
#23 0x00007f6900863ab6 in KApplication::notify (this=0x12244a0, receiver=0x1830458, event=0x7fff994b57c0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f68ff09bc2c in QCoreApplication::notifyInternal (this=0x12244a0, receiver=0x1830458, event=0x7fff994b57c0) at kernel/qcoreapplication.cpp:610
#25 0x00007f68ff0c6862 in QCoreApplication::sendEvent (this=0x1237a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 QTimerInfoList::activateTimers (this=0x1237a00) at kernel/qeventdispatcher_unix.cpp:572
#27 0x00007f68ff0c425d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#28 0x00007f68f9ab3bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f68f9ab7588 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f68f9ab76b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f68ff0c41a6 in QEventDispatcherGlib::processEvents (this=0x120ae90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#32 0x00007f68ff8344be in QGuiEventDispatcherGlib::processEvents (this=0x1bc4760, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f68ff09a532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f68ff09a904 in QEventLoop::exec (this=0x7fff994b5a60, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f68ff09cab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#36 0x00007f69020bc4cf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/shells/desktop/main.cpp:50
#37 0x00007f6901d2eabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff994b5d68) at libc-start.c:220
#38 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Matthew 2009-10-27 19:30:52 UTC
To clarify -- This is sporatic but happens most often when switching desktops.  I have a hotkey set up (CTRL-ALT-[Left, right, up, down]) to switch desktops and that's what I usually do when it crashes.
Comment 2 Jonathan Thomas 2009-11-10 21:38:11 UTC

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