Closed katananja closed 6 years ago
This isn't unique to mame http://sqlite.1065341.n5.nabble.com/gnu-gcc-address-sanitizer-finds-stack-use-after-scope-in-sqlite3VdbeExec-td95428.html and should be reported upsteam. Maybe a later release fixes it but the link suggests it's a bug in gcc's sanitizer.
What cause this in mame was something related with permission and something else that I didn't follow after a preview fix https://github.com/mamedev/mame/issues/3022. Can you share some basic commands to test? I can post here if it returns an error.
I have not been able to reproduce this on my side using clang 5.0.1. It didn't come to my mind, that it might be a bug in the sanitizer, so since you are using an earlier version that might explain that.
I'll move to another distro then.
Thank you @firewave
Debian 9 x64
,mame0193-566-g8f18a047fb-dirty
Build command:make clean && make VERBOSE=1 OVERRIDE_CC=/usr/bin/clang-3.9 OVERRIDE_CXX=/usr/bin/clang++-3.9 REGENIE=1 DEBUG=1 SYMBOLS=1 SYMLEVEL=1 SANITIZE=address -j7
for f in $(find . -name *.db); do rm -f $f; done
-plugin -console
.Until yesterday it was fine, it was fixed.
It doesn't crash if you set
plugin
to zero at yourmame.ini
, or if you manually delete the database and start with./mame64d -plugin -console
plugin.ini
./mame64d -verbose -plugin -console