Skip to content

Segmentation fault when linked with libunwind #1665

@hbrunie

Description

@hbrunie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updated

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions