Bug 244471

Summary: plasma crash while ungrouping tasks
Product: [Unmaintained] plasma4 Reporter: Martin Koller <martin>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aseigo, asraniel, bjoern, desintegr, steffen, tarundahiya
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Martin Koller 2010-07-13 11:02:59 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-desktop i686
Distribution: "openSUSE 11.2 (i586)"

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

I did an ungroup of a group of about 5 windows. Then I can't say - I was using the windows (open-office) and also a mail was received (which I remember as my mail aarival sound played). That means, also the "new mail" icon of kmail appeared in the system tray)

-- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0x05000038 in ?? ()
#8  0xb6e45b68 in QMetaObject::cast (this=0xab4b65d0, obj=0x9ff6c10) at kernel/qmetaobject.cpp:266
#9  0xab4aea4d in qobject_cast<WindowTaskItem*> (this=0x9dc6350, rect=...) at /usr/include/QtCore/qobject.h:455
#10 TaskGroupItem::publishIconGeometry (this=0x9dc6350, rect=...) at /usr/src/debug/kdebase-workspace-4.4.90/plasma/desktop/applets/tasks/taskgroupitem.cpp:1384
#11 0xab4aaf5e in TaskGroupItem::handleActiveWindowChanged (this=0x9dc6350, id=111176428) at /usr/src/debug/kdebase-workspace-4.4.90/plasma/desktop/applets/tasks/taskgroupitem.cpp:622
#12 0xab4b03ff in TaskGroupItem::qt_metacall (this=0x9dc6350, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfe9da08)
    at /usr/src/debug/kdebase-workspace-4.4.90/build/plasma/desktop/applets/tasks/taskgroupitem.moc:120
#13 0xb6e45b2d in QMetaObject::metacall (object=0x9dc6350, cl=166007024, idx=39, argv=0xbfe9da08) at kernel/qmetaobject.cpp:237
#14 0xb6e54d80 in QMetaObject::activate (sender=0x82e90c0, m=0xb777902c, local_signal_index=3, argv=0xbfe9da08) at kernel/qobject.cpp:3295
#15 0xb76b2065 in KWindowSystem::activeWindowChanged (this=0x82e90c0, _t1=111176428) at /usr/src/debug/kdelibs-4.4.92/build/kdeui/kwindowsystem.moc:140
#16 0xb76b56df in KWindowSystemPrivate::x11Event (this=0x82d6928, ev=0xbfe9df2c) at /usr/src/debug/kdelibs-4.4.92/kdeui/windowmanagement/kwindowsystem_x11.cpp:143
#17 0xb754bc1b in publicx11Event (this=0x80ae388, _event=0xbfe9df2c) at /usr/src/debug/kdelibs-4.4.92/kdeui/kernel/kapplication.cpp:914
#18 KApplication::x11EventFilter (this=0x80ae388, _event=0xbfe9df2c) at /usr/src/debug/kdelibs-4.4.92/kdeui/kernel/kapplication.cpp:965
#19 0xb2e8d726 in PlasmaApp::x11EventFilter (this=0x80ae388, event=0xbfe9df2c) at /usr/src/debug/kdebase-workspace-4.4.90/plasma/desktop/shell/plasmaapp.cpp:638
#20 0xb63d1d01 in qt_x11EventFilter (ev=0xbfe9df2c) at kernel/qapplication_x11.cpp:409
#21 0xb63e14df in QApplication::x11ProcessEvent (this=0x80ae388, event=0xbfe9df2c) at kernel/qapplication_x11.cpp:3243
#22 0xb64100e8 in x11EventSourceDispatch (s=0x80b8c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0xb5bb64c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb5bb9d98 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb5bb9ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb6e6d381 in QEventDispatcherGlib::processEvents (this=0x80b5c80, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#27 0xb640fc3a in QGuiEventDispatcherGlib::processEvents (this=0x80b5c80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb6e3ed8d in QEventLoop::processEvents (this=0xbfe9e1e4, flags=) at kernel/qeventloop.cpp:149
#29 0xb6e3f1d9 in QEventLoop::exec (this=0xbfe9e1e4, flags=...) at kernel/qeventloop.cpp:201
#30 0xb6e44480 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#31 0xb634eee4 in QApplication::exec () at kernel/qapplication.cpp:3581
#32 0xb2e76b5f in kdemain (argc=1, argv=0x80b52f0) at /usr/src/debug/kdebase-workspace-4.4.90/plasma/desktop/shell/main.cpp:118
#33 0x0804ea77 in launch (argc=134913112, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x80a9c58 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x8051f27 "0") at /usr/src/debug/kdelibs-4.4.92/kinit/kinit.cpp:723
#34 0x0804f717 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.92/kinit/kinit.cpp:1215
#35 0x0804fb64 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.92/kinit/kinit.cpp:1408
#36 0x08050907 in main (argc=4, argv=0xbfe9ec74, envp=0xbfe9ec88) at /usr/src/debug/kdelibs-4.4.92/kinit/kinit.cpp:1892

Reported using DrKonqi
Comment 1 Martin Koller 2010-07-13 11:07:08 UTC
I tried and I'm abel to reproduce it always:
I just ungroup (expand) the group of 5 openoffice documents, then I click on 1 of the separate task buttons -> crash.
Comment 2 Beat Wolf 2010-08-07 14:41:06 UTC
*** Bug 246347 has been marked as a duplicate of this bug. ***
Comment 3 Beat Wolf 2010-08-07 14:41:11 UTC
*** Bug 235403 has been marked as a duplicate of this bug. ***
Comment 4 Björn Ruberg 2010-09-19 21:32:08 UTC
Do you still have this issue? I cannot reproduce
Comment 5 Martin Koller 2010-09-20 08:57:37 UTC
I can't really test my comment #1 with KDE 4.5.1 (openSuse 11.3), as plasma already crashes while ungrouping. See bug 230414
Comment 6 Damien Gombault 2011-04-29 16:32:51 UTC
Created attachment 59436 [details]
New crash information added by DrKonqi

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

I get a random plasma-desktop crash.
I am not remembering doing any specific action when the crash occurs.

-- Backtrace (Reduced):
#8  0x00007f4af32997af in qobject_cast<WindowTaskItem*> (this=<value optimized out>, rect=...) at /usr/include/qt4/QtCore/qobject.h:455
#9  TaskGroupItem::publishIconGeometry (this=<value optimized out>, rect=...) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:1421
#10 0x00007f4af3296a75 in TaskGroupItem::handleActiveWindowChanged (this=0x35cd330, id=77594763) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:650
#11 0x00007f4af329c706 in TaskGroupItem::qt_metacall (this=0x35cd330, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9b5fe270) at ./taskgroupitem.moc:121
[...]
#13 0x00007f4b0a2e9032 in KWindowSystem::activeWindowChanged (this=0x3a6d730, _t1=77594763) at ./kwindowsystem.moc:140
Comment 7 Aaron J. Seigo 2011-06-24 10:17:06 UTC
working in master, large amount of code shuffle since this report ... closing as probably fixed.