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

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

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

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

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

Comments

@garobrik
Copy link
Contributor

garobrik 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.

@garobrik
Copy link
Contributor Author

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

@garobrik
Copy link
Contributor Author

Closing because can't reproduce.

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