From: Thomas Knudsen Newsgroups: comp.os.msdos.djgpp Subject: Re: Line Drawing Date: Tue, 5 Aug 1997 09:21:06 +0200 Organization: News Server at UNI-C, Danish Computing Centre for Research and Education. Lines: 31 Message-ID: References: <01bca164.ac490780$8553f7c7 AT humbug> NNTP-Posting-Host: geb.gfy.ku.dk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <01bca164.ac490780$8553f7c7@humbug> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 5 Aug 1997, James T'seleie wrote: > I was wondering if anybody could give me a simple line drawing algorithm > that works in DJGPP. I wrote a program, that I thought would work, but it > comes up with an error that I can't figure out. Maybe someone could tell > me what this means, and I could fix it myself. Anyway, the error I get > says something about a page fault at eip=00001691, and then a whole bunch > of other sutuff that has to do with registers. At the bottom of the > message it says "call frame traceback EIPs: 0x00001691 and 0x00001bfe" If > anybody could offer some help with this it would be greatly appreciated. > Thanks. try to recompile your program with debugging information included, i.e. use "gcc -o myprog -g myprog.c" from the command line, or add the "-g" to the CFLAGS variable if using a makefile. Then run the program. When it bombs, and while the bombing information is still on screen, run the symify utility: "symify myprog.exe". symify will convert the adresses, you see in the last gasps of the program, to a human readable traceback of the last function calls carried out when the program died. This traceback should give you an idea as of where to start revising your code Thomas -- Thomas Knudsen | www: http://www.gfy.ku.dk/~tk/ National Survey and Cadastre - Denmark | e-mail: tk AT gfy DOT ku DOT dk Geodetic office, Rentemestervej 8 | Direct Phone: +45 35 87 52 64 DK-2400 Copenhagen NV, Denmark | FAX: +45 35 87 50 52