libmtp error copying big files
Bug #1472789 reported by
Sergio Cazzolato
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
John McAleely | ||
mtp (Ubuntu) |
Fix Released
|
High
|
Alfonso Sanchez-Beato |
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)
Related branches
lp://staging/~phablet-team/mtp/aosp-update
- Konrad Zapałowicz (community): Approve (code)
- Simon Fels: Approve
-
Diff: 2258 lines (+634/-357)25 files modifiedCMakeLists.txt (+1/-1)
include/MtpDataPacket.h (+13/-12)
include/MtpDevice.h (+1/-1)
include/MtpDeviceInfo.h (+2/-2)
include/MtpObjectInfo.h (+1/-1)
include/MtpPacket.h (+4/-4)
include/MtpProperty.h (+7/-7)
include/MtpRequestPacket.h (+4/-0)
include/MtpServer.h (+1/-0)
include/MtpStorageInfo.h (+1/-1)
include/MtpStringBuffer.h (+5/-2)
server/UbuntuMtpDatabase.h (+48/-37)
server/server.cpp (+25/-23)
src/MtpDataPacket.cpp (+129/-55)
src/MtpDevice.cpp (+33/-14)
src/MtpDeviceInfo.cpp (+19/-12)
src/MtpObjectInfo.cpp (+22/-20)
src/MtpPacket.cpp (+1/-1)
src/MtpProperty.cpp (+63/-42)
src/MtpRequestPacket.cpp (+17/-4)
src/MtpServer.cpp (+170/-64)
src/MtpStorageInfo.cpp (+11/-9)
src/MtpStringBuffer.cpp (+36/-24)
src/MtpUtils.cpp (+19/-20)
tests/TestMtpUtils.cpp (+1/-1)
Changed in mtp (Ubuntu): | |
assignee: | Bill Filler (bfiller) → Pat McGowan (pat-mcgowan) |
Changed in canonical-devices-system-image: | |
milestone: | ww34-2015 → ww40-2015 |
Changed in canonical-devices-system-image: | |
milestone: | ww40-2015 → backlog |
summary: |
- libmtp error copying big files + [FHD] libmtp error copying big files |
Changed in mtp (Ubuntu): | |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
status: | Triaged → In Progress |
summary: |
- [FHD] libmtp error copying big files + libmtp error copying big files |
Changed in canonical-devices-system-image: | |
status: | Triaged → In Progress |
milestone: | backlog → 11 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in mtp (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We have an MR for this at https:/ /code.launchpad .net/~mathieu- tl/mtp/ file-sizes/ +merge/ 263248 /bugs.launchpad .net/barajas/ +bug/1455464
as it was previously reported in a private bug at https:/