Bug 450135 - kio crash after a send file stopped by lack of wifi signal and tried to send it again
Summary: kio crash after a send file stopped by lack of wifi signal and tried to send ...
Status: CONFIRMED
Alias: None
Product: kdeconnect
Classification: Applications
Component: plasmoid (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: VHI crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
: 457436 458262 459741 461040 467277 469553 470488 471320 473071 475747 480889 493541 493839 (view as bug list)
Depends on:
Blocks: 461969
  Show dependency treegraph
 
Reported: 2022-02-13 08:45 UTC by Jaime Torres
Modified: 2024-12-27 23:24 UTC (History)
16 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2022-02-13 08:45:52 UTC
SUMMARY
Application: kioslave5 (kioslave5), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f4ee65152d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f4ee64c5356 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f4ee64ae7d3 in __GI_abort () at abort.c:79
#10 0x00007f4ee6758fe7 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#11 QMessageLogger::fatal (this=this@entry=0x7ffce01bf2e0, msg=msg@entry=0x7f4ee6d723f0 "Fatal Error: Got cmd %d, while waiting for an answer!") at global/qlogging.cpp:893
#12 0x00007f4ee6ca7ef8 in KIO::SlaveBase::waitForAnswer (this=<optimized out>, expected1=<optimized out>, expected2=<optimized out>, data=..., pCmd=<optimized out>) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/core/slavebase.cpp:1112
#13 0x00007f4ee6cd8b45 in KIO::SlaveBase::canResume (this=this@entry=0x7ffce01bf7d0, offset=546619392) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/core/slavebase.cpp:1079
#14 0x00007f4ee6dd5c5f in FileProtocol::put (this=0x7ffce01bf7c0, url=..., _mode=-1, _flags=...) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/ioslaves/file/file.cpp:535
#15 0x00007f4ee6cde502 in KIO::SlaveBase::dispatch (this=0x7ffce01bf7d0, command=68, data=...) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/core/slavebase.cpp:1252
#16 0x00007f4ee6cd9d16 in KIO::SlaveBase::dispatchLoop (this=0x7ffce01bf7d0) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/core/slavebase.cpp:334
#17 0x00007f4ee6dd4559 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/ioslaves/file/file.cpp:91
#18 0x00007f4ee6e2e362 in main (argc=5, argv=0x7ffce01bfa68) at /usr/src/debug/kio-5.90.0-2.1.x86_64/src/kioslave/kioslave.cpp:141
[Inferior 1 (process 7450) detached]

I haven't tried to reproduce it, but what I did was:
1.  Send a video file from android to linux over wifi
2.  Loss wifi signal, the file was not send right (it did notify in android, but kept waiting in linux)
3.  Try to send the same file again.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220210
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.17.0-rc3-1.g335402f-default (64-bit)
Graphics Platform: X11
Processors: 6 × AMD Phenom(tm) II X6 1100T Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD JUNIPER
Comment 1 Nicolas Fella 2022-11-17 22:49:51 UTC
*** Bug 457436 has been marked as a duplicate of this bug. ***
Comment 2 Eric Seynaeve 2023-03-04 07:54:59 UTC
I had the same problem this morning. Send 14 files. Transfer stopped on file 3.

Resending crashed KDE connect.

Removing the (partial) transferred files caused the upload of the same files to succeed.
Comment 3 TraceyC 2024-02-07 02:40:28 UTC
I was able to reproduce this, intermittently
See https://bugs.kde.org/show_bug.cgi?id=418074 

There are a number of bugs related to crashes in kdeconnect if the user atteempts to transfer multiple files, or a large file, from a phone to Plasma. I'm not sure they are all duplicates. I'm listing them here so that someone more knowledgeable can more easily take a look at them as a group.

https://bugs.kde.org/show_bug.cgi?id=418074
https://bugs.kde.org/show_bug.cgi?id=467015
https://bugs.kde.org/show_bug.cgi?id=470273
https://bugs.kde.org/show_bug.cgi?id=471881
https://bugs.kde.org/show_bug.cgi?id=473071
https://bugs.kde.org/show_bug.cgi?id=474495
https://bugs.kde.org/show_bug.cgi?id=475747
https://bugs.kde.org/show_bug.cgi?id=480889

## System details

kdeconnect 23.08.4

Operating System: Solus 4.5
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.6.15-272.current (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: XPS 17 9710

Phone:
Sony Xperia 1 III
Model: SQ-BC62
Android v12 - kdeconnect 1.29.0
Comment 4 cwo 2024-07-31 16:33:12 UTC
*** Bug 480889 has been marked as a duplicate of this bug. ***
Comment 5 cwo 2024-07-31 16:33:16 UTC
*** Bug 475747 has been marked as a duplicate of this bug. ***
Comment 6 cwo 2024-07-31 16:33:19 UTC
*** Bug 473071 has been marked as a duplicate of this bug. ***
Comment 7 cwo 2024-07-31 16:33:23 UTC
*** Bug 470488 has been marked as a duplicate of this bug. ***
Comment 8 cwo 2024-07-31 16:33:26 UTC
*** Bug 471320 has been marked as a duplicate of this bug. ***
Comment 9 cwo 2024-07-31 16:33:29 UTC
*** Bug 467277 has been marked as a duplicate of this bug. ***
Comment 10 cwo 2024-07-31 16:33:32 UTC
*** Bug 469553 has been marked as a duplicate of this bug. ***
Comment 11 cwo 2024-07-31 16:33:34 UTC
*** Bug 461040 has been marked as a duplicate of this bug. ***
Comment 12 cwo 2024-07-31 16:36:14 UTC
*** Bug 459741 has been marked as a duplicate of this bug. ***
Comment 13 Nicolas Fella 2024-07-31 20:28:19 UTC
Tracey, do you actually get the same crash with 23.08 (which is a year old)?

All other reports are from earlier versions, and Sentry has no record of this crash. 

As far as I can tell this crash has been fixed with https://invent.kde.org/network/kdeconnect-kde/-/commit/2c2e8832880eee90fb7a67051dfcd6daeca49d35
Comment 14 TraceyC 2024-08-01 17:11:41 UTC
The Solus machine now has Plasma 6 and KDE Connect 24.05.2
I wasn't able to reproduce the crash either with a large video or multiple videos being transferred.
I also tested with disabling WiFi during the transfer. While the notification hangs and has to be dismissed, there is no crash

I also tested this by sending a large video and multiple videos from my laptop to a Kubuntu VM (which has 23.08.5-0ubuntu5)
I did not see any crashes and all files were transferred
Comment 15 cwo 2024-08-03 19:25:57 UTC
*** Bug 458262 has been marked as a duplicate of this bug. ***
Comment 16 cwo 2024-09-24 00:27:59 UTC
*** Bug 493541 has been marked as a duplicate of this bug. ***
Comment 17 cwo 2024-12-27 23:24:44 UTC
*** Bug 493839 has been marked as a duplicate of this bug. ***