-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Segmentation fault when linked with libunwind #1665
Comments
gdb ./a.out This makes me think of an incompatibility between libunwind compiled with GCC and |
The bug is reproducible with: using json = nlohmann::json; compiled with: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I tried to run an example code, and when linking with libunwind it segfaults.
You can reproduce by downloading libunwind (master branch, b316234d63c7ff6fcfac6d72e0f27394fe86af80), install ./configure --prefix .... ; make ; make install
The simple example used is: json/doc/examples/README.cpp
compile with g++ -o test README.cpp -std=c++11 -I. -L /path/to/libunwind -lunwind
g++ --version
g++ (GCC) 7.3.0 20180125 (Cray Inc.)
uname -a
Linux cori01 4.4.178-94.91-default #1 SMP Thu May 2 20:14:31 UTC 2019 (d683ca1) x86_64 x86_64 x86_64 GNU/Linux
Reproduced with both develop and master branches.
The text was updated successfully, but these errors were encountered: