trailofbits / ruzzy

A coverage-guided fuzzer for pure Ruby code and Ruby C extensions
GNU Affero General Public License v3.0
69 stars 3 forks source link

Harness ends with DEADLYSIGNAL at start #20

Open AdvenamTacet opened 3 months ago

AdvenamTacet commented 3 months ago

Often running a harness ends with:

AddressSanitizer: DEADLYSIGNAL
AddressSanitizer: DEADLYSIGNAL
AddressSanitizer: DEADLYSIGNAL
...
AddressSanitizer: DEADLYSIGNAL
AddressSanitizer: DEADLYSIGNAL
AddressSanitizer: DEADLYSIGNAL

In my experience, it always happens at the very beginning of running the harness.

While my setup is quite specific, I believe @mschwager observed the same behavior. (Am I right?)

mschwager commented 3 months ago

Yeah, I've seen this reliably a number of times. In my case, it would crash libFuzzer and the fuzzing process. This was from a while ago, so I don't immediately have the reproduction steps, but I did dig up these links that I was using to debug:

I did try turning off ASLR, but that didn't stop the issue from happening for me.