What's new

Crash on Ocarina of time with hires textures

Nevon

New member
I'm running mupen64plus 1.99.3 in Ubuntu 10.04, and I'm trying to get Ocarina of Time running with Djipi's "Celda" hires texture pack, but I'm getting a crash pretty soon (usually at the intro screen). Is this related to the pack itself (in the screenshot section of the mupen64plus website there's a shot of it running with that pack), a bug in this version of the emulator, or some incompatibility with my graphics card (Nvidia Geforce GTS 250)?

The terminal output is as follows:
Code:
mimmi@mimmi-desktop:~/Program/mupen64plus-bundle-linux32-1.99.3$ ./mupen64plus --set Video-Rice[LoadHiResTextures]=True --saveoptions --emumode 2 ~/Games/N64/Legend\ of\ Zelda\,\ The\ -\ Ocarina\ of\ Time\ \(U\)\ \(V1.0\)\ \[\!\].z64 
 __  __                         __   _  _   ____  _             
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
             |_|         http://code.google.com/p/mupen64plus/  
Mupen64Plus Console User-Interface Version 1.99.3

dlopen('libmupen64plus.so.2') error: libmupen64plus.so.2: cannot open shared object file: No such file or directory
UI-console: attached to core library 'Mupen64Plus Core' version 1.99.3
            Includes support for Dynamic Recompiler.
Core: Goodname: Legend of Zelda, The - Ocarina of Time (U) (V1.0) [!]
Core: Name: THE LEGEND OF ZELDA
Core: MD5: 5BD1FE107BF8106B2AB6650ABECD54D6
Core: CRC: ec7011b7 7616d72b
Core: Imagetype: .z64 (native)
Core: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
Core: Version: 1449
Core: Manufacturer: 43000000
Core: Country: USA
UI-Console: Cheat codes disabled.
UI-console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v1.99.3
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.3
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.3
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3
Input: N64 Controller #1: Using stored configuration with joystick 'Jess Tech Dual Analog Pad'
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: No rumble supported on N64 joystick #1
Input: Mupen64Plus SDL Input Plugin version 1.99.3 initialized.
Video: SSE processing enabled.
Video: Found ROM 'THE LEGEND OF ZELDA', CRC b71170ec2bd71676-45
Video: Enabled hacks for game: 'THE LEGEND OF ZELDA'
Video: Texture loading option is enabled. Finding all hires textures
Video Warning: RGB and alpha texture size mismatch: /home/mimmi/.local/share/mupen64plus/hires_texture/THE LEGEND OF ZELDA/18 - Menu-HUD-Subscreen/02-HUD/Magic Meter/THE LEGEND OF ZELDA#54492A28#3#1_a.png
Video Warning: RGB and alpha texture size mismatch: /home/mimmi/.local/share/mupen64plus/hires_texture/THE LEGEND OF ZELDA/01 - Foret Kokiri/06 - Fontaine Fée/THE LEGEND OF ZELDA#F2F31CB3#3#0_a.png
Video: Initializing OpenGL Device Context.
Core: Setting 32-bit video mode: 640x480
Video: Using OpenGL: NVIDIA Corporation - GeForce GTS 250/PCI/SSE2 : 3.2.0 NVIDIA 195.36.15
Video: OpenGL Combiner: Fragment Program
Audio: Initializing SDL audio subsystem...
Core: Starting R4300 emulator: Dynamic Recompiler
*** glibc detected *** ./mupen64plus: malloc(): memory corruption: 0x0fa74f28 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x652591]
/lib/tls/i686/cmov/libc.so.6(+0x6e395)[0x655395]
/lib/tls/i686/cmov/libc.so.6(__libc_calloc+0xab)[0x65670b]
/usr/lib/nvidia-current/libGLcore.so.1(+0x95e1c7)[0x32471c7]
======= Memory map: ========
00110000-00181000 r-xp 00000000 08:11 3804246    /usr/lib/libfreetype.so.6.3.22
00181000-00185000 r--p 00070000 08:11 3804246    /usr/lib/libfreetype.so.6.3.22
00185000-00186000 rw-p 00074000 08:11 3804246    /usr/lib/libfreetype.so.6.3.22
00186000-00222000 r-xp 00000000 08:11 4456501    /usr/lib/nvidia-current/libGL.so.195.36.15
00222000-0023c000 rwxp 0009b000 08:11 4456501    /usr/lib/nvidia-current/libGL.so.195.36.15
0023c000-0024b000 rwxp 00000000 00:00 0 
0024b000-002ba000 r-xp 00000000 08:11 3802333    /usr/lib/libGLU.so.1.3.070701
002ba000-002bb000 r--p 0006e000 08:11 3802333    /usr/lib/libGLU.so.1.3.070701
002bb000-002bc000 rw-p 0006f000 08:11 3802333    /usr/lib/libGLU.so.1.3.070701
002bc000-00325000 r-xp 00000000 08:11 3803937    /usr/lib/libSDL-1.2.so.0.11.3
00325000-00326000 r--p 00069000 08:11 3803937    /usr/lib/libSDL-1.2.so.0.11.3
00326000-00327000 rw-p 0006a000 08:11 3803937    /usr/lib/libSDL-1.2.so.0.11.3
00327000-00354000 rw-p 00000000 00:00 0 
00354000-00371000 r-xp 00000000 08:11 9961556    /lib/libgcc_s.so.1
00371000-00372000 r--p 0001c000 08:11 9961556    /lib/libgcc_s.so.1
00372000-00373000 rw-p 0001d000 08:11 9961556    /lib/libgcc_s.so.1
00373000-00374000 r-xp 00000000 08:11 4456493    /usr/lib/nvidia-current/tls/libnvidia-tls.so.195.36.15
00374000-00375000 rw-p 00000000 08:11 4456493    /usr/lib/nvidia-current/tls/libnvidia-tls.so.195.36.15
00375000-0037c000 r-xp 00000000 08:11 9965498    /lib/tls/i686/cmov/librt-2.11.1.so
0037c000-0037d000 r--p 00006000 08:11 9965498    /lib/tls/i686/cmov/librt-2.11.1.so
0037d000-0037e000 rw-p 00007000 08:11 9965498    /lib/tls/i686/cmov/librt-2.11.1.so
0037e000-00387000 r-xp 00000000 08:11 3804216    /usr/lib/libesd.so.0.2.39
00387000-00388000 r--p 00008000 08:11 3804216    /usr/lib/libesd.so.0.2.39
00388000-00389000 rw-p 00009000 08:11 3804216    /usr/lib/libesd.so.0.2.39
00389000-0038c000 r-xp 00000000 08:11 3804762    /usr/lib/libpulse-simple.so.0.0.3
0038c000-0038d000 r--p 00002000 08:11 3804762    /usr/lib/libpulse-simple.so.0.0.3
0038d000-0038e000 rw-p 00003000 08:11 3804762    /usr/lib/libpulse-simple.so.0.0.3
0038e000-00401000 r-xp 00000000 08:11 3804175    /usr/lib/libdirectfb-1.2.so.0.8.0
00401000-00402000 ---p 00073000 08:11 3804175    /usr/lib/libdirectfb-1.2.so.0.8.0
00402000-00403000 r--p 00073000 08:11 3804175    /usr/lib/libdirectfb-1.2.so.0.8.0
00403000-00404000 rw-p 00074000 08:11 3804175    /usr/lib/libdirectfb-1.2.so.0.8.0
00404000-00405000 rw-p 00000000 00:00 0 
00405000-0040d000 r-xp 00000000 08:11 3804250    /usr/lib/libfusion-1.2.so.0.8.0
0040d000-0040e000 r--p 00007000 08:11 3804250    /usr/lib/libfusion-1.2.so.0.8.0
0040e000-0040f000 rw-p 00008000 08:11 3804250    /usr/lib/libfusion-1.2.so.0.8.0
0040f000-00443000 r-xp 00000000 08:11 9961575    /lib/libncurses.so.5.7
00443000-00444000 ---p 00034000 08:11 9961575    /lib/libncurses.so.5.7
00444000-00446000 r--p 00034000 08:11 9961575    /lib/libncurses.so.5.7
00446000-00447000 rw-p 00036000 08:11 9961575    /lib/libncurses.so.5.7
00447000-0045f000 r-xp 00000000 08:11 3804953    /usr/lib/libxcb.so.1.1.0
0045f000-00460000 r--p 00017000 08:11 3804953    /usr/lib/libxcb.so.1.1.0
00460000-00461000 rw-p 00018000 08:11 3804953    /usr/lib/libxcb.so.1.1.0
00461000-00465000 r-xp 00000000 08:11 3803987    /usr/lib/libXtst.so.6.1.0
00465000-00466000 r--p 00003000 08:11 3803987    /usr/lib/libXtst.so.6.1.0
00466000-00467000 rw-p 00004000 08:11 3803987    /usr/lib/libXtst.so.6.1.0
00467000-00469000 rwxp 00000000 00:05 939        /dev/zero
0046a000-0048d000 r-xp 00000000 08:11 9961626    /lib/libpng12.so.0.42.0
0048d000-0048e000 r--p 00022000 08:11 9961626    /lib/libpng12.so.0.42.0
0048e000-0048f000 rw-p 00023000 08:11 9961626    /lib/libpng12.so.0.42.0
0048f000-005a8000 r-xp 00000000 08:11 3803942    /usr/lib/libX11.so.6.3.0
005a8000-005a9000 r--p 00118000 08:11 3803942    /usr/lib/libX11.so.6.3.0
005a9000-005ab000 rw-p 00119000 08:11 3803942    /usr/lib/libX11.so.6.3.0
005ab000-005ac000 rw-p 00000000 00:00 0 
005ac000-005ce000 r-xp 00000000 08:11 3804036    /usr/lib/libaudiofile.so.0.0.2
005ce000-005cf000 r--p 00021000 08:11 3804036    /usr/lib/libaudiofile.so.0.0.2
005cf000-005d1000 rw-p 00022000 08:11 3804036    /usr/lib/libaudiofile.so.0.0.2
005d1000-005d6000 r-xp 00000000 08:11 3804377    /usr/lib/libgpm.so.2.0.0
005d6000-005d7000 r--p 00004000 08:11 3804377    /usr/lib/libgpm.so.2.0.0
005d7000-005d8000 rw-p 00005000 08:11 3804377    /usr/lib/libgpm.so.2.0.0
005d8000-005da000 r-xp 00000000 08:11 3803946    /usr/lib/libXau.so.6.0.0
005da000-005db000 r--p 00001000 08:11 3803946    /usr/lib/libXau.so.6.0.0
005db000-005dc000 rw-p 00002000 08:11 3803946    /usr/lib/libXau.so.6.0.0
005dc000-005e3000 r-xp 00000000 08:11 9961666    /lib/libwrap.so.0.7.6
005e3000-005e4000 r--p 00006000 08:11 9961666    /lib/libwrap.so.0.7.6
005e4000-005e5000 rw-p 00007000 08:11 9961666    /lib/libwrap.so.0.7.6
005e7000-0073a000 r-xp 00000000 08:11 9961526    /lib/tls/i686/cmov/libc-2.11.1.so
0073a000-0073b000 ---p 00153000 08:11 9961526    /lib/tls/i686/cmov/libc-2.11.1.so
0073b000-0073d000 r--p 00153000 08:11 9961526    /lib/tls/i686/cmov/libc-2.11.1.so
0073d000-0073e000 rw-p 00155000 08:11 9961526    /lib/tls/i686/cmov/libc-2.11.1.so
0073e000-00741000 rw-p 00000000 00:00 0 
00741000-00756000 r-xp 00000000 08:11 3803911    /usr/lib/libICE.so.6.3.0
00756000-00757000 r--p 00014000 08:11 3803911    /usr/lib/libICE.so.6.3.0
00757000-00758000 rw-p 00015000 08:11 3803911    /usr/lib/libICE.so.6.3.0
00758000-0075a000 rw-p 00000000 00:00 0 
0075a000-0075d000 r-xp 00000000 08:11 9961664    /lib/libuuid.so.1.3.0
0075d000-0075e000 r--p 00002000 08:11 9961664    /lib/libuuid.so.1.3.0
0075e000-0075f000 rw-p 00003000 08:11 9961664    /lib/libuuid.so.1.3.0
0075f000-00764000 r-xp 00000000 08:11 3804670    /usr/lib/libogg.so.0.6.0
00764000-00765000 r--p 00004000 08:11 3804670    /usr/lib/libogg.so.0.6.0
00765000-00766000 rw-p 00005000 08:11 3804670    /usr/lib/libogg.so.0.6.0
00766000-0077a000 r-xp 00000000 08:11 3804173    /usr/lib/libdirect-1.2.so.0.8.0
0077a000-0077b000 r--p 00013000 08:11 3804173    /usr/lib/libdirect-1.2.so.0.8.0
0077b000-0077c000 rw-p 00014000 08:11 3804173    /usr/lib/libdirect-1.2.so.0.8.0
0077c000-007c5000 r-xp 00000000 08:11 3804765    /usr/lib/libpulsecommon-0.9.21.so
007c5000-007c6000 r--p 00048000 08:11 3804765    /usr/lib/libpulsecommon-0.9.21.so
007c6000-007c7000 rw-p 00049000 08:11 3804765    /usr/lib/libpulsecommon-0.9.21.so
007c7000-007d3000 r-xp 00000000 08:11 3803967    /usr/lib/libXi.so.6.1.0
007d3000-007d4000 r--p 0000c000 08:11 3803967    /usr/lib/libXi.so.6.1.0Aborted

Any information or help would be greatly appreciated. :)

EDIT: Turns out I get the same thing when running another texture pack, for another game. So I think we can leave out that possibility. Any ideas on why it won't work?
 
Last edited:

nosmokingbandit

New member
I signed up just to say i am having the same problem. I cant seem to find any way to fix it either...

Im running it on OSX 10.6.3 though, so its not an OS issue.
 

HDL

New member
I'll also contribute my experiences here. I'm running OS X 10.6.4 and using the "Celda" pack by Djipi as well as the texture pack by "Zeth and Ganondorf." This doesn't seem to be an issue with the packs themselves because they work just fine in other emulators, so it must be something strange with the Rice plugin in 1.99.3.

Here are the messages I get in the shell when I use the Celda pack before the emulator loads:

Code:
Video: Texture loading option is enabled. Finding all hires textures
Video Warning: RGB and alpha texture size mismatch: /Users/MyName/.local/share/mupen64plus/hires_texture/THE LEGEND OF ZELDA/01 - Foret Kokiri/06 - Fontaine Fée/THE LEGEND OF ZELDA#F2F31CB3#3#0_a.png
Video Warning: RGB and alpha texture size mismatch: /Users/MyName/.local/share/mupen64plus/hires_texture/THE LEGEND OF ZELDA/18 - Menu-HUD-Subscreen/02-HUD/Magic Meter/THE LEGEND OF ZELDA#54492A28#3#1_a.png

I then get this once the emulator crashes:

Code:
mupen64plus(300,0x7fff70e63c20) malloc: *** error for object 0x1003ef688: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
./run_rice.sh: line 1:   300 Abort trap              ./mupen64plus.app/Contents/MacOS/mupen64plus --corelib ./mupen64plus.app/Contents/MacOS/libmupen64plus.dylib --plugindir ./mupen64plus.app/Contents/MacOS --gfx mupen64plus-video-rice "$*"

With the other texture pack, I get no unusual messages before the emulator loads. The game runs just fine, but in certain areas it will crash. I haven't thoroughly tested, but I think it might happen whenever the game tries to load the owl. Here's what I get when it crashes:

Code:
mupen64plus(319,0x7fff70e63c20) malloc: *** error for object 0x120aa0cd8: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
./run_rice.sh: line 1:   319 Abort trap              ./mupen64plus.app/Contents/MacOS/mupen64plus --corelib ./mupen64plus.app/Contents/MacOS/libmupen64plus.dylib --plugindir ./mupen64plus.app/Contents/MacOS --gfx mupen64plus-video-rice "$*"

There is definitely something strange going on with the Rice plugin.
 

Top