Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000004 (pc 0x00000085c76a bp 0x7f1dc97f55e0 sp 0x7f1dc97f5580 T28202) #388

Open
h0rs3fa11 opened this issue Apr 8, 2021 · 1 comment

Comments

@h0rs3fa11
Copy link

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

@robertswiecki
Copy link
Collaborator

Can you compile with -ggdb and repeat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants