Home » Infrastructure » Unix » core dump, please help
core dump, please help [message #97158] Fri, 28 December 2001 06:06 Go to next message
Nina
Messages: 113
Registered: March 2000
Senior Member
My Pro*C core dumps with a segmentation fault error. I was wondering if anyone knows a way to analyze the core dump file. More specifically: how to do a trace back of the core file in oder to get a stack trace or any sort of meaningful analysis?

Also, any tips on debugging a pro*c memory leak problem?

THANK YOU IN ADVANCE

----------------------------------------------------------------------
Re: core dump, please help [message #97159 is a reply to message #97158] Fri, 28 December 2001 06:19 Go to previous messageGo to next message
Hrudananda Baral
Messages: 12
Registered: October 2001
Junior Member
Hi,
If you are on Solaris then

$dbx core <ProC exeName>

Now it will read all the related shared libraries and stop at the dbx prompt. Now where should show you the path of execution of the executable and where it formed the core.

dbx>where

Check for the Null pointers where in the first line (last step). Then you can go up and up and print the *this pointer to check what parameter is being passed and why it is killing..

Cheers
Baral

----------------------------------------------------------------------
Re: core dump, please help [message #97202 is a reply to message #97158] Tue, 15 January 2002 22:40 Go to previous messageGo to next message
ANINDYA CHATTERJEE
Messages: 3
Registered: January 2002
Junior Member
PL SENED ME INFORMATION ABOUT CORE DUMP
Re: core dump, please help [message #97291 is a reply to message #97202] Tue, 26 February 2002 00:29 Go to previous messageGo to next message
sandhya
Messages: 15
Registered: February 2002
Junior Member
Please see the coredump details:
egmentation fault in rightmost at 0xd3eb9c54 ($t13)
0xd3eb9c54 (rightmost+0x30) 8003000c lwz r0,0xc(r3)
(dbx) where
rightmost(??, ??) at 0xd3eb9c54
free_y(??, ??) at 0xd3ebb504
free(??) at 0xd3eb8ffc
sktsfFree(??, ??) at 0xd40ffbcc
kpummfpg(??, ??, ??, ??, ??) at 0xd40bf764
kghfrh(??, ??) at 0xd41166cc
kpuhhfrh(??) at 0xd43a30bc
kpufhndl(??, ??) at 0xd4147c4c
OCIHandleFree(??, ??) at 0xd45190d0
sqlrst(??) at 0xd4584704
sqlret(??, ??) at 0xd45825c0
sqlcmex(??, ??, ??, ??, ??) at 0xd45b7780
sqlcxt(??, ??, ??, ??) at 0xd45b7054
release__19HistoricDataManagerFv() at 0x10701dec
addHistoric__17HistoricDataEntryFPCcPCcRCQ2_19histdataentrymodule12HistoricInfoP
Ccc() at 0x10241498
_addHistoric__Q2_23POA_histdataentrymodule4HistFPvR21CORBA_MarshalInBufferPCcR15
VISReplyHandler() at 0x10206ca0
execute__11VISSkelInfoFRC14VISGIOPRequestR21CORBA_MarshalInBufferR15VISReplyHand
ler(0x211b0568, 0x2120cfd8, 0x2120cde8, 0x213627f0) at 0xd397e004
execute__6VISPOAFP11VISSkelInfoRC14VISGIOPRequestR21CORBA_MarshalInBufferR15VISR
eplyHandlerP14VISGlobalTable(0x210dd898, 0x211b0568, 0x2120cfd8, 0x2120cde8, 0x2
13627f0, 0x2120cb68) at 0xd3a8c3c4
_do_request__22VISGIOPProtocolAdapterFP14VISGIOPRequestP14VISGlobalTable(0x2120c
9d8, 0x2120cfd8, 0x2120cb68) at 0xd3a89904
_dispatch_message__22VISGIOPProtocolAdapterFPQ2_14ProtocolEngine7MessageP14VISGl
obalTable(0x2120c9d8, 0x2120d0a4, 0x2120cb68) at 0xd3a8b1cc
dispatchMessage__22VISGIOPProtocolAdapterFPQ2_14ProtocolEngine7MessageR14VISThre
adLocal(0x2120c9d8, 0x2120d0a4, 0x2120cb68) at 0xd3a87a90
do_work__23VISThreadPoolDispatcherFPQ2_14ProtocolEngine15ProtocolAdapterRl(0x210
e6d78, 0x2120c9d8, 0x2120c6a0) at 0xd3adc430
do_work__17VISDispatchWorkerFP14VISThreadLocal(0x2120c698, 0x2120cb68) at 0xd3ad
e778
_perform_task__13VISThreadPoolFP14VISTPoolWorker(0x210e6d84, 0x2120c758) at 0xd3
ae01e0
begin__14VISTPoolWorkerFv(0x2120c758) at 0xd3ae1554
_start__9VISThreadFPv(0x2120c758) at 0xd3e675e8
pthread._pthread_body(??) at 0xd4662300

Regards
Sandhya
Re: core dump, please help [message #97621 is a reply to message #97202] Thu, 19 September 2002 19:08 Go to previous message
wajinzi
Messages: 1
Registered: September 2002
Junior Member
Hi,
I got the same error. Did you solve the problem? can you help me? Thanks.
Previous Topic: Re: Calling Oracle Procedures from Unix shell
Next Topic: Re: Oracle 8i on SCO Unix
Goto Forum:
  


Current Time: Fri Apr 19 09:38:17 CDT 2024