retrosmc icon indicating copy to clipboard operation
retrosmc copied to clipboard

emulationstation segfaulting from launcher

Open hakuya opened this issue 6 years ago • 5 comments

I was getting a /usr/bin/emulationstation: line 13: 1557 Segmentation fault $es_bin “$@”

When trying to launch from the OSMC addon. Was launching fine when I called the retropie.sh script over ssh. Seems emulationstation does not work nicely when it is launched from certain directories (presumably ones it can’t write to). I worked around this by adding a

cd /home/osmc

just below the shbang of the retropie.sh script.

Running latest OSMC 2018.12

hakuya avatar Feb 11 '19 06:02 hakuya

I can confirm this, because I had the same issue after updating emulationstation to V2.8.1RP. hakuya's workaround fixed it for me, too. Thank you.

FastHogi avatar Feb 12 '19 11:02 FastHogi

I see same issue, but I'm new in OSMC and all these stuff. Can someone please describe in details how to "add cd /home/osmc just below the shbang of the retropie.sh script." Thank you.

JiriHradsky avatar Feb 13 '19 18:02 JiriHradsky

Edit the file \home\osmc\RetroPie\scripts\retropie.sh and add a new line at line 20 just below the line echo '#!/bin/bash (shbang means the "#!" string). So line 19 - 21 should look like this:

echo '#!/bin/bash
cd /home/osmc

es_bin="/opt/retropie/supplementary/emulationstation/emulationstation"

FastHogi avatar Feb 14 '19 08:02 FastHogi

This solution also helped in my case, where emulationstation was not starting via launcher plugin, and starting normally when retropie.sh sript was executed directly on linux.

morel666 avatar Feb 17 '19 17:02 morel666

Damn, why i came here only after Uninstalling it all!!? Thx!

DenimTornado avatar Mar 11 '19 19:03 DenimTornado