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

Designer crashes at startup if Qt is built statically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1: Critical P1: Critical
    • None
    • 5.9.2, 5.10.0 Beta 1
    • QPA: X11/XCB
    • Ubuntu 16.04 (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5))

      1. Download 5.10.0 (or 5.9.2) sources and configure with:

      ./configure -confirm-license -nomake tests -nomake examples -qt-libjpeg -qt-libpng -qt-xcb -qt-pcre -openssl -confirm-license -verbose -release -no-use-gold-linker -skip qtwebengine -skip qtwebsockets -skip qtwebchannel -skip qtwebview -commercial -static -prefix /home/user/qt_src/qt-5.10.0-static/qtbase

      Note! Use '-nomake examples'. See: https://bugreports.qt.io/browse/QTBUG-63691

      2. Build and try running 'designer'.

      Expected result:

      Designer launches without errors.

      Actual result:

      Designer seg faults with:

      Thread 1 "designer" received signal SIGSEGV, Segmentation fault.
      0x00007ffff7732c90 in ?? () from /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
      (gdb) bt
      #0  0x00007ffff7732c90 in ?? () from /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
      #1  0x00007ffff7733514 in xkb_state_update_mask () from /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
      #2  0x00000000004f7e17 in xkb_x11_state_new_from_device ()
      #3  0x00000000004b1a17 in QXcbKeyboard::updateKeymap() ()
      #4  0x00000000004b1d31 in QXcbKeyboard::QXcbKeyboard(QXcbConnection*) ()
      #5  0x00000000004a9d24 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) ()
      #6  0x00000000004af819 in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) ()
      #7  0x000000000049f84d in QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) ()
      #8  0x000000000108df6b in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) ()
      #9  0x0000000000dbd086 in QGuiApplicationPrivate::createPlatformIntegration() ()
      #10 0x0000000000dbdb65 in QGuiApplicationPrivate::createEventDispatcher() ()
      #11 0x000000000144aab8 in QCoreApplicationPrivate::init() ()
      #12 0x0000000000dbf8ff in QGuiApplicationPrivate::init() ()
      #13 0x0000000000a3fbd9 in QApplicationPrivate::init() ()
      #14 0x0000000000438cb3 in QDesigner::QDesigner(int&, char**) ()
      #15 0x00000000004257cc in main ()
      

      The other tools: assistant and linguist launch without errors.

      Also qtbase/examples/widgets/widgets/sliders/sliders fails with the same gdb backtrace (both in Qt 5.10.0 and Qt 5.9.2).

        1. build_log.txt.zip
          569 kB
        2. config.summary
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paeglis Gatis Paeglis
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes