From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6355 invoked from network); 4 Apr 2022 02:51:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Apr 2022 02:51:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1649040697; b=ieb2hRpmPq0IIXBxzl67/PK4fe8hd8dlNr7yIc1FGXnX1m56gXV7riE5N8hKMElH+rC7b5CKRL O7vnFupiL4rErzAyFZ6xhVvH0xv4eb6WoHj/j7EdaR2Wl7+bzftX7GfzanZMYz53t6/Ar5v8dC JLaJ7uHJvRlFTkonJP9uMxX3giJ6pqvNEa9F7hWfNZkSvDzymu0yyqOYcg7whShFBMhx9wgPQz TSSEUV9RFcpG6k1Pf2UDFSmMJzRRqxxsjejfqburWCOGlQK8O7DhXWNC134y4hG8fXVVN0Gdno 9fpqaAyO0GXT6vUMNFDBLCNQog20MZoRc1x/amhQUYpSZg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oa1-f47.google.com) smtp.remote-ip=209.85.160.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1649040697; bh=kR7UfelyjVxEmX6VSAxBwoz486VolYeoy1b4qUSp5CQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature:DKIM-Signature; b=msp5sj0osCpqKjBDZ5jJqPKD4PNvcQ7c4Y6YX/krli6Gw4eqDNpuztfY9o8BzOgjlOVPnrAQn2 JgYGED8uveTEUQaSWOOh4P+DUy7s8DqixpJckdoyFmgYMxdXYfEE/2wjAmPZQt7g8WYEYSzSj0 JRm8WmWzEHB92ewZcHTEq0I3k0SQKWvp1tbmpo5y0lcrIyoKgTWJnmlIb6TPPTVb8cJ8Pnwn/9 VZcPOX/QyGdmmdtTq2dSvBMu7SVK67nU2NG0K30ZG9XZEly2+xHIaSAJuu2Y0D/FLf0JILu3iP de8UlcR/GJ/SEqpD9pSaexHcMrrGoB9pWtsPbWSw4WhEAw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=LYLY+VYS+IjX2PmCkkkgQWVhk0velGo50u0V5+9FPzs=; b=OJXxrj9asS+MCtsAg0P82oSgbM MvkldpTN0V4d/KZ0AR9DgNp/XtokzlVtRHK6VevwscOho3oOSLiHGPYef5hz713ynKtyMaz4uqHQo pjTpjyl1rh2i1aiOCFN/6B3lMHU7wf0XHZSXIzkZjZPf3VZvTKC71Wi+hPgBO1mX4wUqi7o4y4tQ0 1SSAiNVYPSVpeq9lM/aQ7/326PLGy9lmSpxgfvqoMpXFL/KFBnxeVXwITZ/nVzXA6pSjaWzmX8HMS PEjEtD3u2YzOcWSpzt3XVQybU6b/32Su4nAZlJCceSdurJMpAJgrlZV/raYSEHCHbdBhvc7qx8AEL EdHy0eVg==; Received: from authenticated user by zero.zsh.org with local id 1nbCob-000BBi-3Q; Mon, 04 Apr 2022 02:51:37 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oa1-f47.google.com) smtp.remote-ip=209.85.160.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oa1-f47.google.com ([209.85.160.47]:45575) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nbCoL-000Aqy-19; Mon, 04 Apr 2022 02:51:21 +0000 Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-d6ca46da48so9104111fac.12 for ; Sun, 03 Apr 2022 19:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=LYLY+VYS+IjX2PmCkkkgQWVhk0velGo50u0V5+9FPzs=; b=i5CxlgZjLM9pvP0xt/azmR8Gegx7dTDfyRfvbeRPTSSOH5FPiYAgiS/XO3wIvwLrY3 zXgp6sIKWf19MpO1zAFsmZbo4wiPdPJGEkMbypxA/qcFrDJs0K38dP962R+nqh/urYNF uvQNUdD6XRQwjvBKhjHxqTBesLdAdQJCQluziTvDoomauaarR/at6tjIzxv7h6hJICxj ZwuqpfW5Orsf2MUNP6K1xK1mNJ6WTt3JEjl/ihO8gIV8Xml1J7DJA9Aez9m+Bm8twp5h kEgUZwsn7qD94TDNtqWzldP8gHnRepDNh6atW4dWsJpfmZFlqFjkGyegxhCUrMlhDcTw VNfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=LYLY+VYS+IjX2PmCkkkgQWVhk0velGo50u0V5+9FPzs=; b=1w4gAjInmwkmcwjdKak1PaU5S2OTuFXJ8jVW3gdPXhwX4E84O+WxBgWW0voxjKZmRd 3mB3Pq13frGFkSdGxaFa/TjPJkxeYQllLL+q/ssEVvqvKjc8OQZfLA7Ei7CVdjA81ZU+ /E1RhBlm3LD/H6d5lcLBt4LI8MyJmng6ykEoLsi6dtEVmPbDGCpQTlo4o59dnche9unW s3HAM8bJu7Fykmdv1mNecLldxtY/N3NqjoS7Q8a182Y8aQ6xtLtmz8bOaiNVh1nRX1K8 qQItqj8LMk9AcARrT6hrNb4XJIcBlNwSweXrg/5VCtloPgywXLRkdCimrvnyCCiszOhb pNjQ== X-Gm-Message-State: AOAM530zWPl8Z2BMG9DW9hiWVA9PiTsJ8wVuRqvtKkcAp8VsMZFU9xm6 hSj3pvcad0LctpShjP3sS+IyBIqzsfQ= X-Google-Smtp-Source: ABdhPJzHcqVBkuKY5UY0wSyuMl6Is5bzHTv+1ViwXqJzePUg+y7r1h+jTA3Ddrw9YppfGd9bCal1sw== X-Received: by 2002:a05:6870:c14f:b0:e1:e304:cee1 with SMTP id g15-20020a056870c14f00b000e1e304cee1mr3130847oad.245.1649040679622; Sun, 03 Apr 2022 19:51:19 -0700 (PDT) Received: from CptOrmolo.darkstar (cpe-76-184-110-212.tx.res.rr.com. [76.184.110.212]) by smtp.gmail.com with ESMTPSA id h11-20020a056870170b00b000e1f0e0a943sm1195384oae.2.2022.04.03.19.51.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Apr 2022 19:51:19 -0700 (PDT) Date: Sun, 3 Apr 2022 21:51:16 -0500 From: Matthew Martin To: zsh-workers@zsh.org Subject: Re: Hang in E01 due to zpty on OpenBSD Message-ID: Mail-Followup-To: zsh-workers@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Seq: 49982 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Mon, Apr 04, 2022 at 11:39:41AM +0900, Jun T wrote: > > > 2022/04/04 6:42, Matthew Martin wrote: > > > I'd appreciate if anyone could confirm the below is an accurate minimal > > reproducer to report to OpenBSD. > > I tried it on OpenBSD-7.0, but it worked (no error): > > % doas -u _pbuild ./a.out > 3: /dev/ptyp0 > 4: /dev/ttyp0 > > I also tried build/test the git master (as _pbuild), but it didn't hang. > > Did you try manually running zpty? Yes zmodload zsh/pty zpty subshell true would run fine under my user, but not under _pbuild. I'm on -current, but I suspect the issue has been there for awhile since there's been a failing test for a few releases.