Bernd Edlinger
Bernd Edlinger
While the 1.1.1 survives this kind of error injection test for days, the master has a lot of errors that are not obvious how to fix. some examples: ``` ERROR_INJECT=1653397888...
I configured with `./config enable-asan enable-ubsan -DERROR_INJECT -DERROR_CALLSTACK` Confirmed: both errors are reproducible with unpatched source code, and go away when I cherry-pick you fix(es). However if I start a...
> Possible fix in #18413 Confirmed. testrun.sh is now running for 13 seconds... but then: ``` ERROR_INJECT=1653475718 ../util/shlib_wrap.sh ./asn1-test ./corpora/asn1/06bc17ade5d3053d7f10c0619193cf410be020d3 #0 0x7efc2f0a6eba in __sanitizer_print_stack_trace ../../../../gcc-trunk/libsanitizer/asan/asan_stack.cpp:87 #1 0x409814 in my_malloc fuzz/test-corpus.c:114...
Thanks @mattcaswell, confirmed this issue is fixed. It is slowly getting better, this time the test ran 18 seconds :smile: and stopped with: ``` ERROR_INJECT=1653843206 ../util/shlib_wrap.sh ./asn1-test ./corpora/asn1/07fa4af1bd7601f65068dbd52c3b188b17a91995 # ./corpora/asn1/07fa4af1bd7601f65068dbd52c3b188b17a91995...
Thanks, confirmed. The bug was still reproducible on current master, and it was fixed when I cherry-picked your #18458. I started the test again, and it ran for about 13...
OK, this test case is fixed, and I started the testrun.sh again. But it stopped after 17 seconds with: ``` ERROR_INJECT=1654514305 ../util/shlib_wrap.sh ./asn1-test ./corpora/asn1/075a0cf62daf82deec4b206c027997c09b175df0 #0 0x7f20d1346d4f in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cc:36 #1...
Yes, it is: with gdb attached, I can get a callstack: ``` Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1...
How Cool Is That!!!!
OK Thanks for the really quick fix, test is again running....
.. but not for very long: ``` ERROR_INJECT=1654378947 ../util/shlib_wrap.sh ./server-test ./corpora/server/001c159fc891438181a8255e5587c48e25efb408 # ./corpora/server/001c159fc891438181a8255e5587c48e25efb408 #0 0x7f8a7d45ed4f in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cc:36 #1 0x55a66e76ab44 in my_realloc fuzz/test-corpus.c:129 #2 0x7f8a7c11afa3 in sk_reserve crypto/stack/stack.c:216 #3 0x7f8a7c11afa3...