From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5386 invoked from network); 18 Jul 2005 10:19:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Jul 2005 10:19:18 -0000 Received: (qmail 44503 invoked from network); 18 Jul 2005 10:19:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Jul 2005 10:19:12 -0000 Received: (qmail 19671 invoked by alias); 18 Jul 2005 10:19:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21489 Received: (qmail 19661 invoked from network); 18 Jul 2005 10:19:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Jul 2005 10:19:10 -0000 Received: (qmail 44221 invoked from network); 18 Jul 2005 10:19:09 -0000 Received: from master.altlinux.ru (HELO master.altlinux.org) (62.118.250.235) by a.mx.sunsite.dk with SMTP; 18 Jul 2005 10:19:06 -0000 Received: from solemn.turbinal.org (localhost.localdomain [127.0.0.1]) by master.altlinux.org (Postfix) with ESMTP id 65C10E5773 for ; Mon, 18 Jul 2005 14:19:03 +0400 (MSD) Received: by solemn.turbinal.org (Postfix, from userid 500) id AAACB79839; Mon, 18 Jul 2005 14:17:56 +0400 (MSD) Date: Mon, 18 Jul 2005 14:17:56 +0400 From: Alexey Tourbin To: zsh-workers@sunsite.dk Subject: Re: recent zsh-4.3.0 snapshot hangs Message-ID: <20050718101756.GD3337@solemn.turbinal.org> Mail-Followup-To: zsh-workers@sunsite.dk References: <20050718084900.GZ3337@solemn.turbinal.org> <20050718092122.GB3337@solemn.turbinal.org> <200507180947.j6I9lToX020826@news01.csr.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="27KoNqt0fmcl1zj/" Content-Disposition: inline In-Reply-To: <200507180947.j6I9lToX020826@news01.csr.com> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,FORGED_RCVD_HELO, UPPERCASE_25_50 autolearn=no version=3.0.4 --27KoNqt0fmcl1zj/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 18, 2005 at 10:47:29AM +0100, Peter Stephenson wrote: > Alexey Tourbin wrote: > > [test@solemn test]$ zsh -cx 'HOSTNAME=3D3D`/bin/hostname`' > > +/etc/zshenv:9> [ -f /etc/profile.d/tmpdir.sh ']' > > +/etc/zshenv:9> . /etc/profile.d/tmpdir.sh > > +/etc/profile.d/tmpdir.sh:3> [ -z /home/test/tmp ']' > > +/etc/profile.d/tmpdir.sh:3> [ ! -d /home/test/tmp ']' > > +/etc/zshenv:10> TMPPREFIX=3D3D/home/test/tmp/zsh > > +zsh:1> HOSTNAME=3D3D+zsh:1> /bin/hostname > > [... zsh hangs ...] >=20 > So it looks like it's independent of startup files: are you able to > confirm this? Does it still happen after a rebuild from scratch? I do build from scratch (but I have ccache). Here is strace log for HOSTNAME=3D`/bin/hostname`: [pid 3629] uname({sys=3D"Linux", node=3D"solemn.turbinal.org", ...}) =3D 0 [pid 3629] fstat64(1, {st_mode=3DS_IFIFO|0600, st_size=3D0, ...}) =3D 0 [pid 3629] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMO= US, -1, 0) =3D 0x4002a000 [pid 3629] write(1, "solemn.turbinal.org\n", 20) =3D 20 [pid 3629] munmap(0x4002a000, 4096) =3D 0 [pid 3629] exit_group(0) =3D ? fcntl64(12, F_GETFL) =3D 0 (flags O_RDONLY) fstat64(12, {st_mode=3DS_IFIFO|0600, st_size=3D0, ...}) =3D 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = =3D 0x401ca000 _llseek(12, 0, 0xbffff324, SEEK_CUR) =3D -1 ESPIPE (Illegal seek) read(12, "solemn.turbinal.org\n", 4096) =3D 20 read(12, "", 4096) =3D 0 close(12) =3D 0 munmap(0x401ca000, 4096) =3D 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) =3D 0 kill(3629, SIG_0) =3D 0 rt_sigprocmask(SIG_SETMASK, ~[HUP INT CHLD], [CHLD], 8) =3D 0 --- SIGCHLD (Child exited) @ 0 (0) --- rt_sigprocmask(SIG_BLOCK, ~[], ~[HUP INT KILL STOP], 8) =3D 0 rt_sigprocmask(SIG_SETMASK, ~[HUP INT KILL STOP], ~[KILL STOP], 8) =3D 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) =3D=3D 0}], WNOHANG|WSTOPPED, {r= u_utime=3D{0, 10000}, ru_stime=3D{0, 0}, ...}) =3D 3629 getrusage(RUSAGE_CHILDREN, {ru_utime=3D{0, 10000}, ru_stime=3D{0, 0}, ...})= =3D 0 wait4(-1, 0xbfffece0, WNOHANG|WSTOPPED, 0xbfffece4) =3D -1 ECHILD (No child= processes) sigreturn() =3D ? (mask now ~[HUP INT KILL CHLD= STOP]) pause( --27KoNqt0fmcl1zj/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFC24HUfBKgtDjnu0YRAmrwAKDeKE8uozMrw1XsJGppJtRA3zJxEwCgjDgO mr7Y/hhXv2o12jaFYRIuiiE= =73DY -----END PGP SIGNATURE----- --27KoNqt0fmcl1zj/--