An attempt to define a procedure that exceeds 64K elementc causes /undefined error and a low level stack dump instead of the normal /stackoverflow .
Created attachment 4665 [details] zero.ps.gz - sample program
Correct handling of the operand stack overflow requires one more element. So the maximum operand stack size should be reduced by 1 element relatively to the size set by rev. 6889 for the bug 688764. Index: gs/Resource/Init/gs_init.ps =================================================================== --- gs/Resource/Init/gs_init.ps (revision 9454) +++ gs/Resource/Init/gs_init.ps (working copy) @@ -209,7 +209,7 @@ % during initialization. /MaxDictStack 500 /MaxExecStack 5000 - /MaxOpStack 65414 + /MaxOpStack 65413 .dicttomark .setuserparams } if
The patch is committed as a rev. 9456. CET 27-05.ps, page 1 prints /MaxOpStack value and shows different result.