Bug 448584 - Cannot copy file from FTP server
Summary: Cannot copy file from FTP server
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 09:29 UTC by arbitermc98
Modified: 2022-01-16 09:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The error I get when copying (italian) (16.01 KB, image/png)
2022-01-16 09:29 UTC, arbitermc98
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arbitermc98 2022-01-16 09:29:32 UTC
Created attachment 145528 [details]
The error I get when copying (italian)

SUMMARY
On Debian 11 with KDE, I cannot copy a file from an FTP server to my PC with Dolphin.
The FTP server is started on my phone  (Xiami Redmi Note 9 Pro) through its file manager.
When I copy from the FTP server, it starts the process but, at the end, it gives me the error: "Cannot copy into file"


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 arbitermc98 2022-01-16 09:36:33 UTC
Sorry, I published for error before finishing the description.
I'll continue here.

SUMMARY
Somehow, I can copy from my PC to the phone FTP server but not the inverse.
With FileZilla, I can copy from the FTP server to my PC.

STEPS TO REPRODUCE
1. Start the FTP Server
2. Connect through Dolphin with the URL "ftp://<ip>:<port>"
3. Copy a file from the FTP Server to the PC

I also generated debug logs with Valgrind:

***
==7164== Memcheck, a memory error detector
==7164== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7164== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==7164== Command: dolphin
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xD866CA9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xD8D2DE9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xDD5FDA9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xF9FA2D9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xD8E0A59: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xFA02709: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xD8E8DC9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xFA0AB29: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xFA0EE59: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB29DF5: ???
==7164==    by 0xD9537A9: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0xD568027: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0xD72CC17: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0xF823E57: ???
==7164== 
==7164== Invalid read of size 8
==7164==    at 0x401D604: strncmp (strcmp.S:175)
==7164==    by 0x400604D: is_dst (dl-load.c:209)
==7164==    by 0x4008566: _dl_dst_count (dl-load.c:246)
==7164==    by 0x4008757: expand_dynamic_string_token (dl-load.c:388)
==7164==    by 0x40088D1: fillin_rpath.isra.0 (dl-load.c:460)
==7164==    by 0x4008BE1: decompose_rpath (dl-load.c:631)
==7164==    by 0x4009745: cache_rpath (dl-load.c:673)
==7164==    by 0x4009745: cache_rpath (dl-load.c:654)
==7164==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==7164==    by 0x400DDC0: openaux (dl-deps.c:64)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==7164==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==  Address 0xda945a9 is 9 bytes inside a block of size 15 alloc'd
==7164==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==7164==    by 0x401C16A: strdup (strdup.c:42)
==7164==    by 0x4008B74: decompose_rpath (dl-load.c:606)
==7164==    by 0x4009745: cache_rpath (dl-load.c:673)
==7164==    by 0x4009745: cache_rpath (dl-load.c:654)
==7164==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==7164==    by 0x400DDC0: openaux (dl-deps.c:64)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==7164==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x40138F9: _dl_open (dl-open.c:837)
==7164==    by 0x8AD5257: dlopen_doit (dlopen.c:66)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164== 
==7164== Invalid read of size 8
==7164==    at 0x401D604: strncmp (strcmp.S:175)
==7164==    by 0x400604D: is_dst (dl-load.c:209)
==7164==    by 0x400861E: _dl_dst_substitute (dl-load.c:288)
==7164==    by 0x40088D1: fillin_rpath.isra.0 (dl-load.c:460)
==7164==    by 0x4008BE1: decompose_rpath (dl-load.c:631)
==7164==    by 0x4009745: cache_rpath (dl-load.c:673)
==7164==    by 0x4009745: cache_rpath (dl-load.c:654)
==7164==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==7164==    by 0x400DDC0: openaux (dl-deps.c:64)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==7164==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x40138F9: _dl_open (dl-open.c:837)
==7164==  Address 0xda945a9 is 9 bytes inside a block of size 15 alloc'd
==7164==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==7164==    by 0x401C16A: strdup (strdup.c:42)
==7164==    by 0x4008B74: decompose_rpath (dl-load.c:606)
==7164==    by 0x4009745: cache_rpath (dl-load.c:673)
==7164==    by 0x4009745: cache_rpath (dl-load.c:654)
==7164==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==7164==    by 0x400DDC0: openaux (dl-deps.c:64)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==7164==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164==    by 0x40138F9: _dl_open (dl-open.c:837)
==7164==    by 0x8AD5257: dlopen_doit (dlopen.c:66)
==7164==    by 0x4AA025F: _dl_catch_exception (dl-error-skeleton.c:208)
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x10857C07: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x1086A9F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x107F84F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x10871677: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x10878D47: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x10863D27: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x10873A97: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0xBA09A57: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB28D53: ???
==7164==    by 0x107D0457: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5C1C49: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5D0349: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD372339: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5E5D09: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xF89A039: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5F5439: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5F6A09: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xCED9F59: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5F7129: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2824D: ???
==7164==    by 0xD5FFB49: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB280BD: ???
==7164==    by 0x1C4E1187: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB280BD: ???
==7164==    by 0x11C2BAD7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB280BD: ???
==7164==    by 0x11C42677: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB280BD: ???
==7164==    by 0xDC7BB47: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB280BD: ???
==7164==    by 0xDD09E27: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6970F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C69B687: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C69BE07: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C55BE07: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C560397: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C560B17: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C561F97: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C566527: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C566CA7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6AB067: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6AF5F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6AFD77: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6B11F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6B5787: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6B5F07: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6B7367: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6BB8F7: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB27F1D: ???
==7164==    by 0x1C6BC077: ???
==7164== 
==7164== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7164==    at 0x4A5CDDD: __writev (writev.c:26)
==7164==    by 0x4A5CDDD: writev (writev.c:24)
==7164==    by 0x80D8FB8: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==7164==    by 0x80D9790: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==7164==    by 0x80DA2DB: xcb_flush (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==7164==    by 0xBF1CD05: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.2)
==7164==    by 0x6254110: QWindowPrivate::applyCursor() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2)
==7164==    by 0x62585E6: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2)
==7164==    by 0x5C17290: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.2)
==7164==    by 0x5C1CA57: QWidget::setCursor(QCursor const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.2)
==7164==    by 0x5670E45: ??? (in /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.78.0)
==7164==    by 0x5671294: ??? (in /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.78.0)
==7164==    by 0x56714E9: ??? (in /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.78.0)
==7164==  Address 0xb83730e is 4,590 bytes inside a block of size 21,168 alloc'd
==7164==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==7164==    by 0x80D8980: xcb_connect_to_fd (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==7164==    by 0x80DD16A: xcb_connect_to_display_with_auth_info (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==7164==    by 0x7856241: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
==7164==    by 0x7846A24: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
==7164==    by 0xBF23156: QXcbBasicConnection::QXcbBasicConnection(char const*) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.2)
==7164==    by 0xBEFF1C1: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.2)
==7164==    by 0xBF02112: QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.2)
==7164==    by 0x484946E: ??? (in /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so)
==7164==    by 0x62428FB: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2)
==7164==    by 0x6243D4F: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2)
==7164==    by 0x6A85A55: QCoreApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2)
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2800B: ???
==7164==    by 0x10760357: ???
==7164== 
==7164== Conditional jump or move depends on uninitialised value(s)
==7164==    at 0xFB2800B: ???
==7164==    by 0x102ABB97: ???
==7164== 
""
==7164== 
==7164== Process terminating with default action of signal 2 (SIGINT)
==7164==    at 0x4A5B3FF: poll (poll.c:29)
==7164==    by 0x8C910AD: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==7164==    by 0x8C911CE: g_main_context_iteration (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==7164==    by 0x6AD651E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2)
==7164==    by 0x6A7D98A: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2)
==7164==    by 0x6A85BFF: QCoreApplication::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2)
==7164==    by 0x48B89DF: kdemain (in /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so)
==7164==    by 0x498ED09: (below main) (libc-start.c:308)
==7164== 
==7164== HEAP SUMMARY:
==7164==     in use at exit: 13,023,844 bytes in 126,857 blocks
==7164==   total heap usage: 997,556 allocs, 870,699 frees, 257,938,392 bytes allocated
==7164== 
==7164== LEAK SUMMARY:
==7164==    definitely lost: 256 bytes in 1 blocks
==7164==    indirectly lost: 32 bytes in 1 blocks
==7164==      possibly lost: 1,259,160 bytes in 4,447 blocks
==7164==    still reachable: 11,764,396 bytes in 122,408 blocks
==7164==                       of which reachable via heuristic:
==7164==                         newarray           : 14,456 bytes in 93 blocks
==7164==                         multipleinheritance: 206,720 bytes in 268 blocks
==7164==         suppressed: 0 bytes in 0 blocks
==7164== Rerun with --leak-check=full to see details of leaked memory
==7164== 
==7164== Use --track-origins=yes to see where uninitialised values come from
==7164== For lists of detected and suppressed errors, rerun with: -s
==7164== ERROR SUMMARY: 60 errors from 60 contexts (suppressed: 0 from 0)
***