Bug 461884 - Sending files from laptop to deskto failed, trying again causes KDEConnect to crash
Summary: Sending files from laptop to deskto failed, trying again causes KDEConnect to...
Status: RESOLVED DUPLICATE of bug 457436
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 22.08.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-15 20:51 UTC by Bradley
Modified: 2023-02-26 09:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.38 KB, text/plain)
2023-02-26 09:36 UTC, Decker Haven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bradley 2022-11-15 20:51:40 UTC
Application: kdeconnectd (22.08.2)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-23-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
Kubuntu installed on laptop and desktop.  Tried to send multiple FLAC files from laptop to desktop, which has worked in the past.  This time the send progress bar on the laptop was growing, while the desktop receiving progress bar stopped very early on.  I clicked the stop button on the desktop, and attempted to send all the files from the laptop again, and KDEConnect crashed on the desktop during the first file.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f3cba63bc46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f3cba6227fc in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f3cbae90caf in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3cbc5570a6 in KIO::SlaveBase::waitForAnswer(int, int, QByteArray&, int*) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#11 0x00007f3cbc558c75 in KIO::SlaveBase::canResume(unsigned long long) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007f3caca3c5ad in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_file.so
#13 0x00007f3cbc55e7f1 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007f3cbc55f146 in KIO::SlaveBase::dispatchLoop() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007f3cbc5f9bd2 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007f3cbaeccc51 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f3cba690402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#18 0x00007f3cba71f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f3cad4a86c0 (LWP 5596) "kdeconnectd"):
#1  __pselect (nfds=5, readfds=0x7f3cad49fac0, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f3cb711103d in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007f3cb7111d88 in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007f3cba690402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007f3cba71f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f3cadfff6c0 (LWP 1897) "Qt bearer threa"):
#1  __libc_recv (fd=5, buf=0x7f3ca400ed68, len=8192, flags=0) at ../sysdeps/unix/sysv/linux/recv.c:23
#2  0x00007f3cbad38d14 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#3  0x00007f3cbad28d34 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#4  0x00007f3cbad29d65 in QNetworkInterface::allInterfaces() () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#5  0x00007f3cb402495b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/bearer/libqgenericbearer.so
#6  0x00007f3cbb0c637e in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cbb0cb116 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3cbad150d9 in QNetworkConfigurationManagerPrivate::pollEngines() () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#9  0x00007f3cbb0f372c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3cbb0f76de in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f3cbb0e7945 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f3cbb0bae05 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f3cbb113e71 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f3cbb11475c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f3cb97e54f9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f3cb983a228 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f3cb97e2cb0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f3cbb114aea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f3cbb0b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3cbaecba1b in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f3cbaeccc51 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f3cba690402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#23 0x00007f3cba71f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f3cb48636c0 (LWP 1838) "QDBusConnection"):
#1  0x00007f3cba711117 in __GI___poll (fds=0x5569e6bc17e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007f3cb983a19e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cb97e2cb0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3cbb114b06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3cbb0b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cbaecba1b in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cbc31febb in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f3cbaeccc51 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f3cba690402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f3cba71f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f3cb60856c0 (LWP 1816) "QXcbEventQueue"):
#1  0x00007f3cb950c86a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3cb950e28c in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3cb60f9788 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f3cbaeccc51 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3cba690402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f3cba71f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f3cb69409c0 (LWP 1780) "kdeconnectd"):
#1  __GI___libc_read (fd=5, buf=0x7fffe2793690, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3cb97e58e2 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cb983a148 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3cb97e2cb0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3cbb114aea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cbb0b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cbb0c1c2a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00005569e5a920f6 in ?? ()
#9  0x00007f3cba623510 in __libc_start_call_main (main=main@entry=0x5569e5a91bf0, argc=argc@entry=1, argv=argv@entry=0x7fffe2793ab8) at ../sysdeps/nptl/libc_start_call_main.h:58
#10 0x00007f3cba6235c9 in __libc_start_main_impl (main=0x5569e5a91bf0, argc=1, argv=0x7fffe2793ab8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe2793aa8) at ../csu/libc-start.c:381
#11 0x00005569e5a92315 in _start ()
[Inferior 1 (process 1780) detached]

Reported using DrKonqi
Comment 1 Patrick Silva 2022-11-15 21:15:15 UTC
possibly duplicate of bug 461875
Comment 2 Nicolas Fella 2022-11-17 22:46:07 UTC
The crash is very different to the one in https://bugs.kde.org/show_bug.cgi?id=461875
Comment 3 Nicolas Fella 2022-11-17 22:47:30 UTC

*** This bug has been marked as a duplicate of bug 457436 ***
Comment 4 Decker Haven 2023-02-26 09:36:16 UTC
Created attachment 156753 [details]
New crash information added by DrKonqi

kdeconnectd (22.08.2) using Qt 5.15.6

I tried uploading multiple image files from my phone, but the upload failed for one of them (likely due to bad WiFi signal) and it left a partial file in the designated upload folder. When trying to send the same single failed file again, KDE Connect crashes repeatedly and consistently. Removing the partial file from the upload folder made the upload succeed.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f58cd23bc46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f58cd2227fc in __GI_abort () at ./stdlib/abort.c:79