Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!caen.engin.umich.edu!billkatt From: billkatt@caen.engin.umich.edu (Steve Bollinger) Newsgroups: comp.sys.mac.programmer Subject: Re: LSP bugs Message-ID: <44011f34.1285f@maize.engin.umich.edu> Date: 23 Jun 89 15:35:00 GMT References: <2589@daimi.dk> Reply-To: billkatt@caen.engin.umich.edu (billkatt) Organization: Computer Aided Engineering Network (CAEN), University of Michigan Lines: 59 Sender: Followup-To: In article <2589@daimi.dk> rask@daimi.dk (Jorgen Rask) writes: > > >I have been working on a project in LSP for some months now >and suddenly a lot of strange behaviour is occuring. > >The project is medium size (around 20.000 lines) ported from >Turbo Pascal. In the last month or two a lot of work has gone >into the program and it is now in late-beta testing. > >Yesterday a link error occured and "Check Link" revealed: > undefined "THEPORT" (Runtime.lib) > < repeated 5 times...! > >Naturally I panicked - everything had run smoothly the hole >day and I was only recompiling after a few cosmetic changes. > Fortunately this mysterious error disappeared after a complete >rebuild of the project. > > I have looked loosely at a saved file the editor didn't like >with MacTools (which displays the disk contents directly) and >nothing seems to be wrong with the file. Neither is there any- >thing to see in the editor before it looses its grip so nothing >reveals exactly what is wrong. > >My system configuration: > LSP 2.0p1 > Mac Plus with 2.5 Mb > SystemTools 6.0.2 > GateKeeper and TMON > > >Prior to these happenings I was quite satisfied with LSP, >particularly its source code debugger. > >Hope something can be done about these bugs, so I can rest more >assured the hole project doesn't corrupt before the application > is on the street Sounds like you have some memory problems in your program, and they are tromping on LightSpeed's heap. I'd look for pointer problems. It is a little known "bug" in LightSpeed that if you somehow write a program than manages to corrupt the CODE resources stored in your project file, they will stay corrupted until that segment is modified or you do a complete rebuild (see above). I really believe your problem is with your program. +----------------------+----------------------------------------------------+ | Steve Bollinger | Internet: billkatt@sol.engin.umich.edu | | 4297 Sulgrave Dr. +------+---------------------------------------------+ | Swartz Creek, Mi. 48473 | "My employer doesn't take my opinion any | +-----------------------------+ more seriously than you do." | | "You remember the IIe, it +---------------------------------------------+ | was the machine Apple made before they decided people didn't need | | machines with big screens, color, or slots." | | - Harry Anderson (from NBC's Night Court) | +---------------------------------------------------------------------------+