Hi i have problems with big projects (for example Natron). The crash happens due to memory corruption. Version is Qt Creator 4.13.1 based on Qt 5.15.0, Uname - FreeBSD 12.1-RELEASE-p10 FreeBSD 12.1-RELEASE-p10 GENERIC amd64 Here is gdb backtrace Thread 1 received signal SIGBUS, Bus error. 0x000000080186f77e in QMutex::lock() () from /usr/local/lib/qt5/libQt5Core.so.5 (gdb) bt #0 0x000000080186f77e in QMutex::lock() () from /usr/local/lib/qt5/libQt5Core.so.5 #1 0x000000080cbd372b in QMakeVfs::idForFileName(QString const&, QFlags<QMakeVfs::VfsFlag>) () from /usr/local/lib/qtcreator/plugins/libQtSupport.so #2 0x000000080cb8ce01 in ProFileCache::discardFile(QString const&, QMakeVfs*) () from /usr/local/lib/qtcreator/plugins/libQtSupport.so #3 0x000000081b9682ca in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #4 0x000000081b9b82d2 in ?? () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #5 0x000000080c094b85 in Core::DocumentManager::checkForReload() () from /usr/local/lib/qtcreator/plugins/libCore.so #6 0x0000000801a8c7c9 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #7 0x0000000801a79dba in QObject::event(QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #8 0x000000080089aae0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #9 0x000000080089c09c in QApplication::notify(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #10 0x0000000801a4d2a2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #11 0x0000000801aa8252 in QTimerInfoList::activateTimers() () from /usr/local/lib/qt5/libQt5Core.so.5 #12 0x0000000801aa9c9d in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #13 0x0000000802de6307 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #14 0x0000000802de66ca in ?? () from /usr/local/lib/libglib-2.0.so.0 #15 0x0000000802de6786 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #16 0x0000000801aa9350 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #17 0x0000000801a4922e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #18 0x0000000801a4d95e in QCoreApplication::exec() () from /usr/local/lib/qt5/libQt5Core.so.5 #19 0x00000000002130ff in ?? () #20 0x000000000020b10f in ?? () #21 0x0000000800243000 in ?? () #22 0x0000000000000000 in ?? () (gdb) run
Next crash Thread 1 received signal SIGBUS, Bus error. 0x000000081b96a275 in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so (gdb) bt #0 0x000000081b96a275 in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #1 0x000000081b9ba2d2 in ?? () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #2 0x000000080c0bab85 in Core::DocumentManager::checkForReload() () from /usr/local/lib/qtcreator/plugins/libCore.so #3 0x0000000801a8c7c9 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #4 0x0000000801a79dba in QObject::event(QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #5 0x000000080089aae0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #6 0x000000080089c09c in QApplication::notify(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #7 0x0000000801a4d2a2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #8 0x0000000801aa8252 in QTimerInfoList::activateTimers() () from /usr/local/lib/qt5/libQt5Core.so.5 #9 0x0000000801aa9df1 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #10 0x0000000802de6307 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #11 0x0000000802de66ca in ?? () from /usr/local/lib/libglib-2.0.so.0 #12 0x0000000802de6786 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #13 0x0000000801aa9350 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #14 0x0000000801a4922e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #15 0x0000000801a4d95e in QCoreApplication::exec() () from /usr/local/lib/qt5/libQt5Core.so.5 #16 0x00000000002130ff in ?? () #17 0x000000000020b10f in ?? () #18 0x0000000800243000 in ?? () #19 0x0000000000000000 in ?? () (gdb) Quit
Thread 1 received signal SIGBUS, Bus error. 0x000000081c6f1d24 in QmakeProjectManager::QmakePriFile::children() const () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so (gdb) bt #0 0x000000081c6f1d24 in QmakeProjectManager::QmakePriFile::children() const () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #1 0x000000081c704472 in QmakeProjectManager::QmakeProFile::setParseInProgressRecursive(bool) () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #2 0x000000081c6f330b in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #3 0x000000081c7432d2 in ?? () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #4 0x000000080d0e9b85 in Core::DocumentManager::checkForReload() () from /usr/local/lib/qtcreator/plugins/libCore.so #5 0x0000000801a8c7c9 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #6 0x0000000801a79dba in QObject::event(QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #7 0x000000080089aae0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #8 0x000000080089c09c in QApplication::notify(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #9 0x0000000801a4d2a2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #10 0x0000000801aa8252 in QTimerInfoList::activateTimers() () from /usr/local/lib/qt5/libQt5Core.so.5 #11 0x0000000801aa9c9d in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #12 0x0000000802de6307 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #13 0x0000000802de66ca in ?? () from /usr/local/lib/libglib-2.0.so.0 #14 0x0000000802de6786 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #15 0x0000000801aa9350 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #16 0x0000000801a4922e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #17 0x0000000801a4d95e in QCoreApplication::exec() () from /usr/local/lib/qt5/libQt5Core.so.5 #18 0x00000000002130ff in ?? () #19 0x000000000020b10f in ?? () #20 0x0000000800243000 in ?? () #21 0x0000000000000000 in ?? () (gdb) quit A debugging session is active. Inferior 1 [process 30308] will be killed. Quit anyway? (y or n) y ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-hGqeOt/ClangBackEnd-30308"
Thread 1 received signal SIGSEGV, Segmentation fault. 0x000000081b9222a8 in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so (gdb) bt #0 0x000000081b9222a8 in QmakeProjectManager::QmakePriFile::scheduleUpdate() () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #1 0x000000081b9722d2 in ?? () from /usr/local/lib/qtcreator/plugins/libQmakeProjectManager.so #2 0x000000080c136b85 in Core::DocumentManager::checkForReload() () from /usr/local/lib/qtcreator/plugins/libCore.so #3 0x0000000801a8c7c9 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #4 0x0000000801a79dba in QObject::event(QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #5 0x000000080089aae0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #6 0x000000080089c09c in QApplication::notify(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5 #7 0x0000000801a4d2a2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5 #8 0x0000000801aa8252 in QTimerInfoList::activateTimers() () from /usr/local/lib/qt5/libQt5Core.so.5 #9 0x0000000801aa9c9d in ?? () from /usr/local/lib/qt5/libQt5Core.so.5 #10 0x0000000802de6307 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #11 0x0000000802de66ca in ?? () from /usr/local/lib/libglib-2.0.so.0 #12 0x0000000802de6786 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #13 0x0000000801aa9350 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #14 0x0000000801a4922e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt5/libQt5Core.so.5 #15 0x0000000801a4d95e in QCoreApplication::exec() () from /usr/local/lib/qt5/libQt5Core.so.5 #16 0x00000000002130ff in ?? () #17 0x000000000020b10f in ?? () #18 0x0000000800243000 in ?? () #19 0x0000000000000000 in ?? () (gdb)
Have you tried a more recent QtCreator? There have been two updates since 4.13.1. Moreover, we need a lot more information in order to try anything. Please write out a scenario for someone who **doesn't use Qt Creator at all** what to do to trigger the problem. I've run qtcreator twice in the past 12 monhts -- because of this PR, just today -- and all I can say is "it starts, and seems to be able to load something from the example projects in /usr/local/share/examples/qt5/widgets/graphicsview/anchorlayout". (Three times by now, since `qtcreator .` seems to be able to handle CMake-based projects, and it managed to build calamares for me -- no crashes or anything, so you'll need to point to more specific actions)
Closing as "can't reproduce / feedback timeout"; it seems to be ok for me, and unless I get a scenario that reliably demonstrates the problem, there's not much I can do.