Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-1664

Studio crashing on startup

    XMLWordPrintable

Details

    • 9efba4975033d2b9f08f85c9742a3a210e1b5a8b

    Description

      After patch https://codereview.qt-project.org/#/c/229131/ Studio crashes on startup on my Windows PC when opening some presentations (e.g. rotating_cube.uip). Crash happens on both opening presentation from startup dialog recent files and opening from recent files menu. Not happening with all presentations e.g. CoffeeMaker.uip. Somehow presentation loading requires scene to be visible and making it visible at CMainFrame::OnNewPresentation() is too late.

      Call stack:

      >    Qt3DStudio.exe!QMapData<std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> * __ptr64,std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> >::root() Line 210    C++    Symbols loaded.
           Qt3DStudio.exe!QMapData<std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> * __ptr64,std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> >::findNode(std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const &)> * const & akey) Line 286    C++    Symbols loaded.
           Qt3DStudio.exe!QMap<std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> * __ptr64,std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const & __ptr64)> >::contains(std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const &)> * const & akey) Line 698    C++    Symbols loaded.
           Qt3DStudio.exe!Q3DSDirWatcher::addCallback(std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const &)> & callback) Line 94    C++    Symbols loaded.
           Qt3DStudio.exe!Q3DSDirCallback::Q3DSDirCallback(QMap<QString,Q3DSDirWatcher> & watchers, const QString & path, std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const &)> callback) Line 44    C++    Symbols loaded.
           [External Code]        Annotated Frame
           Qt3DStudio.exe!Q3DSDirSystem::AddDirectory(const QString & directory, std::function<void __cdecl(std::vector<Q3DStudio::SFileModificationRecord,std::allocator<Q3DStudio::SFileModificationRecord> > const &)> callback) Line 79    C++    Symbols loaded.
           Qt3DStudio.exe!InspectorControlView::OnNewPresentation() Line 116    C++    Symbols loaded.
           Qt3DStudio.exe!CMulticaster<CPresentationChangeListener * _ptr64>::FireEventSource<void (_cdecl CPresentationChangeListener::)(void) __ptr64>(void(CPresentationChangeListener::)() inMethod, void * inSource) Line 106    C++    Symbols loaded.
           Qt3DStudio.exe!CMulticaster<CPresentationChangeListener * _ptr64>::FireEvent<void (_cdecl CPresentationChangeListener::)(void) __ptr64>(void(CPresentationChangeListener::)() inMethod) Line 95    C++    Symbols loaded.
           Qt3DStudio.exe!CDispatch::FireOnNewPresentation() Line 289    C++    Symbols loaded.
           Qt3DStudio.exe!CDoc::OnNewPresentation() Line 2684    C++    Symbols loaded.
           Qt3DStudio.exe!CDoc::LoadPresentationFile(CBufferedInputStream * inInputStream) Line 2038    C++    Symbols loaded.
           Qt3DStudio.exe!CDoc::LoadDocument(const Qt3DSFile & inDocument) Line 1575    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::OnLoadDocumentCatcher(const Qt3DSFile & inDocument) Line 1608    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::OnLoadDocument(const Qt3DSFile & inDocument, bool inShowStartupDialogOnError) Line 1474    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::showStartupDialog() Line 579    C++    Symbols loaded.
           Qt3DStudio.exe!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,bool (__cdecl CStudioApp::)(void) __ptr64>::call(bool(CStudioApp::)() f, CStudioApp * o, void * * arg) Line 134    C++    Symbols loaded.
           Qt3DStudio.exe!QtPrivate::FunctionPointer<bool (__cdecl CStudioApp::)(void) __ptr64>::call<QtPrivate::List<>,void>(bool(CStudioApp::)() f, CStudioApp * o, void * * arg) Line 168    C++    Symbols loaded.
           Qt3DStudio.exe!QtPrivate::QSlotObject<bool (_cdecl CStudioApp::*)(void) __ptr64,QtPrivate::List<>,void>::impl(int which, QtPrivate::QSlotObjectBase * this, QObject * r, void * * a, bool * ret) Line 397    C++    Symbols loaded.
           Qt5Cored.dll!QtPrivate::QSlotObjectBase::call(QObject * r, void * * a) Line 376    C++    Symbols loaded.
           Qt5Cored.dll!QSingleShotTimer::timerEvent(QTimerEvent * __formal) Line 320    C++    Symbols loaded.
           Qt5Cored.dll!QObject::event(QEvent * e) Line 1233    C++    Symbols loaded.
           Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3725    C++    Symbols loaded.
           Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3097    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1048    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 234    C++    Symbols loaded.
           Qt5Cored.dll!QEventDispatcherWin32::event(QEvent * e) Line 1062    C++    Symbols loaded.
           Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3725    C++    Symbols loaded.
           Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3097    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1048    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 234    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1745    C++    Symbols loaded.
           Qt5Cored.dll!QEventDispatcherWin32::sendPostedEvents() Line 1085    C++    Symbols loaded.
           qwindowsd.dll!QWindowsGuiEventDispatcher::sendPostedEvents() Line 82    C++    Symbols loaded.
           Qt5Cored.dll!qt_internal_proc(HWND__ * hwnd, unsigned int message, unsigned __int64 wp, __int64 lp) Line 239    C++    Symbols loaded.
           [External Code]        Annotated Frame
           Qt5Cored.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 630    C++    Symbols loaded.
           qwindowsd.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 74    C++    Symbols loaded.
           Qt5Cored.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 137    C++    Symbols loaded.
           Qt5Cored.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 214    C++    Symbols loaded.
           Qt5Cored.dll!QCoreApplication::exec() Line 1336    C++    Symbols loaded.
           Qt5Guid.dll!QGuiApplication::exec() Line 1751    C++    Symbols loaded.
           Qt5Widgetsd.dll!QApplication::exec() Line 2900    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::runApplication() Line 685    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::blankRunApplication() Line 622    C++    Symbols loaded.
           Qt3DStudio.exe!CStudioApp::run(const QCommandLineParser & parser) Line 363    C++    Symbols loaded.
           Qt3DStudio.exe!main(int argc, char * * argv) Line 138    C++    Symbols loaded.
           Qt3DStudio.exe!WinMain(HINSTANCE__ * _formal, HINSTANCE_ * __formal, char * __formal, int __formal) Line 104    C++    Symbols loaded.
           [External Code]        Annotated Frame

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes