Consultor Eletrônico



Kbase P92521: prowin32.exe Crashes When Large BUFFER-FIELD attributes are set
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

prowin32.exe crashes

Passing a temp-table handle back to calling procedure

Temp table created dynamically in called procedure

Buffer field in temp-table has its help attribute set to a long string

String is over 800 characters long

Same behavior seen with private-data attribute on buffer-field

Example code of called procedure:
/* test2.p */

DEFINE OUTPUT PARAMETER TABLE-HANDLE htt.

DEFINE VARIABLE hbuffer AS HANDLE.
DEFINE VARIABLE hfield AS HANDLE.

CREATE TEMP-TABLE htt.
htt:ADD-NEW-FIELD("f1","char").
htt:TEMP-TABLE-PREPARE("tt_test").

hbuffer = htt:DEFAULT-BUFFER-HANDLE.
hfield = hbuffer:BUFFER-FIELD("f1").

hbuffer:BUFFER-CREATE.
hfield:BUFFER-VALUE = "test".
hfield:HELP = <long string of 800 chars>

DELETE OBJECT htt.

Works ok in OpenEdge 10.0a01

CAUSE:

This is a known issue being investigated by Development

FIX:

Upgrade to 10.0a01
Or use a different method to pass back large strings, for example use a field in the temp table rather than these attributes.