bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8

2014-10-23 Thread Paul Eggert
On 10/23/2014 04:15 AM, Shlomi Fish wrote: internal PCRE error: -32 with the latest git grep. I am not seeing a problem with that test case on my platform. I am running Fedora 20 x86-64, and compiled grep with GCC 4.9.1 (which I built myself) and linked with the standard Fedora package pcr

bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8

2014-10-23 Thread Shlomi Fish
Hi all, see: https://github.com/shlomif/grep-bug-big5-utf8-from-IO-All You can cd to the directory and run "bash -x REPRODUCE.bash" (After seeing that it does not do anything harmful). I am getting: shlomif@telaviv1:~/GREP-test$ LC_ALL=en_US.UTF-8 grep -rP getline grep-test/ grep-test/round_ro