Consultor Eletrônico



Kbase 3019: How to debug "Increase -s" error & what stack is used for.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to debug "Increase -s" error & what stack is used for.

900531-sec01
INTRODUCTION: Date Last Modified: 6/26/90
=============

This Product Services Technical Support Knowledgebase entry explains
the causes and corrective measures to take if you encounter PROGRESS
errors 279 or 280 which indicate that you should increase the stack
(-s) startup parameter.


PROGRESS ERROR NUMBER: PROGRESS ERROR TEXT:
====================== ====================

279 SYSTEM ERROR: stkpush: stack overflow.
Increase "-s" parameter


280 SYSTEM ERROR: stkditm: stack overflow.
Increase "-s" parameter


POSSIBLE CAUSE OF ERROR:
========================

Progress uses the stack (-s startup parameter) in the following
situations:


-The first time schema is read into memory it is placed on the
stack.


-While compiling expressions they are placed on the stack until
later placed in the compiled (.r) code.


-All frame information is placed on the stack.


-Arguments that are passed to procedures are placed on the stack.


-Names of procedures are place on the stack.


-When displaying data or constants, they are placed on the stack
for evaluation.


-Complex statements are placed on the stack.


DOES ERROR INDICATE CORRUPTION: IF SO, WHAT TYPE:
=============================== =================

No N/A


CORRECTIVE MEASURES:
===================

Increase stack space (PROGRESS -s startup parameter) if you are not at
the maximum value (31k).


If you are running version 5.2A and increasing the stack (-s) does not
alleviate the problem, then consult the Version 5 Technical Notes from
6/19/89 Bug B-221 for possible workarounds. Versions prior to 5.2A and
after 5.2D are not affected by this bug.


ONLINE PROCEDURES OR UTILITIES:
===============================

None


REFERENCES TO WRITTEN DOCUMENTATION:
====================================


System Administration Guide - Chapter on PROGRESS Startup and Shutdown
specifically the -s startup parameter
(PROGRESS version 5)


System Administration Guide I - Chapter on PROGRESS Startup Options
(PROGRESS version 6)

Progress Software Technical Support Note # 3019