oomek / attractplus

Attract-Mode Plus
GNU General Public License v3.0
41 stars 14 forks source link

Segfault on --build-romlist #71

Open stackErr-NameNotResolved opened 3 weeks ago

stackErr-NameNotResolved commented 3 weeks ago

Happens in both v3.0.8 and v3.0.9, compiled on Ubuntu 24.04:

Building romlists always works, except under one specific condition, whenever "qsound_hle.zip" exists in the roms directory, a segfault will follow on building romlists.

Example 1

Files under ~/mame/roms/: ssf2t.zip qsound_hle.zip

Command attractplus -b foobar

Result

*** Generating Collection/Rom List: foobar
 - Found 2 files.
 - Obtaining -listxml info...150%
Segmentation fault (core dumped)

Example 2

Files under ~/mame/roms/: ssf2t.zip neo_geo.zip

Command attractplus -b foobar

Result

*** Generating Collection/Rom List: foobar
 - Found 2 files.
 - Obtaining -listxml info...100%
 - Discarded 1 entries based on xml info: neogeo 
 - Removing any duplicate entries...
 + Writing 1 entries to: /home/X/.attract/romlists/foobar10.txt

Summary

The romlist builder will always exclude bios files from building, except on "qsound_hle.zip", the builder will segfault.

Does anyone has some idea? Maybe this is a upstream (Attract) issue?