Analysing core files

From: grid (prohit99_at_gmail.com)
Date: 11/24/05


Date: Thu, 24 Nov 2005 20:18:40 +0530

Hi,
   I know we can use a debugger to see some details about a core file.I
do a strings on the core file and it prints a lot of information,though
the debugger only shows limited relevant information.

I have a long running program so its difficult to attach to the program
and I even dont know at what point its crashing.Also in the debugger it
shows up as a corrupt stack, like below :

#3 0x20000000017ab4f0 in __pthread_sighandler_rt () from
/lib/libpthread.so.0
#4 <signal handler called>
Previous frame inner to this frame (corrupt stack?)

I was thinking if I can make use of some the details present in the core
file which the debugger dosent inform.

Can anyone help in digging out the wealth of information being left
hidden inside the core file ?

PS: Platform is Linux.

TIA
~



Relevant Pages

  • Re: analyzing core file of frozen application
    ... > The core file was created uner the HOME-Dir of the application. ... So the assembler debugger adb would be the "right" tool. ... Some register contents, Solaris LWP and thread data, ...
    (comp.lang.java.programmer)
  • Analysing core files
    ... I know we can use a debugger to see some details about a core file.I ... do a strings on the core file and it prints a lot of information,though ... Previous frame inner to this frame (corrupt stack?) ...
    (comp.unix.programmer)
  • Re: creation of core file
    ... I am kinda new to programming in unix. ... The core file makes sense only to a debugger. ... you can use "gdb" or on other UNIX platforms, ...
    (comp.unix.programmer)
  • reading large corefiles?
    ... Note sure the best place to post this, programming group or Tru64, ideally ... I guess a programming group for Tru64... ... out saying its a bad core file, and ladebug segv's when reading it. ... but no debugger will read it... ...
    (comp.unix.tru64)
  • Re: Error in debuging core file
    ... sharad wrote: ... having problems reading the core file (details of which you haven't ... between the corefile type, or version, or whatever and the debugger. ...
    (comp.unix.solaris)