Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!mailrus!ames!uhccux!munnari.oz.au!cluster!softway!gary From: gary@softway.oz (Gary Corby) Newsgroups: comp.lang.forth Subject: Re: TILEforth problems Message-ID: <2727@softway.oz> Date: 15 Mar 90 00:41:58 GMT References: <35009@watmath.waterloo.edu> <577@obs.unige.ch> Organization: Softway Pty Ltd, Sydney, Australia Lines: 37 bartho@obs.unige.ch (PAUL BARTHOLDI) writes: >In article <35009@watmath.waterloo.edu>, mwnewman@watmsg.waterloo.edu (mike newman) writes: >> ...The problem seems to be occur when defining >> new words. After the third definition of any word whose name is longer than >> three characters, I get: >> >> foreground#250880: signal#11: segmentation violation >> >> ...There can be an arbitrary number of words with three or less >> character names interspersed: as soon as the third one with more than three >> is defined, I get the error. The words can be constants or variables as well. >> I'm on a microVAX running 4.3 bsd unix. >> mike >> mwnewman@watmsg.waterloo.edu Possibly it's time to look at the malloc() on your machine. A bad malloc() can do very strange things at completely unpredictable times. Try using sdb to find the exact point at which it crashes. If the crash occurred while trying to allocate through a pointer look very closely at the pointer value. Make sure it is not odd. Also make sure the value is divisible by four. >...I also tryed to compile Tile on other machines like Alliant Fx-1, >but coud'nt get it (wrongly defined variables ?). I have it compiled on a sequent balance running 4.3bsd. At first it wouldn't compile for seemingly no reason. I kept getting syntax errors associated with the variable "private", which you'll find correctly declared in the TILE code. Then I discovered some fool had hardwired "private" into the C compiler as a reserved word, presumably to mean the same as static. If you're getting wrongly defined variables that could be the reason. -- Gary Corby (Friend of Elvenkind) Softway Pty Ltd ACSnet: gary@softway.oz UUCP: ...!uunet!softway.oz!gary