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

Crash on window close

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.1
    • 5.7.1
    • QPA: Wayland
    • None

    Description

      Running QtWayland at acd10cd393abe04a8fd6fe3ab14055e09c85bc15

      When closing windows we get a crash. This happens for example when the file dialog closes.

      Thread 1 "kate" received signal SIGSEGV, Segmentation fault.
      0x00007fffe7be54ac in QtWaylandClient::QWaylandWindow::shellManagesActiveState (this=<optimized out>) at qwaylandwindow.cpp:533
      533         return mShellSurface && mShellSurface->shellManagesActiveState();
      (gdb) bt
      #0  0x00007fffe7be54ac in QtWaylandClient::QWaylandWindow::shellManagesActiveState (this=<optimized out>) at qwaylandwindow.cpp:533
      #1  0x00007fffe7be354d in QtWaylandClient::QWaylandDisplay::handleKeyboardFocusChanged (this=0x7716e0, inputDevice=<optimized out>) at qwaylanddisplay.cpp:418
      #2  0x00007fffe7bda9ce in QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_leave (this=0x7787a0, time=<optimized out>, surface=<optimized out>)
          at qwaylandinputdevice.cpp:629
      #3  0x00007fffe61fb038 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
      #4  0x00007fffe61faa9a in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
      #5  0x00007fffe6e52ece in wl_closure_invoke (closure=closure@entry=0x2466b80, flags=flags@entry=1, target=target@entry=0x7777f0, opcode=opcode@entry=2, data=0x7787b0)
          at ../src/connection.c:935
      #6  0x00007fffe6e4fb90 in dispatch_event (display=display@entry=0x771860, queue=0x771928) at ../src/wayland-client.c:1310
      #7  0x00007fffe6e50ddc in dispatch_queue (queue=0x771928, display=0x771860) at ../src/wayland-client.c:1456
      #8  wl_display_dispatch_queue_pending (display=0x771860, queue=0x771928) at ../src/wayland-client.c:1698
      #9  0x00007fffe6e50e2c in wl_display_dispatch_pending (display=<optimized out>) at ../src/wayland-client.c:1761
      #10 0x00007fffe7be2182 in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x7716e0) at qwaylanddisplay.cpp:181
      #11 0x00007ffff2d82a19 in QMetaObject::activate (sender=sender@entry=0x7f9b50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0)
          at kernel/qobject.cpp:3740
      #12 0x00007ffff2d83327 in QMetaObject::activate (sender=sender@entry=0x7f9b50, m=m@entry=0x7ffff2fa1360 <QAbstractEventDispatcher::staticMetaObject>, 
          local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
      #13 0x00007ffff2df8183 in QAbstractEventDispatcher::awake (this=this@entry=0x7f9b50) at .moc/moc_qabstracteventdispatcher.cpp:143
      #14 0x00007ffff2daa41e in QEventDispatcherGlib::processEvents (this=0x7f9b50, flags=...) at kernel/qeventdispatcher_glib.cpp:430
      #15 0x00007ffff2d571fa in QEventLoop::exec (this=this@entry=0x7fffffffc700, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
      #16 0x00007ffff2d5f2fd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
      #17 0x0000000000488146 in main ()
      
      

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            mgraesslin Martin Gräßlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes