GNU bug report logs - #15758
grep 2.15 calls abort() on larger searches with -P

Previous Next

Package: grep;

Reported by: Dave Reisner <dreisner <at> archlinux.org>

Date: Wed, 30 Oct 2013 17:40:05 UTC

Severity: normal

Merged with 15759

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Santiago <santiago <at> debian.org>
To: Jim Meyering <jim <at> mcafee.int>, 15758 <at> mcafee.int, 730472 <730472 <at> mcafee.int>
Cc: 15758 <at> debbugs.gnu.org, 730472 <730472 <at> bugs.debian.org>
Subject: bug#15758: Bug#730472: bug#15758: grep 2.15 calls abort() on larger searches with -P
Date: Wed, 18 Dec 2013 18:09:55 -0500
El 18/12/13 a las 09:45, Jim Meyering escribi�:
...
>
> Hi Santiago,
> Thanks for testing that.
> What do you get when you run the stand-alone example I gave in the
> commit log and in the test?
>
>   printf 'j\x82\nj\n'|LC_ALL=en_US.UTF-8 grep -P j|cat -A; echo $?
>
> For me (using pcre-8.33), it works the way I want and both matches:
>
>       jM-^B$
>       j$
>       0
>
> Hmm... I see that with debian unstable's 8.31-2, it does indeed act differently.
> I may have to think about excluding pcre support when the version
> doesn't work the way I want.

I get this:

$ printf 'j\x82\nj\n'|LC_ALL=en_US.UTF-8 src/grep -P j|cat -A; echo $?
src/grep: invalid UTF-8 byte sequence in input
0

I've also tried building debian packages for pcre 8.33 and 8.34, with same
results. I need to take a look if a debian patch is giving trouble.

Cheers!

Santiago


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org






This bug report was last modified 11 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.