Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2016 08:47:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt
Message-ID:  <bug-212173-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212173

            Bug ID: 212173
           Summary: SIGINT is only delivered once with
                    sigqueue_test:sigqueue_rt
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ngie@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 deliv=
ers
SIGINT once in both cases.

$ sudo kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sigqueue_test:sigqueu=
e_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:2=
14:
count 7 !=3D ndelivered 6
Undelivered signal #6: 2
sigqueue_test:sigqueue_rt  ->  failed: 1 checks failed; see output for more
details

=3D=3D Repro steps =3D=3D

Run the following commands as root:

svn cat
http://svn.freebsd.org/base/projects/netbsd-tests-update-12/contrib/netbsd-=
tests/lib/libc/sys/t_sigqueue.c@304831
> /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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212173-8>