Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 13.0.0-beta1
-
None
Description
Built from master branch at 007fd9fa9b9588ff66f2cc5863c42069f61307cb.
Steps to reproduce:
- Open a CMake project
- Switch to a session that doesn't have a CMake project
#0 0x00007fffc808b375 in std::__atomic_base<int>::fetch_add(int, std::memory_order) (__m=std::memory_order_acq_rel, __i=1, this=0x51) at /usr/include/c++/13/bits/atomic_base.h:633 #1 QAtomicOps<int>::ref<int>(std::atomic<int>&) (_q_value=<error reading variable: Cannot access memory at address 0x51>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qatomic_cxx11.h:259 #2 QBasicAtomicInteger<int>::ref() (this=0x51) at /home/tjmaciei/obj/qt/installed/include/QtCore/qbasicatomic.h:55 #3 0x00007fffc808b4cf in QArrayData::ref() (this=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydata.h:57 #4 QArrayDataPointer<char16_t>::ref() (this=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydatapointer.h:418 #5 QArrayDataPointer<char16_t>::QArrayDataPointer(QArrayDataPointer<char16_t> const&) (this=<optimized out>, other=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydatapointer.h:40 #6 0x00007fffc8099742 in QString::QString(QString const&) (other=..., this=0x7fffffffc8c0) at /home/tjmaciei/obj/qt/installed/include/QtCore/qstring.h:1194 #7 Utils::TypedAspect<QString>::value() const (this=0x7fffffffc988) at /home/tjmaciei/src/qt/qt-creator/src/libs/utils/aspects.h:289 #8 CMakeProjectManager::Internal::InitialCMakeArgumentsAspect::allValues() const (this=this@entry=0xbde6b78) at /home/tjmaciei/src/qt/qt-creator/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp:2094 #9 0x00007fffc809059f in CMakeProjectManager::Internal::BuildDirParameters::BuildDirParameters(CMakeProjectManager::Internal::CMakeBuildSystem*) (this=this@entry=0x7fffffffcb60, buildSystem=0xbe6a880) at /home/tjmaciei/src/qt/qt-creator/src/plugins/cmakeprojectmanager/builddirparameters.cpp:34 #10 0x00007fffc812e65b in operator()() const (__closure=0x1c23a60) at /home/tjmaciei/src/qt/qt-creator/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp:172 #11 0x00007fffc812e722 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, CMakeProjectManager::Internal::CMakeManager::CMakeManager()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qobjectdefs_impl.h:136 #12 QtPrivate::Functor<CMakeProjectManager::Internal::CMakeManager::CMakeManager()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qobjectdefs_impl.h:339 #13 QtPrivate::QCallableObject<CMakeProjectManager::Internal::CMakeManager::CMakeManager()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /home/tjmaciei/obj/qt/installed/include/QtCore/qobjectdefs_impl.h:558 #14 0x00007ffff5bde402 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #15 0x00007fffc8f521b2 in ProjectExplorer::ProjectManager::startupProjectChanged(ProjectExplorer::Project*) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libProjectExplorer.so #16 0x00007fffc921f4c6 in ProjectExplorer::ProjectManagerPrivate::restoreStartupProject() () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libProjectExplorer.so #17 0x00007fffc9222286 in ProjectExplorer::ProjectManagerPrivate::loadSession() () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libProjectExplorer.so #18 0x00007ffff5bde402 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #19 0x00007fffc9715315 in Core::SessionManager::aboutToLoadSession(QString) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libCore.so #20 0x00007fffc99f0e8e in Core::SessionManager::loadSession(QString const&, bool) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libCore.so #21 0x00007ffff5bde402 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #22 0x00007ffff6c633bc in QAction::activate(QAction::ActionEvent) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Gui.t.so.6 #23 0x00007ffff5bdbba7 in QObject::event(QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #24 0x00007ffff719cf31 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6 #25 0x00007ffff5b78538 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #26 0x00007ffff5b7c4a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #27 0x00007ffff5e6f213 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #28 0x00007ffff5913ef0 in () at /lib64/libglib-2.0.so.0 #29 0x00007ffff5915b18 in () at /lib64/libglib-2.0.so.0 #30 0x00007ffff59161cc in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #31 0x00007ffff5e6f38c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #32 0x00007ffff5b84cb6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #33 0x00007ffff5b812a6 in QCoreApplication::exec() () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #34 0x000000000040d16d in main ()