11.0-CURRENT r261258 pkg read/poll hang

From: Markiyan Kushnir <markiyan.kushnir_at_gmail.com>
Date: Wed, 29 Jan 2014 13:18:13 +0200
Hello,

freshly built:

root_at_vm0:~ # uname -a
FreeBSD vm0.mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0
r261258: Wed Jan 29 12:27:00 EET 2014
root_at_vm0.mkushnir.mooo.com:/work/obj/work/src.svnup/sys/MAREK  amd64


# pkg help

will hang eating up 100% CPU. truss shows it's locked in an endless loop:

[...]
poll({5/POLLIN|POLLERR},1,-1)                    = 1 (0x1)
read(5,0x802c61000,1024)                         = 0 (0x0)
poll({5/POLLIN|POLLERR},1,-1)                    = 1 (0x1)
read(5,0x802c61000,1024)                         = 0 (0x0)
poll({5/POLLIN|POLLERR},1,-1)                    = 1 (0x1)
read(5,0x802c61000,1024)                         = 0 (0x0)
poll({5/POLLIN|POLLERR},1,-1)                    = 1 (0x1)
read(5,0x802c61000,1024)                         = 0 (0x0)
poll({5/POLLIN|POLLERR},1,-1)                    = 1 (0x1)
read(5,0x802c61000,1024)                         = 0 (0x0)
poll({5/POLLI^CN|POLLERR},1,-1)                  = 1 (0x1)
SIGNAL 2 (SIGINT)
process exit, rval = 0


--
Markiyan.
Received on Wed Jan 29 2014 - 10:18:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC