Bug 471881 - Sending files to Android phone is slow and eventually fails and crashes KDE Connect
Summary: Sending files to Android phone is slow and eventually fails and crashes KDE C...
Status: RESOLVED DUPLICATE of bug 445475
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 23.08.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-02 19:58 UTC by lucianlucalsl
Modified: 2024-07-31 17:02 UTC (History)
5 users (show)

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


Attachments
New crash information added by DrKonqi (2.84 KB, text/plain)
2023-12-17 22:54 UTC, adrruiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucianlucalsl 2023-07-02 19:58:15 UTC
Application: kdeconnectd (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.4-201.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Happened with both Samsung S23 and Huawei P30.

Wireless chipset is Intel AX200

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7c6cd79540 in operator==(QString const&, QString const&) () from /lib64/libQt5Core.so.5
#5  0x00007f7c6e6b06dd in Daemon::getDevice(QString const&) () from /lib64/libkdeconnectcore.so.23
#6  0x00007f7c6e6a6145 in CompositeUploadJob::emitDescription(QString const&) () from /lib64/libkdeconnectcore.so.23
#7  0x00007f7c6e6a92d2 in CompositeUploadJob::startNextSubJob() () from /lib64/libkdeconnectcore.so.23
#8  0x00007f7c6cee8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f7c6e2a6fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#10 0x00007f7c6e2acbab in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#11 0x00007f7c6cee8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007f7c6ce03afd in QIODevice::close() () from /lib64/libQt5Core.so.5
#13 0x00007f7c6cdfa4f3 in QFileDevice::close() () from /lib64/libQt5Core.so.5
#14 0x00007f7c6e6a33ce in UploadJob::uploadNextPacket() () from /lib64/libkdeconnectcore.so.23
#15 0x00007f7c6cee8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f7c6c59a854 in QSslSocket::encryptedBytesWritten(long long) () from /lib64/libQt5Network.so.5
#17 0x00007f7c6c59cd5d in QSslSocketPrivate::_q_bytesWrittenSlot(long long) () from /lib64/libQt5Network.so.5
#18 0x00007f7c6cee85e8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f7c6cdff2c4 in QIODevice::bytesWritten(long long) () from /lib64/libQt5Core.so.5
#20 0x00007f7c6c56fd5b in QAbstractSocketPrivate::writeToSocket() () from /lib64/libQt5Network.so.5
#21 0x00007f7c6c56abb4 in QAbstractSocketPrivate::flush() () from /lib64/libQt5Network.so.5
#22 0x00007f7c6ceded0b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f7c6dbaeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f7c6ceb4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#25 0x00007f7c6ceb7635 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#26 0x00007f7c6cf06c3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#27 0x00007f7c6b31339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f7c6b371438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#29 0x00007f7c6b310a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007f7c6cf06729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007f7c6ceb2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f7c6cebaddb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#33 0x0000560fa081a132 in main ()
[Inferior 1 (process 8628) detached]

Reported using DrKonqi
Comment 1 adrruiz 2023-12-17 22:54:06 UTC
Created attachment 164264 [details]
New crash information added by DrKonqi

kdeconnectd (23.08.1) using Qt 5.15.10

fallo alrecibir archivos por KDE Connect, queda cortado el primer archiuvo y no avanza la copia.

-- Backtrace (Reduced):
#5  0x00007f2202bf82b2 in QIODevice::read(char*, long long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#9  0x00007f2202cf99a0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f220396bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f2202ccc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f2202ccfeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 2 TraceyC 2024-02-07 02:43:44 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 3 cwo 2024-07-31 17:02:09 UTC
Thank you for the bug report! This crash is already reported and being tracked, please follow the linked bug report for updates.

*** This bug has been marked as a duplicate of bug 445475 ***