This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: grep -P segfault
- From: Frodak <frodak17 at yahoo dot com>
- To: Mike Brown <mike at hyperreal dot org>, cygwin at cygwin dot com
- Date: Fri, 26 Jan 2007 14:23:19 -0800 (PST)
- Subject: Re: grep -P segfault
--- 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/