Three logfiles attached. Commandline for each run was `./mamearcade64 pacman -rompath /path/to/roms/ -v -log`; this was straight from the build directory on a fresh build from clean source.
There is no error log for the botched run - MAME didn't generate one, so no point in attaching a zero-length file