[comp.sys.mac] annoying bug in Lightspeed Pascal when used with Switcher

steig@batcomputer.tn.cornell.edu (Mark J. Steiglitz) (05/13/87)

I have been running Lightspeed Pascal 1.0 in a 512K partition under Switcher
5.1, System 3.2 (4.0 and 4.1 show the same behavior), on a standard
Macintosh Plus.  Whenever a context switch occurs from my program back to
Lightspeed Pascal, apparrently, LSP calculates a checksum of its own heap
zone, and if the checksum is bad, reports an error.  Every time my program
stops, whether at the end, at a breakpoint, or during a trace, LSP
recalculates the checksum and reports the error "The Lightspeed Zone has
been damaged.  Proceed with caution".  The above behavior is only observed
when running under Switcher.  After quitting from Switcher to Lightspeed
Pascal (still in its 512K partition), or when not using Switcher at all, no
errors occur.

The bug effectively prevents any Tracing of a program's execution, as it
causes the program to entirely stop at each step, not just pause.  Stopping
at breakpoints is also annoying because you have to acknowledge the error
message each time.  I find myself leaving Switcher to do any serious
debugging.

Is there any fix for this problem, whether in LSP or Switcher, or is there
any way to turn off LSP's checksum.

-- 
|Mark J. Steiglitz          |Bitnet: steig@crnlthry, araj@crnlvax5            |
|USnail: 3626 Dickson Hall  |Arpanet: steig@tcgould.tn.cornell.edu            |
|        Cornell University |         araj@vax5.ccs.cornell.edu               |
|        Ithaca, NY  14853  |Usenet: steig@batcomputer                        |

rcopm@yabbie.UUCP (05/16/87)

> 
> 
> I have been running Lightspeed Pascal 1.0 in a 512K partition under Switcher
> 5.1, System 3.2 (4.0 and 4.1 show the same behavior), on a standard
> Macintosh Plus.  

LSP was never designed to run under Switcher.

Paul Menon.

    Dept of Communication & Electronic Engineering,
    Royal Melbourne Institute of Technology,
    124 Latrobe St, Melbourne, 3000, Australia
 
ACSnet: rcopm@yabbie             UUCP: ...!seismo!munnari!yabbie.rmit.oz!rcopm
CSNET:  rcopm@yabbie.rmit.oz     ARPA: rcopm%yabbie.rmit.oz@seismo
BITNET: rcopm%yabbie.rmit.oz@CSNET-RELAY
PHONE:  +61 3 660 2619.