[Bug 107058] [Wayland] plasmashell gets SIGSEGV after clicking on Application Menu for second time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 27 21:59:11 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107058

            Bug ID: 107058
           Summary: [Wayland] plasmashell gets SIGSEGV after clicking on
                    Application Menu for second time
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: magiblot at hotmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Hi,

I submitted the following bug report to the developers of KDE Plasma:

https://bugs.kde.org/show_bug.cgi?id=395753

However, we got to the conclusion that this is a Mesa bug instead. Thus, I will
just summarize what I wrote there.

First of all, my hardware is an Intel i3-3110M CPU, which comes with a Intel HD
Graphics 4000 GPU.

The versions of some of the software I have suffered this crash with are:

* Arch Linux x86_64
* Plasma 5.13.0, 5.13.1 or 5.13.2
* Qt 5.11.1
* Mesa 18.1.1 or git-103087.ab2643e4b0 (from the unnoficial mesa-git
repository: https://pkgbuild.com/~lcarlier/mesa-git/)

The steps I followed are these:

0. Start a Plasma 5 Wayland session (if you are in tty, run
"startplasmacompositor"). There is no such crash in the usual X session.
1. Click with the mouse on the Application Manager icon, so that the
Application Manager appears.
2. Click again, so that it hids.
3. Click again, in an attempt to make it appear again.

However, the screen and keyboard freeze instead. The only way to get full
control over the computer again, other than rebooting, is unrawing the keyboard
(Alt+SysRq+R), changing to another tty and killing kwin_wayland, because "The
X11 connection broke" (according to the messages in stderr).

It has to be noted that the Application Manager is not the only applet from the
panel that suffers from this crash.

So here's a backtrace of the process that gets SIGSEGV, using Plasma 5.13.2 and
mesa-git-103087.ab2643e4b0

> #0  0x00007fffd25a4476 in intel_miptree_level_has_hiz (mt=0x0, level=0) at intel_mipmap_tree.c:1953
> #1  0x00007fffd25a2890 in intel_renderbuffer_has_hiz (irb=irb at entry=0x555558744d90) at intel_fbo.c:930
> #2  0x00007fffd2577845 in brw_fast_clear_depth (ctx=0x5555561a7660) at brw_clear.c:114
> #3  0x00007fffd2577845 in brw_clear (ctx=0x5555561a7660, mask=50) at brw_clear.c:258
> #4  0x00007ffff575e82d in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
> #5  0x00007ffff5764103 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
> #6  0x00007ffff57544ee in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
> #7  0x00007ffff57549bc in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
> #8  0x00007ffff578f030 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
> #9  0x00007ffff57f2db5 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
> #10 0x00007ffff5781275 in  () at /usr/lib/libQt5Quick.so.5
> #11 0x00007ffff57820a5 in  () at /usr/lib/libQt5Quick.so.5
> #12 0x00007ffff1f0f935 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
> #13 0x00007ffff57fe65c in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
> #14 0x00007ffff799b4a4 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
> #15 0x00007ffff2fa6a74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #16 0x00007ffff2fae341 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #17 0x00007ffff195ccb9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
> #18 0x00007ffff1f04146 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
> #19 0x00007ffff1f04e7e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
> #20 0x00007ffff1edeb7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
> #21 0x00007fffe36ed72d in  () at /usr/lib/libQt5XcbQpa.so.5
> #22 0x00007ffff195b94c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
> #23 0x00007ffff1963c46 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
> #24 0x000055555557064e in  ()
> #25 0x00007ffff0fc906b in __libc_start_main () at /usr/lib/libc.so.6
> #26 0x0000555555570aca in _start ()

This is another backtrace using Plasma 5.13.1 and Mesa 18.1.1, but without
debug symbols:

> #0  0x00007fffd2541626 in  () at /usr/lib/dri/i965_dri.so
> #1  0x00007fffd2515751 in  () at /usr/lib/dri/i965_dri.so
> #2  0x00007ffff575e82d in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
> #3  0x00007ffff5764103 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
> #4  0x00007ffff57544ee in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
> #5  0x00007ffff57549bc in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
> #6  0x00007ffff578f030 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
> #7  0x00007ffff57f2db5 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
> #8  0x00007ffff5781275 in  () at /usr/lib/libQt5Quick.so.5
> #9  0x00007ffff57820a5 in  () at /usr/lib/libQt5Quick.so.5
> #10 0x00007ffff1f0f935 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
> #11 0x00007ffff57fe65c in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
> #12 0x00007ffff799b4a4 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
> #13 0x00007ffff2fa6a74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #14 0x00007ffff2fae341 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #15 0x00007ffff195ccb9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
> #16 0x00007ffff1f04146 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
> #17 0x00007ffff1f04e7e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
> #18 0x00007ffff1edeb7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
> #19 0x00007fffe36ed72d in  () at /usr/lib/libQt5XcbQpa.so.5
> #20 0x00007ffff195b94c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
> #21 0x00007ffff1963c46 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
> #22 0x000055555557064e in  ()
> #23 0x00007ffff0fc906b in __libc_start_main () at /usr/lib/libc.so.6
> #24 0x0000555555570aca in _start ()

Please do not hesitate to ask me for any other information you need. This is my
first time submitting a Mesa bug and I might not be foreseeing all the
necessary information.

Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180627/6b91a53c/attachment-0001.html>


More information about the intel-3d-bugs mailing list