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

    Segmentation faults with mupen64plus after update

    Scheduled Pinned Locked Moved Help and Support
    segmentationnintendo 64mupen64plusruncommand
    16 Posts 9 Posters 6.4k 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.
    • S
      sonicsheppard
      last edited by

      Hello,

      After a recent update I am receiving segmentation fault errors when trying to launch games using mupen64plus.

      Pi Model or other hardware: Raspberry Pi 3
      Power Supply used: 5V 3A USB mains power
      RetroPie Version Used: 4.3.1 RetroPie script
      Built From: made from 4.3 RetroPie image, updated script to 4.3.1
      USB Devices connected: Wireless Rapoo-T series keybpard/mouse, Bluetooth dongle, Hyper X 256 USB drive
      Controller used: RetroBit/8BitDo Bluetooth N64 controller
      Emulator: All non libretro mupen64plus cores tried (Glide, gles etc)
      How to replicate the problem: Update raspberry pi using sudo apt-get update and sudo apt-get upgrade, update retropie to 4.3.1, update mupen64plus cores using Binary. Attempt to launch N64 rom.

      Log found in /dev/shm/runcommand.log (if relevant):

      Parameters: 
      Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/WWF No Mercy (USA) (Rev A).n64" 320x240
      /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 423:  4184 Segmentation fault      SDL_VIDEO_RPI_SCALE_MODE=1 "$rootdir/emulators/mupen64plus/bin/mupen64plus" --noosd --windowed $RES --rsp ${RSP_PLUGIN}.so --gfx ${VIDEO_PLUGIN}.so --audio ${AUDIO_PLUGIN}.so --configdir "$configdir/n64" --datadir "$configdir/n64" "$ROM"
      

      I'm not sure when this started occurring as I had not launched an N64 game for a few weeks.

      1 Reply Last reply Reply Quote 2
      • PeridotP
        Peridot
        last edited by

        I've been having similar issues, not sure how related they are:

        Ir-mupen64plus = Works fine
        gles2n64 = Black screen with audio playing
        gles2rice-hires = Black screen with audio playing
        gles2rice = Black screen with audio playing
        GLideN64-hires = Crash to emulationstation
        GLideN64 = Crash to emulationstation

        Tried deleting it (and all configs) and reinstalled from binary and source. Getting the same error in line 423.

        S 1 Reply Last reply Reply Quote 0
        • S
          sonicsheppard @Peridot
          last edited by

          @peridot I'd need to try it again, but I think this might have been what I was seeing. Glide was definitely the one crashing to ES. Gonna try updating from source.

          1 Reply Last reply Reply Quote 0
          • S
            sonicsheppard
            last edited by

            Still the same issues after updating mupen64plus from source.

            1 Reply Last reply Reply Quote 0
            • J
              Juakin
              last edited by

              Hi!, I think I'm experiencing the same issue.

              1 Reply Last reply Reply Quote 0
              • A
                angiolucci
                last edited by

                Hello. It seems I'm facing this very same issue!

                1 Reply Last reply Reply Quote 0
                • W
                  Wenderu
                  last edited by

                  Same problem here. After update, won't load roms . Same as:

                  "Ir-mupen64plus = Works fine
                  gles2n64 = Black screen with audio playing
                  gles2rice-hires = Black screen with audio playing
                  gles2rice = Black screen with audio playing
                  GLideN64-hires = Crash to emulationstation
                  GLideN64 = Crash to emulationstation"

                  I have spent the last 3 days trying to fix this, but I think it is a problem with the update now. I have installed another retropie and same problem. I hope this is fixed soon. Looking forward to hearing more about how to fix this. Thanks!

                  1 Reply Last reply Reply Quote 1
                  • A
                    Acidnine
                    last edited by

                    Today, I installed the latest retropie on my Pi 3 (rpi USB boot). Copied media, tested N64 games just fine. Ran an update to test and now have the same issue.

                    jonnykeshJ 1 Reply Last reply Reply Quote 0
                    • jonnykeshJ
                      jonnykesh @Acidnine
                      last edited by

                      @acidnine Update from source. Just tested it and it is working fine.

                      1 Reply Last reply Reply Quote 1
                      • S
                        sonicsheppard
                        last edited by

                        Confirmed Glide is no longer crashing after updating from source, not tried gles yet though. Thanks!

                        1 Reply Last reply Reply Quote 0
                        • PeridotP
                          Peridot
                          last edited by

                          Confirmed, all cores working correctly after updating. Thanks to the team for fixing it so fast.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Azeron
                            last edited by

                            Hello!

                            I have the same issue with my pi3 and the newest retropie version and today I updated the mupen64plus package from source but after starting a rom, 2 secounds later it crashes to the emulationstation n64 rom menu.

                            What packages do you updated from source? Now i started the update lr-mupen64plus package from source. I hope this fix the problem for me.

                            thanks

                            jonnykeshJ 1 Reply Last reply Reply Quote 0
                            • jonnykeshJ
                              jonnykesh @Azeron
                              last edited by

                              @azeron Not lr-mupen64plus You are probably using the standalone mupen64plus which is not a libretro / RetroArch core. This is the package you need to update from source. If you have already done this then I don't know what your specific issue is as this has worked to fix the issue for everyone else.

                              A 1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators
                                last edited by

                                Updating now will likely break it. Don't update for now from source. Latest binaries should work (make sure RetroPie is up to date). This has changed from earlier in thread, when we moved to newer SDL - we rolled back for now.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                A 1 Reply Last reply Reply Quote 1
                                • A
                                  Acidnine @BuZz
                                  last edited by

                                  @buzz Thank you! I did an update through the retropie setup menu and it's working again.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Azeron @jonnykesh
                                    last edited by

                                    @jonnykesh At first I updated the standalone mupen64plus package from source but it didn't solve the problem so I updated the lr-mupen64plus package too.

                                    In reddit someone wrote that it should work from now on with an update from the binarys.
                                    I tried the mupen64plus update from binarys and now it works :D

                                    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.