ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/23/19:39:15

Date: Thu, 23 Feb 1995 19:01:02 -0500 (EST)
From: Long Doan <ldoan1 AT osf1 DOT gmu DOT edu>
To: Nigel Heath <DJGPP AT nheath DOT demon DOT co DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Segmentation violation

On Thu, 23 Feb 1995, Nigel Heath wrote:

> I'm having a problem with a program I've compiled with djgpp,
> 
> When I run the program Under DOS I get a Segemtation violation at ptr
> 0x00000000, but if I step through the program the problem disappears, 
> also if running in a dos box from windows the error doesn't appear.

  It looks like you're trying to allocate more memory than you have, and 
use it without testing.

> Any Idea if this is my program or GO32 ?

  It's most likely the program(mer?)'s fault.

+--------------------------------------------------------+
| Long Doan                          ldoan1 AT osf1 DOT gmu DOT edu |
|                                          ld AT netrix DOT com |
+--------------------------------------------------------+


- Raw text -


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