honggfuzz
honggfuzz copied to clipboard
UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000004 (pc 0x00000085c76a bp 0x7f1dc97f55e0 sp 0x7f1dc97f5580 T28202)
I ran the file compiled with hfuzz-clang and reported this error, which caused each item to crash during the fuzzing test.
==28194==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000004 (pc 0x00000085c76a bp 0x7f1dc97f55e0 sp 0x7f1dc97f5580 T28202)
==28194==The signal is caused by a READ memory access.
==28194==Hint: address points to the zero page.
...
#0 0x85c769
#1 0x1d56b4c
#2 0x1d56a95
#3 0x1daf903
#4 0x1daf5de
#5 0x1dadbe4
#6 0x1dcdc23
#7 0x1dcca2b
#8 0x1e37067
#9 0x1e2d3e7
#10 0x1dcf3b0
#11 0x1db494f
#12 0x1db43c0
#13 0x7f1dd18e3ea4 (/lib64/libpthread.so.0+0x7ea4)
#14 0x7f1dd0be49fc (/lib64/libc.so.6+0xfe9fc)
OS: centos 7 & ubuntu 20.04
Can you compile with -ggdb and repeat?