Package: dgen
Version: 1.23-10
Severity: normal

Game crashes in "boot" after SEGA banner.

Backtrace from unstripped binary is not very helpful:

Program received signal SIGSEGV, Segmentation fault.
0x080c8514 in memoryWrite109 ()
(gdb) bt
#0  0x080c8514 in memoryWrite109 ()
#1  0x00000000 in ?? ()

Oddly, I remember it worked ok on this game a few years ago.

I tried building with both --without-musa and --without-star,
and it crashes both ways, so whatever the problem is, it's not
in the CPU cores. Appears to be in mz80 actually.

Hmm.. This binary works ok:

http://archive.debian.net/etch/i386/dgen/download

Afaik, nothing important changed between -9 and -10. The two binaries
link to the same libaries too. So this must be a build environment
change causing the crash. I tried building with etch's nasm, which didn't
help, and with sid's gcc-4.3, which also didn't help.

Hmm, adding -cs to the makez80 command line fixes the crash,
but the resulting dgen fails to play any sounds in this game (other
games seem ok).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dgen depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.5.2-6  GCC support library
ii  libgl1-mesa-glx [libgl1]      7.10-4     A free implementation of the OpenG
ii  libsdl1.2debian               1.2.14-6.1 Simple DirectMedia Layer
ii  libstdc++6                    4.5.2-6    The GNU Standard C++ Library v3

dgen recommends no packages.

dgen suggests no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to