delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/26/17:23:47

X-Spam-Check-By: sourceware.org
X-YMail-OSG: D_e1tc4VM1lOung4QFY7hIP2L64QPSACnxgkRx.tdVP_T.59vAKCfvN_bxiexSm1KPp9T1qX8bj0FayKFtS5CDIRa2LBS09B1P3y45SVHBnGSDM6l__DMxhMLAc3_kAfSYGmF6pZkJGcfyU-
Date: Fri, 26 Jan 2007 14:23:19 -0800 (PST)
From: Frodak <frodak17 AT yahoo DOT com>
Subject: Re: grep -P segfault
To: Mike Brown <mike AT hyperreal DOT org>, cygwin AT cygwin DOT com
In-Reply-To: <20070126220628.76419.qmail@hyperreal.org>
MIME-Version: 1.0
Message-ID: <555248.3672.qm@web58601.mail.re3.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--- Mike Brown wrote:

> Can anyone reproduce this?
> 
> This is on a fairly small Cygwin installation on
> WinXP, last updated 4 days 
> ago. 
> 
> $ echo hello | grep -P '\n'
> hello
> 
> ?  hello
> 
> ?  hello
>       4 [main] grep 3280 _cygtls::handle_exceptions:
> Error while dumping state 
> (probably corrupted stack)
> Segmentation fault (core dumped)

I get the same problem.  If you redirect the output to
a file, the "hello" is printed and then about 128k of
NULL characters are printed before it crashes.



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

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