Mail Archives: djgpp/1999/09/06/12:50:21
Martin Stromberg (Martin DOT Stromberg AT lu DOT erisoft DOT se) wrote:
> Steve Ball (steve AT effectivejava DOT com) wrote:
> : I have a program which runs fine in a Windows DOS box, but crashes
> : immediately if run in MS-DOS mode. The program crashes before starting to
> : execute the body of main(). Symify shows that it is crashing in
> : __crt1_startup.
> No, it shows it's crashing at line 1055 in main. (And it seems to be
> something like "val = *NULL;".)
Close, but not quite right. It's crashing in *byte* number 1055 of
main(), not line 1055. It definitely happens inside main(), that's
still correct.
Steve: you should recompile the program with '-g', run it, and
'symify' the crash dump, to get that address (main+1055) translated
into a source line number.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -