delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/02/29/08:00:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: error under DOS , symify output
Date: 29 Feb 2004 12:51:26 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 36
Message-ID: <c1sn8e$hfv$5@nets3.rz.RWTH-Aachen.DE>
References: <20040229072721 DOT 12245 DOT 00000640 AT mb-m02 DOT aol DOT com>
NNTP-Posting-Host: accip02.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1078059086 17919 137.226.33.41 (29 Feb 2004 12:51:26 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 29 Feb 2004 12:51:26 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019