Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange system behavior



On Tue, Sep 21, 2010 at 10:10 AM, Paul Goyette <paul%whooppee.com@localhost> 
wrote:
> On Mon, 20 Sep 2010, Paul Goyette wrote:
>
>> Gdb analysis of the core dump contains a rather scary warning about libc
>> not being found at the expected address:
>>
>> {105} gdb /test-bed/tools/bin/nbmandoc nbmandoc.core    ÂGNU gdb 6.5
>> Copyright (C) 2006 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you
>> are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB. ÂType "show warranty" for
>> details.
>> This GDB was configured as "x86_64--netbsd"...(no debugging symbols found)
>>
>> Reading symbols from /usr/lib/libz.so.1...(no debugging symbols
>> found)...done.
>> Loaded symbols for /usr/lib/libz.so.1
>> Reading symbols from /usr/lib/libc.so.12...(no debugging symbols
>> found)...done.
>> Loaded symbols for /usr/lib/libc.so.12
>> Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols
>> found)...done.
>> Loaded symbols for /usr/libexec/ld.elf_so
>> Core was generated by `nbmandoc'.
>> Program terminated with signal 11, Segmentation fault.
>> #0 Â0x00007f7ffdb5e040 in ?? ()
>> warning: .dynamic section for "/test-bed/dst/usr/lib/libc.so.12" is not at
>> the expected address
>> (no debugging symbols found)
>> (no debugging symbols found)
>> (no debugging symbols found)
>> (gdb)
>
> Can anyone explain why the "warning: .dynamic section ..." message refers to
> /test-bed/dst/usr/lib/libc.so.12 ? ÂThe "loading symbols" messages clearly
> show that libc should be found in /usr/lib and ldd on nbmand agrees:
>
> {106} ldd /test-bed/tools/bin/nbmandoc
> /test-bed/tools/bin/nbmandoc:
> Â Â Â Â-lz.1 => /usr/lib/libz.so.1
> Â Â Â Â-lc.12 => /usr/lib/libc.so.12
> {107}
>
>
> -------------------------------------------------------------------------
> | Paul Goyette   | PGP Key fingerprint:   | E-mail addresses:    |
> | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com  Â|
> | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
> | Kernel Developer | Â Â Â Â Â Â Â Â Â Â Â Â Â| pgoyette at netbsd.org Â|
> -------------------------------------------------------------------------
>



-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index