Consultor Eletrônico



Kbase P117148: Buffer parameter defined with same name as database buffer causes session crash with error 48
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2007
Status: Unverified

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x

SYMPTOM(s):

Buffer parameter defined with same name as database buffer causes session crash with error 48

SYSTEM ERROR: Bus error. (48)

Stack trace from _progres reads:

_thr_slot_offset()
_sema_post()
smconstconv()
ncgdittm()
ncqrytm()
ncdbnxt()
profnd()
fdfnd()
bfFindRow()
rnbfnxtDoit()
rnbfnxtBody

An input parameter defined as:

DEFINE PARAMETER BUFFER customer FOR customer.

On UNIX this results in error 48

On Windows this result in a session crash GPF

CAUSE:

Bug # OE00129837

FIX:

Upgrade to OpenEdge 10.1B or Apply Service pack 10.1A02.

Alternatively, a workaround is to change the name of the buffer so that it does not match the database buffer.

For example:

DEFINE PARAMETER BUFFER Xcustomer FOR customer.