www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/18/17:10:42

From: wyu AT infograph DOT com (Wei Yu)
Newsgroups: comp.lang.c++,comp.lang.c,comp.os.msdos.djgpp
Subject: Re: Bus error with g++.
Date: 18 Sep 1996 16:42:05 GMT
Organization: Informative Graphics Corp.
Lines: 20
Distribution: world
Message-ID: <51p8ot$q4c@globe.indirect.com>
References: <51ofn5$9do AT lion DOT cs DOT latrobe DOT edu DOT au>
NNTP-Posting-Host: gandalf.infograph.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <51ofn5$9do AT lion DOT cs DOT latrobe DOT edu DOT au>, 
cs3prj04 AT lion DOT cs DOT latrobe DOT edu DOT au says...
>
>
>I am getting a bus error in t_delete immediatley after a call to malloc
>(see below - look for BUS ERROR). It happens in a rather large program after 
>one particular modulehas been called and terminated. This module reads a file 
>into an array of strings for viewing. The module concerned is to large to 
>include in here but it does execute and terminate normally.
>
>Does this mean anything to anyone?
>
>.....
Looks like your program corrupted the heap. Best way to check your memory
is using something like purify and most likely your program did some out of
bounds memory writing.

Wei Yu
wyu AT infograph DOT com

- Raw text -


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