*BSD News Article 85196


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!news.telstra.net!news-out.internetmci.com!newsfeed.dacom.co.kr!arclight.uoregon.edu!news.sprintlink.net!news-peer.sprintlink.net!worldnet.att.net!uunet!in1.uu.net!204.177.172.254!news.eden.com!interval.net!arlut.utexas.edu!usenet
From: Ian Fink <fink@arlut.utexas.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Segmentation fault
Date: Wed, 18 Dec 1996 10:45:32 -0600
Organization: Applied Research Laboratories - The University of Texas at Austin
Lines: 15
Message-ID: <32B81FAC.AB0@arlut.utexas.edu>
References: <32B72FEF.41C67EA6@banking.interest.com>
NNTP-Posting-Host: seadevil.arlut.utexas.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/730)
To: Dan Eaton <eaton@banking.interest.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5461

Dan Eaton wrote:
> 
> What is Segementation fault and how does one fix it?
> Thank, Dan


You probrably have a memory leak....

One cause:  writing to memory you don't own.

You might run gdb on your program that gives you that error to see
what the offending function is.  And compile it with the -g flag
if you can :)

Ian Fink