Skip to content
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

Can't upload large files #8

Open
MeijeSibbel opened this issue Aug 25, 2017 · 4 comments
Open

Can't upload large files #8

MeijeSibbel opened this issue Aug 25, 2017 · 4 comments
Labels

Comments

@MeijeSibbel
Copy link

No description provided.

@MeijeSibbel MeijeSibbel changed the title Can't upload +1GB files Can't upload large files Aug 25, 2017
@braydonf
Copy link

braydonf commented Aug 25, 2017

So this may be 32-bit related, and an issue that would need to be solved in libstorj because of the use of memory-mapped files, and the addressable memory space at 2 ^ 32 - 1.

@kaloyan-raev
Copy link
Owner

libstorj is compiled for the armeabi-a7v CPU architecture. I've just made a quick test: sizeof(int *) == 4, which means it is 32-bit.

@kaloyan-raev
Copy link
Owner

@braydonf is there a related issue in the libstorj project?

@kaloyan-raev
Copy link
Owner

I have the following backtrace reported to Google Play Console that is most probably related to this issue:

  native: pc 000000000004200c  /system/lib/libc.so (_ZL33__pthread_mutex_lock_with_timeoutP24pthread_mutex_internal_tPK8timespeci+431)
  native: pc 0000000000042159  /system/lib/libc.so (pthread_mutex_lock+26)
  native: pc 00000000000398c9  /system/lib/libc.so (fclose+32)
  native: pc 000000000006fe93  /data/app/name.raev.kaloyan.hellostorj-1/lib/arm/libnative-lib.so
  native: pc 00000000001d94c8  /data/app/name.raev.kaloyan.hellostorj-1/lib/arm/libnative-lib.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants