Bug#510196: seg fault with 'grep -i' on multiple files

2009-04-02 Thread Kyrian
Good grief, I'd almost completely forgotten about this bug. This combination of files causes a segfault: r...@mybox:/tmp# grep -i -A1 -m1 ^word *.txt a.txt:word 1 Segmentation fault r...@blackwidow:/tmp# cat a.txt word 1 to your momma r...@mybox:/tmp# cat b.txt word 2 to your papa

Bug#510196: seg fault with 'grep -i' on multiple files

2009-03-28 Thread AnĂ­bal Monsalve Salazar
On Tue, Dec 30, 2008 at 03:21:18PM +, Kyrian wrote: I ran a test on some plain text files to try and diagnose this further, although on a different Debian Etch machine. Firstly, one line files: a.txt:word 1 b.txt:word 2 c.txt:word 3 WORKS: kyr...@blackwidow:/tmp$ grep -i -A1 -m1 ^word

Bug#510196: seg fault with 'grep -i' on multiple files.

2008-12-30 Thread Kyrian
Package: grep Version: 2.5.1.ds2-6 Severity: important This is in the context of grepping maildir email message text files. Use of -i on multiple files appears to break things: u...@host:/my/dir/kyrian$ grep -i -A1 -m1 ^X-orenet-MailScanner-SpamCheck: 344251. 344254. 344258.