Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff769b8b1 in __GI_abort () at abort.c:79
#2 0x00007ffff768b42a in __assert_fail_base (fmt=0x7ffff7812a38 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5555555ae85d "0", file=file@entry=0x5555555ae84e "sam2p_main.cpp", line=line@entry=534, function=function@entry=0x5555555af2a0 <one_liner(SimBuffer::B&, char const* const*)::__PRETTY_FUNCTION__> "bool one_liner(SimBuffer::B&, const char* const*)") at assert.c:92
#3 0x00007ffff768b4a2 in __GI___assert_fail (assertion=0x5555555ae85d "0", file=0x5555555ae84e "sam2p_main.cpp", line=534, function=0x5555555af2a0 <one_liner(SimBuffer::B&, char const* const*)::__PRETTY_FUNCTION__> "bool one_liner(SimBuffer::B&, const char* const*)") at assert.c:101
#4 0x000055555555d385 in one_liner (jobss=..., a=0x7fffffffdf18) at sam2p_main.cpp:534
#5 0x000055555555f683 in run_sam2p_engine (sout=..., serr=..., argv1=0x7fffffffdf10, helpp=false) at sam2p_main.cpp:977
#6 0x0000555555560512 in main (argv=0x7fffffffdf08) at sam2p_main.cpp:1148
Hello, We are currently working on a new fuzz testing feature, and we found a crash in sam2p.
Step to Reproduce We used
CXXFLAGS="-g -O0" ./configure
to configure sam2p, and build usingmake
, and run it with:Attachment: poc_0001.txt
Environment
Additional context Here's the stack trace: stack_trace_0001.txt
Thank you.