Consultor Eletrônico



Kbase P74305: Buffer stack overflow while running dbanalys online
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/08/2004
Status: Unverified

SYMPTOM(s):

Buffer stack overflow while running dbanalys online

Dbanalys fails in Area 8.

Core produced on buffer stack overflow.


PROGRESS stack trace as of Tue Mar 30 09:17:48 2004
Command line arguments are
/rcod/progress/dlc91D/bin/_proutil /rcod/db/prod/CREDITREVUE -C dbanalys

( 0) 0x001c0738 uttraceback + 0x20 [/rcod/progress/dlc91D/bin/_proutil]
( 1) 0x001b8a14 uttrace + 0x18c [/rcod/progress/dlc91D/bin/_proutil]
( 2) 0x001b8820 utcore + 0xe8 [/rcod/progress/dlc91D/bin/_proutil]
( 3) 0x00020e04 drexit + 0x194 [/rcod/progress/dlc91D/bin/_proutil]
( 4) 0x0001dc18 msgout + 0x258 [/rcod/progress/dlc91D/bin/_proutil]
( 5) 0x0001d860 msgdCB + 0x30 [/rcod/progress/dlc91D/bin/_proutil]
( 6) 0x0001d6b0 msgCB + 0x48 [/rcod/progress/dlc91D/bin/_proutil]
( 7) 0x00149034 dsmMsgdCallBack + 0xac [/rcod/progress/dlc91D/bin/_proutil]
( 8) 0x0011b944 bmLockBuffer + 0x5c4 [/rcod/progress/dlc91D/bin/_proutil]
( 9) 0x0011b370 bmLocateBlock + 0x18 [/rcod/progress/dlc91D/bin/_proutil]
(10) 0x000d27c0 tableAnalyze + 0x290 [/rcod/progress/dlc91D/bin/_proutil]
(11) 0x000d1a20 upanalys + 0xe50 [/rcod/progress/dlc91D/bin/_proutil]
(12) 0x000ae710 drprutil + 0x878 [/rcod/progress/dlc91D/bin/_proutil]
(13) 0x000a4c90 main + 0x198 [/rcod/progress/dlc91D/bin/_proutil]
(14) 0xc0143488 _start + 0xc0 [/usr/lib/libc.2]
(15) 0x00014178 $START$ + 0x1a0 [/rcod/progress/dlc91D/bin/_proutil]

Users hang once the dbanalys fails.

Need to stop and start the database to free up users.

dbanalys offline failed as well.

Not able to go to backup.

CAUSE:

Database corruption due to previous problems when running with the -i parameter.

FIX:

Run the dbrpr utility to delete bad records, blocks, and rebuild all the chains.