Article View: comp.os.msdos.programmer
Article #3040Re: TC 2.0 odd behaviour, me or it ?
From: tcs
Date: Tue, 13 Nov 1990 17:17
Date: Tue, 13 Nov 1990 17:17
18 lines
1202 bytes
1202 bytes
In article <7129@castle.ed.ac.uk>, djm@castle.ed.ac.uk (D Murphy) writes: >I have a program compiled under TC 2.0 which executes perfectly except >that it generates a Null pointer assignment AFTER the last instruction >(as determined by putting a puts() in and getting the error message >after the intentonal one). > >Anyone know why this might be happening ? > >Murff... Isn't this in the FAQ? Anyway, you are overwriting a memory location. Check your code for pointers that aren't malloc'd. Whenever I get this, it's usually because I created a pointer but didn't assign it to something (by using malloc or = "xxx"). Carl Schelin tcs@router.jhuapl.edu
Technical Details
Message-ID:
<0093FA69.FB9DCF80@router.jhuapl.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!TCS@router.jhuapl.eduReferences:
<7129@castle.ed.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!TCS@router.jhuapl.edu From: tcs@router.jhuapl.edu Newsgroups: comp.os.msdos.programmer Subject: Re: TC 2.0 odd behaviour, me or it ? Message-ID: <0093FA69.FB9DCF80@router.jhuapl.edu> Date: 13 Nov 90 17:17:47 GMT References: <7129@castle.ed.ac.uk> Sender: news@aplcen.apl.jhu.edu (USENET News System) Reply-To: tcs@router.jhuapl.edu Organization: Johns Hopkins University/APL Lines: 18