#fuzz

1 messages · Page 1 of 1 (latest)

vestal jetty
#

Am I doing something wrong? The simplest fuzz test seems to crash on me.

quasi pendant
#

the fuzzer stuff is still very new

vestal jetty
#

it breaks if I put both -ffuzz and --debug-rt

#

but not if I put either/or

#

no clue why that is

quasi pendant
#

my guess is that coverage information inside std or compiler-rt is being called while handling coverage information, which breaks HashMap's thread safety guarantee

vestal jetty
#

that would be a really good guess

#

better than mine atm

quasi pendant
#

im not even entirely sure how exactly that should actually be handled

#

but my working guess:

  • something ends up calling visitPc
  • which calls HashMap.put
  • sometime during the execution of HashMap.put, but before it releases the pointer safety lock,
  • something calls visitPc
  • which calls HashMap.put, the pointer safety lock is already locked; hence error
vestal jetty
#

ok