Date: Tue, 22 Feb 2005 21:10:25 GMT From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= <sean-freebsd@farley.org> To: freebsd-bugs@FreeBSD.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications Message-ID: <200502222110.j1MLAPjq044884@freefall.freebsd.org>
index | next in thread | raw e-mail
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?= <sean-freebsd@farley.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc: "Greg 'groggy' Lehey" <grog@FreeBSD.org>
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--
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502222110.j1MLAPjq044884>
