Evaluation of core dump

  • Follow


I run @ 35k jobs every Sunday.  THis is to monitor several ASIC cell 
libraries.  I get several core dumps.

If I know which program caused the dump I know I can do a :
gdb program core
 > bt

To get the trace.

of 50+ different programs with N levels of wrapper scripts, determining
which program failed is impossible.

What other tool/s exist to evalute a core dump that will provide a back 
trace like gdb?

-- 
    ___  _ ____       ___       __  __
   / _ )(_) / /_ __  / _ \___ _/ /_/ /____  ___
  / _  / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/   \_,_/\__/\__/\___/_//_/
            /___/
Texas Instruments ASIC Circuit Design Methodlogy Group
Dallas, Texas, 214-480-4455,  b-patton@ti.com
0
Reply Billy 8/9/2004 3:09:04 PM

"Billy N. Patton" <b-patton@ti.com> writes:

> I run @ 35k jobs every Sunday.  THis is to monitor several ASIC cell
> libraries.  I get several core dumps.
>
> If I know which program caused the dump I know I can do a :
> gdb program core
>  > bt
>
> To get the trace.
>
> of 50+ different programs with N levels of wrapper scripts, determining
> which program failed is impossible.
>
> What other tool/s exist to evalute a core dump that will provide a
> back trace like gdb?

The core dump will often contain the command line used to start the
program that caused it.  Try the "file" command on a core file.  If
that gives nothing, examine it with "strings" and look for familiar
things.

-- 
M�ns Rullg�rd
mru@kth.se
0
Reply iso 8/9/2004 3:19:19 PM


Billy N. Patton wrote:

> I run @ 35k jobs every Sunday.  THis is to monitor several ASIC cell 
> libraries.  I get several core dumps.
> 
> If I know which program caused the dump I know I can do a :
> gdb program core
>  > bt
> 
> To get the trace.
> 
> of 50+ different programs with N levels of wrapper scripts, determining
> which program failed is impossible.
> 
> What other tool/s exist to evalute a core dump that will provide a back 
> trace like gdb?
> 

Assuming that you're on a Linux platform, maybe this patch will help?
    http://www.sinz.org/Michael.Sinz/Linux/core.html

boa@home
0
Reply boa 8/9/2004 3:19:34 PM

boa <root@localhost.com> writes:

> Billy N. Patton wrote:
>
>> I run @ 35k jobs every Sunday.  THis is to monitor several ASIC cell
>> libraries.  I get several core dumps.
>> If I know which program caused the dump I know I can do a :
>> gdb program core
>>  > bt
>> To get the trace.
>> of 50+ different programs with N levels of wrapper scripts,
>> determining
>> which program failed is impossible.
>> What other tool/s exist to evalute a core dump that will provide a
>> back trace like gdb?
>>
>
> Assuming that you're on a Linux platform, maybe this patch will help?
>     http://www.sinz.org/Michael.Sinz/Linux/core.html

The functionality of that patch is already in recent Linux kernels.
The command

  echo 'core.%e.%p' > /proc/sys/kernel/core_pattern

will cause core dumps to contain the name of the executable that
caused it (%e) and its pid (%p).  Other % codes are available as well.

-- 
M�ns Rullg�rd
mru@kth.se
0
Reply iso 8/9/2004 3:34:09 PM

On Mon, 09 Aug 2004 10:09:04 -0500, Billy N. Patton wrote:

> What other tool/s exist to evalute a core dump that will provide a back 
> trace like gdb?

ptrace on Solaris.

-- 
mail1dotstofanetdotdk

0
Reply Bjorn 8/9/2004 7:28:00 PM

4 Replies
158 Views

(page loaded in 0.094 seconds)

Similiar Articles:











7/14/2012 12:46:22 AM


Reply: