NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46464: lib/librumphijack/t_tcpip:ssh test case randomly fails
The following reply was made to PR kern/46464; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: Antti Kantee <pooka%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/46464: lib/librumphijack/t_tcpip:ssh test case randomly fails
Date: Sat, 19 Jul 2014 12:11:23 +0300
Hi Antti,
I have now tracked down the cause of PR 46464 to an assertion failure
in librumphijack:
assertion "(pfd=5Frump[nfds].revents & POLLIN) =3D=3D 0" failed: file=
"/tmp/bracket/build/2014.07.16.07.41.43-i386-debug/src/lib/librumphija=
ck/hijack.c", line 2073, function "=5Fsys=5F=5F=5Fpollts50"
What is the intent of the assertion=3F It seems to be asserting that
the two threads can't simultaneously notify each other, but it looks
like they can.
To reproduce the failure, including the assertion failure message,
paste the following into a terminal running a root shell:
cd /usr/tests/lib/librumphijack
ed t=5Ftcpip
/sbin.sshd/
s/sshd/sshd -d -o LogLevel=3DDEBUG3 /
s/$/ 2>\/tmp\/sshd.log \&/
a
echo $! >sshd.pid
=2E
/save:ssh.out/
s/out/out -e ignore/
w
q
while atf-run t=5Ftcpip; do true; done
cat /tmp/sshd.log
--=20
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index