delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/23/05:33:39

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with new malloc
Date: Wed, 22 Sep 1999 20:47:06 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 53
Message-ID: <7sc0us$t39$1@solomon.cs.rose-hulman.edu>
References: <01JG9MV9JK9U8WZVG8 AT SLU DOT EDU>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938051356 29801 137.112.205.146 (23 Sep 1999 01:49:16 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 23 Sep 1999 01:49:16 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<GAMMELJL AT SLU DOT EDU> wrote in message news:01JG9MV9JK9U8WZVG8 AT SLU DOT EDU...
>      What happens when I try to run the compiled program
>                           c:\codename
> is this:  many screens of error information scroll by with
> no stopping until I press "pause". To resume I press the
> space bar.  Then a few more screens scroll by and finally
> the scrolling stops.
>8
>      Now, I really did not understand what it is that you want
> me to post.  I assume that it is the error messages resulting
> from running the code, which I cannot capture in view of the
> above.  If my assumption is incorrect, please give me more
> detailed instructions about how to run and capture the infor-
> mation you want.
>         Exiting due to signal SIGSEGV
>         General Protection Fault at
>                eip=00001f47
>         eax=6574649 .................................
>         .................exp=0005c380 program=c:\codename.exe
>         cs=set 0097 base 10000000 limit=0006ffff
>         .
>         .
>         ss
>         Call frame traceback EIPs:
>         0x00001f47
>         .
>         .
>         0x6f697461
> I could hand copy what I have omitted if it is of any use to you.

It's not that useful to us, but the EIPs (instruction pointers) are
useful to DJGPP's symify debugging tool. Provided you built
your program with debugging turned on (check the FAQ), do this:
symify c:\codename.exe
and look at what it gives. This may clue you in on what function
is misbehaving. The output from symify would help us greatly.

1. Open a Windows 95, 98, or NT command prompt
(Start > Run... then type command and press enter)
2. Run your program.
3. Run symify on the error messages.
4. Use the Windows editing tools to grab the screen:
  1. Right click MS-DOS Prompt in the taskbar.
  2. Choose Edit > Mark
  3. Drag across the error output, especially the traceback.
  4. Choose Edit > Copy
5. Paste the traceback into your news reader.

--
Damian Yerrick
http://pineight.webjump.com/


- Raw text -


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