From owner-freebsd-bugs Thu Sep 5 5:40:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD03237B400 for ; Thu, 5 Sep 2002 05:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D7B343E42 for ; Thu, 5 Sep 2002 05:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g85Ce2JU003526 for ; Thu, 5 Sep 2002 05:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g85Ce2Uu003523; Thu, 5 Sep 2002 05:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB65237B400 for ; Thu, 5 Sep 2002 05:35:49 -0700 (PDT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF52F43E4A for ; Thu, 5 Sep 2002 05:35:48 -0700 (PDT) (envelope-from jwk@stack.nl) Received: from toad.stack.nl (toad.stack.nl [2001:610:1108:5010:202:b3ff:fe17:9e1a]) by mailhost.stack.nl (Postfix) with ESMTP id 9FF9AA2FC8; Thu, 5 Sep 2002 14:35:47 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 887) id 196EE96D1; Thu, 5 Sep 2002 14:35:47 +0200 (CEST) Message-Id: <20020905123547.196EE96D1@toad.stack.nl> Date: Thu, 5 Sep 2002 14:35:47 +0200 (CEST) From: Jan Willem Knopper Reply-To: Jan Willem Knopper To: FreeBSD-gnats-submit@FreeBSD.org Cc: unix@stack.nl X-Send-Pr-Version: 3.113 Subject: kern/42442: problem in idlequeue/debugging mode ? Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42442 >Category: kern >Synopsis: problem in idlequeue/debugging mode ? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 05 05:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jan Willem Knopper >Release: FreeBSD 4.6-STABLE i386 >Organization: M.C.G.V. Stack >Environment: System: FreeBSD toad.stack.nl 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 20 17:45:11 CEST 2002 jwk@toad.stack.nl:/toad.mnt/slurp/obj/toad.mnt/sources/4.x/sys/toad_vwww i386 >Description: The configure script of zsh hung in idle mode (and not in normal mode). It seems to be a problem with reading opening fifo's and/or forking. When using gdb the same problem occurs. >How-To-Repeat: Code of the configure script: //#line 6320 "configure" //#include "confdefs.h" #define HAVE_MKFIFO #include #include main() { char c; int fd; int pid, ret; unlink("/tmp/fifo6424"); #ifdef HAVE_MKFIFO if(mkfifo("/tmp/fifo6424", 0600) < 0) #else if(mknod("/tmp/fifo6424", 0010600, 0) < 0) #endif exit(1); pid = fork(); if(pid < 0) exit(1); if(pid) { fd = open("/tmp/fifo6424", O_RDONLY); exit(fd < 0 || read(fd, &c, 1) != 1 || c != 'x'); } fd = open("/tmp/fifo6424", O_WRONLY); ret = (fd < 0 || write(fd, "x", 1) < 1); unlink("/tmp/fifo6424"); exit(ret); } >Fix: none known >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message