<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>230414</bug_id>
          
          <creation_ts>2010-03-12 08:47:33 +0000</creation_ts>
          <short_desc>plasma crashes with expanded group and starting krunner</short_desc>
          <delta_ts>2011-11-22 16:42:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>widget-taskbar</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Koller">martin</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>aseigo</cc>
    
    <cc>bjoern</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>932207</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2010-03-12 08:47:33 +0000</bug_when>
    <thetext>Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.1 (KDE 4.4.1) &quot;release 225&quot;
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.1-desktop i686
Distribution: &quot;openSUSE 11.2 (i586)&quot;

-- 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 &quot;7&quot; below it), click RMB on it in the taskmanager and select &quot;Expand Group&quot;. 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, args=&lt;value optimized out&gt;, cwd=0x0, envc=0, envs=0x80a3ea0 &quot;&quot;, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x8050df2 &quot;0&quot;) at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:717
#39 0x0804f147 in handle_launcher_request (sock=&lt;value optimized out&gt;, who=&lt;value optimized out&gt;) at /usr/src/debug/kdelibs-4.4.1/kinit/kinit.cpp:1209
#40 0x0804f594 in handle_requests (waitForPid=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1021143</commentid>
    <comment_count>1</comment_count>
    <who name="Björn Ruberg">bjoern</who>
    <bug_when>2010-09-19 13:14:53 +0000</bug_when>
    <thetext>Can you reproduce this? I cannot in 4.4.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1021679</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2010-09-20 08:54:19 +0000</bug_when>
    <thetext>Yes, I can reproduce it still, using KDE 4.5.1 now.
I do not need to start krunner, though. Just RMB and select &quot;Expand Group&quot; -&gt; 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&lt;Plasma::Constraint&gt;) () 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&lt;Plasma::Constraint&gt;) () from /usr/lib/kde4/plasma_applet_tasks.so
#17 0xab5ed7ef in Tasks::constraintsEvent(QFlags&lt;Plasma::Constraint&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#34 0xb6ef7319 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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 ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022555</commentid>
    <comment_count>3</comment_count>
    <who name="Björn Ruberg">bjoern</who>
    <bug_when>2010-09-22 00:48:16 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022559</commentid>
    <comment_count>4</comment_count>
    <who name="Aaron J. Seigo">aseigo</who>
    <bug_when>2010-09-22 01:00:12 +0000</bug_when>
    <thetext>what settings do you have for the tasks widget? e.g. &quot;only show windows on this desktop&quot;, etc...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022615</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2010-09-22 07:37:36 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>