This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13047] New: On 32 bit system (UBUNTU Natty) Cannot open a file of size 5GB


http://sourceware.org/bugzilla/show_bug.cgi?id=13047

           Summary: On 32 bit system (UBUNTU Natty) Cannot open a file of
                    size 5GB
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: lsatenstein@yahoo.com


I created a large file that I truncate to 5GB via Truncate command.

I get a NULL return from  fopen("bigfile","rb"); where bigfile is 5GB exactly.

It will work with smaller files 2.5GB. 

Create file with 
truncate -s 5GB bigfile



The function works ok on Debian Squeeze, but not on UBUNTU.  (both are 32bit
versions).  I have not confirmed that it works on Fedora 32bit. 

fopen() works fine with 64bit linux.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]