Subject: bin/24948: ping dumps core on amd64
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/27/2004 19:04:17
>Number:         24948
>Category:       bin
>Synopsis:       ping dumps core on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 28 06:47:00 UTC 2004
>Originator:     Wolfgang S. Rupprecht
>Release:        NetBSD 1.6ZL
W S Rupprecht Computer Consulting, Fremont CA
System: NetBSD 1.6ZL NetBSD 1.6ZL (WSRCC) #3: Sat Mar 27 18:38:40 PST 2004 amd64
Architecture: x86_64
Machine: amd64
	ping dumps core from the interrupt handler when you terminate
	it with ^C on an amd64

     ping -c 10 capsicum
    PING ( 56 data bytes
    64 bytes from icmp_seq=0 ttl=255 time=9.962 ms
    64 bytes from icmp_seq=1 ttl=255 time=0.008 ms
    ^C PING Statistics----
    Bus error

    $ gdb ping ping.core 
    (gdb) bt
    #0  0x0000000040c8468a in printf () from /lib/
    #1  0x0000000000403b12 in summary ()
    #2  0x0000000000403bdc in finish ()
    #3  0x0000000000403b7e in prefinish ()
    #4  <signal handler called>
    Couldn't recognize signal trampoline.