I tried matheiu's branch and I also bumped the storage allocation from
2GB to 4GB, no difference. The _IOW call always returns -1 when it hits
a size greater than 31 bits or 2GB. The sizes passed in the
mtp_file_range are correct.

** Changed in: mtp (Ubuntu)
     Assignee: Pat McGowan (pat-mcgowan) => (unassigned)

** Changed in: canonical-devices-system-image
     Assignee: Pat McGowan (pat-mcgowan) => John McAleely (john.mcaleely)

** Changed in: canonical-devices-system-image
       Status: In Progress => Triaged

** Changed in: mtp (Ubuntu)
       Status: In Progress => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mtp in Ubuntu.
https://bugs.launchpad.net/bugs/1472789

Title:
  libmtp error copying big files

Status in Canonical System Image:
  Triaged
Status in mtp package in Ubuntu:
  Triaged

Bug description:
  An error message is shown when trying to copy a file of 3GB from my
  ubuntu desktop to my krillin phone using Nautilus.

  Steps to reproduce:
  1. Plug a krillin device 
  2. Create a file with > dd if=/dev/urandom of=/tmp/bigfile.txt bs=1024 
count=3000000
  3. Using Nautilus, copy the file to the Documents directory in the device

  In my machine it is happening that after that 2.1 GB are copied the
  process does not copy more content and an error screen appears (see
  atached). The error displayed is: "libmtp error: Could not send
  object"

  
  The free space in my device is about 3.7 GB
  My desktop os: Ubuntu 15.04
  My krilling version is: 58 (rc-proposed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1472789/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to