Can't start QtCreator on macOS BigSur
-
I am a long time Qt Creator user.
A couple of days ago I updated my Qt software using the Qt Maintenance Tool and updated Qt Creator to the latest version.
Since then I am not able to start Qt Creator.When I start it I see an error showing the following text:
"The last time you started Qt Creator, it seems to have closed because of a problem with the "Debugger" plugin. Temporarily disable the plugin?"
If I reopen I see the following text:
"The last time you started Qt Creator, it seems to have closed because of a problem with the "FakeVim" plugin. Temporarily disable the plugin?"
My configuration is the following:
I have tried MANY times to remove it all and install again, deleting or not the .config/QtProject folder.
I have even done a FULL/CLEAN reinstall of the operating system with not success... getting the same error when installing the Qt software... so I guess the issue is in the latest Qt update.Do you have a hint to help me to start Qt Creator?
Thanks! -
Hi and welcome to devnet,
I would try to start it from the command line, you might get better hints about what is happening seeing the application output.
-
Hi and welcome to devnet,
I would try to start it from the command line, you might get better hints about what is happening seeing the application output.
@SGaist Thank you very much for your answer.
This is what I get when I run QT Creator from the shell:qt.qpa.dialogs: Message box contains detailed text
qt.qpa.dialogs: Message box contains detailed text
SOFT ASSERT [20:34:42.425]: "!Base::nameToUidMap().contains(QLatin1String(typeid(T).name())) || Base::nameToUidMap().value(QLatin1String(typeid(T).name())) == name" in /Users/qt/work/build/qt-creator/src/libs/modelinglib/qtserialization/inc/qark/typeregistry.h:80
SOFT ASSERT [20:34:42.425]: "!Base::nameToUidMap().contains(QLatin1String(typeid(T).name())) || Base::nameToUidMap().value(QLatin1String(typeid(T).name())) == name" in /Users/qt/work/build/qt-creator/src/libs/modelinglib/qtserialization/inc/qark/typeregistry.h:80
zsh: segmentation fault ./Qt\ Creator -
Something is not clear here, did you compile Qt Creator yourself ?
-
@SGaist No, I used the official Qt online installer (qt-online-installer-macOS-x64-4.8.0)... in a clean system.
It includes the latest version of QT Creator, 14.On the other hand, I have installed the offline package: Qt Creator 10.0.2 from (https://download.qt.io/archive/qtcreator/10.0/10.0.2/) and it works... so I would say it is a bug of the last package or a new incompatibility with old macOS versions.
By the way, as a new user I am not allowed to post frequently until I get reputation points so sorry if my answer is delayed) :-(
-
Have a look at https://doc.qt.io/qtcreator/creator-how-to-find-settings-files.html
You can start Qt Creator with
-tcs
to have temporary settings. If this works, then there is something with the configuration, something that prevents things to start.You can also start with the environment variable
QT_LOGGING_RULES=qtc*=true
to get logging from Qt Creator, this should help point in the right direction. -
Thank you!
Unfortunately this is what it happens when I run QtCreator -tcs, it segfault.d@ds-MacBook-Pro MacOS % ./Qt\ Creator -tcs
Failed to initialize instances shared memory: "QSharedMemory::handle: doesn't exist"
SOFT ASSERT [12:49:53.000]: "!Base::nameToUidMap().contains(QLatin1String(typeid(T).name())) || Base::nameToUidMap().value(QLatin1String(typeid(T).name())) == name" in /Users/qt/work/build/qt-creator/src/libs/modelinglib/qtserialization/inc/qark/typeregistry.h:80
SOFT ASSERT [12:49:53.000]: "!Base::nameToUidMap().contains(QLatin1String(typeid(T).name())) || Base::nameToUidMap().value(QLatin1String(typeid(T).name())) == name" in /Users/qt/work/build/qt-creator/src/libs/modelinglib/qtserialization/inc/qark/typeregistry.h:80
zsh: segmentation fault ./Qt\ Creator -tcs
d@ds-MacBook-Pro MacOS %
If I check the macOS report that can be sent, it says:
Process: Qt Creator [7090]
Path: /Users/USER/*/Qt Creator.app/Contents/MacOS/./Qt Creator
Identifier: org.qt-project.qtcreator
Version: 14.0.0 (14.0.0)
Code Type: X86-64 (Native)
Parent Process: zsh [4997]
Responsible: iTerm2 [350]
User ID: 501Date/Time: 2024-08-01 12:52:40.575 +0200
OS Version: macOS 11.7.10 (20G1427)
Report Version: 12
Anonymous UUID: 8D2ED072-769B-4B4C-904F-B46EBFFFA30ASleep/Wake UUID: 1D5237C3-02B2-4BD5-B5DC-7ACB1303BD8D
Time Awake Since Boot: 3500 seconds
Time Since Wake: 290 secondsSystem Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [7090]Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libc++abi.dylib 0x00007fff2045e3fe __cxxabiv1::__si_class_type_info::search_below_dst(__cxxabiv1::__dynamic_cast_info*, void const*, int, bool) const + 222
1 libc++abi.dylib 0x00007fff2045dc45 __dynamic_cast + 184
2 libUtils.14.0.0.dylib 0x000000010658e155 Utils::AspectContainer::forEachAspect(std::__1::function<void (Utils::BaseAspect*)> const&) const + 101
3 libDebugger.dylib 0x000000011074c2f4 0x1106a8000 + 672500
4 libDebugger.dylib 0x000000011074a87b 0x1106a8000 + 665723
5 libDebugger.dylib 0x00000001107acf95 0x1106a8000 + 1068949
6 libDebugger.dylib 0x00000001107ae47c 0x1106a8000 + 1074300
7 libDebugger.dylib 0x00000001107bd167 0x1106a8000 + 1134951
8 libExtensionSystem.14.0.0.dylib 0x0000000106509f28 0x1064cc000 + 253736
9 libExtensionSystem.14.0.0.dylib 0x00000001064ee805 0x1064cc000 + 141317
10 libExtensionSystem.14.0.0.dylib 0x00000001064e4562 0x1064cc000 + 99682
11 org.qt-project.qtcreator 0x00000001064a09c7 0x106492000 + 59847
12 libdyld.dylib 0x00007fff204b4f3d start + 1Thread 1:
0 libsystem_pthread.dylib 0x00007fff20495420 start_wqthread + 0Thread 2:
0 libsystem_pthread.dylib 0x00007fff20495420 start_wqthread + 0Thread 3:
0 libsystem_pthread.dylib 0x00007fff20495420 start_wqthread + 0Thread 4:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff2046c636 __select + 10
1 com.apple.CoreFoundation 0x00007fff205b83f3 __CFSocketManager + 630
2 libsystem_pthread.dylib 0x00007fff204998fc _pthread_start + 224
3 libsystem_pthread.dylib 0x00007fff20495443 thread_start + 15Thread 5:: Thread (pooled)
0 libsystem_kernel.dylib 0x00007fff20466cbe __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff20499e49 _pthread_cond_wait + 1298
2 org.qt-project.QtCore 0x0000000107e2a794 0x107c04000 + 2254740
3 org.qt-project.QtCore 0x0000000107e2a655 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 85
4 org.qt-project.QtCore 0x0000000107e24f7d 0x107c04000 + 2232189
5 org.qt-project.QtCore 0x0000000107e1ce69 0x107c04000 + 2199145
6 libsystem_pthread.dylib 0x00007fff204998fc _pthread_start + 224
7 libsystem_pthread.dylib 0x00007fff20495443 thread_start + 15Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x01000007feedfacf rbx: 0x00007ffee976c5f8 rcx: 0x0000000000000001 rdx: 0x00000001067e69bd
rdi: 0x0000000106541000 rsi: 0x00007ffee976c5f8 rbp: 0x00007ffee976c5e0 rsp: 0x00007ffee976c5b0
r8: 0x0000000000000000 r9: 0x0000000107fddb70 r10: 0x000000000000000f r11: 0x000000010658e0f0
r12: 0x0000000000000000 r13: 0x0000000106889340 r14: 0x00000001109ceac8 r15: 0x0000000106889340
rip: 0x00007fff2045e3fe rfl: 0x0000000000010283 cr2: 0x00007fade8997020Logical CPU: 0
Error Code: 0x00000000
Trap Number: 13Thread 0 instruction stream:
00 89 4b 38 83 7b 44 04-0f 84 96 00 00 00 66 c7 ..K8.{D.......f.
43 4c 00 00 49 8b 7d 10-48 8b 07 45 0f b6 cc 48 CL..I.}.H..E...H
89 de 4c 89 f2 4c 89 f1-41 b8 01 00 00 00 ff 50 ..L..L..A......P
28 80 7b 4d 00 74 66 80-7b 4c 00 c7 43 44 03 00 (.{M.tf.{L..CD..
00 00 75 77 eb 5e 49 8b-55 08 48 3b 50 08 74 2e ..uw.^I.U.H;P.t.
48 8b 03 48 3b 50 08 74-94 49 8b 7d 10 48 8b 07 H..H;P.t.I.}.H..
[48]8b 40 30 45 0f b6 c4-48 89 de 4c 89 f2 48 83 H.@0E...H..L..H. <==
c4 08 5b 41 5c 41 5d 41-5e 41 5f 5d ff e0 4c 39 ..[A\A]A^A_]..L9
73 08 75 37 83 7b 34 01-74 31 89 4b 34 eb 2c 83 s.u7.{4.t1.K4.,.
f9 01 75 27 c7 43 38 01-00 00 00 eb 1e c7 43 44 ..u'.C8.......CD
04 00 00 00 4c 89 73 28-ff 43 40 83 7b 3c 01 75 ....L.s(.C@.{<.u
0a 83 7b 30 02 75 04 c6-43 4e 01 48 83 c4 08 5b ..{0.u..CN.H...[Thread 0 last branch register state not available.
Binary Images:
0x106492000 - 0x1064b1fff +org.qt-project.qtcreator (14.0.0 - 14.0.0) <8F73FEC0-9F70-3696-A6E2-F02B1F7032CB> /Users/USER//Qt Creator.app/Contents/MacOS/Qt Creator
0x1064cc000 - 0x10651bfff +libExtensionSystem.14.0.0.dylib (0) <A63C1B36-7A79-3024-9C48-638C5D22FC56> /Users/USER//Qt Creator.app/Contents/Frameworks/libExtensionSystem.14.0.0.dylib
0x106541000 - 0x106884fff +libUtils.14.0.0.dylib (0) <E31C1EAF-4982-3240-A548-261807D8B8B3> /Users/USER//Qt Creator.app/Contents/Frameworks/libUtils.14.0.0.dylib
0x106992000 - 0x106999fff +libAggregation.14.0.0.dylib (0) <2796FC5E-A841-3C9D-8E32-35F672CF73AE> /Users/USER//Qt Creator.app/Contents/Frameworks/libAggregation.14.0.0.dylib[ --- Cut many log files to reduce the length of this post---]
-
This issue is being tracked at https://bugreports.qt.io/browse/QTCREATORBUG-31354
Currently there is no solution to the issue.
-
And it's a Xcode 15 side effect, as per https://stackoverflow.com/questions/77193298/crash-running-app-build-on-macos-13-6-clang-15-when-running-on-macos-11-dyna
-
Alternatively you could try out an alternative build from Release v14.0.0 ยท qt-creator/qt-creator (github.com)
GitHub Actions have a newer Xcode installation for the
macos-latest
hosted runner. -
This issue is being tracked at https://bugreports.qt.io/browse/QTCREATORBUG-31354
Currently there is no solution to the issue.
@cristian-adam Thank you for the information. I will follow the bug report.