NetBSD-Bugs archive

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

Re: lib/41085: sigaction returns EINVAL instead of -1



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/41085: sigaction returns EINVAL instead of -1
Date: Fri, 27 Mar 2009 22:00:32 +0000

 On Fri, Mar 27, 2009 at 01:15:01PM +0000, matteo%beccati.com@localhost wrote:
  > 43              retval = sigaction(signo, &act, &oact);
  > (gdb) step
  > 45              if (retval < 0)
  > (gdb) print retval
  > $1 = 22
 
 That's bizarre. If this is repeatable, can you try running it under
 ktrace? That would reveal at least which sigaction call it's actually
 making, and if the return/error value shows up strangely under ktrace
 it will be a big hint.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index