Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
Qt Creator 13.0.0, Qt Creator 14.0.1
-
macOS 14.2.1 (AArch64)
Qt Creator 13.0 as provided by Homebrew
Description
I am having the most mysterious bug: I'm trying to insert the path to ASAN by editing the run environment of my executable, by setting it in the view :
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
Yet on launch (or even when I click the "Open a terminal" button in the run view to open a terminal with the environment), the env var is missing.
Now, for the perplexing part of it :
- This works:
DYLD_INSERT_LIBRARIES=(some random dylib in my $HOME)
- This works:
FOO=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
but the combination of the two gets removed ?
This seems to be deep : if I export said variable from a terminal, and launch QtC from this terminal (through "/Applications/Qt Creator.app/Contents/MacOS/Qt Creator") I don't see th env var show up in the default environment of the apps (build or run)