Bug 371487

Summary: Plasma crashes when changing tray icon settings
Product: [Plasma] plasmashell Reporter: Lastique <andysem>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: notmart
Priority: NOR    
Version: 5.7.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash backtrace

Description Lastique 2016-10-22 15:50:53 UTC
Plasma shell process crashes when I change which icons in the system tray (the notification area) are shown or hidden.

Reproducible: Always

Steps to Reproduce:
1. Right click on the system tray, pick System Tray Settings.
2. Go to the Entries page.
3. Select an entry and change its visibility (e.g. from Auto to Shown).
4. Select another entry and try changing its visibility.

Actual Results:  
The second time the drop-down list becomes white, the text in the list is not visible. When I click outside the list to close it, plasma crashes.

Expected Results:  
Visibility selection should work, plasma should not crash.

Kubuntu 16.10, x86_64. Intel Haswell GPU drivers.
Comment 1 Lastique 2016-10-22 15:51:33 UTC
Created attachment 101702 [details]
Crash backtrace
Comment 2 Marco Martin 2016-10-26 13:49:56 UTC
Thread 1 (Thread 0x7f5fc5bd1e00 (LWP 2426)):
[KCrash Handler]
#6  0x00007f5fa0f68e64 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#7  0x00007f5fa0f65e4b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#8  0x00007f5fa0f6ad31 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#9  0x00007f5fa0f6b8c0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#10 0x00007f5fa0f6bb2d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#11 0x00007f5fc10adf65 in QWindow::event (this=this@entry=0x56362d6fbbe0, ev=ev@entry=0x7ffc64a2faf0) at kernel/qwindow.cpp:2096
#12 0x00007f5fc3ea1a13 in QQuickWindow::event (this=0x56362d6fbbe0, e=0x7ffc64a2faf0) at items/qquickwindow.cpp:1473
#13 0x00007f5fa0f6bf81 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#14 0x00007f5fc168a8ac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56362d6fbbe0, e=0x7ffc64a2faf0) at kernel/qapplication.cpp:3804
#15 0x00007f5fc168fd4f in QApplication::notify (this=0x7ffc64a30000, receiver=0x56362d6fbbe0, e=0x7ffc64a2faf0) at kernel/qapplication.cpp:3561
#16 0x00007f5fc0d4f3b0 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56362d6fbbe0, event=event@entry=0x7ffc64a2faf0) at kernel/qcoreapplication.cpp:1015
#17 0x00007f5fc10a25f3 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc64a2faf0, receiver=0x56362d6fbbe0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#18 QGuiApplicationPrivate::processMouseEvent (e=0x56362dd6e9f0) at kernel/qguiapplication.cpp:1872
#19 0x00007f5fc10a3e05 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x56362dd6e9f0) at kernel/qguiapplication.cpp:1656
#20 0x00007f5fc1081b2b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:648
#21 0x00007f5fb257f660 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#22 0x00007f5fbd1b77d7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f5fbd1b7a40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f5fbd1b7aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5fc0da548f in QEventDispatcherGlib::processEvents (this=0x563629049950, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#26 0x00007f5fc0d4d0fa in QEventLoop::exec (this=this@entry=0x7ffc64a2fe90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007f5fc0d5590c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#28 0x0000563627432f1f in ?? ()
#29 0x00007f5fc039b3f1 in __libc_start_main (main=0x5636274323b0, argc=2, argv=0x7ffc64a301a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc64a30198) at ../csu/libc-start.c:291
#30 0x000056362743329a in _start ()
Comment 3 Marco Martin 2016-10-26 13:51:05 UTC
can this be reproduced with debug symbols installed for the qtquickcontrols package?
Comment 4 Lastique 2016-10-26 14:46:39 UTC
I saved the backtrace with all available debug packages installed; no debug packages for qtquickcontrols were found.
Comment 5 Lastique 2016-10-29 09:35:48 UTC
I can add that the crash doesn't happen on my other machine with Nvidia proprietary drivers.
Comment 6 Lastique 2016-11-09 20:08:26 UTC
After a recent system update the problem has disappeared. I can no longer reproduce the crash, at least it didn't happen in a dozen attempts while it was happening 100% of times previously. I guess, something fixed.