NetBSD-Bugs archive

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

toolchain/54820: gdb broken

>Number:         54820
>Category:       toolchain
>Synopsis:       gdb broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 01 11:20:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.31
The NetBSD Foundation, Inc.
System: NetBSD 9.99.31 NetBSD 9.99.31 (GENERIC) #30: Tue Dec 31 14:55:51 CET 2019 evbarm
Architecture: earmv7hfeb
Machine: evbarm

Trying to attach to a life process and getting a backtrace

# gdb -p 695
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7eb--netbsdelf-eabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 695
Reading symbols from /usr/tests/kernel/h_ps_strings2...
Reading symbols from /usr/libdata/debug//usr/tests/kernel/h_ps_strings2.debug...
Reading symbols from /usr/lib/
Reading symbols from /usr/libdata/debug//usr/lib/
Reading symbols from /usr/libexec/ld.elf_so...
Reading symbols from /usr/libdata/debug//usr/libexec/ld.elf_so.debug...
[Switching to LWP 1 of process 695]
0x792fa1bc in _sys___nanosleep50 () from /usr/lib/
(gdb) bt
#0  0x792fa1bc in _sys___nanosleep50 () from /usr/lib/
terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
#1  0x79235a04 in _sleep (

and then gdb hangs (the incomplete line is not a copy + paste error when
filling this PR).

not sure, gdb -p to a non-threaded process in -current on evbarmv7hf-eb?


Home | Main Index | Thread Index | Old Index