-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Runtime Error: trace trap clang-uml --help #270
Comments
@iAbadia Thanks for the info. At the moment I don't have access to a Mac to reproduce it, I'll try next week. Can you also share the output of: otool -L ./clang-uml ? |
Thanks @bkryza , here it is:
|
@iAbadia I tried to reproduce it on my MBP (unfortunately it's an old Intel based) but it works fine: ➜ clang-uml git:(master) debug/src/clang-uml --version
clang-uml 0.5.2-18-gaa62c47
Copyright (C) 2021-2024 Bartek Kryza <bkryza@gmail.com>
Darwin x86_64 21.1.0
Built against LLVM/Clang libraries version: 17.0.6
Using LLVM/Clang libraries version: Homebrew clang version 17.0.6
➜ clang-uml git:(master) debug/src/clang-uml --help
Clang-based UML diagram generator for C++
Usage: debug/src/clang-uml [OPTIONS]
Options:
-h,--help Print this help message and exit
-c,--config TEXT Location of configuration file, when '-' read from stdin
-d,--compile-database TEXT Location of compilation database directory
-n,--diagram-name TEXT ... List of diagram names to generate
... Also on my system brew does not offer to install LLVM 18 yet: ➜ clang-uml git:(master) brew update
==> Updating Homebrew...
Already up-to-date.
➜ clang-uml git:(master) brew search llvm
==> Formulae
cargo-llvm-cov llvm@11 llvm@14 llvm@17 spirv-llvm-translator
cargo-llvm-lines llvm@12 llvm@15 llvm@8 wllvm
llvm ✔ llvm@13 llvm@16 ✔ llvm@9 llm One more idea I have is if you could rebuild CMAKE_PREFIX=/opt/homebrew/opt/llvm/lib/cmake/llvm make debug and run again: debug/src/clang-uml --help in which case it should print stacktrace to the console and maybe it will provider some useful info... |
Hi, I've just built clang-uml from source on Sonoma 14.5 using brew's clang 18 and I'm getting a trace trap when running the built binary
Clang version
Trace trap error
Build log
The text was updated successfully, but these errors were encountered: