What's new

mupen crashes when launching ROM

MisterJ

New member
Hello,

since I have reinstalled my linux distro, I cannot launch a ROM with mupen
I tried to open mupen directly from a console in order to check error messages but I don't noticed any
The GUI opens correctly and I can modify the config but when I right clic on a ROM then selects Launch the ROM, the window for the game opens then immediately closes, finishing mupen in the same time
here is the output :

Code:
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
file found
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
rom loaded succesfully
80 37 12 40
ClockRate=f
Version:1446
CRC: 2577c7d4 d18faaae
name: MARIOKART64
Manufacturer: Nintendo
Cartridge_ID: 544b
Country Code : 150
size: 4096
PC= 80000400
md5 code:2BB149A583FDEFEA96805F628FE42FD9
eeprom type:0
init timer!
memory initialized
[blight's SDL input plugin]: version 0.0.10 initialized.
InitExternalTextures
Initializing OpenGL Device Context
(II) Initializing SDL video subsystem...
(II) Getting video info...
(II) Setting video mode 1024x768...
ATI Technologies Inc. - RADEON 9500 Generic : 2.0.5695 (8.23.7)
(II) JttL's sound plugin version 1.3
(II) Initializing SDL audio subsystem...
(II) Allocating memory for audio buffer: 65536 bytes.
demarrage r4300
dynamic recompiler
Signal number 11 caught:
        errno = 0 (Succès)

I can play others games like ppracer (3D is working fine) or Abuse but don't know where to search for this problem.

does anybody has an idea ?
thx in advance for your help ;)
 

Hacktarux

Emulator Developer
Moderator
Give more details... do you have tried different plugins ? do you have tried other cores ? how do you have installed mupen64 ?
 
OP
M

MisterJ

New member
my linux distro is Mandriva 2006
I installed mupen by downloading the tarball "mupen64-0.5.tar.bz2" from http://mupen64.emulation64.com/
about the plugins, I tried the others without any success, some freezes the system too
I used the config file which was working before reinstalling
I tried the others cores but nothing changed too... still crashing
 
Last edited:
OP
M

MisterJ

New member
no, I'm using plugins provided with the archive
I have used the same archive before reinstalling and all was running fine before
I checked if SDL is present and it is
:(
 
Last edited:
OP
M

MisterJ

New member
I didn't know ldd, thx
I tried and here is the result :
Code:
[thierry@maison plugins]$ ldd Glide64.so
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb6fc2000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6f3f000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6f26000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6f0f000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb6f08000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb6efd000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6ec4000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6e8a000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6e87000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6e70000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6dea000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb6dbb000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb6d2d000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb6c97000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb6c85000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb6bc6000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb6ba1000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6b96000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb6a67000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6a60000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6a0a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb69a1000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6971000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb6968000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb689b000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb688d000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6867000)
        libz.so.1 => /lib/libz.so.1 (0xb6854000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb6850000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb6848000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb6844000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0xb683b000)
        libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0xb6836000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb680f000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb67fc000)
        /lib/ld-linux.so.2 (0x80000000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb671f000)
        libaudio.so.2 => /usr/X11R6/lib/libaudio.so.2 (0xb6709000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb66b8000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb66b1000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb6691000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb6687000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb666f000)

I never used ldd before but, when looking at the result, I think something is missing (lines like linux-gate.so.1 => (0xffffe000)), isn't it?
i will try to install rpms including these files
 
OP
M

MisterJ

New member
after a little look at google, it appears that the file "linux-gate.so.1" never exists
I found a correct explanation about this here http://www.trilithium.com/johan/2005/08/linux-gate/

the file "/lib/ld-linux.so.2" exists on my system so everything seems correct ...

I did a ldd on each file into the plugins dir but everyone is correct
 
Last edited:

Sri Narayan

New member
/lib/ld-linux.so.2 (0x80000000) have to rever to something like this:
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (in your ldd check)

you can also try: strace ./mupen64 and get perhabs an idea where the programm crash
 
OP
M

MisterJ

New member
I did strace ./mupen64, I got a huge amount of infos but I don't know what to search for (but it seems to be no errors) and there is too much to see the beginning of the output

I thought maybe my roms are bad so I downloaded a fresh one I don't had and tried it (it is DK64), in mode "interpreter", there is the Nintendo logo displayed with the voice of DK then it exit.
in "Dynamic Recomplier" mode, it crashed directly, without the nintendo splashscreen.

I suspect the 3D to be the problem but I don't have any problem anywhere with it. I can play ppracer without problems and glxgears reports me about 3100 fps

my processor is an AMD Athlon64 3200+.
my previous distro was a 64bits one but due to the fact there is less apps in 64bits, I revert to a 32bits distro

really don't know where to look at :(
 

Sri Narayan

New member
my last opinion is that you compile everthing by yourself.
SDL, the plugin,... of course.
Do you have problems with other 3D apps on your computer?
 
OP
M

MisterJ

New member
not any problem with the others 3d apps
I will try to compile everything by myself, especially SDL
all the plugins were working with the previous distro and I did not format my /home partition so i'm using the same "working" plugins, but I will try too
each new situation is an occasion to learn more about this system :)
thanks for your help ;), I will post here the results of my "researches"
 

Hacktarux

Emulator Developer
Moderator
MisterJ said:
I did strace ./mupen64, I got a huge amount of infos but I don't know what to search for (but it seems to be no errors) and there is too much to see the beginning of the output

I thought maybe my roms are bad so I downloaded a fresh one I don't had and tried it (it is DK64), in mode "interpreter", there is the Nintendo logo displayed with the voice of DK then it exit.
in "Dynamic Recomplier" mode, it crashed directly, without the nintendo splashscreen.

I suspect the 3D to be the problem but I don't have any problem anywhere with it. I can play ppracer without problems and glxgears reports me about 3100 fps

my processor is an AMD Athlon64 3200+.
my previous distro was a 64bits one but due to the fact there is less apps in 64bits, I revert to a 32bits distro

really don't know where to look at :(

DK is really not a good game to test things... AFAIK it doesn't work with mupen64.

So do you mean it works in interpreter mode ?

If that's the case, there's really not many reasons mupen64 shouldn't work at all in dynarec mode. Maybe a NX bit problem... ? I haven't looked exactly how this work on linux and how it can distub the dynarec. Check that simple games like mario64 work in interpreter mode before investigating further.
 

chriharr

New member
This Similar Problem has happened to me, i was so dissapointed, i was expecting a working emulator from the start, i have tried configuring other plugins, i have tried many other ROM files, but everytime i load a ROM, the Application Crashes, and I just can't work out why, is it just the Mac Version which is doing this, cos im running the Mac Version, Maybe the porter didn't properly do something when porting the version for Mac, oh well early developement always does this!!!!!
 

Hacktarux

Emulator Developer
Moderator
Usually, these kind of problems are OS specific. I've heard that some MacOSX releases were missing the ini file and that it was causing such problems. Check that you have it.
 

Redjack

Banned
for info, me also i've a similar problem.
in fact, that come from Mandriva 2006.
me when launch the rom with Mupen64, it run two second and crash just after.
But with another linux distrib as Mepis or Knoppix, i haven't no problem !
 
OP
M

MisterJ

New member
if this is related to mandriva, I think this is the 2006 Xmas edition itself because I was running mupen on the previous mandriva distro without any problem

@Redjack : I you have the possibility, could you please check which version of X is running on the working distro you tried ?
maybe a X problem. I'm running X v 6.9.0
 

nightmarcus

New member
I don't think it's an issue with Mandriva, I'm using Fedora Core 5 with kernel 2.6.16-1.2080 on an i686 machine and I get similar results, but mine is even weirder. I can't configure my controller, whenever I try to use the drop down menu it just sits there and does nothing. I don't even get output in the command line so I'm thinking that it's just not functional.

Here is the output when I try to launch a ROM that I know is good because I play it in Windows with Project 64:
Code:
rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
file found
rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
rom loaded succesfully
80 37 12 40
ClockRate=f
Version:1446
CRC: a03cf036 bcc1c5d2
name: SUPER MARIO 64
Manufacturer: Nintendo
Cartridge_ID: 4d53
European cartridge
size: 4096
PC= 80241800
md5 code:45676429EF6B90E65B517129B700308E
eeprom type:0
init timer!
memory initialized
Xlib: unexpected async reply (sequence 0x49a0)!
 

Top