Consultor Eletrônico



Kbase P104004: Session crashes with error 49 and a protrace file when using CHOOSE statement
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/06/2009
Status: Verified

SYMPTOM(s):

Using CHOOSE ROW statement

Field used with CHOOSE is from a TEMP-TABLE

Code results in message "Press Space to Continue" appearing at the CHOOSE statement

Pressing F4 rather than Space results in a core dump and error 49

SYSTEM ERROR: Memory violation. (49)

Stack trace from _progres reads:

rnuChoosePrep
rnchoose
rnexec_entry
rninterpret
rnuenable
rnchoose
rnexec_entry
rninterpret

FACT(s) (Environment):

Session does not crash if Space Bar is pressed
Solaris
Linux
Progress 8.3E
Progress 9.1D
Progress 9.1E
OpenEdge 10.0B
OpenEdge 10.1A
Red Hat Linux 8.x

CAUSE:

Bug# OE00115553

FIX:

This bug will not be fixed because the CHOOSE statement is deprecated. To workaround the problem:

Option #1
Replace the functionality that uses CHOOSE with either selection lists or data browsers that are available in both ChUI and GUI. The functionality of the CHOOSE statement has been superseded by these newer constructs, that are easier to use and have additional, more complete built-in behaviors.

Option #2
Modify code to avoid having the message "Press Space to Continue" appear. Review code sample below.