www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/11/06:53:08

Sender: g595160 AT pop DOT atlanta DOT com
Message-Id: <316CE275.3A22@pop.atlanta.com>
Date: Thu, 11 Apr 1996 06:44:05 -0400
From: Shawn Lee <sdlee AT pop DOT atlanta DOT com>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: The DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: Re: Running the test program
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960411101034 DOT 27524D AT is>

Eli Zaretskii wrote:
> 
> On Tue, 9 Apr 1996, Shawn Lee wrote:
> 
> > Has anyone ever experienced a problem with running any codes on a Win95-
> > Pentium w/16MByte.  When I run the test programs, it is a toss-up if
> > they work or not.  I DO MEAN TOSS-UP.
> 
> Did you try to debug your program?  Nobody ever said that bugs must
> behave the same way every time you invoke the program; referencing an
> uninitialized memory location might result in what you see.
> 
> Does that SIGSEGV come with a stack trace dump?  If so, there is a program
> named `symify' that comes with DJGPP that should help you to translate
> that dump into a human-readable list of source filenames and line numbers
> that led to the crash.  The DJGPP FAQ list (v2/faq200b.zip from ther same
> place you get DJGPP) explains how to do it in section 9.2.  Armed with
> that knowledge, you can see if there is any bug in your program.
> 
> If you are sure that your program is not the reason, please at least post
> the source (if it's short enough) or its fragment that crashes.  The
> exact message printed when the program dies will also help a lot.

I'm sorry.  I haven't debugged them myself.  I was talking about the
test programs that come with the DJGPP distribution.  My assumption was
that they have been debugged.  Simple programs like 'hello' have this
problem.  I don't think it is the programs as opposed to my set up.
Because I'm running in W95, I didn't bother to use the DPMI host that
came with the distribution.  (I need to get a chance to try that
anyway... Also, because I am new to programming on PC's, I have a
question for you later).  But, back to my original question, I will
however, keep looking into it myself.

My next question is, HOW DO THE DPMI HOSTS WORK?  Answers and info on
where to get answers are appreciated.

Thanks,

Mr.Lee

- Raw text -


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