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
I got this on aarch64-linux-android, which seems even more concerning:
test crypto::aes::tests::test_parallel_encrypt ... libc: Fatal signal 11 (SIGSEGV), code 0, fault addr 0x0 in tid 21 ()
libc: Fatal signal 4 (SIGILL), code 2, fault addr 0x4004227030 in tid 23 (qemu-aarch64)
libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4802102498 in tid 22 (qemu-aarch64)
libclibc: Unable to open connection to debuggerd: Connection refused
: Unable to open connection to debuggerd: Connection refused
libc: Unable to open connection to debuggerd: Connection refused
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
error: test failed, to rerun pass '--lib'
Caused by:
process didn't exit successfully: `qemu-aarch64 /target/aarch64-linux-android/debug/deps/ironoxide-c26b43cb4deb804d` (signal: 4, SIGILL: illegal instruction)
Also, testing is very slow. cross test runs units tests sequentially because QEMU gets upset when you spawn multiple threads. This means that, if one of your unit tests spawns threads, then it's more likely to fail or, worst, never terminate.
So that's probably the issue as the test in question is using std::thread::spawn which is maybe a bad idea anyway....
clintfred
changed the title
SEGV in cross test
SEGV in cross test that use QEMU
Apr 15, 2020
This does not happen every time; it failed 8/10 times on my machine.
The text was updated successfully, but these errors were encountered: