Priority: Not Evaluated
Affects Version/s: Qt Creator 3.5.0
Fix Version/s: Qt Creator 3.6.0-beta1
Environment:Arch Linux x86_64 with the following package versions:
A CMake build of LLDB 3.7.0 installs the following binaries to /usr/bin (on Arch Linux at least):
At startup, Qt Creator tries executing all of them with a -version argument. Looking at DebuggerItemManager::autoDetectGdbOrLldbDebuggers(), it probes all LLDB binaries named "lldb", "lldb.exe" or "lldb-*"
The "lldb-*" glob matches lldb-mi and lldb-mi-3.7.0 which treat the -version argument as the target binary to debug (they do accept a --version switch though). They then enter interactive mode and hang for 30 seconds until Qt Creator gives up waiting on them to exit.
From a user perspective, Qt Creator does nothing for about a minute and then exits immediately. Attempting to run it from a terminal displays the following output:
QProcess: Destroyed while process ("/usr/bin/lldb-mi") is still running.
QProcess: Destroyed while process ("/usr/bin/lldb-mi-3.7.0") is still running.
ICE default IO error handler doing an exit(), pid = 3953, errno = 32