bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21827: Large file support


From: Michael Brunnbauer
Subject: bug#21827: Large file support
Date: Thu, 5 Nov 2015 09:40:26 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

Hello Mike,

On Wed, Nov 04, 2015 at 07:25:28PM -0500, Mike Frysinger wrote:
> i checked over here and it looks fine to me.  can you attach your config.log ?

Attached.

> also, try running it through strace and see what it looks like.  something 
> like:
> $ strace -e '!read' grep ...
> 
> you should see calls like:
> openat(AT_FDCWD, "...", O_RDONLY|O_NOCTTY|O_LARGEFILE) = 3

The O_LARGEFILE is missing on the grepped file but present for other calls
that seem internal to glibc:

[...]
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=9805360, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7338000
close(3)                                = 0
brk(0)                                  = 0x806d000
brk(0x808e000)                          = 0x808e000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(3, 1), ...}) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=56095, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb771a000
close(3)                                = 0
munmap(0xb771a000, 4096)                = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=23476, ...}) = 0
mmap2(NULL, 12328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7717000
mmap2(0xb7719000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7719000
close(3)                                = 0
mprotect(0xb7719000, 4096, PROT_READ)   = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
openat(AT_FDCWD, "todelete.txt", O_RDONLY|O_NOCTTY) = -1 EOVERFLOW (Value too 
large for defined data type)
write(2, "./grep: "..., 8./grep: )              = 8
write(2, "todelete.txt"..., 12todelete.txt)         = 12
write(2, ": Value too large for defined dat"..., 39: Value too large for 
defined data type) = 39
write(2, "\n"..., 1
)                    = 1
close(1)                                = 0
close(2)                                = 0
exit_group(2)                           = ?

Regards,

Michael Brunnbauer

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail address@hidden
++  http://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel

Attachment: config.log
Description: Text document

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]