bug-gnulib
[Top][All Lists]
Advanced

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

test-poll failure


From: Serge E. Hallyn
Subject: test-poll failure
Date: Thu, 12 May 2011 16:16:05 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

I don't have an explanation for this.  I'm working with libvirt
0.9.1 which pulls in gnulib.  When I build on a bare machine or
a minimal lxc container, test-poll passes.  When I build in an
schroot, it fails because when it does a poll after the other
end has shut down, it does not get the expected POLLHUP|POLLER.
Instrumented debug output looks like:

Unconnected socket test... Connected sockets test... Unconnected socket
test... passed
General socket test with fork... Connected sockets test... passed
poll1_wait returned 0x5, POLLHUP|POLLER is 0x18
     # define POLLIN      0x0001      /* any readable data available   */
     # define POLLOUT     0x0004      /* file descriptor is writeable  */
failed (expecting POLLHUP after shutdown)
failed General socket test with fork
General socket test with fork... failed (expecting POLLHUP after shutdown)
failed General socket test with fork
Pipe test... Pipe test... passed

strace output for both is attached.  The child exits before the poll in
either case.

Any ideas?

thanks,
-serge

Attachment: strace.pass
Description: Text document

Attachment: strace.fail
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]