delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/09/12:06:42

X-Spam-Check-By: sourceware.org
Date: Mon, 9 Jan 2006 12:06:31 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash -c error
Message-ID: <20060109170631.GA6864@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <dpu23k$k1q$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <dpu23k$k1q$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, Jan 09, 2006 at 05:13:54PM +0100, Krzysztof Duleba 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.

This doesn't seem to have anything to do with "-c".  It seems to be an
issue with the time command.

cgf


--
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