NetBSD-Bugs archive

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

toolchain/44829: gdb -q prints bogus messages



>Number:         44829
>Category:       toolchain
>Synopsis:       gdb -q prints bogus messages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 05 21:55:00 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.48
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 5.99.48 NetBSD 5.99.48 (NIGHT-OWL) #29: 
Mon Apr 4 22:12:24 CEST 2011 
martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL
 amd64
Architecture: x86_64
Machine: amd64
>Description:

When invoked wiht -q (quiet, supposed to suppress initial messages) to analyze
a core dump, gdb still prints lots of "no debugging symbols found" messages,
but ommits the shared library file name - so the messages are all totally
meaningless. Example from an atf test run (first line is from atf-run):

Test program crashed; attempting to get stack trace
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Core was generated by `t_pr'.
Program terminated with signal 6, Aborted.
#0  0x00000000417604c4 in abort () from /usr/lib/libc.so.12
#0  0x00000000417604c4 in abort () from /usr/lib/libc.so.12
#1  0x0000000041309d78 in rumpuser_exit () from /usr/lib/librumpuser.so.0
#2  0x00000000411968e8 in rumpns_cpu_reboot () from /usr/lib/librump.so.0
#3  0x00000000411655ec in rumpns_panic () from /usr/lib/librump.so.0
#4  0x0000000040505f08 in rumpns_union_write ()
   from /usr/lib/librumpfs_union.so.0
#5  0x000000004115a720 in rumpns_VOP_WRITE () from /usr/lib/librump.so.0
#6  0x0000000040f2c6ec in rumpns_vn_extattr_get ()
   from /usr/lib/librumpvfs.so.0
...

>How-To-Repeat:
just invoke gdb -q on a core generated by a standard binary from a NetBSD
distribution.

>Fix:
Either suppress the (no debugging symobls found) messages with -q, or don't
suppress the loading file name info. For atf, I would prefer the former
slightly.



Home | Main Index | Thread Index | Old Index