| Original Message |
Anonymous Posted Aug 8, 2008 10:57 PM
I got the latest version (generator-0.35-cbiere-r3.tar.bz2) compiled and an unstripped binary, which also dumps core. I was hoping to get some insight as to why it's crashing, but now I'm more confused than before. The backtrace isn't giving much useful information, but it looks like the audio coprocessor code (Z80 chip) is blowing up.
BTW, the game actually crashes right after the 1st stage is complete. It gets to the intermissions screen where it starts totalling up your points for the stuff you collected, and the sound starts playing (ka-ching! ka-ching!, etc.) and then it dies...
If it matters, I just used the same config stuff as the OpenBSD port, just with a newer version of the source:
$ ./configure --with-sdl --with-sdl-audio --without-gcc --with-raze --prefix=/usr/local --sysconf
dir=/etc --mandir=/usr/local/man --infodir=/usr/local/info
$ gdb ./src/main/generator-sdl generator-sdl.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.3"...(no debugging symbols found)
Core was generated by `generator-sdl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.9.0...done.
Loaded symbols for /usr/lib/libpthread.so.9.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/libbz2.so.10.4...done.
Loaded symbols for /usr/local/lib/libbz2.so.10.4
Reading symbols from /usr/local/lib/libjpeg.so.62.0...done.
Loaded symbols for /usr/local/lib/libjpeg.so.62.0
Reading symbols from /usr/X11R6/lib/libSM.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.8.0
Reading symbols from /usr/X11R6/lib/libICE.so.8.1...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.8.1
Reading symbols from /usr/local/lib/libSDL.so.8.0...done.
Loaded symbols for /usr/local/lib/libSDL.so.8.0
Symbols already loaded for /usr/lib/libpthread.so.9.0
Reading symbols from /usr/lib/libc.so.43.0...done.
Loaded symbols for /usr/lib/libc.so.43.0
Reading symbols from /usr/lib/libm.so.2.3...done.
Loaded symbols for /usr/lib/libm.so.2.3
Reading symbols from /usr/lib/libusbhid.so.3.0...done.
Loaded symbols for /usr/lib/libusbhid.so.3.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.9.0
Reading symbols from /usr/X11R6/lib/libX11.so.11.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.11.1
Reading symbols from /usr/X11R6/lib/libXrender.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.5.0
Reading symbols from /usr/X11R6/lib/libXext.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.10.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.6.0
Reading symbols from /usr/local/lib/libiconv.so.4.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.4.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.5.0
#0 0x1c088af4 in op_7e ()
(gdb) bt
#0 0x1c088af4 in op_7e ()
#1 0xcfbcc1c8 in ?? ()
#2 0x00000001 in ?? ()
#3 0x00000001 in ?? ()
#4 0x000000dc in ?? ()
#5 0x1c007b2b in cpuz80_sync ()
Previous frame inner to this frame (corrupt stack?) |
|
|