Subject: port-macppc/13342: sigall from GDB testsuite won't die
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ac131313@localhost.cygnus.com>
List: netbsd-bugs
Date: 06/29/2001 11:29:23
>Number:         13342
>Category:       port-macppc
>Synopsis:       sigall from GDB testsuite won't die
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 08:29:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5.1beta2
>Organization:
	
>Environment:

System: NetBSD localhost 1.5W NetBSD 1.5W (NETLUX) #0: Tue Jun 12 11:01:34 EDT 2001 boor@localhost:/usr/trunk.src/sys/arch/macppc/compile/NETLUX macppc

Kernel is from trunk.  The machine is a TiG4.  It has the ``hybrid
wdc'' patch appled.

>Description:

The GDB test ``sigall.exp'' creates a sub-process (of expect) called
sigall and then sends signals to it.

The process refuses to die (kill -9).  It just sits there chewing up
CPU time.

ac131313@nettle$ ps wux | grep sigall
ac131313 19108 98.8  0.2    28   472 p3 RNX+ 10:27AM 50:04.45 /home/scratch/GDB/mi/gdb/testsuite/gdb.base/sigall 

Killing its parent (expect) and then killing the child (sigall) does
work.
	
>How-To-Repeat:

Fetch a current gdb+dejagnu tar-ball from
http://sources.redhat.com/gdb/#download .

Configure, build, run the test sigall.exp:

gmake check-gdb RUNTESTFLAGS='--debug sigall.exp'

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