Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Help -- segmentation fault

Message-ID: <3D626AFE.4000208@nospam.calweb.com>
Date: Tue, 20 Aug 2002 09:14:54 -0700
From: peter <pe...@nospam.calweb.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.unix.admin,comp.unix.programmer,comp.unix.programmers,comp.unix
Subject: Re: Help -- segmentation fault
References: <Elb79.28407$8aG1.14392@news01.bloor.is.net.cable.rogers.com> <AFb79.21$%k.3934@paloalto-snr1.gtei.net> <Ggc79.10409$EJ4.235040@news4.srv.hcvlny.cv.net> <3D5D6338.4060104@nospam.calweb.com> <ajk4lo$1s28$1@nntp6.u.washington.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: sac2-81.calweb.com
X-Original-NNTP-Posting-Host: sac2-81.calweb.com
X-Trace: calwebnnrp 1029859793 sac2-81.calweb.com (20 Aug 2002 09:09:53 -0700)
Organization: CalWeb Internet Services Inc.  Your affordable ISP. (3)
Lines: 19
X-Original-NNTP-Posting-Host: 209.128.195.81
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!207.173.6.98!calwebnntp!calwebnnrp!not-for-mail

E. Gibbons wrote:
> In article <3D5D6338.4060...@nospam.calweb.com>,
> peter  <pe...@nospam.calweb.com> wrote:
> 
>>Uninitialized pointers also give simular results, though may produce hard
>>to trace data corruption.  I've also seen this message when freeing NULL,
>>though that would be library dependent.
> 
> 
> Hopefully, the only dependency there would come up if the library does
> not claim to be a conforming standard C library: free(NULL) should be
> perfectly alright in ANSI C, a harmless no-op.  Assuming the right 
> #includes, etc., of course.
> 
> --Ben
> 

Memory burp, realloc NULL.  Saw it using Cygwin.