Bug 358076 - Crash after try of getting context menu from one of system tray application by RMB
Summary: Crash after try of getting context menu from one of system tray application b...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.5.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 13:17 UTC by Piotr Mierzwinski
Modified: 2016-03-09 12:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2016-01-16 13:17:45 UTC
I have at right screen edge the entire panel/bar (default placed on bottom). Bar is a bit wider to fit two columns of icons placed in System tray. I have 8 icons placed in System tray (no one app.  has deprecated notification system).
Plasmashell crashed when I hide one icon (I tested one placed in right bottom corner of System Tray) and try to get context menu clicking on icon from second row (counting from bottom) and later from third row. Here I clicked on "BlueTooth" icon and crash happens. Sometime is happens when I click in icon from second row and sometime after clicking on third row).

I reproduced it on Mageia 6 (second row in System task) and in KaOS. All of them were up-to-date on day 16/01/2016.

Unfortunately stack trace is useless, like said "Crash Reporting Assistant" I  have already installed debug packages related to plasmashell.

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

Thread 9 (Thread 0x7fc49ce65700 (LWP 644)):
#0  0x00007fc4ac5da5dd in poll () from /lib/libc.so.6
#1  0x00007fc4b06b5ac2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fc4b06b769f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fc49e185679 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7fc49639c700 (LWP 656)):
#0  0x00007fc4ac5da5dd in poll () from /lib/libc.so.6
#1  0x00007fc4a819e2a4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4af5361f5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7fc48ae2f700 (LWP 668)):
#0  0x00007fc4ac5da5dd in poll () from /lib/libc.so.6
#1  0x00007fc4a819e2a4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4af5361f5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7fc48937c700 (LWP 676)):
#0  0x00007fc4ac5da5dd in poll () from /lib/libc.so.6
#1  0x00007fc4a819e2a4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4af5361f5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7fc4839c3700 (LWP 690)):
#0  0x00007fc4abde70cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4b1958294 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007fc4b19582d9 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7fc4812e3700 (LWP 714)):
#0  0x00007fc4a819d748 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007fc4a819e1d0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc481709935 in ?? () from /usr/lib/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#7  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fc3f7fff700 (LWP 715)):
#0  0x00007fc4ac5da5dd in poll () from /lib/libc.so.6
#1  0x00007fc4a819e2a4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#8  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fc3f6f0c700 (LWP 729)):
#0  0x00007fc4a81e0c44 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fc4a819e1c3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4a819e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4ace859cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fc4ace2d022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fc4acc4b85c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4afef4392 in ?? () from /usr/lib/libQt5Quick.so.5
#7  0x00007fc4acc5072f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fc4abde14b4 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4ac5e358d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fc4b1f0e840 (LWP 639)):
[KCrash Handler]
#5  0x00007fc4ace37237 in QMetaObject::cast(QObject*) const () from /usr/lib/libQt5Core.so.5
#6  0x00007fc4af4f2f3f in QQmlPropertyCache::resolve(QQmlPropertyData*) const () from /usr/lib/libQt5Qml.so.5
#7  0x00007fc4af4f2f94 in QQmlPropertyCache::ensureResolved(QQmlPropertyData*) const () from /usr/lib/libQt5Qml.so.5
#8  0x00007fc4af4f32a4 in QQmlPropertyCache::findProperty(QStringHash<QPair<int, QQmlPropertyData*> >::ConstIterator, QQmlVMEMetaObject const*, QQmlContextData*) const () from /usr/lib/libQt5Qml.so.5
#9  0x00007fc4af46ea2a in QV4::QObjectWrapper::findProperty(QV4::ExecutionEngine*, QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QQmlPropertyData*) const () from /usr/lib/libQt5Qml.so.5
#10 0x00007fc4af4720ef in QV4::QObjectWrapper::getQmlProperty(QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, bool) () from /usr/lib/libQt5Qml.so.5
#11 0x00007fc4af4879e6 in QV4::Runtime::getProperty(QV4::ExecutionEngine*, QV4::Value const&, int) () from /usr/lib/libQt5Qml.so.5
#12 0x00007fc3ef2e4117 in ?? ()
#13 0x0000000005d0ec40 in ?? ()
#14 0x0000000001f3a830 in ?? ()
#15 0x0000000000000000 in ?? ()


Reproducible: Always

Steps to Reproduce:
1. Hide icon from System task (arranged in two columns/rows)
2. Click RMB on one of other icon
3.

Actual Results:  
Crash

Expected Results:  
showing context menu

Application: plasmashell (5.5.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-1-next x86_64
Distribution: "KaOS" (up-tp-date on day 16/01/2016)

As I mentioned above I also reproduced it in Mageia 6 (up-to-date on day 16/01/2016))
Comment 1 Marco Martin 2016-03-09 12:05:36 UTC
Systemtray implementation is changed, this should be one of the problems fixed.