Bug 230414 - plasma crashes with expanded group and starting krunner
Summary: plasma crashes with expanded group and starting krunner
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 08:47 UTC by Martin Koller
Modified: 2011-11-22 16:42 UTC (History)
2 users (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 Martin Koller 2010-03-12 08:47:33 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.1 (KDE 4.4.1) "release 225"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.1-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
I have 7 konsole windows open (in taskmanager I see 1 button and at its right a small up arrow with "7" below it), click RMB on it in the taskmanager and select "Expand Group". I have now 6(not 7!) konsole buttons in the taskmanager.
When I now press Alt-F2 to open krunner, plasma crashed.

Probably this has to do with the fact that there is a wrong number of buttons in the taskmanager?


The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5378980 (LWP 29416))]

Thread 2 (Thread 0xa6b19b70 (LWP 29418)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6aa20c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6b1909c in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0xb6b0d88e in QThreadPoolThread::run (this=0x9051698) at concurrent/qthreadpool.cpp:140
#5  0xb6b180bf in QThreadPrivate::start (arg=0x9051698) at thread/qthread_unix.cpp:248
#6  0xb6a9d6e5 in start_thread () from /lib/libpthread.so.0
#7  0xb6a9d600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5378980 (LWP 29416)):
[KCrash Handler]
#6  TaskItemLayout::size (this=0x8e22cd8) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:175
#7  0xa7a0e7a4 in TaskItemLayout::size (this=0x9059540) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:185
#8  0xa7a0e872 in TaskItemLayout::gridLayoutSize (this=0x9059540) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:246
#9  0xa7a0c10f in TaskItemLayout::layoutItems (this=0x9059540) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/taskitemlayout.cpp:271
#10 0xa7a0f39b in TaskGroupItem::constraintsChanged (this=0x8c4a780, constraints=) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/taskgroupitem.cpp:822
#11 0xa7a1196d in TaskGroupItem::qt_metacall (this=0x8c4a780, _c=InvokeMetaMethod, _id=37, _a=0xbfc5f1d8)
    at /usr/src/debug/kdebase-workspace-4.4.1/build/plasma/desktop/applets/tasks/taskgroupitem.moc:116
#12 0xb6c2714d in QMetaObject::metacall (object=0x8c4a780, cl=152588944, idx=37, argv=0xbfc5f1d8) at kernel/qmetaobject.cpp:237
#13 0xb6c35faa in QMetaObject::activate (sender=0x86f9f30, m=0xa7a1c5c0, local_signal_index=0, argv=0xbfc5f1d8) at kernel/qobject.cpp:3293
#14 0xa79ffc65 in Tasks::constraintsChanged (this=0x86f9f30, _t1=...) at /usr/src/debug/kdebase-workspace-4.4.1/build/plasma/desktop/applets/tasks/tasks.moc:104
#15 0xa7a03d0f in Tasks::constraintsEvent (this=0x86f9f30, constraints=) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/applets/tasks/tasks.cpp:174
#16 0xb512defc in Plasma::Applet::flushPendingConstraintsEvents (this=0x86f9f30) at /usr/src/debug/kdelibs-4.4.1/plasma/applet.cpp:1256
#17 0xb512e79a in Plasma::Applet::timerEvent (this=0x86f9f30, event=0xbfc5f864) at /usr/src/debug/kdelibs-4.4.1/plasma/applet.cpp:2418
#18 0xb6c32ab4 in QObject::event (this=0x86f9f30, e=0x848de88) at kernel/qobject.cpp:1212
#19 0xb6823434 in QGraphicsWidget::event (this=0x86f9f30, event=0xbfc5f864) at graphicsview/qgraphicswidget.cpp:1361
#20 0xb61303fc in QApplicationPrivate::notify_helper (this=0x80af078, receiver=0x86f9f30, e=0xbfc5f864) at kernel/qapplication.cpp:4300
#21 0xb6137248 in QApplication::notify (this=0x80a81a8, receiver=0x86f9f30, e=0xbfc5f864) at kernel/qapplication.cpp:4183
#22 0xb6eb4b81 in KApplication::notify (this=0x80a81a8, receiver=0x86f9f30, event=0xbfc5f864) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#23 0xb6c21dde in QCoreApplication::notifyInternal (this=0x80a81a8, receiver=0x86f9f30, event=0xbfc5f864) at kernel/qcoreapplication.cpp:704
#24 0xb6c51ffe in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#26 0xb6c4ec95 in timerSourceDispatch (source=0x80b0988) at kernel/qeventdispatcher_glib.cpp:184
#27 idleTimerSourceDispatch (source=0x80b0988) at kernel/qeventdispatcher_glib.cpp:231
#28 0xb58954c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb5898d98 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb5898ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6c4e931 in QEventDispatcherGlib::processEvents (this=0x80aef00, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#32 0xb61f0e0a in QGuiEventDispatcherGlib::processEvents (this=0x80aef00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb6c2044d in QEventLoop::processEvents (this=0xbfc5fb14, flags=) at kernel/qeventloop.cpp:149
#34 0xb6c20899 in QEventLoop::exec (this=0xbfc5fb14, flags=...) at kernel/qeventloop.cpp:201
#35 0xb6c24a10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0xb61304a4 in QApplication::exec () at kernel/qapplication.cpp:3579
#37 0xb35c4243 in kdemain (argc=1, argv=0x80a3fd0) at /usr/src/debug/kdebase-workspace-4.4.1/plasma/desktop/shell/main.cpp:112
#38 0x0804e4af in launch (argc=134889120, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x80a3ea0 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x8050df2 "0") at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:717
#39 0x0804f147 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:1209
#40 0x0804f594 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:1402
#41 0x0805032f in main (argc=4, argv=0xbfc605a4, envp=0xbfc605b8) at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:1841

Possible duplicates by query: bug 222368, bug 221820, bug 208331, bug 206785, bug 206483.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-09-19 13:14:53 UTC
Can you reproduce this? I cannot in 4.4.5
Comment 2 Martin Koller 2010-09-20 08:54:19 UTC
Yes, I can reproduce it still, using KDE 4.5.1 now.
I do not need to start krunner, though. Just RMB and select "Expand Group" -> crash.

Backtrace:

Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb6f0c841 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQtCore.so.4
#8  0xab5f37f2 in TaskItemLayout::remove(AbstractTaskItem*) () from /usr/lib/kde4/plasma_applet_tasks.so
#9  0xab5f3982 in TaskItemLayout::removeTaskItem(AbstractTaskItem*) () from /usr/lib/kde4/plasma_applet_tasks.so
#10 0xab5f5916 in TaskGroupItem::splitGroup(int) () from /usr/lib/kde4/plasma_applet_tasks.so
#11 0xab5f2a68 in TaskItemLayout::layoutItems() () from /usr/lib/kde4/plasma_applet_tasks.so
#12 0xab5f549b in TaskGroupItem::constraintsChanged(QFlags<Plasma::Constraint>) () from /usr/lib/kde4/plasma_applet_tasks.so
#13 0xab5f7a45 in TaskGroupItem::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/plasma_applet_tasks.so
#14 0xb6efdefd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb6f0cfe8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xab5e6525 in Tasks::constraintsChanged(QFlags<Plasma::Constraint>) () from /usr/lib/kde4/plasma_applet_tasks.so
#17 0xab5ed7ef in Tasks::constraintsEvent(QFlags<Plasma::Constraint>) () from /usr/lib/kde4/plasma_applet_tasks.so
#18 0xb4ffcb53 in Plasma::Applet::flushPendingConstraintsEvents() () from /usr/lib/libplasma.so.3
#19 0xb4ffd8a2 in Plasma::Applet::timerEvent(QTimerEvent*) () from /usr/lib/libplasma.so.3
#20 0xb6f0a774 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb6adcc54 in QGraphicsWidget::event (this=0x839ed18, event=0xbfb516f0) at graphicsview/qgraphicswidget.cpp:1355
#22 0xb6430c64 in QApplicationPrivate::notify_helper (this=0x80b30c0, receiver=0x839ed18, e=0xbfb516f0) at kernel/qapplication.cpp:4302
#23 0xb6438bf7 in QApplication::notify (this=0x80ab350, receiver=0x839ed18, e=0xbfb516f0) at kernel/qapplication.cpp:3706
#24 0xb7516361 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb6ef7e0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb6f2670e in ?? () from /usr/lib/libQtCore.so.4
#27 0xb6f23642 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb5c7eb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb5c7f350 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb5c7f60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6f23d4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb64e119a in QGuiEventDispatcherGlib::processEvents (this=0x80b0490, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb6ef711d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb6ef7319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6efbc70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0xb642e164 in QApplication::exec () at kernel/qapplication.cpp:3581
#37 0xb2f510dd in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#38 0x0804e3f1 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#39 0x0804ef27 in handle_launcher_request(int, char const*) ()
#40 0x0804f5cc in handle_requests(int) ()
#41 0x08050449 in main ()
Comment 3 Björn Ruberg 2010-09-22 00:48:16 UTC
I can absolutly not reproduce it with KDE 4.5 branch (will become KDE 4.5.2). But there has been no change in the tasks applet since pre KDE 4.5 time. I additionally cannot see how the code can crash at the point that is listed in the backtrace.
Comment 4 Aaron J. Seigo 2010-09-22 01:00:12 UTC
what settings do you have for the tasks widget? e.g. "only show windows on this desktop", etc...
Comment 5 Martin Koller 2010-09-22 07:37:36 UTC
All not mentioned settings are unchecked.

Appearance:
Show tooltips, Max 2 rows

Grouping and Sorting:
Grouping by Program Name, Do Not Sort

Filters:
Only show tasks from the current desktop