mupen64plus-core icon indicating copy to clipboard operation
mupen64plus-core copied to clipboard

Illegal instruction (core dumped)

Open Altair314 opened this issue 5 years ago • 8 comments

Obviously, I'm trying to run mupen64plus. I'm just trying to run it from the command line in UbuntuStudio 18.10 with an x86_64 processor. The error I get is as follows retr0@Alessia:~$ mupen64plus ROM/GoldenEye\ 007\ \(U\)\ \[\!\].z64 Illegal instruction (core dumped) retr0@Alessia:~$ And my hardware can be found at https://pastebin.com/EGZ5WsjR

I went to https://github.com/mupen64plus/mupen64plus-core/releases/tag/2.5.9 and downloaded the x64 linux tarball, and installed it with that. Any help would be great

Altair314 avatar Apr 06 '19 22:04 Altair314

I have the same issue... I hope someone can tell me how to fix.

FrostKnight avatar Sep 12 '19 20:09 FrostKnight

This is strange; we're not using any super new AVX instructions which would be possibly unsupported on a relatively modern CPU. Can you post the core dump file which gets generated and written to disk when this error occurs?

richard42 avatar Apr 07 '20 05:04 richard42

How would I do this per chance? the core dump i mean...

FrostKnight avatar Apr 07 '20 06:04 FrostKnight

To get a core dump, enable it in your BASH shell with the command "ulimit -c unlimited" and then run as shown in your original issue report. When it crashes, it should generate a file in the current directory called "core." where is the PID of the emulator before it crashed.

richard42 avatar Apr 08 '20 14:04 richard42

I tried it on a different laptop and don't get this error, I don't know what happened.

Although, it doesn't detect my plugins, aka, the raphnet n64 adapter... ;(

FrostKnight avatar Apr 08 '20 19:04 FrostKnight

#754 is related, I think. I had this issue as well, m64py uses ctypes to load libmupen64plus.so.2 which fails with 'Illegal instruction'. Grabbing the latest commit, building, and pointing m64py at it got it to load successfully. Not sure how the release was built, maybe something went wrong? Worth noting that I had the same issue pointing m64py to the plugin library files bundled with the release.

Zixiken avatar May 27 '20 21:05 Zixiken

i just built 2.5.9 from source on my jetson nano and am getting this error:

UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.9
UI-Console:             Includes support for Dynamic Recompiler.
Core: Using full mem base
Segmentation fault (core dumped)

would the solution above still work, to uninstall this build and then pull latest from git and build again?

stevenhurwitt avatar Nov 26 '20 21:11 stevenhurwitt

Perhaps. I never looked into what changed from the 2.5.9 release to whatever commit I had pulled and built, but it got m64py to load the core library correctly.

Zixiken avatar Nov 30 '20 14:11 Zixiken