Consultor Eletrônico



Kbase P115096: Error 5408 many times followed by memory violation error 49
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/11/2006
Status: Unverified

SYMPTOM(s):

Batch process crashes with multiple errors 5408 followed by memory violation

WARNING: -l exceeded. Automatically increasing from <old value> to <new value>. (5408)

SYSTEM ERROR: Bus error. (48)

SYSTEM ERROR: Memory violation. (49)

Protrace for the eventual failure is:


(1) uttrace() +0x100 from: /usr1/dlc91d/bin/_progres
(2) utcore() +0xec from: /usr1/dlc91d/bin/_progres
(3) drexit() +0x5cc from: /usr1/dlc91d/bin/_progres
(4) drExitOnTerm() +0x270 from: /usr1/dlc91d/bin/_progres
(5) _setitimer() +0xfc from: /usr/lib/libthread.so.1
(6) _sema_post() +0x4f4 from: /usr/lib/libthread.so.1
(7) _sema_post() +0x6a4 from: /usr/lib/libthread.so.1
(8) rnbfnxtDoit() +0xda0 from: /usr1/dlc91d/bin/_progres
(9) qrClearQuery() +0x68 from: /usr1/dlc91d/bin/_progres
(10) qrdlc() +0x4 from: /usr1/dlc91d/bin/_progres
(11) proixdlc() +0xd8 from: /usr1/dlc91d/bin/_progres
(12) fddlc() +0xc8 from: /usr1/dlc91d/bin/_progres
(13) bfclrcc() +0x48 from: /usr1/dlc91d/bin/_progres
(14) bfpopcc() +0x104 from: /usr1/dlc91d/bin/_progres
(15) rnbfnxtExit() +0x14c from: /usr1/dlc91d/bin/_progres
(16) rnbfnxtDoit() +0xda0 from: /usr1/dlc91d/bin/_progres
(17) rnbfnxtBody() +0x5d8 from: /usr1/dlc91d/bin/_progres
(18) rnbfnxt() +0x300 from: /usr1/dlc91d/bin/_progres
(19) rnexec_entry() +0x578 from: /usr1/dlc91d/bin/_progres
(20) rninterpret() +0x6c from: /usr1/dlc91d/bin/_progres
(21) rnrq() +0x148 from: /usr1/dlc91d/bin/_progres
(22) main() +0x2dc from: /usr1/dlc91d/bin/_progres
(23) _start() +0xb8 from: /usr1/dlc91d/bin/_progres


CAUSE:

There was a memory leak introduced by poor 4GL code in an include file.

FIX:

Debug the code to determine where the memory is being consumed and then release resources when they are no longer needed.