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

QmlDesigner crashes when switching to .qml file while Design mode is open with a different file type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 14.0.1
    • Quick Designer
    • None

    Description

      • open a .ui file and have Design mode open
      • open a .qml file

      Crash:

      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   libQmlDesigner.dylib          	       0x11d41f0ac QmlDesigner::AbstractAction::action() const + 0
      1   libQmlDesigner.dylib          	       0x11d4fa80c QmlDesigner::Edit3DView::syncSnapAuxPropsToSettings() + 72
      2   libQmlDesigner.dylib          	       0x11d4fa200 QmlDesigner::Edit3DView::modelAttached(QmlDesigner::Model*) + 164
      3   libQmlDesigner.dylib          	       0x11d9c392c 0x11d36c000 + 6650156
      4   libQmlDesigner.dylib          	       0x11d4e07b8 QmlDesigner::ViewManager::attachViewsExceptRewriterAndComponetView() + 648
      5   libQmlDesigner.dylib          	       0x11d3e63a0 QmlDesigner::QmlDesignerPlugin::activateAutoSynchronization() + 236
      6   libQmlDesigner.dylib          	       0x11d3e61cc QmlDesigner::QmlDesignerPlugin::setupDesigner() + 148
      7   libQmlDesigner.dylib          	       0x11d3eaf2c 0x11d36c000 + 519980
      8   QtCore                        	       0x103a6b530 QtPrivate::QSlotObjectBase::call(QObject*, void**) + 28 (qobjectdefs_impl.h:469) [inlined]
      9   QtCore                        	       0x103a6b530 void doActivate<false>(QObject*, int, void**) + 1328 (qobject.cpp:4086)
      10  libCore.dylib                 	       0x10ee7803c Core::EditorManager::currentEditorChanged(Core::IEditor*) + 60
      11  libCore.dylib                 	       0x10ef35490 0x10ee6c000 + 824464
      12  libCore.dylib                 	       0x10ef321dc 0x10ee6c000 + 811484
      13  libCore.dylib                 	       0x10ef31d64 0x10ee6c000 + 810340
      14  libCore.dylib                 	       0x10ef328ec 0x10ee6c000 + 813292
      15  QtCore                        	       0x103a63b88 QObject::event(QEvent*) + 616 (qobject.cpp:1452)
      16  QtWidgets                     	       0x1017b4b54 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272 (qapplication.cpp:3287)
      17  QtWidgets                     	       0x1017b59a8 QApplication::notify(QObject*, QEvent*) + 504 (qapplication.cpp:3238)
      18  QtCore                        	       0x103a1ff64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (qcoreapplication.cpp:1142)
      19  QtCore                        	       0x103a2124c QCoreApplication::sendEvent(QObject*, QEvent*) + 16 (qcoreapplication.cpp:1583) [inlined]
      20  QtCore                        	       0x103a2124c QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1464 (qcoreapplication.cpp:1940)
      21  libqcocoa.dylib               	       0x1012772f4 QCocoaEventDispatcherPrivate::processPostedEvents() + 288 (qcocoaeventdispatcher.mm:900)
      22  libqcocoa.dylib               	       0x1012783ac QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 536 (qcocoaeventdispatcher.mm:922)
      23  CoreFoundation                	       0x182dee4d8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
      24  CoreFoundation                	       0x182dee46c __CFRunLoopDoSource0 + 176
      25  CoreFoundation                	       0x182dee1dc __CFRunLoopDoSources0 + 244
      26  CoreFoundation                	       0x182decdc8 __CFRunLoopRun + 828
      27  CoreFoundation                	       0x182dec434 CFRunLoopRunSpecific + 608
      28  HIToolbox                     	       0x18d59019c RunCurrentEventLoopInMode + 292
      29  HIToolbox                     	       0x18d58fe2c ReceiveNextEventCommon + 220
      30  HIToolbox                     	       0x18d58fd30 _BlockUntilNextEventMatchingListInModeWithFilter + 76
      31  AppKit                        	       0x18664bd68 _DPSNextEvent + 660
      32  AppKit                        	       0x186e41808 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
      33  AppKit                        	       0x18663f09c -[NSApplication run] + 476
      34  libqcocoa.dylib               	       0x101275f40 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2128 (qcocoaeventdispatcher.mm:406)
      35  QtCore                        	       0x103a29abc QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 36 (qeventloop.cpp:100) [inlined]
      36  QtCore                        	       0x103a29abc QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 540 (qeventloop.cpp:182)
      37  QtCore                        	       0x103a205b8 QCoreApplication::exec() + 112 (qcoreapplication.cpp:1486)
      38  Qt Creator                    	       0x100f597f8 0x100f4c000 + 55288
      39  dyld                          	       0x1829860e0 start + 2360
      

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes