lr-pcsx-rearmed: runcommand.sh: line 804: 5728 Segmentation fault (since 3.8)
-
Hey guys, I'm also having a segmentation fault error.. but I'm new to this all, and not sure exactly whats going on
here is a copy of my log file. can anyone help me sort this?Starting PCSX-ReARMed v3.0rc1-1125-g4e6f4e9
Running PCSX Version 1.9 (May 26 2016).
Init new dynarec
testing if we can run recompiled code..
test passed.
Mapped (RAM/scrp/ROM/LUTs/TC):
80000000/1f800000/1fc00000/08000000/b4396000
found BIOS file: SCPH1001.BIN
RGB565 supported, using it
plugin: plugins/builtin_gpu
plugin: plugins/builtin_spu
plugin: plugins/builtin_pad
plugin: plugins/builtin_pad
Plugins loaded.
Loaded CD Image: /home/pi/RetroPie/roms/psx/SLUS_00551.CUE.
/opt/retropie/supplementary/runcommand/runcommand.sh: line 804: 819 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-pcsx-rearmed/libretro.so --config /opt/retropie/configs/psx/retroarch.cfg "/home/pi/RetroPie/roms/psx/SLUS_00551.CUE" --appendconfig /tmp/retroarch.cfg -
@skrapps914 there are two solutions in this thread which will work. easiest is just going to the retropie-setup menu, and reinstalling lr-pcsx-rearmed from binaries.
-
@dankcushions i saw the first solution, which was
"The issue can be reverted by editing
/opt/RetroPie/configs/all/retroarch-core-options.cfgchanging:
pcsx_rearmed_pad1type="analog"
back to:
pcsx_rearmed_pad1type="standard""however, my retroarch-core-options.cfg does't have any lines for pcsx_rearmed at all. (i'm guessing thats where the issue is, seems like pcsx rearmed isnt writing to the config file?
the second solution, reinstalling from binaries, i have no idea how to do.. i'm new to all of this.
-
@skrapps914 i suspect your issue isn't anything to do with this, then. you should instead give us more details: https://retropie.org.uk/forum/topic/3/read-this-first
-
Hi,
Regarding installation of the PlayStation emulator from binaries, maybe this guide will help:
RetroPie Manual Installation Guide, including the Version 4 Setup Script Revised Menu Structure
When following the guide, In the section Installing the Main Emulators, rather than using the option "Install/Update all main packages from binary", instead select the lr-pcsx-rearmed emulator from the list
-
@dankcushions i followed instructions the correct way, i put the bios in the bios folder, i created a disc image from one of my playstation games, transfered the bin/cue files to the psx roms folder. i went to start it, and got this error in the log
-
@RetroResolution thanks, i will give this a shot. will i have to delete the previous emulator? or will it just overwrite it?
-
@skrapps914 said in lr-pcsx-rearmed: runcommand.sh: line 804: 5728 Segmentation fault (since 3.8):
@dankcushions i followed instructions the correct way, i put the bios in the bios folder, i created a disc image from one of my playstation games, transfered the bin/cue files to the psx roms folder. i went to start it, and got this error in the log
please look at the link again and give us the full set of information it suggests. everything is important.
also, i wouldn't start out with a game you've ripped - go and download a playstation iso and start from there (just to test!). self-ripped games seem like a likely point of failure to me.
-
@skrapps914 it should just overwrite it
-
@dankcushions thanks for your help. i have games i ripped for ps2 hard drive installation years ago.
i tried to reinstall like @RetroResolution mentioned, and everything is working again. i think there may be something up with retropie installation first go round. as it wasnt outputting/writing into configuration files. -
@skrapps914 Glad that resolved the problem for you.
-
@RetroResolution thanks again!
-
Yesterday i fix this segmentation fault error, it's was merged by twinaphex on GitHub
I fix it with Kekun. Take care to configure your pad correctly (standard/analog). The emulator don't crash anymore. -
@alexis-puska that's excellent, thanks for all your efforts on this.
-
@alexis-puska thanks :-)
-
@alexis-puska tested and works! great job, merci beaucoup :D
-
@dankcushions has this version been pushed to the main release branch? (e.g. can I update lr-pcsx-rearmed from binary, or source, and obtain the latest version). No problem if not, I can always build from the parent repo.
-
@RetroResolution said in lr-pcsx-rearmed: runcommand.sh: line 804: 5728 Segmentation fault (since 3.8):
@dankcushions has this version been pushed to the main release branch? (e.g. can I update lr-pcsx-rearmed from binary, or source, and obtain the latest version). No problem if not, I can always build from the parent repo.
yep! via source will definitely get you the new version.
-
@dankcushions Merci, No problems, we have solde this issues by revert the header of a callback fonction. i have hade a pad_index parameters, and this parameter was not correctly passe in the function call. We hade this parameters in the PadData structure, and init this structure in the callback, passed by a pointer, with this fix, not anymore a crazy value and the segmentation fault.
-
Thanks for fixing this - I have rebuilt the binaries just now also.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.