whoozle / android-file-transfer-linux

Android File Transfer for Linux (and macOS!)
http://whoozle.github.io/android-file-transfer-linux/
GNU Lesser General Public License v2.1
1.47k stars 120 forks source link

Segfault on "Unknown error" #297

Open Techwolf opened 2 years ago

Techwolf commented 2 years ago

So I was copying/backup DCIM and the GUI would up and disappear after 5 minutes or so. Tried again and same thing. Ran aft from the term console and it keep getting the same error.

downloading  170021 to "/home/techwolf/Media2/android/T320/AFT/DCIM/T320/IMG_20161013_105941.jpg"
downloading file  "/home/techwolf/Media2/android/T320/AFT/DCIM/T320/IMG_20161013_105941.jpg"  failed:  "Unknown error"
downloading  170022 to "/home/techwolf/Media2/android/T320/AFT/DCIM/T320/IMG_20161013_111358.jpg"
10009 ms since the last poll call
downloading file  "/home/techwolf/Media2/android/T320/AFT/DCIM/T320/IMG_20161013_111358.jpg"  failed:  "timeout reaping usb urb"
downloading  170023 to "/home/techwolf/Media2/android/T320/AFT/DCIM/T320/IMG_20161015_174850.jpg"
drop message 16b4, response: e9b1, transaction: 5bdc5bb1, transaction: 00000d35
got unknown urb: 0x7fbfcfffe570 of size -596921307
Segmentation fault

re-running aft would result in mtp::usb::TimeoutException and have to unplug the usb cable to reset the usb bus.

Looking on the android device/tablet, the image file was not corrupted at all. Ok...so let try adb. I change to a local directory and ran mkdir. Got an error: No space left on device. (insert sound of head hitting desk)

So, after over 30 minutes of trouble shooting this problem:

Bug is segfault on running out of local device/drive space instead of poping up GUI error, "No space left on device."

whoozle commented 2 years ago

did you run out of space on your phone or on your PC?

Techwolf commented 2 years ago

PC. I was backing up file from the device, phone or tablet, I forgot what device I was using at that time. To the hard drive on the computer that ran out of space. It was a basic HDD mounted to Media2 to store media and backup stuff on and it ran out of space. The OS and /home are on a different drive and was unaffected.