Consultor Eletrônico



Kbase P18626: Memory violation when reading MEMPTR data
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/22/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1A
Progress 9.1B
Progress 9.1C

SYMPTOM(s):

Running a 4GL program that deals with XML documents and MEMPTR variables

Put/Get functions not allowed on uninitialized memory. (2914)

X-NODEREF or X-DOCUMENT <method-name> got an error: Unexpected exception. (9082)

Progress generates a General Page Fault (GPF) on the System

The instruction at "memory-address" referenced memory at "memory-address". The memory could not be "written".

Click on Ok to terminate the program
Click on CANCEL to debug the program

Progress core dumps generating a protrace file

PROGRESS stack trace
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 77FCB9B1 03:000009B1 C:\WINNT\System32\ntdll.dll

CAUSE:

GET-BYTE and GET-STRING do not properly guard against reading memory past the end of the memory allocated for the MEMPTR. Those functions should return the unknown value (?) in those cases, according to the documentation

CAUSE:

Bug# 20000121-024

FIX:

Upgrade to Progress 9.1D