Very unhelpful test crash

I’m trying to test something, and literally the only output I get is:

error: the following test command crashed:                                                                                                                                                                      
.zig-cache/o/00bea6090d6c1c62029703c340c0e5ef/test --seed=0xacae3997 

I’ve never had it do this before.

Try running the command directly:

.zig-cache/o/00bea6090d6c1c62029703c340c0e5ef/test --seed=0xacae3997

(and then in a debugger if you still get nothing)

Now I see that it’s a segfault. Thank you!

1 Like

Which platform are you on? And which version of Zig? We’ve made fairly huge improvements to the stack tracing code in std.debug in master, so maybe you’ll get more helpful output in the next release.

4 Likes

Zig 0.15.1, x86_64 Linux