Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12480

double deletion crashes in QML context on exit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • QDS 4.5
    • QDS 4.5
    • Material Editor
    • None
    • 1
    • 10f855f3f (qds/dev), 8cb6b9a9f (qds/4.5)
    • QDS Berlin - 2024 Week 17/18

    Description

      its coming from objects DesignerPropertyMap keeps but were already deleted

      1  QQmlData::wasDeleted                                                                                                                                                                         qqmldata_p.h                   305  0x7ffb8b0dc547 
      2  QQmlData::wasDeleted                                                                                                                                                                         qqmldata_p.h                   319  0x7ffb8b0dc510 
      3  QV4::QObjectWrapper::wrap                                                                                                                                                                    qv4qobjectwrapper_p.h          232  0x7ffb8b268fc9 
      4  QV4::QQmlContextWrapper::lookupInParentContextHierarchy                                                                                                                                      qv4qmlcontext.cpp              780  0x7ffb8b40dca1 
      5  QV4::Runtime::LoadQmlContextPropertyLookup::call                                                                                                                                             qv4runtime.cpp                 1123 0x7ffb8b4908a6 
      6                                                                                                                                                                                                                                   0x1ef6ea0096e  
      7  QV4::Moth::VME::exec                                                                                                                                                                         qv4vme_moth.cpp                552  0x7ffb8b4fbae0 
      8  QV4::doCall                                                                                                                                                                                  qv4function.cpp                54   0x7ffb8b3817e7 
      9  QV4::Function::call                                                                                                                                                                          qv4function.cpp                80   0x7ffb8b380a32 
      10 <lambda_f15eb9b3a6e26b3d0034fc979a0ed169>::operator()                                                                                                                                        qv4function.cpp                31   0x7ffb8b3815bd 
      11 QV4::convertAndCall<<lambda_f15eb9b3a6e26b3d0034fc979a0ed169>>                                                                                                                               qv4jscall_p.h                  200  0x7ffb8b383e29 
      12 QV4::Function::call                                                                                                                                                                          qv4function.cpp                27   0x7ffb8b38072e 
      13 QQmlJavaScriptExpression::evaluate                                                                                                                                                           qqmljavascriptexpression.cpp   270  0x7ffb8b6ba48d 
      14 QQmlBoundSignalExpression::evaluate                                                                                                                                                          qqmlboundsignal.cpp            202  0x7ffb8b5aef48 
      15 QQmlBoundSignal_callback                                                                                                                                                                     qqmlboundsignal.cpp            315  0x7ffb8b5af559 
      16 QQmlNotifier::emitNotify                                                                                                                                                                     qqmlnotifier.cpp               71   0x7ffb8b726c2a 
      17 QQmlData::signalEmitted                                                                                                                                                                      qqmlengine.cpp                 355  0x7ffb8b60fd62 
      18 doActivate<0>                                                                                                                                                                                qobject.cpp                    3951 0x7ffb8d1cd320 
      19 QMetaObject::activate                                                                                                                                                                        qobject.cpp                    4129 0x7ffb8d1b55f1 
      20 QQmlVMEMetaObject::activate                                                                                                                                                                  qqmlvmemetaobject.cpp          1444 0x7ffb8b8ce8e6 
      21 QQmlVMEMetaObject::writeVarProperty                                                                                                                                                          qqmlvmemetaobject.cpp          1259 0x7ffb8b8ce164 
      22 QQmlVMEMetaObject::setVMEProperty                                                                                                                                                            qqmlvmemetaobject.cpp          1362 0x7ffb8b8c9545 
      23 QQmlBinding::slowWrite                                                                                                                                                                       qqmlbinding.cpp                512  0x7ffb8b597373 
      24 GenericBinding<0>::write                                                                                                                                                                     qqmlbinding.cpp                269  0x7ffb8b5ac42d 
      25 QQmlBinding::doUpdate                                                                                                                                                                        qqmlbinding.cpp                700  0x7ffb8b596b32 
      26 QQmlBinding::update                                                                                                                                                                          qqmlbinding.cpp                166  0x7ffb8b595f23 
      27 QQmlBinding::expressionChanged                                                                                                                                                               qqmlbinding.cpp                604  0x7ffb8b59610f 
      28 QQmlJavaScriptExpressionGuard_callback                                                                                                                                                       qqmljavascriptexpression.cpp   563  0x7ffb8b6bb10d 
      29 QQmlNotifier::emitNotify                                                                                                                                                                     qqmlnotifier.cpp               71   0x7ffb8b726c2a 
      30 QQmlData::signalEmitted                                                                                                                                                                      qqmlengine.cpp                 355  0x7ffb8b60fd62 
      31 doActivate<0>                                                                                                                                                                                qobject.cpp                    3951 0x7ffb8d1cd320 
      32 QMetaObject::activate                                                                                                                                                                        qobject.cpp                    4129 0x7ffb8d1b55f1 
      33 QQmlVMEMetaObject::activate                                                                                                                                                                  qqmlvmemetaobject.cpp          1444 0x7ffb8b8ce8e6 
      34 QQmlVMEVariantQObjectPtr::objectDestroyedImpl                                                                                                                                                qqmlvmemetaobject.cpp          202  0x7ffb8b8c8125 
      35 QQmlData::destroyed                                                                                                                                                                          qqmlengine.cpp                 1359 0x7ffb8b6104b9 
      36 QQmlData::destroyed                                                                                                                                                                          qqmlengine.cpp                 272  0x7ffb8b60f808 
      37 QObject::~QObject                                                                                                                                                                            qobject.cpp                    1068 0x7ffb8d1b68a1 
      38 QmlDesigner::PropertyEditorValue::~PropertyEditorValue                                                                                                                                       QmlDesigner                         0x7ffb7f8d9b8c 
      39 QmlDesigner::PropertyEditorValue::`vector deleting destructor'                                                                                                                               QmlDesigner                         0x7ffb7ff4e70a 
      40 QObjectPrivate::deleteChildren                                                                                                                                                               qobject.cpp                    2222 0x7ffb8d1bdbd3 
      41 QObject::~QObject                                                                                                                                                                            qobject.cpp                    1162 0x7ffb8d1b6e29 
      42 QQmlPropertyMap::~QQmlPropertyMap                                                                                                                                                            qqmlpropertymap.cpp            158  0x7ffb8b8feb84 
      43 QmlDesigner::DesignerPropertyMap::~DesignerPropertyMap                                                                                                                                       QmlDesigner                         0x7ffb7fec5e85 
      44 QmlDesigner::MaterialEditorQmlBackend::~MaterialEditorQmlBackend                                                                                                                             materialeditorqmlbackend.cpp   101  0x7ffb7ffebdd6 
      45 QmlDesigner::MaterialEditorQmlBackend::`scalar deleting destructor'                                                                                                                          QmlDesigner                         0x7ffb8000c098 
      46 qDeleteAll<QHash<QString,QmlDesigner::MaterialEditorQmlBackend *>::const_iterator>                                                                                                           qalgorithms.h                  27   0x7ffb8000a1ae 
      47 qDeleteAll<QHash<QString,QmlDesigner::MaterialEditorQmlBackend *>>                                                                                                                           qalgorithms.h                  36   0x7ffb8000a123 
      48 QmlDesigner::MaterialEditorView::~MaterialEditorView                                                                                                                                         materialeditorview.cpp         78   0x7ffb7fff1c1c 
      49 QmlDesigner::ViewManagerData::~ViewManagerData                                                                                                                                               QmlDesigner                         0x7ffb7fbcde79 
      50 QmlDesigner::ViewManagerData::`scalar deleting destructor'                                                                                                                                   QmlDesigner                         0x7ffb7fbce5b8 
      51 std::default_delete<QmlDesigner::ViewManagerData>::operator()                                                                                                                                memory                         3090 0x7ffb7fbce440 
      52 std::unique_ptr<QmlDesigner::ViewManagerData,std::default_delete<QmlDesigner::ViewManagerData>>::~unique_ptr<QmlDesigner::ViewManagerData,std::default_delete<QmlDesigner::ViewManagerData>> memory                         3200 0x7ffb7fbcdb63 
      53 QmlDesigner::ViewManager::~ViewManager                                                                                                                                                       viewmanager.cpp                134  0x7ffb7fbc0967 
      54 QmlDesigner::QmlDesignerPluginPrivate::~QmlDesignerPluginPrivate                                                                                                                             QmlDesigner                         0x7ffb7f981808 
      55 QmlDesigner::QmlDesignerPluginPrivate::`scalar deleting destructor'                                                                                                                          QmlDesigner                         0x7ffb7f984428 
      56 QmlDesigner::QmlDesignerPlugin::~QmlDesignerPlugin                                                                                                                                           qmldesignerplugin.cpp          252  0x7ffb7f968c52 
      57 QmlDesigner::QmlDesignerPlugin::`vector deleting destructor'                                                                                                                                 QmlDesigner                         0x7ffb7f984047 
      58 ExtensionSystem::Internal::PluginSpecPrivate::kill                                                                                                                                           pluginspec.cpp                 1231 0x7ffb91f5e863 
      59 ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin                                                                                                                                  pluginmanager.cpp              1676 0x7ffb91f10f16 
      60 `ExtensionSystem::Internal::PluginManagerPrivate::deleteAll'::`2'::<lambda_1>::operator()                                                                                                    pluginmanager.cpp              1058 0x7ffb91f16011 
      61 Utils::reverseForeach<QList<ExtensionSystem::PluginSpec *>,`ExtensionSystem::Internal::PluginManagerPrivate::deleteAll'::`2'::<lambda_1>>                                                    algorithm.h                    1275 0x7ffb91f36dec 
      62 ExtensionSystem::Internal::PluginManagerPrivate::deleteAll                                                                                                                                   pluginmanager.cpp              1056 0x7ffb91f14eaa 
      63 ExtensionSystem::Internal::PluginManagerPrivate::shutdown                                                                                                                                    pluginmanager.cpp              1460 0x7ffb91f1051c 
      64 ExtensionSystem::PluginManager::shutdown                                                                                                                                                     pluginmanager.cpp              397  0x7ffb91f0d992 
      65 QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__cdecl *)(void)>::call                                                                                         qobjectdefs_impl.h             129  0x7ff659ab6a76 
      66 QtPrivate::FunctionPointer<void (__cdecl *)(void)>::call<QtPrivate::List<>,void>                                                                                                             qobjectdefs_impl.h             199  0x7ff659aa81d3 
      67 QtPrivate::QStaticSlotObject<void (__cdecl *)(void),QtPrivate::List<>,void>::impl                                                                                                            qobject_impl.h                 60   0x7ff659ab923b 
      68 QtPrivate::QSlotObjectBase::call                                                                                                                                                             qobjectdefs_impl.h             374  0x7ffb8d133333 
      69 doActivate<0>                                                                                                                                                                                qobject.cpp                    4055 0x7ffb8d1cdb78 
      70 QMetaObject::activate                                                                                                                                                                        qobject.cpp                    4116 0x7ffb8d1b5578 
      71 QCoreApplication::aboutToQuit                                                                                                                                                                moc_qcoreapplication.cpp       325  0x7ffb8d0f5475 
      72 QCoreApplication::exit                                                                                                                                                                       qcoreapplication.cpp           1500 0x7ffb8d0f537a 
      73 QCoreApplication::event                                                                                                                                                                      qcoreapplication.cpp           2028 0x7ffb8d0f5575 
      74 QApplication::event                                                                                                                                                                          qapplication.cpp               1683 0x7ffb9217d3d1 
      75 SharedTools::QtSingleApplication::event                                                                                                                                                      qtsingleapplication.cpp        104  0x7ff659abe2e7 
      76 QApplicationPrivate::notify_helper                                                                                                                                                           qapplication.cpp               3291 0x7ffb9217f6cb 
      77 QApplication::notify                                                                                                                                                                         qapplication.cpp               3242 0x7ffb9217cc06 
      78 QCoreApplication::notifyInternal2                                                                                                                                                            qcoreapplication.cpp           1119 0x7ffb8d0f5c37 
      79 QCoreApplication::sendEvent                                                                                                                                                                  qcoreapplication.cpp           1538 0x7ffb8d0f329b 
      80 QCoreApplicationPrivate::sendPostedEvents                                                                                                                                                    qcoreapplication.cpp           1899 0x7ffb8d0f82b2 
      81 QEventDispatcherWin32::sendPostedEvents                                                                                                                                                      qeventdispatcher_win.cpp       894  0x7ffb8d53759f 
      82 QWindowsGuiEventDispatcher::sendPostedEvents                                                                                                                                                 qwindowsguieventdispatcher.cpp 44   0x7ffb8ec27135 
      83 QEventDispatcherWin32::processEvents                                                                                                                                                         qeventdispatcher_win.cpp       464  0x7ffb8d53589f 
      84 QWindowsGuiEventDispatcher::processEvents                                                                                                                                                    qwindowsguieventdispatcher.cpp 36   0x7ffb8ec270eb 
      85 QEventLoop::processEvents                                                                                                                                                                    qeventloop.cpp                 101  0x7ffb8d11973c 
      86 QEventLoop::exec                                                                                                                                                                             qeventloop.cpp                 182  0x7ffb8d119a24 
      87 QCoreApplication::exec                                                                                                                                                                       qcoreapplication.cpp           1440 0x7ffb8d0f303a 
      88 QGuiApplication::exec                                                                                                                                                                        qguiapplication.cpp            1926 0x7ffb8e49a0ba 
      89 QApplication::exec                                                                                                                                                                           qapplication.cpp               2570 0x7ffb9217987c 
      90 main                                                                                                                                                                                         main.cpp                       887  0x7ff659a9e269 
      91 qtEntryPoint                                                                                                                                                                                 qtentrypoint_win.cpp           50   0x7ff659ac9857 
      92 WinMain                                                                                                                                                                                      qtentrypoint_win.cpp           60   0x7ff659ac965e 
      93 invoke_main                                                                                                                                                                                  exe_common.inl                 107  0x7ff659ac6792 
      94 __scrt_common_main_seh                                                                                                                                                                       exe_common.inl                 288  0x7ff659ac667e 
      95 __scrt_common_main                                                                                                                                                                           exe_common.inl                 331  0x7ff659ac653e 
      96 WinMainCRTStartup                                                                                                                                                                            exe_winmain.cpp                17   0x7ff659ac682e 
      97 BaseThreadInitThunk                                                                                                                                                                          KERNEL32                            0x7ffc21a7257d 
      98 RtlUserThreadStart                                                                                                                                                                           ntdll                               0x7ffc226aaa48 
      
      

      Attachments

        1. screenshot-1.png
          771 kB
          Tim Jenssen

        Issue Links

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

          Activity

            People

              tjenssen Tim Jenssen
              javihria Jarko Vihriälä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes