Mail Archives: djgpp/1998/12/16/06:05:42
On Tue, 15 Dec 1998, JCx wrote:
> There comes the issue: when I press the chosen key, crash! A
> nice dialog appears, telling me that my program encountered a SIGSEGV and an
> exception at 0x00000009. Wow. I've included a short code excerpt to show you
> what I'm trying to do when entering battle mode:
Please also post the exact message printed when the program crashes,
complete with the registers' dump and the stack traceback, when you
report program crashes. It is much easier to guess what's wrong when
that info is available.
One possible problem is that your program includes some unresolved
externals. The linker supplied with RSXNTDJ doesn't report such
problems, so you can miss them. The DJGPP FAQ explains in section 3.6
how to use the DJGPP linker to spot such problems.
- Raw text -