dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.98k stars 955 forks source link

fix(sanitizers): disable false positive FtProfileInvalidQuery #4090

Closed kostasrim closed 2 weeks ago

kostasrim commented 2 weeks ago

Usual false positive chore.

kostasrim commented 2 weeks ago

https://github.com/dragonflydb/dragonfly/actions/workflows/daily-sanitizers.yml

BagritsevichStepan commented 2 weeks ago

It fails because of --jsonpathv2=false, right?

kostasrim commented 2 weeks ago

It fails because of --jsonpathv2=false, right?

ASAN gets confused and triggers a false positive. Happens when the parser throws the exception (I have manually attached a GDB to check all the memory addresses are ok)