🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #862

Interesting Bug

#862
From: Clayton Cramer
Date: Tue, 15 Aug 1989 01:06
25 lines
1274 bytes
I spent a lot of time chasing this one, and the behavior is...unique.
It locks up our Apple LaserWriter IIntx quite thoroughly.

    /M {moveto} def
    /L {L} def

    100 100 M 200 200 L

Of course, it should have been:

    /L {lineto} def

but I fumbled something while editing the file.  It appears that
PostScript doesn't recognize that it's in an infinite recursive
definition here, and everything shuts down.

Of course, PostScript is usually not written by hand, but by machine,
so this won't ever happen...it would still be nice if PostScript
had some way to look for these sort of infinite recursion problems
though.
-- 
Clayton E. Cramer {pyramid,pixar,tekbspa}!optilink!cramer
A pacifist who calls the police isn't one; hired violence is still violence.
----------------------------------------------------------------------------
Disclaimer?  You must be kidding!  No company would hold opinions like mine!
Technical Details
Message-ID: <2106@optilink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cica!ctrsol!lll-winken!tekbspa!optilink!cramer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cica!ctrsol!lll-winken!tekbspa!optilink!cramer
From: cramer@optilink.UUCP (Clayton Cramer)
Newsgroups: comp.lang.postscript
Subject: Interesting Bug
Message-ID: <2106@optilink.UUCP>
Date: 15 Aug 89 01:06:42 GMT
Organization: Optilink Corporation, Petaluma, CA
Lines: 25