delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/10/04:09:13

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Krzysztof Duleba" <krzysan AT skrzynka DOT pl>
Subject: Re: bash -c error
Date: Tue, 10 Jan 2006 10:09:04 +0100
Lines: 27
Message-ID: <dpvtj0$2nn$1@sea.gmane.org>
References: <dpu23k$k1q$1 AT sea DOT gmane DOT org> <20060109170631 DOT GA6864 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Christopher Faylor wrote:

>>$ bash -c time
>>Segmentation fault (core dumped)
>>
>>$ uname -a
>>CYGWIN_NT-5.1 DULI2 1.5.19s(0.141/4/2) 20051020 10:37:08 i686 unknown
>>unknown Cygwin
>>
>>Reproduced on several machines. I wonder what can it be.
>
> Just try running 'time' from the bash prompt.  You get a SEGV from 
> strlen
> AFAICT.

No, I don't. But I do get a strange behaviour with

time for ((i=0;i<=100++)) do :; done

Now bash window simply disappears.

Anyway, I tried it on several Linux boxes with the same results. Google 
confirms that the problem is not Cygwin specific and it was first reported 
3 months ago (no patches yet AFAICT).

Krzysztof Duleba 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019