GNU bug report logs - #25027
Grep 2.25 misses lines in semi-large file

Previous Next

Package: grep;

Reported by: Mattias Jiderhamn <mattias.jiderhamn <at> lexmark.com>

Date: Fri, 25 Nov 2016 18:01:02 UTC

Severity: normal

Tags: moreinfo

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mattias Jiderhamn <mattias.jiderhamn <at> lexmark.com>
To: bug-grep <at> gnu.org
Subject: Grep 2.25 misses lines in semi-large file
Date: Fri, 25 Nov 2016 14:25:46 +0100
[Message part 1 (text/plain, inline)]
Hi. I'm using grep 2.25 in cygwin on a 17 MB log file. I happened to 
notice that when I did "grep Migrate" on the file some lines were 
missing. If however I did some other filtering first, i.e. "grep foo | 
grep Migrate" (where foo would match those lines), they are included.

I cannot reproduce this issue with grep 2.5.4 on Linux.

I tried minimizing the log file by removing lines that I did not expect 
in the output, but when removing lines before the expected line the 
problem dissappeared, so somewhere in the first 17 MB (of my 50 MB file) 
there is something triggering the bug.

Due to the nature of the logged data, I'm not willing to make the file 
publically available in a bug report, but I'm willing to transfer it to 
one of the maintainers, or by some other means help out in debugging. 
Please suggest how to proceed.
-- 

*Mattias Jiderhamn*
Architect & Development Lead
Invoice Portal & Exder

*M* +46 735 16 34 13
mattias.jiderhamn <at> lexmark.com

<http://www.lexmark.com>
www.lexmark.com

[Message part 2 (text/html, inline)]
[lexmark-logo-email-signature.png (image/png, inline)]

This bug report was last modified 8 years and 180 days ago.

Previous Next


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