[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-06-16 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=405847

Nicolas Fella  changed:

   What|Removed |Added

 CC||kde.b...@meku.org

--- Comment #18 from Nicolas Fella  ---
*** Bug 408766 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-06-11 Thread Florian Achleitner
https://bugs.kde.org/show_bug.cgi?id=405847

Florian Achleitner  changed:

   What|Removed |Added

 CC||f...@fopen.at

--- Comment #17 from Florian Achleitner  ---
With 
Android App 1.12.7  (NOTE 1.10.1 works fine!)
Ubuntu 19.04
kdeconnect:1.3.4-ubuntu1

SSHFS version 2.10.0
FUSE library version: 2.9.9
fusermount version: 2.9.9
using FUSE kernel interface version 7.19

Every copy of a file from the device produces a corrupted result.
Very small files seem to arrive ok, all others are broken 100% of the tries.

I tried Android app version 1.10.1, which didn't show the bug!

First difference is at byte 65537, for all files I tried. Looks like a 16bit
boundary?
cmp  20190611_085406.mp4 ../20190611_085406.mp4 
20190611_085406.mp4 ../20190611_085406.mp4 differ: byte 65537, line 251

For reference: All bigger files have a different md5sum, videos are unplayable.
On the receiving PC:

7368496469963234c5b86fd7b7a2bd46  20190602_153915.mp4
df49314e4b3084800b2f8c786cdf7818  20190602_154111.mp4
cc712b962f942df17bba1ee98cced7ea  20190602_155005_002_1.mp4
4233f29b9d16184658be72ca5fad2698  20190602_155005_002.mp4
8b95f9e455e4e1aeef6214eed03905fa  20190602_155005.mp4
9b619c2d6f06993e633c303b47940482  20190602_160200.mp4
d7bbd3f3d4c08d0d7e95b7b4a8c2e01c  20190609_123102.jpg
05619c2e4aec628f10b677eeff5d2da6  20190609_131844.jpg
7096ae70b2cc5077e0c22900ad8e958e  20190609_131946.jpg
cff2e82d0dba3ad0d8a0a9cdd6ee264e  20190609_134142.jpg
5fd673e249844f5bc098d34d4ba2f7ad  20190611_085355.mp4
29928a9c678194035925483c193476bf  20190611_085406.mp4

-rw-rw-rw- 1 flo flo 102637754 Jun  2 15:42 20190602_153915.mp4
-rw-rw-rw- 1 flo flo  21902289 Jun  2 15:41 20190602_154111.mp4
-rw-rw-rw- 1 flo flo   7840006 Jun 11 08:48 20190602_155005_002_1.mp4
-rw-rw-rw- 1 flo flo  13277710 Jun 11 08:46 20190602_155005_002.mp4
-rw-rw-rw- 1 flo flo  19312877 Jun 11 08:46 20190602_155005.mp4
-rw-rw-rw- 1 flo flo  30747096 Jun  2 16:02 20190602_160200.mp4
-rw-rw-rw- 1 flo flo   1969455 Jun  9 12:31 20190609_123102.jpg
-rw-rw-rw- 1 flo flo   2805541 Jun  9 13:18 20190609_131844.jpg
-rw-rw-rw- 1 flo flo   1311053 Jun  9 13:19 20190609_131946.jpg
-rw-rw-rw- 1 flo flo   2506547 Jun  9 13:41 20190609_134142.jpg
-rw-rw-rw- 1 flo flo   2863015 Jun 11 08:54 20190611_085355.mp4
-rw-rw-rw- 1 flo flo  24200139 Jun 11 08:54 20190611_085406.mp4

adb shell on android

1c93986f545424e393d8d9fc40b329c5  20190602_153915.mp4
7031c6f1550bb365c5095cc4e033b470  20190602_154111.mp4
8dfa45e00b65c343be21f989e4facfd5  20190602_155005_002_1.mp4
e93daf56fb252a9743681c4cd644a878  20190602_155005_002.mp4
61b8d30af508cc9fb6492e959c794bb3  20190602_155005.mp4
55f20b6598996b7090765da0e9bc6033  20190602_160200.mp4
d7bbd3f3d4c08d0d7e95b7b4a8c2e01c  20190609_123102.jpg
05619c2e4aec628f10b677eeff5d2da6  20190609_131844.jpg
7096ae70b2cc5077e0c22900ad8e958e  20190609_131946.jpg
cff2e82d0dba3ad0d8a0a9cdd6ee264e  20190609_134142.jpg
29a39f692db839633decbe1ec261a6c7  20190611_085355.mp4
6e2b5ab3332097c06e446c6593b6d1ff  20190611_085406.mp4
-rw-rw 1 root sdcard_rw 102637754 2019-06-02 15:42 20190602_153915.mp4
-rw-rw 1 root sdcard_rw  21902289 2019-06-02 15:41 20190602_154111.mp4
-rw-rw 1 root sdcard_rw   7840006 2019-06-11 08:48
20190602_155005_002_1.mp4
-rw-rw 1 root sdcard_rw  13277710 2019-06-11 08:46 20190602_155005_002.mp4
-rw-rw 1 root sdcard_rw  19312877 2019-06-11 08:46 20190602_155005.mp4
-rw-rw 1 root sdcard_rw  30747096 2019-06-02 16:02 20190602_160200.mp4
-rw-rw 1 root sdcard_rw   1969455 2019-06-09 12:31 20190609_123102.jpg
-rw-rw 1 root sdcard_rw   2805541 2019-06-09 13:18 20190609_131844.jpg
-rw-rw 1 root sdcard_rw   1311053 2019-06-09 13:19 20190609_131946.jpg
-rw-rw 1 root sdcard_rw   2506547 2019-06-09 13:41 20190609_134142.jpg
-rw-rw 1 root sdcard_rw   2863015 2019-06-11 08:54 20190611_085355.mp4
-rw-rw 1 root sdcard_rw  24200139 2019-06-11 08:54 20190611_085406.mp4

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-05-03 Thread Erik Duisters
https://bugs.kde.org/show_bug.cgi?id=405847

Erik Duisters  changed:

   What|Removed |Added

 CC||philippe.roub...@free.fr

--- Comment #16 from Erik Duisters  ---
*** Bug 407158 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-25 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=405847

Alexander Potashev  changed:

   What|Removed |Added

 CC||aspotas...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-23 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #15 from Yuriy Vidineev  ---
Thanks, Mau!
KDE Connect 1.10.1 android app works like a charm for me.
I use Samsung Galaxy Note 8 with Android 9, and kdeconnect
1.3.4-0xneon+18.04+bionic+build11 on a laptop

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-23 Thread Mau
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #14 from Mau  ---
(In reply to Yuriy Vidineev from comment #13)
> Thanks, Mau.
> But oldest available version on F-Droid that I see is 
> Version 1.12 (11200) - Added on 2019-03-10
> 
> It doesn't show 1.10.1 even in a F-Droid app
> I'll try to search other sources for 1.10

Sorry Yuriy, I forgot to mention you have to enable the "F-Droid Archive"
repository.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-23 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #13 from Yuriy Vidineev  ---
Thanks, Mau.
But oldest available version on F-Droid that I see is 
Version 1.12 (11200) - Added on 2019-03-10

It doesn't show 1.10.1 even in a F-Droid app
I'll try to search other sources for 1.10

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-23 Thread Mau
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #12 from Mau  ---
(In reply to Yuriy Vidineev from comment #11)
> Mau, I didn't know that downgrade of Android app helped. In that case
> probably it's not sshfs issue. But where have you got 1.10 version? I want
> to try it as well

F-Droid (by installing the app more old versions will be available; please note
that, by my experience, the first somewhat working after 1.10.1 is 1.12.6):

https://f-droid.org/en/packages/org.kde.kdeconnect_tp/

Let us know your findings, thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-22 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #11 from Yuriy Vidineev  ---
Mau, I didn't know that downgrade of Android app helped. In that case probably
it's not sshfs issue. But where have you got 1.10 version? I want to try it as
well

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-21 Thread Mau
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #10 from Mau  ---
(In reply to Yuriy Vidineev from comment #7)
> [...]
> sshfs: 3.2
> 
> Probably it could be related to https://bugs.kde.org/show_bug.cgi?id=383069
> and -o writeback_cache=no
> 
> I didn't see this issue with previous kdeconnect version

Can this issue be related to sshfs if downgrading the Android app solves it?
Downgraded app to v1.10.1, no issues at all as always.

sshfs v2.10 here (Debian Buster), anyways.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-21 Thread Mark Fraser
https://bugs.kde.org/show_bug.cgi?id=405847

Mark Fraser  changed:

   What|Removed |Added

 CC||mfraz74+...@gmail.com

--- Comment #9 from Mark Fraser  ---
I've started noticing problems with this today, doesn't happen with smaller
files although I just tried opening a 70 kB xlsx file and that wouldn't work.
Small jpgs and pdfs seem to be OK, but anything else breaks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-21 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #8 from Yuriy Vidineev  ---
Sorry I was wrong about sshfs version (and I don't see how to modify my
previous comment). It's 2.8-1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-21 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=405847

Yuriy Vidineev  changed:

   What|Removed |Added

 CC||adeptsm...@gmail.com

--- Comment #7 from Yuriy Vidineev  ---
I also see the same bug: JPEG, mp4 and PDF files corrupted almost always (I
would say probability to get a corrupted file is about 80%)

KDE Neon User latest
Android app v1.12.6  (I've tried to install from Google Play and from F-Droid:
the same bug)
KDE connect app: 1.3.4-0xneon+18.04+bionic+build11
sshfs: 3.2

Probably it could be related to https://bugs.kde.org/show_bug.cgi?id=383069 and
-o writeback_cache=no

I didn't see this issue with previous kdeconnect version

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-04-07 Thread Mau
https://bugs.kde.org/show_bug.cgi?id=405847

Mau  changed:

   What|Removed |Added

 CC||mav...@gmail.com

--- Comment #6 from Mau  ---
I can confirm that files get corrupted quite often during transfer with Android
app v1.12.6.

I already lost a mp4 video file and some jpgs.

Same config as above: Debian testing (kdeconnect desktop v1.3.3) and Android
app v1.12.6 (f-droid). This issue doesn't happen at all with former last
working version v1.10.1: the transfer can be slow, but I never got anything
corrupted with that version.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=405847

zhangchi...@gmail.com changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #5 from zhangchi...@gmail.com ---
Please see the previous comments

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #4 from zhangchi...@gmail.com ---
(In reply to zhangchi866 from comment #3)
> (In reply to Erik Duisters from comment #2)
> > The SFTP protocol is a slow protocol. Are you sure the copy process was
> > complete before you try to open the image? I get the same behavior when I
> > try to directly open images (jpg, png or raw's) on the phone's storage. Some
> > programs handle the slow transfer speed well others don't
> 
> I can confirm the copy is complete. I also tried with multiple images. The
> corrupt files have altered content rather than being incomplete.
> 
> However, I failed to reproduce the problem on another computer (under the
> same network), which is really weird. I suppose only bugs in sftp or the
> Android app can cause such behavior. Will do more test to tell what is going
> on.

Actually, just retried on the other computer and the problem emerges, although
slightly different (corruption starts at different addresses, did 2 run,
between which I killed kdeconnectd on my computer, and got 0x8000 &
0x0001c000, respectively). I have no idea why it worked as intended in the
first try.

By my understanding, kdeconnect is using system's sshfs program and that should
be quite reliable, is it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #3 from zhangchi...@gmail.com ---
(In reply to Erik Duisters from comment #2)
> The SFTP protocol is a slow protocol. Are you sure the copy process was
> complete before you try to open the image? I get the same behavior when I
> try to directly open images (jpg, png or raw's) on the phone's storage. Some
> programs handle the slow transfer speed well others don't

I can confirm the copy is complete. I also tried with multiple images. The
corrupt files have altered content rather than being incomplete.

However, I failed to reproduce the problem on another computer (under the same
network), which is really weird. I suppose only bugs in sftp or the Android app
can cause such behavior. Will do more test to tell what is going on.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-25 Thread Erik Duisters
https://bugs.kde.org/show_bug.cgi?id=405847

Erik Duisters  changed:

   What|Removed |Added

 CC||e.duiste...@gmail.com
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Erik Duisters  ---
The SFTP protocol is a slow protocol. Are you sure the copy process was
complete before you try to open the image? I get the same behavior when I try
to directly open images (jpg, png or raw's) on the phone's storage. Some
programs handle the slow transfer speed well others don't

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=405847

zhangchi...@gmail.com changed:

   What|Removed |Added

 CC||zhangchi...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 405847] SFTP corrupts DNG files

2019-03-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=405847

--- Comment #1 from zhangchi...@gmail.com ---
Created attachment 119017
  --> https://bugs.kde.org/attachment.cgi?id=119017=edit
left: file pulled with adb; right: file transfered with SFTP

-- 
You are receiving this mail because:
You are watching all bug changes.