Consultor Eletrônico



Kbase P182300: Memory violation running UPDATE statement on AIX.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/25/2011
Status: Unverified

SYMPTOM(s):

Memory violation running UPDATE statement on AIX.

SYSTEM ERROR: Memory violation. (49)

Stack trace from _progres reads:
# At location 0x000000000000e890 but procedure information unavailable.
stnclr : 0x00000010
ut_calloc : 0x000000f0
vv_mem_get : 0x00000028
wi_sav : 0x00000190
wn_mv : 0x00000084
wvDisplayEditor : 0x00000088
wvGenericRefresh : 0x000000b8
umEdRefresh@AF29_12 : 0x00000030
umFldClassRefresh : 0x00000144
umEdEnable@AF26_18 : 0x000000c0
umSuperEnable : 0x00000084
rnuUpdPrep : 0x00000af4
rnuenable : 0x00000148
rnupd : 0x000000a4
rnupdate : 0x000000d8

Failing code is similar to the following:
DEFINE SHARED FRAME f-LineDetail.
FORM GLine.Line_No AT 1 FORM ">9"
vItemNoCat AT 4 FORM "X(16)"
GLine.Ship_Domo AT 21 VIEW-AS EDITOR SIZE 9 BY 1
HELP "Branch Number reserved for. Use Up/Down to see entire field.(Z)"
GLine.Qty AT 31 FORM "zzzzzz9"
GLine.Factor AT 38 FORM "zzzzz9"
vSlash AT 44
GLine.Unit_Qty AT 45
GXLine.Reference AT 48 FORM "X(11)"
GXLine.Qty AT 61 FORM "zzzzzz9"
GXLine.Factor AT 68 FORM "zzzzz9"
"/" AT 74
GXLine.Unit_Qty AT 75
GXLine.ledger_code AT 78 FORM "X(3)"
WITH FRAME f-LineDetail ROW 9 WIDTH 80 6 DOWN NO-LABELS NO-BOX OVERLAY.

UPDATE
vItemNoCat
GLine.Ship_Domo
GLine.Qty
WITH FRAME f-LineDetail.

FACT(s) (Environment):

IBM AIX 6.1
OpenEdge 10.2B 64-bit
OpenEdge 10.2B03
OpenEdge Category: Language (4GL/ABL)

CAUSE:

Bug# OE00205537

CAUSE:

The ending row number of an editor is not updated in sync with the beginning row number when the SCROLL statement is executed, eventually leading to a situation where the row count for the editor is negative. This causes memory to be allocated and cleared improperly, leading to the crash.

FIX:

None at this time.