NetBSD-Bugs archive

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

toolchain/46244: gdb fails to attach to multithreaded running process

>Number:         46244
>Category:       toolchain
>Synopsis:       gdb fails to attach to multithreaded running process
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 14:05:00 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.4
The NetBSD Foundation, Inc.
System: NetBSD 6.99.4 NetBSD 6.99.4 (MODULAR) #19: Thu 
Mar 22 11:22:36 CET 2012
Architecture: sparc64
Machine: sparc64

Trying to debug the one outstanding atf test failure on sparc64 causes
an internal assertion failure in gdb:

[Switching to LWP -1]
/usr/src/external/gpl3/gdb/dist/gdb/thread.c:81: internal-error: inferior_threa$
A problem internal to GDB has been detected,
further debugging may prove unreliable.

On a sparc64 machine running -current do:

cd /usr/tests/lib/librumphijack
atf-run t_tcpip &

wait a bit untill output stalls, then check top output for the busy looping
rump_server process and then use gdb -p to attach to that.

no idea

Home | Main Index | Thread Index | Old Index