Bug 268301

Summary: Plasma crashed when I changed between desktops (4.6) [TaskItemLayout::layoutItems, TaskItemLayout::remove, TaskItemLayout::removeTaskItem, TaskGroupItem::itemRemoved]
Product: [Unmaintained] plasma4 Reporter: Unknown <null>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, john.swabe, mschiff, opensuse.lietuviu.kalba
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 Unknown 2011-03-12 17:34:14 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
I'd used Eclipse and I shut that down (that took some time) while I was changing among desktops (I have the option not to show windows from other desktops). Then plasma crashed suddenly.

-- Backtrace:
Application: Plazma asztali héj (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f03cb698780 (LWP 3463))]

Thread 3 (Thread 0x7f03aea78700 (LWP 3464)):
#0  0x00007f03c8ecd503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f03c5d25114 in g_main_context_poll (context=0x7f03a8000980, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0x7f03a8000980, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3086
#3  0x00007f03c5d25650 in g_main_context_iteration (context=0x7f03a8000980, may_block=1) at gmain.c:3154
#4  0x00007f03ca4c3286 in QEventDispatcherGlib::processEvents (this=0xa114e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f03ca4978d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f03ca497ae5 in QEventLoop::exec (this=0x7f03aea77dc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f03ca3ac7a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f03ca479008 in QInotifyFileSystemWatcherEngine::run (this=0xb61bb0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f03ca3af095 in QThreadPrivate::start (arg=0xb61bb0) at thread/qthread_unix.cpp:320
#10 0x00007f03ca11ea3f in start_thread (arg=0x7f03aea78700) at pthread_create.c:297
#11 0x00007f03c8ed667d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f03a10d2700 (LWP 3485)):
#0  0x00007f03c8ecfc73 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f03ca47896d in QProcessManager::run (this=0x7f03ca7cbf80) at io/qprocess_unix.cpp:245
#2  0x00007f03ca3af095 in QThreadPrivate::start (arg=0x7f03ca7cbf80) at thread/qthread_unix.cpp:320
#3  0x00007f03ca11ea3f in start_thread (arg=0x7f03a10d2700) at pthread_create.c:297
#4  0x00007f03c8ed667d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f03cb698780 (LWP 3463)):
[KCrash Handler]
#6  0x00007f03b01cf5b7 in TaskItemLayout::layoutItems (this=0xaedcc0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:347
#7  0x00007f03b01cfb08 in TaskItemLayout::remove (this=0xaedcc0, item=0x17f0ef0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:163
#8  0x00007f03b01cfc2e in TaskItemLayout::removeTaskItem (this=0xaedcc0, item=0x17f0ef0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:113
#9  0x00007f03b01d901b in TaskGroupItem::itemRemoved (this=0xac9ae0, groupableItem=0x15f4170) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:555
#10 0x00007f03b01dc879 in TaskGroupItem::reload (this=0xac9ae0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:344
#11 0x00007f03b01dcb97 in TaskGroupItem::setGroup (this=0xac9ae0, group=0x17364f0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:379
#12 0x00007f03b01cc4fc in Tasks::qt_metacall (this=0xa0d080, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0c6f5280) at /usr/src/debug/kdebase-workspace-4.6.1/build/plasma/desktop/applets/tasks/tasks.moc:99
#13 0x00007f03ca4aca5f in QMetaObject::activate (sender=0x7d9ee0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00007f03b04075d3 in TaskManager::GroupManagerPrivate::actuallyReloadTasks (this=0xaf1320) at /usr/src/debug/kdebase-workspace-4.6.1/libs/taskmanager/groupmanager.cpp:191
#15 0x00007f03b0408721 in TaskManager::GroupManager::qt_metacall (this=0x7d9ee0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff0c6f5470) at /usr/src/debug/kdebase-workspace-4.6.1/build/libs/taskmanager/groupmanager.moc:117
#16 0x00007f03ca4aca5f in QMetaObject::activate (sender=0xaf1378, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007f03ca4ac0a9 in QObject::event (this=0xaf1378, e=<value optimized out>) at kernel/qobject.cpp:1181
#18 0x00007f03c9643144 in QApplicationPrivate::notify_helper (this=0x6b7db0, receiver=0xaf1378, e=0x7fff0c6f5c10) at kernel/qapplication.cpp:4462
#19 0x00007f03c964b6fa in QApplication::notify (this=<value optimized out>, receiver=0xaf1378, e=0x7fff0c6f5c10) at kernel/qapplication.cpp:4341
#20 0x00007f03cb152216 in KApplication::notify (this=0x6ae090, receiver=0xaf1378, event=0x7fff0c6f5c10) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#21 0x00007f03ca49847c in QCoreApplication::notifyInternal (this=0x6ae090, receiver=0xaf1378, event=0x7fff0c6f5c10) at kernel/qcoreapplication.cpp:731
#22 0x00007f03ca4c5df8 in sendEvent (this=0x6ba710) at kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x6ba710) at kernel/qeventdispatcher_unix.cpp:619
#24 0x00007f03ca4c2b54 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f03c5d24bd3 in g_main_dispatch (context=0x6ba4e0) at gmain.c:2440
#26 g_main_context_dispatch (context=0x6ba4e0) at gmain.c:3013
#27 0x00007f03c5d253b0 in g_main_context_iterate (context=0x6ba4e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#28 0x00007f03c5d25650 in g_main_context_iteration (context=0x6ba4e0, may_block=1) at gmain.c:3154
#29 0x00007f03ca4c322f in QEventDispatcherGlib::processEvents (this=0x6aead0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f03c96e8bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f03ca4978d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f03ca497ae5 in QEventLoop::exec (this=0x7fff0c6f5f20, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f03ca49bf2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x00007f03b91cad58 in kdemain (argc=1, argv=0x67a7b0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/shell/main.cpp:118
#35 0x00000000004075c9 in _start ()

Possible duplicates by query: bug 266726, bug 264079, bug 252383, bug 232960, bug 230414.

Reported using DrKonqi
Comment 1 Dario Andres 2011-04-10 22:53:05 UTC
[Comment from a bug triager]
From bug 270610 (KDE SC 4.6.1):
-- Information about the crash:
I used "Okular" and i changed workspace. Desktop 2times blink and then crashed

From bug 266726 (KDE SC 4.6.0x):
- What I was doing when the application crashed:
I was doing nothing special. I just entered password to unlick screensaver,
then wanted to switch the desktop
Comment 2 Dario Andres 2011-04-10 22:53:09 UTC
*** Bug 270610 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-04-10 22:53:13 UTC
*** Bug 266726 has been marked as a duplicate of this bug. ***
Comment 4 opensuse.lietuviu.kalba 2011-04-29 09:58:28 UTC
Created attachment 59409 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.2 (4.6.2) "release 3" using Qt 4.7.3

- What I was doing when the application crashed:

I pressed a link in Claws-Mail, I clicked main panel to move to next virtual desktop, I expected to open internet browser here. Plasma crashed. Maybe it could be because of fact, that computer was not shutdown for several days, it only was several times suspended to RAM.

-- Backtrace (Reduced):
#6  0x00007fd9220305a7 in TaskItemLayout::layoutItems (this=0xca3570) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:347
#7  0x00007fd922030af8 in TaskItemLayout::remove (this=0xca3570, item=0x1069d70) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:163
#8  0x00007fd922030c1e in TaskItemLayout::removeTaskItem (this=0xca3570, item=0x1069d70) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:113
#9  0x00007fd92203a02b in TaskGroupItem::itemRemoved (this=0xcb4c80, groupableItem=0xe3efe0) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:555
#10 0x00007fd92203d859 in TaskGroupItem::reload (this=0xcb4c80) at /usr/src/debug/kdebase-workspace-4.6.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:344
Comment 5 Aaron J. Seigo 2011-11-22 18:37:05 UTC
seems to have gone away with 4.7 (given the bug reports only being for 4.6.0-4.6.2 on this one)