Kbase P116590: Progress crashes when setting a deleted object handle to ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/4/2007 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1x
SYMPTOM(s):
Progress crashes when setting a deleted object handle to ?
Setting a dynamic object handle to ? after it has been deleted causes a session GPF.
for example:
PROCEDURE createTt:
DEFINE OUTPUT PARAMETER TABLE-HANDLE htt.
create temp-table htt.
htt:add-new-field('a':u, 'character':u).
htt:add-new-field('b':u, 'character':u).
htt:temp-table-prepare('tt':u).
/* To get no memory leaks, delete the temp-table kbase: P13898 */
DELETE OBJECT htt.
/* The following statement causes the error. */
htt = ?. /* Workaround: Remove this statement, it should not be there anyway */
END.
DEFINE VARIABLE hTable AS HANDLE NO-UNDO.
RUN createTt(OUTPUT TABLE-HANDLE hTable).
CAUSE:
Bug# OE00129282
FIX:
Upgrade to OpenEdge 10.1B
Or, if upgrade is not posible remove the assignment of the deleted object handle, it is unnecessary.