Nancy, it looks like you do have Slurm built with the debug symbols or you wouldn't see

#0  0x00000000004a45c9 in bit_ffc (b=0x10) at bitstring.c:270

I don't believe there is a separate rpm that has the debug symbols in it, they are included in the regular ones.

In any case putting

%_with_debug 1

in your .rpmmacros should make it happen.


On 01/30/14 12:15, Nancy Kritkausky wrote:

Hi All,

I know I have been down this path before, and I thought I had it figured out, but apparently not.  We are having some trouble getting the debug information for a core dump.  I know that when we build the slurm rpms we do not strip off the symbol information in the slurm.spec file.  But, we don’t’ build a debuginfo rpm either.  When I use gdb I get the following.  What do I need to do to generate the slurm-debuginfo rpm?  Or should I be trying to do this some other way?

Thanks for any help. 

Nancy

 

dgb slurmctld core.9878

GNU gdb (GDB) bullx Linux (7.2-60.el6.Bull.1.20130914)

Copyright (C) 2010 Free Software Foundation, Inc.

.

.

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /usr/sbin/slurmctld...done.

[New Thread 5162]

Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

.

.

Core was generated by `/usr/sbin/slurmctld'.

Program terminated with signal 11, Segmentation fault.

#0  0x00000000004a45c9 in bit_ffc (b=0x10) at bitstring.c:270

270     bitstring.c: No such file or directory.

        in bitstring.c

Missing separate debuginfos, use: debuginfo-install slurm-2.6.0-Bull.2.23.el6.20131219.x86_64

 

When I try to do a

           debuginfo-install slurm-2.6.0-Bull.2.23.el6.20131219.x86_64

 

I get the following…

Loaded plugins: product-id

Could not find debuginfo for main pkg: slurm-2.6.0-Bull.2.23.el6.20131219.x86_64

Could not find debuginfo pkg for dependency package atk-1.28.0-2.el6.x86_64

Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.x86_64

Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.x86_64

Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.x86_64

.

.

.


Reply via email to