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

crash when using QML console before application has properly started

XMLWordPrintable

    • ce3a4ffb6840474fd4bb00cb58dcc5f939542bb0

      1. Debug qtcreator from inside another instance of qtcreator
      2. While the child qtcreator is loading change to the QML/JS console on the parent qtcreator
      3. Type Math.isNaN(4), enter
      4. Crash:

      0x00007fffe1e7b3e6 in QmlDebug::QmlDebugClient::status() const () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQmlDebug.so.1
      (gdb) bt
      #0  0x00007fffe1e7b3e6 in QmlDebug::QmlDebugClient::status() const () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQmlDebug.so.1
      #1  0x00007fffe1e7f080 in QmlDebug::BaseEngineDebugClient::queryExpressionResult(int, QString const&, int) () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQmlDebug.so.1
      #2  0x00007fffe22ad953 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libDebugger.so
      #3  0x00007fffe2cd31ca in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libQmlJSTools.so
      #4  0x00007fffe2cdb120 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libQmlJSTools.so
      #5  0x00007ffff74d51d4 in QWidget::event(QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #6  0x00007ffff75e01c6 in QFrame::event(QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #7  0x00007ffff76645fb in QAbstractScrollArea::event(QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #8  0x00007ffff76524b0 in QTextEdit::event(QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #9  0x00007ffff749d4a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #10 0x00007ffff74a126e in QApplication::notify(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #11 0x00007ffff653a6a4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #12 0x00007ffff74f6f70 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #13 0x00007ffff749d4a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #14 0x00007ffff74a0a7e in QApplication::notify(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #15 0x00007ffff653a6a4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #16 0x00007ffff6a5ee88 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Gui.so.5
      #17 0x00007ffff6a67ff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Gui.so.5
      #18 0x00007ffff6a4f9f8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Gui.so.5
      #19 0x00007ffff0828bd0 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/plugins/platforms/libqxcb.so
      #20 0x00007ffff52f5355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #21 0x00007ffff52f5688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #22 0x00007ffff52f5744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #23 0x00007ffff658acf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #24 0x00007ffff653941b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #25 0x00007ffff653d48e in QCoreApplication::exec() () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #26 0x000000000040a47a in ?? ()
      #27 0x00007ffff5811ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe2c8) at libc-start.c:228
      #28 0x000000000040a921 in ?? ()
      #29 0x00007fffffffe2c8 in ?? ()
      #30 0x000000000000001c in ?? ()
      #31 0x0000000000000001 in ?? ()
      #32 0x00007fffffffe58e in ?? ()
      #33 0x0000000000000000 in ?? ()
      (gdb)
      

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

            kkohne Kai Köhne
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes