benlilaj / gears

Automatically exported from code.google.com/p/gears
0 stars 1 forks source link

Appears to be a 2Gbyte limit on blob upload on Mac OS X Snow Leopard #958

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 Snow 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:

Non-working configuration:

* Mac OS X 10.6.1
* Firefox 3.5.3 (build date: 20090824)
* Google Gears 0.5.32.0
* Running on MacBook5,2 with 2 Gbytes RAM

Working configuration:

* 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

Original issue reported on code.google.com by n...@mediachannel.ltd.uk on 19 Oct 2009 at 11:55

GoogleCodeExporter commented 9 years ago
Web server CGI program attached: includes all HTML and Javascript, and source 
code
for program to build test file.

Original comment by n...@mediachannel.ltd.uk on 19 Oct 2009 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by n...@mediachannel.ltd.uk on 19 Oct 2009 at 12:14

GoogleCodeExporter commented 9 years ago
This is also true for OSX Leopard, this not just snow leopard

Original comment by ben.roe...@gmail.com on 19 Oct 2009 at 1:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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.

Original comment by n...@mediachannel.ltd.uk on 19 Oct 2009 at 4:31

GoogleCodeExporter commented 9 years ago
www.salarsamimi.com

Original comment by SALARSAM...@gmail.com on 21 Oct 2009 at 6:18