[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 26 08:47:06 UTC 2016


            Bug ID: 212173
           Summary: SIGINT is only delivered once with
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

I've seen this issue while validating new tests on
^/projects/netbsd-tests-update-12 -- in particular sigqueue_rt expects all 7
signals to be delivered in sequence, but for whatever reason, SIGINT is
delivered once instead of twice. I added in another SIGINT for good measure, as
well as SIGHUP to see if it was a fluke, and I confirmed that it only delivers
SIGINT once in both cases.

$ sudo kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sigqueue_test:sigqueue_rt
Signal #1: signo: 67
Signal #2: signo: 66
Signal #3: signo: 66
Signal #4: signo: 65
Signal #5: signo: 3
Signal #6: signo: 2
Signal #7: signo: 2
*** Check failed: /usr/src/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c:214:
count 7 != ndelivered 6
Undelivered signal #6: 2
sigqueue_test:sigqueue_rt  ->  failed: 1 checks failed; see output for more

== Repro steps ==

Run the following commands as root:

svn cat
> /path/to/src/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c
(cd lib/libnetbsd; make obj; make depend; make all)
(cd lib/libc/tests/sys/; make obj; make depend; make all; make install)
kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sigqueue_test:sigqueue_rt

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list