Bug 362713 - Crash when right-clicking on a taskmanager entry that disappeared after the click
Summary: Crash when right-clicking on a taskmanager entry that disappeared after the c...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.6.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
: 363644 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-05 18:49 UTC by Raman Gupta
Modified: 2016-06-14 06:27 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasmashell kcrash output (81.70 KB, text/plain)
2016-05-05 18:50 UTC, Raman Gupta
Details
Plasmashell kcrash output (v5.6.2) (59.83 KB, text/plain)
2016-05-09 17:14 UTC, Raman Gupta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raman Gupta 2016-05-05 18:49:25 UTC
- What I was doing when the application crashed:

I had right-clicked on a taskbar entry for a Skype phone call. The Skype call had disconnected just before my right-click, and therefore the taskbar entry was about to disappear. When the taskbar entry disappeared, Plasma crashed.

Application: plasmashell (5.5.5)

Qt Version: 5.6.0
Operating System: Linux 4.4.7-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"


Reproducible: Always

Steps to Reproduce:
1. Call on Skype
2. Call the Skype Call Testing Service
3. Hangup
4. Before the Skype Phone taskmanager entry disappears, right-click on it
5. Wait for the crash
Comment 1 Raman Gupta 2016-05-05 18:50:03 UTC
Created attachment 98790 [details]
plasmashell kcrash output
Comment 2 Marco Martin 2016-05-06 09:05:10 UTC
pasting inline
Thread 1 (Thread 0x7fd2e762e940 (LWP 3119)):
[KCrash Handler]
#5  0x00007fd2fa8f7204 in QQuickItem::window() const () at /lib64/libQt5Quick.so.5
#6  0x00007fd22d42df0e in QtPrivate::QFunctorSlotObject<Backend::itemContextMenu(QQuickItem*, QObject*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /usr/lib64/qt5/qml/org/kde/plasma/private/taskmanager/libtaskmanagerplugin.so
#7  0x00007fd2f6cf4656 in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#8  0x00007fd2f6ce8e93 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#9  0x00007fd2f788dc0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fd2f7892e96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007fd2f6cbb968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007fd2f6d0fbde in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#13 0x00007fd2f6d10111 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#14 0x00007fd2f199de3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#15 0x00007fd2f199e1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#16 0x00007fd2f199e27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#17 0x00007fd2f6d10cef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#18 0x00007fd2f6cb96ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#19 0x00007fd2f6cc1ddc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#20 0x00005620a5a8e08a in main ()
Comment 3 Eike Hein 2016-05-09 05:54:58 UTC
Please check with 5.6.x.
Comment 4 Raman Gupta 2016-05-09 17:12:55 UTC
(In reply to Eike Hein from comment #3)
> Please check with 5.6.x.

Yes, I reproduced the issue with 5.6.2 (Fedora 23 stable repo).

Here is the crashed thread, I will also attach the complete crash backtrace:

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcf6c8ac940 (LWP 3120))]

Thread 1 (Thread 0x7fcf6c8ac940 (LWP 3120)):
[KCrash Handler]
#5  0x00007fcf7c48fc60 in QWindow::isTopLevel() const () at /lib64/libQt5Gui.so.5
#6  0x00007fcf7c493db5 in QWindow::setTransientParent(QWindow*) () at /lib64/libQt5Gui.so.5
#7  0x00007fceb1596033 in QtPrivate::QFunctorSlotObject<Backend::itemContextMenu(QQuickItem*, QObject*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /usr/lib64/qt5/qml/org/kde/plasma/private/taskmanager/libtaskmanagerplugin.so
#8  0x00007fcf7c176656 in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#9  0x00007fcf7c16ae93 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#10 0x00007fcf7cafbc0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007fcf7cb00e96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007fcf7c13d968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007fcf7c191bde in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#14 0x00007fcf7c192111 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#15 0x00007fcf76c1ce3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#16 0x00007fcf76c1d1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#17 0x00007fcf76c1d27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#18 0x00007fcf7c192cef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#19 0x00007fcf7c13b6ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007fcf7c143ddc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#21 0x000056473d40b216 in main ()
Comment 5 Raman Gupta 2016-05-09 17:14:37 UTC
Created attachment 98859 [details]
Plasmashell kcrash output (v5.6.2)
Comment 6 Anthony Fieroni 2016-05-28 12:09:13 UTC
Can you check this patch -> https://git.reviewboard.kde.org/r/128030/
Comment 7 Anthony Fieroni 2016-05-28 18:48:29 UTC
Git commit 62b272fc7837f92ad3b0d05d65c033ec27a175dc by Anthony Fieroni.
Committed on 28/05/2016 at 18:48.
Pushed by anthonyfieroni into branch 'Plasma/5.6'.

[taskmanager plugin] Dismiss context menu when associated window is closed

REVIEW: 128030

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +13   -6    applets/taskmanager/plugin/backend.cpp

http://commits.kde.org/plasma-desktop/62b272fc7837f92ad3b0d05d65c033ec27a175dc
Comment 8 Christoph Feck 2016-06-13 17:18:54 UTC
Anthony, does above commit resolve this bug? Can you confirm bug 363644 is a duplicate?
Comment 9 Anthony Fieroni 2016-06-14 06:25:56 UTC
*** Bug 363644 has been marked as a duplicate of this bug. ***
Comment 10 Anthony Fieroni 2016-06-14 06:27:02 UTC
Fixed in 5.6.5