android-file-transfer-linux icon indicating copy to clipboard operation
android-file-transfer-linux copied to clipboard

Problems with transfering lots of images

Open meator opened this issue 2 years ago • 1 comments

Hello. I was trying to transfer large quantities of .jpg files. It was fine from the beginning, but then this happened:

...
uploading file  "/tmp/DCIM/Camera/IMG_20210528_160836.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_160836.jpg"  as  "IMG_20210528_160836.jpg"
sending  9809686  bytes
new object id:  377 , sending...
ok
uploading file  "/tmp/DCIM/Camera/IMG_20210528_160838.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_160838.jpg"  as  "IMG_20210528_160838.jpg"
sending  9251823  bytes
new object id:  378 , sending...
ok
uploading file  "/tmp/DCIM/Camera/IMG_20210528_160841.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_160841.jpg"  as  "IMG_20210528_160841.jpg"
sending  9713825  bytes
new object id:  379 , sending...
ok
uploading file  "/tmp/DCIM/Camera/IMG_20210528_160936.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_160936.jpg"  as  "IMG_20210528_160936.jpg"
sending  9782215  bytes
new object id:  380 , sending...
30018 ms since the last poll call
failed to send new object info  "timeout reaping usb urb"
uploading file  "/tmp/DCIM/Camera/IMG_20210528_160938.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_160938.jpg"  as  "IMG_20210528_160938.jpg"
sending  9429306  bytes
got unknown urb: 0x7f9f1b666440 of size 201352254
10010 ms since the last poll call
failed to send new object info  "timeout reaping usb urb"
uploading file  "/tmp/DCIM/Camera/IMG_20210528_161853.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_161853.jpg"  as  "IMG_20210528_161853.jpg"
sending  8438430  bytes
10009 ms since the last poll call
failed to send new object info  "timeout reaping usb urb"
uploading file  "/tmp/DCIM/Camera/IMG_20210528_161854.jpg" , parent:  "/tmp/DCIM/Camera"
uploadFile  "IMG_20210528_161854.jpg"  as  "IMG_20210528_161854.jpg"
sending  8392090  bytes
got unknown urb: 0x7f9f1b6663a0 of size 2112223936
10009 ms since the last poll call
zsh: segmentation fault  android-file-transfer

When I try to run android-file-transfer again, this happens:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-coder'
upload worker started
current text color value:  0 , guessed theme:  "light"
scan
probing device...
probing device...
probing device...
10010 ms since the last poll call
terminate called after throwing an instance of 'mtp::usb::TimeoutException'
  what():  timeout reaping usb urb
zsh: abort      android-file-transfer

When I disconnect and reconnect the usb cable, it starts to work for a while, but then the same thing happens again.

I'm doing this on VoidLinux. I'm using the version 4.2 of android-file-transfer-linux. I'm transferring to Redmi Note 7 running Lineage OS.

This is could be related to #238

meator avatar Oct 25 '21 09:10 meator

Yeah, this is long term intermittent issue some people having with faster USB transfers. Sometimes swapping cable or upgrading kernel helps. I used to have it with some kernels, but they are gone now.

whoozle avatar Nov 08 '21 14:11 whoozle