[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.6[.1] seg fault with -r
From: |
Jim Meyering |
Subject: |
Re: 2.6[.1] seg fault with -r |
Date: |
Fri, 26 Mar 2010 19:41:06 +0100 |
Karl Berry wrote:
> grep 2.6 and 2.6.1, compiled from original source (on CentOS 5.4).
> grep -r foo . (all args I tried did the same) gets an immediate seg fault.
> Compiling with gcc 4.4.3 (though I doubt it matters), also installed
> from original source.
>
> Running under gdb shows that path is NULL upon entry to isdir1 in
> lib/savedir.c. The diff below avoids the seg fault, and I haven't found
> any other bad behavior, but I'm sure it's not what you will want to
> apply ...
Hi Karl,
Thanks for reporting that.
Can you make it fail with only -r? So far I've had to use also
--include or one of the --exclude* options.
If so, please provide details so I can update this
patch before pushing it:
http://thread.gmane.org/gmane.comp.gnu.grep.bugs/2765/focus=2780