Kbase P181881: Crash when creating new record in a table using BUFFER-COPY from dynamic TEMP-TABLE to a dynamic BUF
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/24/2011 |
|
Status: Unverified
SYMPTOM(s):
Crash when creating new record in a table using BUFFER-COPY from dynamic TEMP-TABLE to a dynamic BUFFER
SYSTEM ERROR: kmdiscon - key changes pending. (130)
Progress stack trace from _progres:
kmval
proval
fdval
bfblnd
rnxitn_endar
Sample code to reproduce the issue:
DEFINE VARIABLE hTT AS HANDLE NO-UNDO.
DEFINE VARIABLE hTTBuff AS HANDLE NO-UNDO.
DEFINE VARIABLE hBuffer AS HANDLE NO-UNDO.
CREATE BUFFER hBuffer FOR TABLE "<table>".
CREATE TEMP-TABLE hTT.
hTT:CREATE-LIKE(hBuffer).
hTT:TEMP-TABLE-PREPARE("tt-<table>").
hTTBuff = hTT:DEFAULT-BUFFER-HANDLE.
hTTBuff:BUFFER-CREATE().
hTTBuff::price-id = "21796".
hTTBuff::item-type = "ACT".
hTTBuff::item-code = "01LPASC".
hTTBuff::comp-type = "LIFTS".
DO TRANSACTION:
hBuffer:BUFFER-CREATE().
hBuffer:BUFFER-COPY(hTTBuff).
END.
/* Note that the above code only reproduces this problem in a very specific table which potentially has metaschema corruption.
This doesn't appear to occur with any other tables. */
FACT(s) (Environment):
ASCII Dump/Load resolves the problem
IBM AIX
OpenEdge 10.1C03 Service Pack
CHANGE:
Database was upgraded from 10.1A
CAUSE:
Bug# OE00205165
FIX:
To work around this issue perform an ASCII Dump/Load of the database