From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 22 21:10:25 2005 Return-Path: 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 F0B2F16A4CE for ; Tue, 22 Feb 2005 21:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D140943D1F for ; Tue, 22 Feb 2005 21:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1MLAPbb044885 for ; Tue, 22 Feb 2005 21:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1MLAPjq044884; Tue, 22 Feb 2005 21:10:25 GMT (envelope-from gnats) Date: Tue, 22 Feb 2005 21:10:25 GMT Message-Id: <200502222110.j1MLAPjq044884@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 21:10:26 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: freebsd-gnats-submit@FreeBSD.org Cc: "Greg 'groggy' Lehey" Subject: Re: gnu/77818: GDB locks in wait4() when running applications Date: Tue, 22 Feb 2005 15:06:19 -0600 (CST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-852539414-1109106379=:24801 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE I have narrowed the issue down to a reproducible case. With Zsh 4.2.1 and 4.2.4, Zsh will hang when GDB runs the requested command (i.e. /bin/ls). The execution runs as: /usr/local/bin/zsh -c exec /bin/ls Besides Zsh being the shell used, the shell needs to run a backtick command in .zshenv. Example: TESTING=3D`date` I do not know why this only happens when called via GDB. Running the command from the command-line returns without any obvious problems. I was unable to reproduce this with /bin/tcsh or /bin/sh by adding the above setting to .login (or .tcshrc) or .profile respectively. With Linux, GDB and Zsh do not exhibit this problem, so I am unsure if it is Zsh's or FreeBSD's bug. Se=E1n --=20 sean-freebsd@farley.org --0-852539414-1109106379=:24801--