Consultor Eletrônico



Kbase P131261: ABL client crashes running compiled code that contains copy-lob statement against 10.1C Oracle DataS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/09/2008
Status: Verified

SYMPTOM(s):

ABL client crashes running compiled code that contains copy-lob statement against 10.1C Oracle DataServer

The copy-lob code runs with no issues from Procedure editor against Oracle DataServer

Stack trace from prow32.dll on windows reads:

101DEB5D 01062000 DllStartup+16B46D
02000046 00000D98 0000:00000000


FACT(s) (Environment):

The .r runs fine with OE10.1A Oracle DataServer
All Supported Operating Systems
OpenEdge 10.1C
Oracle DataServer

CAUSE:

Bug# OE00168362

CAUSE:

The ABL client tries to get some information out of the cache at runtime before processing the COPY-LOB, but the information has not been cached yet when running against the ORACLE DataServer schema. As a result, the ABL client crashes. On the other hand, when the same code is run from the procedure editor, ABL caches the information as part of the compilation of the .p, hence, no crash is apparent.

FIX:

Upgrade to OE10.1C01 or later

Or,

As a workaround reference the implicit buffer for the table(s) that is/are used on the COPY-LOB somewhere before copy-lob statement.
For instance:
BUFFER <table name>:HANDLE:NUM-FIELDS.