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

QWaylandShmBackingStore::resize segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.9.2
    • QPA: Wayland
    • None
    • Arch Linux x86_64

    Description

      I cannot start Choqok on Wayland because it segfaults with:

      #0  0x00007ffff21e77a0 in QImage::constBits() const () at image/qimage.cpp:1622
       #1  0x00007fffe4573728 in QtWaylandClient::QWaylandShmBackingStore::resize (this=this@entry=0x555555c6d360, size=...) at /tmp/makepkg/qt5-wayland-debug/src/qtwayland-opensource-src-5.9.2/src/client/qwaylandshmbackingstore.cpp:280
       #2  0x00007fffe4573811 in QtWaylandClient::QWaylandShmBackingStore::ensureSize (this=this@entry=0x555555c6d360)
           at /tmp/makepkg/qt5-wayland-debug/src/qtwayland-opensource-src-5.9.2/src/client/qwaylandshmbackingstore.cpp:200
       #3  0x00007fffe457384a in QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=this@entry=0x555555c6d360, region=...)
           at /tmp/makepkg/qt5-wayland-debug/src/qtwayland-opensource-src-5.9.2/src/client/qwaylandshmbackingstore.cpp:177
       #4  0x00007ffff234b39c in QBackingStore::beginPaint 
      (this=this@entry=0x555555cb3660, region=...) at 
      painting/qbackingstore.cpp:176
       #5  0x00007ffff29787db in 
      QWidgetBackingStore::beginPaint (toCleanIsInTopLevelCoordinates=true, 
      returnInfo=<synthetic pointer>, backingStore=0x555555cb3660, 
           widget=<optimized out>, toClean=..., this=0x555555cfe180) at kernel/qwidgetbackingstore.cpp:331
       #6  QWidgetBackingStore::doSync (this=this@entry=0x555555cfe180) at kernel/qwidgetbackingstore.cpp:1341
       #7  0x00007ffff29791f4 in QWidgetBackingStore::sync 
      (this=0x555555cfe180, exposedWidget=0x5555557a6560, exposedRegion=...) 
      at kernel/qwidgetbackingstore.cpp:1136
       #8  0x00007ffff2990862 in 
      QWidgetPrivate::syncBackingStore (this=this@entry=0x555555ae26b0, 
      region=...) at kernel/qwidget.cpp:1988
       #9  0x00007ffff29c5a8a in 
      QWidgetWindow::handleExposeEvent (this=this@entry=0x555555c141d0, 
      event=event@entry=0x7fffffffb5c0) at kernel/qwidgetwindow.cpp:926
       #10 0x00007ffff29c63ef in QWidgetWindow::event (this=0x555555c141d0, event=0x7fffffffb5c0) at kernel/qwidgetwindow.cpp:288
       #11 0x00007ffff2968fcc in QApplicationPrivate::notify_helper 
      (this=this@entry=0x5555557df540, receiver=receiver@entry=0x555555c141d0,
       e=e@entry=0x7fffffffb5c0)
           at kernel/qapplication.cpp:3722
       #12 0x00007ffff2970aa6 in QApplication::notify (this=0x7fffffffbd80, 
      receiver=0x555555c141d0, e=0x7fffffffb5c0) at 
      kernel/qapplication.cpp:3481
       #13 0x00007ffff17550d0 in 
      QCoreApplication::notifyInternal2 
      (receiver=receiver@entry=0x555555c141d0, 
      event=event@entry=0x7fffffffb5c0)
           at kernel/qcoreapplication.cpp:1018
       #14 0x00007ffff21a6353 in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffb5c0, receiver=0x555555c141d0)
           at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
       #15 QGuiApplicationPrivate::processExposeEvent (e=0x55555a1bd8c0) at kernel/qguiapplication.cpp:2861
       #16 0x00007ffff21a6fce in 
      QGuiApplicationPrivate::processWindowSystemEvent 
      (e=e@entry=0x55555a1bd8c0) at kernel/qguiapplication.cpp:1795
       #17 
      0x00007ffff217e4ac in QWindowSystemInterface::sendWindowSystemEvents 
      (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:939
       #18
       0x00007ffff217e7d9 in QWindowSystemInterface::flushWindowSystemEvents 
      (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:908
       #19 0x00007fffe457b2b0 in QtWaylandClient::QWaylandWindow::requestResize (this=0x555555cb3530)
           at /tmp/makepkg/qt5-wayland-debug/src/qtwayland-opensource-src-5.9.2/src/client/qwaylandwindow.cpp:498
       #20 0x00007ffff17856d2 in QObject::event (this=0x555555cb3530, e=<optimized out>) at kernel/qobject.cpp:1246
       #21 0x00007ffff2968fcc in QApplicationPrivate::notify_helper 
      (this=this@entry=0x5555557df540, receiver=receiver@entry=0x555555cb3530,
       e=e@entry=0x5555573612d0)
           at kernel/qapplication.cpp:3722
       #22 0x00007ffff2970aa6 in QApplication::notify (this=0x7fffffffbd80, 
      receiver=0x555555cb3530, e=0x5555573612d0) at 
      kernel/qapplication.cpp:3481
       #23 0x00007ffff17550d0 in 
      QCoreApplication::notifyInternal2 (receiver=0x555555cb3530, 
      event=event@entry=0x5555573612d0) at kernel/qcoreapplication.cpp:1018
       #24 0x00007ffff1757926 in QCoreApplication::sendEvent (event=0x5555573612d0, receiver=<optimized out>)
           at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
       #25 QCoreApplicationPrivate::sendPostedEvents 
      (receiver=receiver@entry=0x0, event_type=event_type@entry=0, 
      data=0x5555557943e0) at kernel/qcoreapplication.cpp:1678
       #26 
      0x00007ffff1757eba in QCoreApplication::sendPostedEvents 
      (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at 
      kernel/qcoreapplication.cpp:1532
       #27 0x00007ffff17b0754 in postEventSourceDispatch (s=0x555555b13080) at kernel/qeventdispatcher_glib.cpp:276
       #28 0x00007fffe8fb4270 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
       #29 0x00007fffe8fb5f69 in ?? () from /usr/lib/libglib-2.0.so.0
       #30 0x00007fffe8fb5fae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
       #31 0x00007ffff17afd41 in QEventDispatcherGlib::processEvents 
      (this=0x555555b072d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
       #32 0x00007ffff17534fb in QEventLoop::exec 
      (this=this@entry=0x7fffffffbc80, flags=..., flags@entry=...) at 
      kernel/qeventloop.cpp:212
       #33 0x00007ffff175c548 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            bash Andrea Scarpino
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes