GNU bug report logs - #18892
few test failure with 'grep-2.20.72-d512'

Previous Next

Package: grep;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Wed, 29 Oct 2014 20:53:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18892 <at> debbugs.gnu.org
Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512'
Date: Sun, 02 Nov 2014 13:07:57 -0500
[Message part 1 (text/plain, inline)]
Hello,

On 11/01/2014 10:39 PM, Paul Eggert wrote:
> Assaf Gordon wrote:

>> $ ../../../src/grep -r '^' ; echo $?
>> a:a
>> b:b
>> ../../../src/grep: c: Inappropriate file type or format
>> ../../../src/grep: d: Inappropriate file type or format
>> ../../../src/grep: e: Inappropriate file type or format
>> 2
>
> What system calls is this 'grep' executing?  What's the output of ktrace and kdump?

Attached is the ktrace+tdump output of running the command.

The error appears on line 217 (open() returns -1 for file "c"),
though similar errors stemming from 'fstat' for files a,b are ignored (lines 150,191).

- Assaf

[netbsd.grp.out.txt.xz (application/x-xz, attachment)]

This bug report was last modified 9 years and 251 days ago.

Previous Next


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