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

Crash when focus leaves after editing a property

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      Add any Qt Quick item to the scene, modify some property in the property panel and then cause something to unfocus it, for example, alt-tab to a different application. Qt Creator crashes with:

      #0  0x00007ffff50daed0 in QV4::Compiler::Codegen::visit(QQmlJS::AST::UiProgram*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #1  0x000000000eead670 in  ()
      #2  0x00007fff43b98538 in  ()
      #3  0x00007fffffffcb40 in  ()
      #4  0x00007ffd7c164aa0 in  ()
      #5  0x00007ffff54132a9 in QV4::QQmlTypeWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) ()
          at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #6  0x00007ffff5289a8a in  () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #7  0x00007ffff528e11f in  () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #8  0x00007ffff51e73b0 in  () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #9  0x00007ffff51e77bf in  () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #10 0x00007ffff5423d4e in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /home/user/Qt/Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt6Qml.so.6
      #11 0x00007ffff5f71130 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
          at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #12 0x00007ffff5f71943 in QMetaObject::invokeMethodImpl(QObject*, char const*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
          at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #13 0x00007fff7b71f46f in  () at /home/user/Qt/Tools/QtCreator/lib/qtcreator/plugins/libQmlDesigner.so
      #14 0x00007ffff5f5d0ea in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #15 0x00007ffff7380ee1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #16 0x00007ffff5f5d34a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #17 0x00007ffff7385f3c in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #18 0x00007ffff7386577 in QApplicationPrivate::setActiveWindow(QWidget*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #19 0x00007ffff7386635 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #20 0x00007ffff69c682d in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #21 0x00007ffff6a1c3ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #22 0x00007ffff19a650a in  () at /home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt6XcbQpa.so.6
      #23 0x00007ffff591bd3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #24 0x00007ffff5971258 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #25 0x00007ffff59193e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #26 0x00007ffff6203cca in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #27 0x00007ffff5f68cd3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #28 0x00007ffff5f6579e in QCoreApplication::exec() () at /home/user/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #29 0x000000000040e979 in  ()
      #30 0x00007ffff5629d90 in __libc_start_call_main (main=main@entry=0x40b330, argc=argc@entry=1, argv=argv@entry=0x7fffffffdef8) at ../sysdeps/nptl/libc_start_call_main.h:58
      #31 0x00007ffff5629e40 in __libc_start_main_impl (main=0x40b330, argc=1, argv=0x7fffffffdef8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdee8)
          at ../csu/libc-start.c:392
      #32 0x000000000040f0de in  ()
      

      Attachments

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes