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

X-Spam-Check-By: sourceware.org
Message-ID: <20070126220628.76419.qmail@hyperreal.org>
Subject: grep -P segfault
To: cygwin AT cygwin DOT com
Date: Fri, 26 Jan 2007 14:06:28 -0800 (PST)
From: Mike Brown <mike AT hyperreal DOT org>
X-Whoa: whoa.
X-Mailer: ELM [version 2.4ME+ PL123e (25)]
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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)


(The command I was really trying to run was
  grep --color -P -U '\r[^\n]|[^\r]\n' *.txt
 to find files that don't consistently use CR+LF line separators,
 but I was able to reduce it to a simpler test case.)


Thanks,
Mike

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