mcobit / retrosmc

An easier way to get retropie onto osmc
Other
212 stars 32 forks source link

emulationstation segfaulting from launcher #59

Open hakuya opened 5 years ago

hakuya commented 5 years ago

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

FastHogi commented 5 years ago

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.

JiriHradsky commented 5 years ago

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.

FastHogi commented 5 years ago

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"
morel666 commented 5 years ago

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.

DenimTornado commented 5 years ago

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