Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15386

QtCreator QtQuick Designer crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.5.0
    • Quick Designer
    • None
    • KUbuntu 15.10 x86_64 (latest updates installed)
      NVIDIA proprietary drivers 352.63

      The issue is also reproducable in the current archlinux x86_64 version with proprietary nvidia (QtCreator 3.5.1).

    Description

      I've just created a Qt 5.4 application using the wizard (QtQuick Controls => Qt Version 5.4.

      This created the following QML-File:

      import QtQuick 2.4
      import QtQuick.Controls 1.3
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          menuBar: MenuBar {
              Menu {
                  title: qsTr("File")
                  MenuItem {
                      text: qsTr("&Open")
                      onTriggered: console.log("Open action triggered");
                  }
                  MenuItem {
                      text: qsTr("Exit")
                      onTriggered: Qt.quit();
                  }
              }
          }
      
          Label {
              text: qsTr("Hello World")
              anchors.centerIn: parent
          }
      }
      

      Now, when I switch to the QML Designer, QtCreator crashes. I installed the debug symbols für QtCreator to get a better backtrace, the following is the output of gdb:

      ~$ gdb qtcreator
      GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
      Copyright (C) 2015 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "x86_64-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from qtcreator...Reading symbols from /usr/lib/debug/.build-id/0c/4ca2d49b30f1c2c8af4e5600ff706d00a6523f.debug...done.
      done.
      (gdb) r
      Starting program: /usr/bin/qtcreator 
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      [New Thread 0x7fffea1d3700 (LWP 13860)]
      [New Thread 0x7fffc9eec700 (LWP 13862)]
      [New Thread 0x7fffc92e0700 (LWP 13863)]
      [New Thread 0x7fffc3fff700 (LWP 13864)]
      [New Thread 0x7fffc37fe700 (LWP 13888)]
      [New Thread 0x7fffc2729700 (LWP 13900)]
      KSambaShare: Could not find smb.conf!
      [New Thread 0x7fffc126b700 (LWP 13910)]
      [New Thread 0x7fffc0a6a700 (LWP 13913)]
      [New Thread 0x7fffa7df1700 (LWP 13939)]
      [New Thread 0x7fffa75f0700 (LWP 13940)]
      [New Thread 0x7fffa659f700 (LWP 13941)]
      [New Thread 0x7fffa5d70700 (LWP 13942)]
      [New Thread 0x7fffa4954700 (LWP 13949)]
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      [New Thread 0x7fff8e9fd700 (LWP 13953)]
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      
      Program received signal SIGSEGV, Segmentation fault.
      0x00000000400a083f in ?? ()
      (gdb) bt
      #0  0x00000000400a083f in ?? ()
      #1  0x00007fffefdd9204 in ?? () from /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
      #2  0x00007fffef9e7788 in ?? () from /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
      #3  0x00007ffff6030780 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5
      #4  0x00007ffff5f9a4ca in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5
      #5  0x00007fffedbeda27 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
      #6  0x00007ffff72df4bb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
      #7  0x00007ffff72e26e7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
      #8  0x00007ffff73307eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
      #9  0x00007ffff72d4b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
      #10 0x00007ffff72da230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
      #11 0x00007ffff6f40f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
      #12 0x00007ffff5ced336 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5
      #13 0x00007ffff5cee07d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5
      #14 0x00007ffff5cd35b8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5
      #15 0x00007fffedc01250 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
      #16 0x00007ffff53e3ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #17 0x00007ffff53e4250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #18 0x00007ffff53e42fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #19 0x00007ffff6f9827f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
      #20 0x00007ffff6f3e75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
      #21 0x00007ffff6f462cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
      #22 0x0000000000408f76 in main (argc=1, argv=<optimized out>) at /build/qtcreator-Qam5lL/qtcreator-3.5.0+dfsg/src/app/main.cpp:521
      (gdb) 
      

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            stiat Georg Grabler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes