#146 Crashes on opening any ROM

open
nobody
Crash Bug (39)
5
2014-07-14
2006-07-26
Lukas Sabota
No

I'm running Ubuntu Linux 6.10, and zsnes will crash
when opening any ROM. Here is the command-line output:

*** glibc detected *** ./zsnes: munmap_chunk(): invalid
pointer: 0xbfe62e84 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x183)[0xb7be7b33]
./zsnes[0x80dddc2]
======= Memory map: ========
08048000-082f9000 r-xp 00000000 03:01 5047467
/home/lukas/Desktop/zsnes_1_42/src/zsnes
082f9000-0834d000 rwxp 002b0000 03:01 5047467
/home/lukas/Desktop/zsnes_1_42/src/zsnes
0834d000-085d9000 rwxp 0834d000 00:00 0 [heap]
b7161000-b71c4000 rwxp b7161000 00:00 0
b71c4000-b71c8000 r-xp 00000000 03:01 5736421
/usr/lib/libXdmcp.so.6.0.0
b71c8000-b71c9000 rwxp 00003000 03:01 5736421
/usr/lib/libXdmcp.so.6.0.0
b71c9000-b71ca000 rwxp b71c9000 00:00 0
b71ca000-b71cc000 r-xp 00000000 03:01 5735611
/usr/lib/libXau.so.6.0.0
b71cc000-b71cd000 rwxp 00001000 03:01 5735611
/usr/lib/libXau.so.6.0.0
b71cd000-b728f000 r-xp 00000000 03:01 5735132
/usr/lib/libX11.so.6.2.0
b728f000-b7292000 rwxp 000c1000 03:01 5735132
/usr/lib/libX11.so.6.2.0
b7292000-b729e000 r-xp 00000000 03:01 5735646
/usr/lib/libXext.so.6.4.0
b729e000-b729f000 rwxp 0000c000 03:01 5735646
/usr/lib/libXext.so.6.4.0
b729f000-b72a0000 r-xp 00000000 03:01 5832785
/usr/lib/tls/libnvidia-tls.so.1.0.8762
b72a0000-b72a1000 rwxp 00000000 03:01 5832785
/usr/lib/tls/libnvidia-tls.so.1.0.8762
b72a1000-b7a2f000 r-xp 00000000 03:01 5738294
/usr/lib/libGLcore.so.1.0.8762
b7a2f000-b7a5f000 rwxp 0078d000 03:01 5738294
/usr/lib/libGLcore.so.1.0.8762
b7a5f000-b7a64000 rwxp b7a5f000 00:00 0
b7a64000-b7a66000 r-xp 00000000 03:01 9224220
/lib/tls/i686/cmov/libdl-2.4.so
b7a66000-b7a68000 rwxp 00001000 03:01 9224220
/lib/tls/i686/cmov/libdl-2.4.so
b7a68000-b7a74000 r-xp 00000000 03:01 5735614
/usr/lib/libdirect-0.9.so.24.0.0
b7a74000-b7a75000 rwxp 0000c000 03:01 5735614
/usr/lib/libdirect-0.9.so.24.0.0
b7a75000-b7a79000 r-xp 00000000 03:01 5735622
/usr/lib/libfusion-0.9.so.24.0.0
b7a79000-b7a7a000 rwxp 00003000 03:01 5735622
/usr/lib/libfusion-0.9.so.24.0.0
b7a7a000-b7ac3000 r-xp 00000000 03:01 5735620
/usr/lib/libdirectfb-0.9.so.24.0.0
b7ac3000-b7ac5000 rwxp 00048000 03:01 5735620
/usr/lib/libdirectfb-0.9.so.24.0.0
b7ac5000-b7b78000 r-xp 00000000 03:01 5736396
/usr/lib/libasound.so.2.0.0
b7b78000-b7b7d000 rwxp 000b2000 03:01 5736396
/usr/lib/libasound.so.2.0.0
b7b7d000-b7cac000 r-xp 00000000 03:01 9224208
/lib/tls/i686/cmov/libc-2.4.so
b7cac000-b7cae000 r-xp 0012e000 03:01 9224208
/lib/tls/i686/cmov/libc-2.4.so
b7cae000-b7cb0000 rwxp 00130000 03:01 9224208
/lib/tls/i686/cmov/libc-2.4.so
b7cb0000-b7cb4000 rwxp b7cb0000 00:00 0
b7cb4000-b7cbe000 r-xp 00000000 03:01 9191489
/lib/libgcc_s.so.1
b7cbe000-b7cbf000 rwxp 00009000 03:01 9191489
/lib/libgcc_s.so.1
b7cbf000-b7ce3000 r-xp 00000000 03:01 9224221
/lib/tls/i686/cmov/libm-2.4.so
b7ce3000-b7ce5000 rwxp 00023000 03:01 9224221
/lib/tls/i686/cmov/libm-2.4.so
b7ce5000-b7db5000 r-xp 00000000 03:01 5735558
/usr/lib/libstdc++.so.6.0.8
b7db5000-b7db8000 r-xp 000cf000 03:01 5735558
/usr/lib/libstdc++.so.6.0.8
b7db8000-b7dba000 rwxp 000d2000 03:01 5735558
/usr/lib/libstdc++.so.6.0.8
b7dba000-b7dc0000 rwxp b7dba000 00:00 0
b7dc0000-b7e2b000 r-xp 00000000 03:01 5738293
/usr/lib/libGL.so.1.0.8762
b7e2b000-b7e44000 rwxp 0006b000 03:01 5738293
/usr/lib/libGL.so.1.0.8762
b7e44000-b7e45000 rwxp b7e44000 00:00 0
b7e45000-b7e67000 r-xp 00000000 03:01 5736976
/usr/lib/libpng12.so.0.1.2.8
b7e67000-b7e68000 rwxp 00021000 03:01 5736976
/usr/lib/libpng12.so.0.1.2.8
b7e68000-b7e77000 r-xp 00000000 03:01 9224265
/lib/tls/i686/cmov/libpthread-2.4.so
b7e77000-b7e79000 rwxp 0000f000 03:01 9224265
/lib/tls/i686/cmov/libpthread-2.4.so
b7e79000-b7e7c000 rwxp b7e79000 00:00 0
b7e7c000-b7ede000 r-xp 00000000 03:01 5737512
/usr/lib/libSDL-1.2.so.0.7.3
b7ede000-b7ee0000 rwxp 00062000 03:01 5737512
/usr/lib/libSDL-1.2.so.0.7.3
b7ee0000-b7f08000 rwxp b7ee0000 00:00 0
b7f08000-b7f1b000 r-xp 00000000 03:01 5734569
/usr/lib/libz.so.1.2.3
b7f1b000-b7f1c000 rwxp 00012000 03:01 5734569
/usr/lib/libz.so.1.2.3
b7f2c000-b7f2d000 rwxp b7f2c000 00:00 0
b7f2d000-b7f2f000 rwxp 00000000 00:0d 2307 /dev/zero
b7f2f000-b7f31000 rwxp b7f2f000 00:00 0
b7f31000-b7f4a000 r-xp 00000000 03:01 9191633
/lib/ld-2.4.so
b7f4a000-b7f4c000 rwxp 00018000 03:01 9191633
/lib/ld-2.4.so
bfe4e000-bfe63000 rwxp bfe4e000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
Aborted

I'm using glibc 2.3.6

Discussion