From nobody@FreeBSD.org  Sun May 20 15:29:27 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3066E106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 May 2012 15:29:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1CD228FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 May 2012 15:29:27 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4KFTQLf054299
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 May 2012 15:29:26 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q4KFTQUC054298;
	Sun, 20 May 2012 15:29:26 GMT
	(envelope-from nobody)
Message-Id: <201205201529.q4KFTQUC054298@red.freebsd.org>
Date: Sun, 20 May 2012 15:29:26 GMT
From: "Dmitry S. Luhtionov" <mitya@cabletv.dp.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nm -l faild
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168166
>Category:       gnu
>Synopsis:       nm(1): nm -l failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 20 15:30:06 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Apr 20 00:10:52 UTC 2014
>Originator:     Dmitry S. Luhtionov
>Release:        9.0-STABLE
>Organization:
>Environment:
FreeBSD m16.cabletv.dp.ua 9.0-STABLE FreeBSD 9.0-STABLE #3: Thu Mar 15 23:35:14 EET 2012     mitya@m16.cabletv.dp.ua:/usr/src/sys/amd64/compile/m16  amd64
>Description:
nm -l fails on some programs, compiled by g++ or clang++

(gdb) core nm.core
Core was generated by `nm'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000000046009e in find_line ()
(gdb) bt
#0  0x000000000046009e in find_line ()
#1  0x0000000000460d92 in _bfd_dwarf2_find_line ()
#2  0x000000000043857d in _bfd_elf_find_line ()
#3  0x0000000000403172 in print_symbol ()
#4  0x00000000004034a8 in display_rel_file ()
#5  0x0000000000403a54 in display_file ()
#6  0x0000000000403e77 in main ()
(gdb)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
