Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68325

Wayland client crash in VM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.11.0 RC2
    • QPA: Wayland
    • None
    • VMware, Ubuntu 16.04

    Description

      For setup see here: https://bugreports.qt.io/browse/QTBUG-68324

      Run a wayland compositor (e.g. qwindow-compositor example) and a client:

      QSG_RENDER_LOOP=basic qmlscene windows.qml -platform wayland
      

      Using the basic render loop will lead to a crash of the client app:

      Thread 1 "qmlscene" received signal SIGSEGV, Segmentation fault.
      __memcpy_avx_unaligned ()
          at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:273
      273    ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory.
      (gdb) bt
      #0  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:273
      #1  0x00007ffff0e884f6 in ?? () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
      #2  0x00007ffff0e88700 in ?? () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
      #3  0x00007fffe9291ab6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
      #4  0x00007fffe929225e in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
      #5  0x00007ffff0e86186 in ?? () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
      #6  0x00007ffff0e79cf2 in eglSwapBuffers () from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
      #7  0x00007ffff7fe5b2d in QtWaylandClient::QWaylandGLContext::swapBuffers (this=0x6cf350, surface=<optimized out>)
          at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:560
      #8  0x00007ffff6d82763 in QOpenGLContext::swapBuffers (this=0x6c9600, surface=<optimized out>) at kernel/qopenglcontext.cpp:1115
      #9  0x00007ffff7aa0a8c in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x6b7fa0, window=0x6b8f70)
          at scenegraph/qsgrenderloop.cpp:447
      #10 0x00007ffff7aa12c0 in QSGGuiThreadRenderLoop::exposureChanged (this=0x6b7fa0, window=0x6b8f70) at scenegraph/qsgrenderloop.cpp:479
      #11 0x00007ffff7b1a56a in QQuickWindow::exposeEvent (this=<optimized out>) at items/qquickwindow.cpp:226
      #12 0x00007ffff6d4eebe in QWindow::event (this=this@entry=0x6b8f70, ev=ev@entry=0x7fffffffd8a0) at kernel/qwindow.cpp:2302
      #13 0x00007ffff7b2b51e in QQuickWindow::event (this=0x6b8f70, e=0x7fffffffd8a0) at items/qquickwindow.cpp:1634
      #14 0x00007ffff7346858 in QApplicationPrivate::notify_helper (this=this@entry=0x4291b0, receiver=receiver@entry=0x6b8f70,
          e=e@entry=0x7fffffffd8a0) at kernel/qapplication.cpp:3713
      #15 0x00007ffff734e242 in QApplication::notify (this=0x429190, receiver=0x6b8f70, e=0x7fffffffd8a0) at kernel/qapplication.cpp:3085
      #16 0x00007ffff63ef644 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x6b8f70, event=event@entry=0x7fffffffd8a0)
          at kernel/qcoreapplication.cpp:1048
      #17 0x00007ffff6d43140 in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffd8a0, receiver=0x6b8f70)
          at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
      #18 QGuiApplicationPrivate::processExposeEvent (e=<optimized out>) at kernel/qguiapplication.cpp:3034
      #19 0x00007ffff6d43d14 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x6caa70) at kernel/qguiapplication.cpp:1870
      #20 0x00007ffff6d18d52 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1028
      #21 0x00007ffff7f67f51 in QPAEventDispatcherGlib::processEvents (this=0x442a00, flags=...) at qeventdispatcher_glib.cpp:70
      #22 0x00007ffff63ed57b in QEventLoop::processEvents (this=this@entry=0x7fffffffda50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:136
      #23 0x00007ffff63ed9f4 in QEventLoop::exec (this=this@entry=0x7fffffffda50, flags=flags@entry=...) at kernel/qeventloop.cpp:214
      #24 0x00007ffff63f762a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
      #25 0x00007ffff6d38bfa in QGuiApplication::exec () at kernel/qguiapplication.cpp:1750
      #26 0x0000000000408dd5 in main (argc=2, argv=<optimized out>) at main.cpp:677
      

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              bweimer Bernd Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes