Mail Archives: djgpp/1998/05/14/12:54:37
On Thu, 14 May 1998, Greg Phillips wrote:
> I create an instance of a list class, then tell it to load values from a
> file. No problems there. However, as soon as the .Load function is
> finished, the program crashes, Allegro whining about a SIGSEV error.
>
> Can anyone help me here? I can send you the source code if you want, but I
> didn't want to clutter up the list with it.
It would probably much more useful (for you) if you debug this problem
yourself. So how about telling us what prevents you from debugging it?
If you don't know what to do with those funny numbers printed when it
crashes, section 9.2 of the DJGPP FAQ list will explain how to use a
small wonder called `symify.exe' which is lurking in your bin/
subdirectory to see where in your source it crashes.
If you cannot figure out what's wrong with that code, run the
program under debugger near the place where it bombs and try to
see why does it go awry. Chapter 12 in the FAQ tells about debugging, in
case you have trouble.
If you still can't figure it out, post the crash traceback, after running
`symify' on it, here. In many cases, esperienced people here will be
able to tell you what problems might cause such a crash. Posting the
code fragment near the locus of the crash is also a good idea.
In case you didn't know, the FAQ is available as v2/faq210b.zip from the
same place you get DJGPP.
- Raw text -