-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative file sizes in cached files when file >2GB #388
Comments
@icewind1991 Can you please have a look? THX |
I've managed to reproduce on a 32 bit test system but I can't figure out the cause |
Run a filesystem scan over a folder with more then 2 GB of data, by emptying the fscache table and running scanfiles(true) in the JavaScript console |
The original report is right on his statement about the signed 32-bit integer: this signed 32-bit integer is used as type for the calculated result - this should be easy to change In addition we need to find a solution to get the size of files bigger than 2GB - @icewind1991 any solution on your mind? |
I cannot reproduce this on my 32-bit system. @icewind1991 What do you think? |
ping |
A PHP int should automatically be converted to a float on overflow. Maybe this is DB related? @RandolfCarter @icewind1991 @DeepDiver1975 Which exact DB types and versions do you use? |
It was not me who had that problem, it came up in the forum, I'll try to relay the question. |
$ mysql --version |
I too am seeing this problem on a 32 bit system. CentOS DVD was uploaded as a test (4.0gb) and reports -5580800 B in owncloud. Obviously I had to use the sync application to get this one uploaded. It was done using the xubuntu linux client. debian 6.0.4 Linux boxname 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Server version: Apache/2.2.16 (Debian) PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug 6 2012 20:08:59) |
I could reproduce this one - finally. Possible solution: I'll go for that: |
this is fixed for OC5 |
@DeepDiver1975 Yes. Would be great |
will be shipped with 4.5.7 |
As reported in the forum ( http://forum.owncloud.org/viewtopic.php?f=4&t=5053 ):
If possible, questions should be asked in the forum.
The text was updated successfully, but these errors were encountered: