What steps will reproduce the problem?
1. Install the Python file uploader program enclosed, as a CGI program on
an Apache + Linux web server
2. Visit the page, and generate the test file using the code given there
3. Visit the page, and now try to upload chunks from the file using the
links on the page, which invoke Gears based Javascript functions to do so
What is the expected output? What do you see instead?
Expected output: Each of the uploads should succeed, regardless of offset,
and the md5sums should in each case be as specified on the page. (This is
what happens using Firefox 3.5 on Windows XP.)
Observed output: On Firefox 3.5 on Max OS X Leopard, the tests will
pass at offsets less than 2**31. At and beyond the 2**31 bytes boundary,
the uploads will fail. The error console will report an "internal error" at
the point at which the status is retrieved from the request object.
What version of the product are you using? On what operating system?
On the server:
* Apache 2.2 (=2.2.9-10+lenny4) on Debian lenny, patched up-to-date, with *
Python 2.5.2 (=2.5.2-15)
On the client:
* Windows XP
* Firefox 3.5.3 (build date: 20090824)
* Google Gears 0.5.32.0
* Norton 360 antivirus
* Running on Dell Inspiron 2200 with 512 Mbytes RAM
Non-working configuration:
* Mac OS X 10.5.8
* Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3)
Gecko/20090824
Firefox/3.5.3
* 0.5.32.0;official;opt;osx;firefox
* Running on Mac Mini Intel Core 2 Duo 2 GB RAM
Please provide any additional information below.
Web server CGI program attached: includes all HTML and Javascript, and source
code
for program to build test file.
Just to supplement the comments above: the tests only transfer 1 Mbyte at a
time, so
this is not a 2 Gbyte _transfer size_ limit -- it appears to be a 2 Gbyte
_offset_
limit.
I've looked through the apparently relevant parts of the Gears source and so far
can't find any obvious cause for this.
See also Issue 959: "Appears to be a 2Gbyte limit on blob slicing/storage Mac
OS X
Snow Leopard" which I believe is probably related to this.
This also effects the Youtube gears uplaoder for large files on a premier
account, when using
gears
Original issue reported on code.google.com by ben.roe...@gmail.com on 21 Oct 2009 at 8:47
Original issue reported on code.google.com by
ben.roe...@gmail.com
on 21 Oct 2009 at 8:47Attachments: