From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 10 12:16:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 046841065670; Tue, 10 Jul 2012 12:16:51 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 55C168FC0C; Tue, 10 Jul 2012 12:16:50 +0000 (UTC) Received: by bkcje9 with SMTP id je9so6285352bkc.13 for ; Tue, 10 Jul 2012 05:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=GIdrdY0Z/ZpK93YsN0XogYGWXOwSPdI/0Nz0qA70IWc=; b=iFA4pVsHUC6IrLVK1avvgS6TtwQEj6Pv2efjvHYQseo/XTi4Rap1RC4EliJUsx+jM/ auIhuwF/17WfUaKyC8cEqnB1lJqDXSpMhZVXCHOwlUrrRjB4f92LPnULp8WsqsBYGPQW dLzdr6e3ouIvz/Fml3nwsj0O0VAkjl9K2EvipefvpmaDiCzCryH+Big7mSXPNQCU8cg7 0koJ7+tJAdNquiQBDd8jk4o2n5jzM5s838gMdW1E6BA1D1f90G0pABkXHfEBx11zliIh Q4bO5vr1Wd5W5ZvW8jXvoIeu1FbPWdC3LGlpUzA5WdNEymfU0A8Vk4lZNsiHAVuDeGnt uehg== Received: by 10.204.157.18 with SMTP id z18mr21065836bkw.16.1341922609398; Tue, 10 Jul 2012 05:16:49 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id t23sm20389050bks.4.2012.07.10.05.16.46 (version=SSLv3 cipher=OTHER); Tue, 10 Jul 2012 05:16:47 -0700 (PDT) Message-ID: <4FFC1D2D.4020405@gmail.com> Date: Tue, 10 Jul 2012 15:16:45 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-standards@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: kern/149857: [kqueue] kqueue not reporting EOF under certain circumstances X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 12:16:51 -0000 Hi all. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/149857 This PR is rather old. I just had submitted new test case, now in plain c. It doesn't work exactly like python version, but the result is the same: > clang test.c > cat test.c | ./a.out -1 916 0 0 0 -1 0 32768 0 0 > ./a.out < test.c -1 916 0 0 0 <- and here we have a complete hang in [kqread]. -- Sphinx of black quartz judge my vow.