NetBSD-Bugs archive

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

Re: bin/49206: ping6 dies with SIGINT even when it just fails to ping



The following reply was made to PR bin/49206; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/49206: ping6 dies with SIGINT even when it just fails to ping
Date: Tue, 16 Sep 2014 14:52:23 +0200

 On Tue, Sep 16, 2014 at 09:33:04PM +0900, Ryota Ozaki wrote:
 > csh seems to return 1 on that case while other shells returns 130.
 > Are you using csh?
 
 Yes, and you are right:
 
   1257      1 ping6    GIO   fd 1 wrote 57 bytes
        "--- fe80::4:204:baff:fecd:945e%bge0 ping6 statistics ---\n"
   1257      1 ping6    RET   write 57/0x39
   1257      1 ping6    CALL  write(1,0xfffffffffec0c000,0x3e)
   1257      1 ping6    GIO   fd 1 wrote 62 bytes
        "1 packets transmitted, 0 packets received, 100.0% packet loss\n"
   1257      1 ping6    RET   write 62/0x3e
   1257      1 ping6    CALL  
__sigaction_sigtramp(SIGINT,0xffffffffffffa880,0xffffffffffffa8a0,0xfffffffffee53860,2)
   1257      1 ping6    RET   __sigaction_sigtramp 0
   1257      1 ping6    CALL  getpid
   1257      1 ping6    RET   getpid 1257/0x4e9, 1900/0x76c
   1257      1 ping6    CALL  kill(0x4e9, SIGINT)
   1257      1 ping6    RET   kill 0
   1257      1 ping6    PSIG  SIGINT SIG_DFL: code=SI_USER sent by pid=1257, 
uid=0)
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index