Closed noloader closed 6 years ago
Sorry about another report.
LOL thanks for testing, seriously it's very helpful.
It looks like std::async
is broken here. I've seen some crashes like this before on other systems, when threads are broken or disabled for whatever reason. Maybe a problem on NetBSD generally, maybe just on your setup, or maybe some interaction between NetBSD threads and some bug in Botan. In any case I'm sure debugging it will be tons of fun. I will try to get a VM installed and replicate the problem.
Right now there is no way to disable use of std::async but still also provide thread safety through std::mutex. I need to fix that. In the short term you can try disabling thread support completely and seeing if the tests make it through otherwise. You can do that by editing src/build-data/os/netbsd.txt
and removing "threads" from target_features block. I've been meaning to also add configure.py toggles for these feature flags, another todo...
Too late to handle this one for 2.0.0, but worth fixing if possible and with a bit of setup I should be able to replicate.
At this point a working std::async
is required for path validation to work, so I don't think it is possible to support this system. Closing.
Sorry about another report. This one is for NetBSD 7.0 amd64 under a Virtual Box VM. I've had trouble trying to update this system for months, so its mostly unpatched. GCC version is:
The library was built using the
sed -i 's|-O3|-g3 -O2|g' Makefile
trick (thanks for that, btw). Here's what it looks like under GDB.And: