You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program received signal SIGSEGV, Segmentation fault.
0x0000aaaaaaf92c58 in boost::ext::ut::v2_0_0::reporter_junit<boost::ext::ut::v2_0_0::printer>::reporter_junit (
this=0xaaaaad0267a0 <boost::ext::ut::v2_0_0::cfg<boost::ext::ut::v2_0_0::override>>) at _deps/ut-src/include/boost/ut.hpp:1611
1611 std::streambuf* cout_save = std::cout.rdbuf();
I am seeing something something similar when building/testing 2.0.1 on Debian 12 using clang++-16. I had some very simple tests (like adding integers) that worked fine with ut before. When I tried it on something somewhat more complex (tokenizing some strings) with clang++-16, I got a segfault. Retrying the same simple tests with the latter compiler also resulted in a segfault.
Since the installed version of ut had been built with gcc (12.2.0), I decided to rebuild it with clang++ (16.0.6). Now the build fails as follows:
Expected Behavior
Test to pass
Actual Behavior
SIGSEGV is received:
This only happened in Manjaro Linux aarch64 when I attempted to build and run https://github.com/sakhnik/adventofcode . The build on x86_64 runs fine.
Steps to Reproduce the Problem
git clone https://github.com/sakhnik/adventofcode
cd adventofcode
./conf.sh
cmake --build BUILD
./BUILD/aoc 2023-01
Specifications
The executable doesn't crash when built with gcc!
The text was updated successfully, but these errors were encountered: