RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-MAME2010 Update Issue / Update Startup Script Fails

    Scheduled Pinned Locked Moved Help and Support
    mame2010retroarchupdate
    26 Posts 5 Posters 4.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hooperreH
      hooperre @dankcushions
      last edited by

      @dankcushions

      Parameters: 
      Executing: SDL_VIDEO_EGL_DRIVER=/opt/vc/lib/libEGL.so SDL_VIDEO_GL_DRIVER=/opt/vc/lib/libGLESv2.so /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/asteroid.zip" --appendconfig /dev/shm/retroarch.cfg'|'"/home/pi/RetroPie/roms/arcade/asteroid.zip.cfg"
      value: enabled
      value: enabled
      value: enabled
      value: enabled
      value: disabled
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 1013:  1652 Segmentation fault      SDL_VIDEO_EGL_DRIVER=/opt/vc/lib/libEGL.so SDL_VIDEO_GL_DRIVER=/opt/vc/lib/libGLESv2.so /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/asteroid.zip" --appendconfig /dev/shm/retroarch.cfg'|'"/home/pi/RetroPie/roms/arcade/asteroid.zip.cfg"
      

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @hooperre
        last edited by

        @hooperre thanks - 'segmentation fault' is a crash, so it looks like mame2010 is broken.

        i don't use it, but maybe someone else who does can say if the latest version is working or not.

        i guess my favourite suggestion is to stop using mame2010 ;)

        hooperreH 1 Reply Last reply Reply Quote 0
        • hooperreH
          hooperre @dankcushions
          last edited by hooperre

          @dankcushions Posted on the github for lr-mame2010. In the meantime, I'll take your advice :). Thanks again for your patience.

          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

          1 Reply Last reply Reply Quote 0
          • hooperreH
            hooperre
            last edited by hooperre

            @dankcushions it looks like my if and statement says 'fi' instead of 'if' in my runcommand.sh.

            function launch_command() {
                local ret
                # launch the command
                echo -e "Parameters: $@\nExecuting: $COMMAND" >>"$LOG"
                if [[ "$CONSOLE_OUT" -eq 1 ]]; then
                    # turn cursor on
                    tput cnorm
                    eval $COMMAND </dev/tty 2>>"$LOG"
                    ret=$?
                    tput civis
                else
                    eval $COMMAND </dev/tty &>>"$LOG"
                    ret=$?
                fi
                return $ret
            }
            

            My python skills are still a work in progress, but I'm guessing that 'fi' doesn't even need to be there? Nvm there are "fi's" everywhere. Not familiar with that one.

            Anyway, the eval $COMMAND </dev/tty 2>>"$LOG" line causes the fragmentation error.

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            dankcushionsD 1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator @hooperre
              last edited by

              @hooperre FI is closing the IF block. bash scripts are weird.

              you don't have an error there - the errors are within the mame2010 executable, not the launcher. you won't be able to track down any further without running it in debug mode with gdb. this is complex. like i said, you should wait for someone else to confirm your issues before progressing this, especially to git.

              hooperreH 1 Reply Last reply Reply Quote 0
              • hooperreH
                hooperre @dankcushions
                last edited by

                @dankcushions Damn. Okay. Others on Reddit said they were able to update from binary successfully. I think it’s a me issue. 2010 for some reason has been trouble since jump for me.

                Thanks again.

                4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.