From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7997 invoked by alias); 31 Jul 2011 01:11:16 -0000 Received: (qmail 7986 invoked by uid 22791); 31 Jul 2011 01:11:15 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 31 Jul 2011 01:10:59 +0000 From: "lsatenstein at yahoo dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13047] New: On 32 bit system (UBUNTU Natty) Cannot open a file of size 5GB X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lsatenstein at yahoo dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 31 Jul 2011 01:11:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00123.txt.bz2 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.