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

Crash in QWidget::setAttribute(Qt::WA_NativeWindow)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.5.1
    • QPA: X11/XCB
    • None
    • Distribution: Ubuntu 16.04.1 LTS
      Operating System: Linux 4.4.0-34-generic x86_64
      KDE Frameworks Version: 5.23.0
      Qt Version: 5.5.1
      Application: kalarm (2.11.4-5ak)

    Description

      A crash occurred when QWidget::setAttribute(Qt::WA_NativeWindow, true) was called. The crash occurred in corelib/tools/qsharedpointer_impl.h, line 588. The crash trace is attached.

      #6 0x00007f202ad2826c in QWeakPointer<QObject>::data (this=0x30e4fb0) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:588
      #7 QPointer<QScreen>::data (this=0x30e4fb0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:70
      #8 QPointer<QScreen>::operator QScreen* (this=0x30e4fb0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:76
      #9 QPlatformScreen::screen (this=this@entry=0x22f2a50) at kernel/qplatformscreen.cpp:116
      #10 0x00007f20123ad7cc in QXcbWindow::create (this=0x3acf540) at qxcbwindow.cpp:426
      #11 0x00007f201239a001 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x3ac6c30) at qxcbintegration.cpp:201
      #12 0x00007f202ad425c4 in QWindowPrivate::create (this=0x3ac6c90, recursive=recursive@entry=false) at kernel/qwindow.cpp:392
      #13 0x00007f202ad427cb in QWindow::create (this=this@entry=0x3ac6c30) at kernel/qwindow.cpp:548
      #14 0x00007f202b3233c0 in QWidgetPrivate::create_sys (this=this@entry=0x243b080, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at kernel/qwidget.cpp:1454
      #15 0x00007f202b3237fb in QWidget::create (this=0x23a62c0, window=0, initializeWindow=<optimized out>, destroyOldWindow=<optimized out>) at kernel/qwidget.cpp:1318
      #16 0x00007f202b323e31 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2514
      #17 0x00007f202b321d07 in QWidget::setAttribute (this=0x25945a0, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
      #18 0x00007f202b321abe in QWidgetPrivate::enforceNativeChildren (this=0x249b060) at ../../include/QtWidgets/5.5.1/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:574
      #19 QWidget::setAttribute (this=0x27e4c50, attribute=<optimized out>, on=<optimized out>) at kernel/qwidget.cpp:11074
      

      See https://bugs.kde.org/show_bug.cgi?id=367805 for the original user's bug report.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            djarvie David Jarvie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes