Bug 325383 - crash when grouping/ungrouping a program
Summary: crash when grouping/ungrouping a program
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: 4.11.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 324844 325733 327576 327686 327737 329895 333651 336165 336573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-28 09:24 UTC by Marc Cousin
Modified: 2015-02-06 15:47 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3


Attachments
New crash information added by DrKonqi (10.23 KB, text/plain)
2013-10-30 04:00 UTC, Katana
Details
New crash information added by DrKonqi (15.69 KB, text/plain)
2015-02-06 15:47 UTC, Andres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Cousin 2013-09-28 09:24:31 UTC
When clicking 'do not allow this program to be grouped' or 'allow this program to be grouped', plasma crashes. In the error log I have:

QGraphicsItem::ungrabMouse: not a mouse grabber
QGraphicsItem::ungrabMouse: cannot ungrab mouse without scene
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Application 'plasma-desktop' crashing...

A backtrace of the crashed process (sorry, I don't have debug symbols right now, I can add it if necessary, but I'd rather not have to recompile kde):


#0  0x00007f486531874b in raise () from /usr/lib/libpthread.so.0
No symbol table info available.
#1  0x00007f48664aee76 in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdeui.so.5
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x00007f4864dc3b67 in QGraphicsItem::ungrabMouse() () from /usr/lib/libQtGui.so.4
No symbol table info available.
#4  0x00007f4864df0bdf in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#5  0x00007f4864df3cfd in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#6  0x00007f4864dfca26 in QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#7  0x00007f4864e0895c in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#8  0x00007f486482812c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#9  0x00007f486482e6f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#10 0x00007f486645272a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
No symbol table info available.
#11 0x00007f48656a1ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0x00007f4864e1dbdc in QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#13 0x00007f4864e1eaea in QGraphicsView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#14 0x00007f48648777a5 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#15 0x00007f4864c148ee in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#16 0x00007f4864e20139 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#17 0x00007f48656a2026 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#18 0x00007f486482810c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#19 0x00007f486482e82d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#20 0x00007f486645272a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
No symbol table info available.
#21 0x00007f48656a1ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#22 0x00007f486482dfe3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#23 0x00007f486489fbfb in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#24 0x00007f486489e66c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#25 0x00007f48648c51b2 in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#26 0x00007f48611aad96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0x00007f48611ab0e8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00007f48611ab18c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00007f48656ceb25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#30 0x00007f48648c5266 in ?? () from /usr/lib/libQtGui.so.4


Reproducible: Always

Steps to Reproduce:
1. Right click allow/do not allow this program to be grouped
2. See the desktop restart
Comment 1 Bhushan Shah 2013-09-28 12:03:11 UTC
It happens with KDE/4.11 branch also. Not testing with master since it is in QML2.
Comment 2 Eike Hein 2013-09-29 07:29:02 UTC
Git commit 99fa37f25cbb58dafc052185f56ffe9173254842 by Eike Hein.
Committed on 29/09/2013 at 07:27.
Pushed by hein into branch 'KDE/4.11'.

Avoid ungrab on already-destroyed delegate by queueing signal.

M  +1    -1    libs/taskmanager/strategies/programgroupingstrategy.cpp

http://commits.kde.org/kde-workspace/99fa37f25cbb58dafc052185f56ffe9173254842
Comment 3 Christoph Feck 2013-10-29 22:26:56 UTC
*** Bug 324844 has been marked as a duplicate of this bug. ***
Comment 4 Katana 2013-10-30 04:00:23 UTC
Created attachment 83218 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:
click ungrouping application and plasma crashed

-- Backtrace (Reduced):
#6  QGraphicsItem::ungrabMouse (this=0x5439fe0) at graphicsview/qgraphicsitem.cpp:3522
#7  0x00007ff8e1fa58af in QGraphicsScenePrivate::clearMouseGrabber (this=this@entry=0x1945640) at graphicsview/qgraphicsscene.cpp:1004
#8  0x00007ff8e1fa89cd in QGraphicsScenePrivate::sendMouseEvent (this=0x1945640, mouseEvent=0x7fff91f83740) at graphicsview/qgraphicsscene.cpp:1279
#9  0x00007ff8e1fb16f6 in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff91f83740) at graphicsview/qgraphicsscene.cpp:4102
#10 0x00007ff8e1fbd62c in QGraphicsScene::event (this=0x18172f0, event=0x7fff91f83740) at graphicsview/qgraphicsscene.cpp:3451
Comment 5 Jekyll Wu 2013-11-14 01:11:12 UTC
*** Bug 327576 has been marked as a duplicate of this bug. ***
Comment 6 Stefano 2013-11-14 18:14:02 UTC
in which way this has been resolved? I still have this issue...
Comment 7 Eike Hein 2013-11-14 18:21:06 UTC
Stefano: On 4.11.3?
Comment 8 Jekyll Wu 2013-11-16 14:51:56 UTC
*** Bug 327686 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2013-11-18 00:06:54 UTC
*** Bug 327737 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2013-11-22 00:17:54 UTC
*** Bug 325733 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2014-01-13 00:49:22 UTC
*** Bug 329895 has been marked as a duplicate of this bug. ***
Comment 12 Jekyll Wu 2014-04-23 00:55:03 UTC
*** Bug 333651 has been marked as a duplicate of this bug. ***
Comment 13 Jekyll Wu 2014-06-14 00:13:57 UTC
*** Bug 336165 has been marked as a duplicate of this bug. ***
Comment 14 Jekyll Wu 2014-06-23 01:38:05 UTC
*** Bug 336573 has been marked as a duplicate of this bug. ***
Comment 15 Andres 2015-02-06 15:47:27 UTC
Created attachment 90946 [details]
New crash information added by DrKonqi

plasma-desktop (4.12.2) on KDE Platform 4.14.2 using Qt 4.8.1

- What I was doing when the application crashed: I was corking on internet in Google Chrome when plasma desktop Crashed

- Unusual behavior I noticed: I have Elemntary OS luna with a KDE Desktop, always crashed the desktop when I enter in session

- Custom settings of the application:

-- Backtrace (Reduced):
#7  0xb5b18196 in QGraphicsItem::ungrabMouse (this=0xa2895f8) at graphicsview/qgraphicsitem.cpp:3521
#8  0xb5b4a169 in QGraphicsScenePrivate::clearMouseGrabber (this=0x8cd4008) at graphicsview/qgraphicsscene.cpp:1004
#9  0xb5b4ee29 in QGraphicsScenePrivate::sendMouseEvent (this=0x8cd4008, mouseEvent=0xbfa6ee94) at graphicsview/qgraphicsscene.cpp:1279
#10 0xb5b4fb63 in QGraphicsScene::mouseMoveEvent (this=0x8d68420, mouseEvent=0xbfa6ee94) at graphicsview/qgraphicsscene.cpp:4102
#11 0xb5b5e427 in QGraphicsScene::event (this=0x8d68420, event=0xbfa6ee94) at graphicsview/qgraphicsscene.cpp:3451