Closed orbea closed 7 years ago
yes we should check if not slash in path then we should add a ./
@r-type Hey, thanks, you just made my day!
I know these issues don't seem like much, but as someone who uses a terminal often its easy to reproduce and I now feel much more comfortable in providing a build script for mame2014 for slackbuilds.org knowing no one else in a similar position will run into it. :)
Also when you have a chance it would be greatly appreciated if you could look at the similar issue for mame2003 linked in the op.
Sorry but for 2003 I'm not admin on this core and the syntax is different so I let other people fix 2003
OS:
Slackware64-current
RetroArch-2017.01.05_7d0824420_master-x86_64-1_git
mame2014-libretro-2017.01.05_7dc561f73d_master-x86_64-1_git
mame2014-libretro will segfault if opening a rom from the command line without a full path.
Works:
retroarch -L /usr/lib64/libretro/mame2010_libretro.so ./alienar.zip
retroarch -L /usr/lib64/libretro/mame2010_libretro.so roms/alienar.zip
Segfault:
retroarch -L /usr/lib64/libretro/mame2003_libretro.so alienar.zip
Full GDB log - http://pastebin.com/pdsZVYct
This works in mame2000-libretro, but mame2003-libretro and mame2010-libretro have similar issues. https://github.com/libretro/mame2003-libretro/issues/74 https://github.com/libretro/mame2010-libretro/issues/25