Mail Archives: djgpp/1996/04/11/03:23:07
On Tue, 9 Apr 1996, Shawn Lee wrote:
> Has anyone ever experienced a problem with running any codes on a Win95-
> Pentium w/16MByte. When I run the test programs, it is a toss-up if
> they work or not. I DO MEAN TOSS-UP.
Did you try to debug your program? Nobody ever said that bugs must
behave the same way every time you invoke the program; referencing an
uninitialized memory location might result in what you see.
Does that SIGSEGV come with a stack trace dump? If so, there is a program
named `symify' that comes with DJGPP that should help you to translate
that dump into a human-readable list of source filenames and line numbers
that led to the crash. The DJGPP FAQ list (v2/faq200b.zip from ther same
place you get DJGPP) explains how to do it in section 9.2. Armed with
that knowledge, you can see if there is any bug in your program.
If you are sure that your program is not the reason, please at least post
the source (if it's short enough) or its fragment that crashes. The
exact message printed when the program dies will also help a lot.
- Raw text -