Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

github.com/nlohmann/json on macOS fails #13

Closed
shrouxm opened this issue Sep 3, 2020 · 3 comments
Closed

github.com/nlohmann/json on macOS fails #13

shrouxm opened this issue Sep 3, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@shrouxm
Copy link
Contributor

shrouxm commented Sep 3, 2020

Running commands

cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cp ./build/compile_commands.json .
lsif-clang --extra-arg='-resource-dir=/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3' --executor=all-TUs compile_commands.json > dump.lsif

exits with status 138.

...
[40/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-to_chars.cpp
[41/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-inspection.cpp
[42/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-serialization.cpp
[43/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-ordered_json.cpp
[44/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-merge_patch.cpp
[45/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-reference_access.cpp
[46/50] Processing file /Users/efritz/Downloads/cpptest/json/test/src/unit-assert_macro.cpp
[1]    93496 bus error  lsif-clang  --executor=all-TUs compile_commands.json > dump.lsif

The same process produces a successful LSIF dump on Ubuntu 20.04.

@aidaeology
Copy link

@gbrik What is the status of this issue, was this resolved with the 3.20 milestone or does it still need work? If it's resolved and longer a problem then please mark as closed and link the relevant PR.

@shrouxm
Copy link
Contributor Author

shrouxm commented Sep 28, 2020

I need someone with access to a MacOS machine to try to reproduce this error.

@shrouxm
Copy link
Contributor Author

shrouxm commented Oct 19, 2020

Closing because can't reproduce.

@shrouxm shrouxm closed this as completed Oct 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants