[7303] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.2R: dxpsview

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Mar 13 16:42:28 1991

From: mhbraun@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 13 Mar 91 16:42:15 EST

System name:		hodge
Type and version:	KN01 7.2R (1 update(s) to same version)
Display type:		PM-MONO

What were you trying to do?
	Preview a macps file with tytso's ehandler preprended.

What's wrong:
	dxpsview died with an X error.  This is 100% reproducible.

X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  63 X_CopyPlane
  Minor opcode of failed request:  0
  Resource id in failed request:  0x0
  Serial number of failed request:  1162
  Current serial number in output stream:  1176

What should have happened:
	I should have seen the output, or an error.  Since the PS file
is only 70 lines, I have included it for your convenience :-)

Please describe any relevant documentation references:
	The Red Book.

--cut here--
%!
% lib/ehandler.ps -- Downloaded Error Break-page handler
% Copyright (c) 1984, 1985 Adobe Systems Incorporated. All Rights Reserved.
% RCSID: $Header: ehandler.ps,v 2.1 85/11/24 12:20:03 shore Rel $
%
% Modified by tytso@athena.mit.edu not to require the severloop
% password.  It is intended that this file be prepended to some other
% postscript file that you want to debug.
%
%/$brkpage where
%{pop(Error Handler in place - not loaded again\n)print flush stop}
%{serverdict begin statusdict begin 151 checkpassword
% {(Error Handler downloaded.\n)print flush 151 exitserver}
% {(Bad Password on loading error handler!!!\n)print flush stop}ifelse
%}ifelse
/$brkpage 64 dict def $brkpage begin
/prnt
 {dup type/stringtype ne{=string cvs}if dup length 6 mul/tx exch def/ty 10 def
  currentpoint/toy exch def/tox exch def 1 setgray newpath
  tox toy 2 sub moveto 0 ty rlineto tx 0 rlineto 0 ty neg rlineto
  closepath fill tox toy moveto 0 setgray show}bind def
/nl{currentpoint exch pop lmargin exch moveto 0 -10 rmoveto}def
/=={/cp 0 def typeprint nl}def
/typeprint{dup type exec}readonly def
/lmargin 72 def
/rmargin 72 def
/tprint
   {dup length cp add rmargin gt{nl/cp 0 def}if
    dup length cp add/cp exch def prnt}readonly def
/cvsprint{=string cvs tprint( )tprint}readonly def
/integertype{cvsprint}readonly def
/realtype{cvsprint}readonly def
/booleantype{cvsprint}readonly def
/operatortype{(--)tprint =string cvs tprint(-- )tprint}readonly def
/marktype{pop(-mark- )tprint}readonly def
/dicttype{pop(-dictionary- )tprint}readonly def
/nulltype{pop(-null- )tprint}readonly def
/filetype{pop(-filestream- )tprint}readonly def
/savetype{pop(-savelevel- )tprint}readonly def
/fonttype{pop(-fontid- )tprint}readonly def
/nametype{dup xcheck not{(/)tprint}if cvsprint}readonly def
/stringtype
 {dup rcheck{(\()tprint tprint(\))tprint}{pop(-string- )tprint}ifelse
 }readonly def
/arraytype
 {dup rcheck{dup xcheck
  {({)tprint{typeprint}forall(})tprint}
  {([)tprint{typeprint}forall(])tprint}ifelse}{pop(-array- )tprint}ifelse
 }readonly def
/packedarraytype
 {dup rcheck{dup xcheck
  {({)tprint{typeprint}forall(})tprint}
  {([)tprint{typeprint}forall(])tprint}ifelse}{pop(-packedarray- )tprint}ifelse
 }readonly def
/courier/Courier findfont 10 scalefont def
end %$brkpage
errordict/handleerror
 {systemdict begin $error begin $brkpage begin newerror
   {/newerror false store 
    vmstatus pop pop 0 ne{grestoreall}if initgraphics courier setfont

    lmargin 720 moveto(ERROR: )prnt errorname prnt
    nl(OFFENDING COMMAND: )prnt/command load prnt
    $error/ostack 
    known{nl nl(STACK:)prnt nl nl $error/ostack get aload length{==}repeat}if
    systemdict/showpage get exec(%%[ Error: )print
    errorname =print(; OffendingCommand: )print/command 
    load =print( ]%%)= flush}if end end end}
dup 0 systemdict put dup 4 $brkpage put bind readonly put
%! *** Created by macps: Wed Mar 13 16:33:54 1991
%!PS-Adobe-2.0%%Title: Order%%Creator: Cricket Graph 1.3%%CreationDate: Thursday, March 14, 1991%%Pages: (atend)%%BoundingBox: ? ? ? ?%%PageBoundingBox: 30 31 582 761%%For: Matt%%IncludeProcSet: "(AppleDict md)" 68 0%%EndComments%%EndProlog%%BeginDocumentSetupmd beginT T -31 -30 761 582 100 72 72 1 F F F F T T T psu(Matt; document: Order)jn0 mfod%%EndDocumentSetup%%Page: ? 1op0 0 xl1 1 pen0 0 gm(nc 0 0 730 552 6 rc)kp64 gr0 0 730 552 4 rc(nc 408 75 636 491 6 rc)kp32 gr440 190 597 347 232 270 4 ar0 gr440.5 190.5 596.5 346.5 232 270 0 ar518 268 gm457 220 lin440 268 gm518 268 lin64 gr422 217 434 257 4 rc431 219 gm2.13311 0 rmoveto1 setTxMode0 fsbu fc{}mark T /Helvetica /|______Helvetica 0 rfbn9.35993 fzbu fc2 F /|______Helvetica fntbn(10.53%)show16<EEDDBB77EEDDBB77>pat440 190 597 347 118 232 4 ar0 gr440.5 190.5 596.5 346.5 118 232 0 ar518 268 gm587 231 lin457 220 gm518 268 lin64 gr522 145 534 185 4 rc531 147 gm2.13311 0 rmoveto1 setTxMode(31.58%)show0 gr440 190 597 347 270 478 !
4 ar440.5 190.5 596.5 346.5 270 47

8 0 ar518 268 gm440 268 lin587 231 gm518 268 lin64 gr538 348 550 388 4 rc547 350 gm2.13311 0 rmoveto1 setTxMode(57.89%)show64 gr497 394 549 480 2 rc497 394 549 480 4 rc0 gr502 401 512 411 4 rc502.5 401.5 511.5 410.5 0 rc64 gr502 419 514 437 4 rc511 421 gm1 setTxMode(Dr.)show16 gr517 401 527 411 4 rc0 gr517.5 401.5 526.5 410.5 0 rc64 gr517 419 529 475 4 rc526 421 gm1 setTxMode(Hematology)show32 sg532 401 542 411 4 rc0 gr532.5 401.5 541.5 410.5 0 rc64 gr532 419 544 442 4 rc541 421 gm1 setTxMode(N/A)show64 gr410 207 421 345 4 rc418 209 gm1 setTxMode1 fsbu fc{}mark T /Helvetica-Bold /|______Helvetica-Bold 0 rfbn10 fzbu fc2 F /|______Helvetica-Bold fntbn2.53875 0. 32 0.25387 0.(Who interprets the test ?)awidthshow0 0 gm(nc 47 78 275 494 6 rc)kp32 gr79 193 236 350 251 270 4 ar0 gr79.5 193.5 235.5 349.5 251 270 0 ar157 271 gm83 246 lin79 271 gm157 271 lin64 gr58 238 70 272 4 rc67 240 gm1.73475 0 rmoveto1 setTxMode0 fs9.35993 fzbu fc2 F /|______Helvetica fntbn(5.26%)show16<EEDDBB77E!
EDDBB77>pat79 193 236 350 213 251 

4 ar0 gr79.5 193.5 235.5 349.5 213 251 0 ar157 271 gm115 206 lin83 246 gm157 271 lin64 gr74 190 86 230 4 rc83 192 gm2.13311 0 rmoveto1 setTxMode(10.53%)show0 gr79 193 236 350 270 573 4 ar79.5 193.5 235.5 349.5 270 573 0 ar157 271 gm79 271 lin115 206 gm157 271 lin64 gr238 299 250 339 4 rc247 301 gm2.13311 0 rmoveto1 setTxMode(84.21%)show64 gr136 397 188 450 2 rc136 397 188 450 4 rc0 gr141 404 151 414 4 rc141.5 404.5 150.5 413.5 0 rc64 gr141 422 153 442 4 rc150 424 gm1 setTxMode-0.06312 0.(Yes)ashow16 gr156 404 166 414 4 rc0 gr156.5 404.5 165.5 413.5 0 rc64 gr156 422 168 437 4 rc165 424 gm1 setTxMode-0.96051 0.(No)ashow32 sg171 404 181 414 4 rc0 gr171.5 404.5 180.5 413.5 0 rc64 gr171 422 183 445 4 rc180 424 gm1 setTxMode(N/A)show64 gr47 209 58 340 4 rc55 211 gm1 setTxMode1 fs10 fzbu fc2 F /|______Helvetica-Bold fntbn1.90032 0. 32 0.19003 0.(Do you order BT tests ?)awidthshowF T cp%%Trailercdend%%Pages: 1 0%%EOF--cut here--


home help back first fref pref prev next nref lref last post