Mail Archives: djgpp/2004/02/29/08:00:47
Sterten <sterten AT aol DOT com> wrote:
> I get this error when booting DOS from floppy (DOS from Win98)
> C:\PANCAKE>a:sprc kkk
First off: just because you booted DOS off a floppy doesn't mean you
have to run the program from a floppy, too. Keep it on the harddisk
for simplicity.
> Exiting due to signal SIGSEGV
> Page fault at eip=0000171c, error=0004
You probably accessed a null pointer.
> App stack: [000a07d4..000207d4] Exceptn stack: [00020730..0001e7f0]
That app stack is at exacly 512 KiBytes. Make sure you're not
over-using the stack.
> Call frame traceback EIPs:
> 0x0000171c _main+60
> 0x000038c8 ___crt1_startup+176
> C:\PANCAKE>symify sprc.exe
Use bfdsymify instead, or compile with -gcoff instead of -g, to get
more meaningful output. Or, better yet, run your app in a debugger,
so you can inspect variable contents, too, not just the stack.
[Your source was just too unbearably ugly, so I didn't bother looking
into it...]
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -