bug#19420: intermittent segfault using grep -P

2014-12-22 Thread Norihiro Tanaka
It could reproduce as following in Fedora21, RHEL 6.5. $ cd pcre-8.36 $ CFLAGS=-g ./configure --enable-utf --enable-unicode-properties $ make # make install grep-2.21 $ ./configure $ make # make install By the way, if we enabled to optimize or recompile pcre with --enable-jit option, it did not

bug#19420: intermittent segfault using grep -P

2014-12-22 Thread J.P. Hendrix
I'm not a developer, so please bear with me here. You kinda lost me with below analysis, but I think I managed to reproduce your findings with a bit of Google-magic. Are you saying a bug should be registered with pcre.org? I am reproducing your findings as follows: € sudo apt-get install libp

bug#19420: intermittent segfault using grep -P

2014-12-22 Thread Paul Eggert
J.P. Hendrix wrote: Are you saying a bug should be registered with pcre.org? That's what I'd suggest, yes. I also can reproduce the bug with Mr. Tanaka's recipe on CentOS 6.5 x86-64. Wow, that's pretty deep recursion that 'match' is doing