From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1491 invoked from network); 30 Dec 2008 04:06:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Dec 2008 04:06:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 8203 invoked from network); 30 Dec 2008 04:06:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Dec 2008 04:06:33 -0000 Received: (qmail 11309 invoked by alias); 30 Dec 2008 04:06:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26200 Received: (qmail 11292 invoked from network); 30 Dec 2008 04:06:27 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 Dec 2008 04:06:27 -0000 Received: from flock1.newmail.ru (flock1.newmail.ru [82.204.219.207]) by bifrost.dotsrc.org (Postfix) with SMTP id 6178380308BE for ; Tue, 30 Dec 2008 05:06:13 +0100 (CET) Received: (qmail 19756 invoked from network); 30 Dec 2008 04:06:13 -0000 Received: from unknown (HELO cooker.localnet) (arvidjaar@newmail.ru@91.77.250.144) by smtpd.newmail.ru with SMTP; 30 Dec 2008 04:06:13 -0000 From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: Re: Segfault on really long paths Date: Tue, 30 Dec 2008 07:05:47 +0300 User-Agent: KMail/1.10.92 (Linux/2.6.28-1avb; KDE/4.1.85; i686; ; ) References: <2d460de70812291619y5b32aadcu733cf06c9d197e1f@mail.gmail.com> In-Reply-To: <2d460de70812291619y5b32aadcu733cf06c9d197e1f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4026890.0d2oZzi0Rx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200812300706.08353.arvidjaar@newmail.ru> X-Virus-Scanned: ClamAV 0.92.1/8812/Tue Dec 30 01:49:14 2008 on bifrost X-Virus-Status: Clean --nextPart4026890.0d2oZzi0Rx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On =D0=92=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA 30 =D0=B4=D0=B5=D0=BA=D0=B0= =D0=B1=D1=80=D1=8F 2008 03:19:51 Richard Hartmann wrote: > Hi all, > > richih@adamantium ~ % for i in {1..1000}; do mkdir 0123456789; cd > 0123456789; done > [1] 24398 segmentation fault zsh > richih@adamantium ~ % > > It would be better to throw an error than to segfault. > Does not do here (Mandriva cooker): cooker% /bin/pwd > /tmp/foo cooker% wc /tmp/foo 1 1 11018 /tmp/foo cooker% echo $ZSH_VERSION 4.3.6-dev-0 glibc-2.8-1.20080520.5mnb2 Are you sure it is zsh and not (g)libc segfaulting? --nextPart4026890.0d2oZzi0Rx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklZnh8ACgkQR6LMutpd94zJ9ACeNTkEHmbWZugk0ib22NSPSudy SO0AmgKvdExxqwbizLAI6v4mtOYDpdeX =Z7oB -----END PGP SIGNATURE----- --nextPart4026890.0d2oZzi0Rx--