Bug 398229 - Popups freezes plasma
Summary: Popups freezes plasma
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.13.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-04 09:20 UTC by Allan Sandfeld
Modified: 2018-09-05 15:01 UTC (History)
1 user (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 Allan Sandfeld 2018-09-04 09:20:43 UTC
Since upgrading to 5.13.x plasma, the plasmashell regularly freezes when one its popups are open. Both the application menu and task-manager overviews of similar windows can trigger this, but I find the most predictable way to reproduce it is if you have a lot of kwrite windows open and click on the kwrite icon in the task bar, and then move the mouse up and down the list of open windows.

The problem goes away by killing plasmashell and relaunching it.
Comment 1 Eike Hein 2018-09-04 09:33:18 UTC
This is the first report of this so far and unfortunately I don't know what to do about it with the information available so far. I suggest adding some more system information - the output of KWin's support information DBus call, distro and hardware details, etc.
Comment 2 Allan Sandfeld 2018-09-04 16:07:17 UTC
It is Debian testing, and I updated everything as the first issue I had was the systray missing and crashing after only a few things was accidently updated, but after updating everything this freezing started.

I didnt see anything interesting in the console output, but the next step will be to attach gdb and see if I can recognize which thread is stuck and how.
Comment 3 Allan Sandfeld 2018-09-04 16:08:16 UTC
Also, restarting kwin does nothing. It was the first thing I tried as it used to have similar issues. Only restarting plasmashell did anything.
Comment 4 Allan Sandfeld 2018-09-05 10:39:20 UTC
Seems to be some interaction between Intel drivers, QML and whatever it is plasma does that triggers it.

#0  0x00007ffff5649227 in __libc_recvmsg (fd=3, msg=0x7fffffffc920, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:28
#1  0x00007ffff790fe08 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff790dfb5 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ffff790f9fa in xcb_wait_for_special_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007ffff370a3fb in dri3_wait_for_event_locked () at /usr/local/lib/libGL.so.1
#5  0x00007ffff370a558 in dri3_find_back () at /usr/local/lib/libGL.so.1
#6  0x00007ffff370ae36 in dri3_get_buffer.isra () at /usr/local/lib/libGL.so.1
#7  0x00007ffff370ba50 in loader_dri3_get_buffers () at /usr/local/lib/libGL.so.1
#8  0x00007fff5ac3d7f5 in intel_update_renderbuffers () at /usr/local/lib/dri/i965_dri.so
#9  0x00007fff5ac3dbd1 in intel_prepare_render () at /usr/local/lib/dri/i965_dri.so
#10 0x00007fff5ac3967c in brw_clear () at /usr/local/lib/dri/i965_dri.so
#11 0x00007ffff74ff6a2 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007ffff7504f02 in QSGBatchRenderer::Renderer::render() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007ffff74f552c in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007ffff74f59eb in QSGRenderer::renderScene(unsigned int) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007ffff752f370 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007ffff7591310 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007ffff752189e in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007ffff759c8e6 in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007ffff7f55a33 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#20 0x00007ffff65334a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff653aae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff5afb579 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff5ea68c1 in QWindowPrivate::deliverUpdateRequest() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff5ea6df9 in QWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007ffff759c83b in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#26 0x00007ffff7f55a33 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#27 0x00007ffff65334a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff653aae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff5afb579 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff5b4c638 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff5b4ce94 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff2410287 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff24104c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff241054c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff5b4d223 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fffec37ce51 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007ffff5afa24b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007ffff5b023c2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x000055555557432b in  ()
#40 0x00007ffff5572b17 in __libc_start_main (main=
    0x555555573820, argc=1, argv=0x7fffffffdf18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf08) at ../csu/libc-start.c:310
#41 0x000055555557477a in _start ()
Comment 5 Allan Sandfeld 2018-09-05 10:42:21 UTC
Ah nevermind. I had some old libGL driver in /usr/local, seems to have been working for a long time, but removing it now fixes the issue.
Comment 6 Eike Hein 2018-09-05 15:01:34 UTC
No worries, thanks for bringing the ticket to a conclusion!