New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when trying to build romlist for Neo-Geo AES using Mame #346

Open
TiBeN opened this Issue Apr 16, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@TiBeN

TiBeN commented Apr 16, 2017

Hi,

Using Ubuntu 16.10, Attract 2.2.1 (debug enabled) and Mame (0.179|0.183), a segmentation fault is thrown when trying to build romlist for Neo Geo AES. Here is the GDB stacktrace :

Reading symbols from /home/ben/src/15khz-arcade-pkg/vendor/attract-2.2.1/attract...done.
(gdb) run -b mame-aes
Starting program: /home/ben/src/15khz-arcade-pkg/vendor/attract-2.2.1/attract -b mame-aes
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
*** Generating Collection/Rom List: mame-aes
 - Found 254 files.
100%

Program received signal SIGSEGV, Segmentation fault.
0x0000555555855240 in (anonymous namespace)::get_crc (full_path="/srv/pkg/roms/mame/neogeo/mslug5.zip", exts=std::vector of length 2, capacity 2 = {...}) at src/scraper_xml.cpp:146
146             myfile.read( buff, size );
(gdb) backtrace
#0  0x0000555555855240 in (anonymous namespace)::get_crc (full_path="/srv/pkg/roms/mame/neogeo/mslug5.zip", exts=std::vector of length 2, capacity 2 = {...}) at src/scraper_xml.cpp:146
#1  0x0000555555859041 in FeListSoftwareParser::parse (this=0x7fffffffbf10, prog="/usr/local/bin/mame64", work_dir="", system_names=std::vector of length 2, capacity 2 = {...}) at src/scraper_xml.cpp:933
#2  0x00005555558615c7 in FeSettings::apply_xml_import (this=0x7fffffffc9b0, c=..., include_gdb=true) at src/scraper_general.cpp:391
#3  0x00005555558621be in FeSettings::build_romlist (this=0x7fffffffc9b0, task_list=std::vector of length 1, capacity 1 = {...}, output_name="", filter=..., full=false) at src/scraper_general.cpp:525
#4  0x000055555580402b in process_args (argc=3, argv=0x7fffffffdf18, config_path="", cmdln_font="", process_console=@0x7fffffffcf58: false) at src/fe_cmdline.cpp:309
#5  0x00005555558ec47e in main (argc=3, argv=0x7fffffffdf18) at src/main.cpp:51
(gdb) 

and the emulator configuration:

executable           /usr/local/bin/mame64
args                 -waitvsync [system] [name]
rompath              /srv/pkg/roms/mame/neogeo
romext               .zip;.7z
system               aes;SNK Neo-Geo AES
info_source          listsoftware
exit_hotkey          S
artwork    flyer           $HOME/.attract/scraper/mame-aes/flyer
artwork    marquee         $HOME/.attract/scraper/mame-aes/marquee
artwork    snap            $HOME/.attract/scraper/mame-aes/snap
artwork    wheel           $HOME/.attract/scraper/mame-aes/wheel

@TiBeN TiBeN changed the title from Segmentation fault on build romlist for Neo-Geo AES to Segmentation fault when trying to build romlist for Neo-Geo AES Apr 16, 2017

@TiBeN TiBeN changed the title from Segmentation fault when trying to build romlist for Neo-Geo AES to Segmentation fault when trying to build romlist for Neo-Geo AES using Mame Apr 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment