Consultor Eletrônico



Kbase P113056: AppServer server process crashes
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/31/2006
Status: Unverified

FACT(s) (Environment):

Windows 2000
Progress 9.x

SYMPTOM(s):

AppServer server process crashes

The instruction at "0x00457f52" referenced memory at "0x00000015". The memory could not be ''read".

Outputting table handle after outputting a "null" table-handle

AppServer 4GL procedure code:
DEFINE OUTPUT PARAMETER TABLE-HANDLE tt1.
DELETE OBJECT tt1.

CAUSE:

This is a known issue being investigated by Development

FIX:

Avoid null table handle as AppServer 4GL output. Example:
DEFINE OUTPUT PARAMETER TABLE-HANDLE tt1.
def var b1 as handle no-undo.
CREATE TEMP-TABLE tt1.
tt1:ADD-NEW-FIELD('Field1', 'CHARACTER').
tt1:ADD-NEW-FIELD('Field2', 'CHARACTER').
tt1:ADD-NEW-FIELD('Field3', 'INTEGER').
tt1:TEMP-TABLE-PREPARE('docs').
ASSIGN b1 = tt1:DEFAULT-BUFFER-HANDLE.
b1:buffer-create().
b1:buffer-field(1):buffer-value = 'AA'.
b1:buffer-field(2):buffer-value = 'BB'.
b1:buffer-field(3):buffer-value = 3.
b1:buffer-release().
DELETE OBJECT tt1.