From owner-freebsd-bugs@freebsd.org Mon Aug 15 15:51:19 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCE5BBBAC16 for ; Mon, 15 Aug 2016 15:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 932A41531 for ; Mon, 15 Aug 2016 15:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FFpJk5000772 for ; Mon, 15 Aug 2016 15:51:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211871] poll() is probably broken in 11.0-RC1 Date: Mon, 15 Aug 2016 15:51:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: afiskon@devzen.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 15:51:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211871 Bug ID: 211871 Summary: poll() is probably broken in 11.0-RC1 Product: Base System Version: 11.0-RC1 Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: afiskon@devzen.ru Hello. I'm a contributor to PostgreSQL project. After upgrading FreeBSD from 11.0-BETA4 to 11.0-RC1 I noticed something very weird. Here are steps to reproduce: ``` sudo pkg install git-lite bison perl5 gmake git clone git clone http://git.postgresql.org/git/postgresql.git cd postgresql # for the record - I'm on 9389fbd0 ./configure --enable-tap-tests --enable-cassert --enable-debug gmake -j4 -s gmake check ``` On 11.0-RC1 `gmake check` hangs like this: ``` returning ... ok largeobject ... ok with ... ok xml ... ok test event_trigger ... ok test stats ...=20 ``` This issue reproduces in 100% of cases. From what I can tell (judging by DT= race and stacktraces in gdb) it looks like poll() was broken. Sometimes it doesn= 't see changes. As a side note you shouldn't probably believe me on bare word here since I'm not familiar with this particular part of PostgreSQL and I have no experien= ce in debugging a kernel. The real issue could be somewhere else. Naturally it could be a bug in PostgreSQL's code. But it works flawlessly n= ot only on Linux distributions but also on 10.3 (I've just re-checked). There = is currently a feature freeze in PostgreSQL project. So there were no major changes in a code recently (like three months). Thus I believe it's most li= kely a bug in a kernel. --=20 You are receiving this mail because: You are the assignee for the bug.=