Bug 433365 - Kdeconnect crashes when I send files from smartphon
Summary: Kdeconnect crashes when I send files from smartphon
Status: CONFIRMED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: HI crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
: 432980 458741 463949 465955 467015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-21 06:58 UTC by Timur
Modified: 2024-08-03 14:34 UTC (History)
6 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 Timur 2021-02-21 06:58:24 UTC
Application: kdeconnectd (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.10.16-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.0
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
1. On my smartphone, open the gallery, select 4 files, press the "share" button, select kdeconnect and have my laptop in it.
2. On a laptop, kdeconnect crashes.
Smartphone - OnePlus 5T, Android 10, not rooted.

The crash can be reproduced every time.

-- Backtrace:
Application: Служба KDE Connect (kdeconnectd), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base<QObjectPrivate::Connection*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x16) at /usr/include/c++/10/bits/atomic_base.h:741
#5  std::atomic<QObjectPrivate::Connection*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x16) at /usr/include/c++/10/atomic:523
#6  QAtomicOps<QObjectPrivate::Connection*>::loadAcquire<QObjectPrivate::Connection*>(std::atomic<QObjectPrivate::Connection*> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#7  QBasicAtomicPointer<QObjectPrivate::Connection>::loadAcquire() const (this=0x16) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#8  QObjectPrivate::maybeSignalConnected(unsigned int) const (this=this@entry=0x55aa463a9d00, signalIndex=signalIndex@entry=4) at kernel/qobject.cpp:486
#9  0x00007fd504eb9504 in doActivate<false>(QObject*, int, void**) (sender=0x55aa462670c0, signal_index=4, argv=argv@entry=0x7ffeee794400) at kernel/qobject.cpp:3788
#10 0x00007fd504eb2c60 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55aa462670c0, m=m@entry=0x7fd505164220 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffeee794400) at kernel/qobject.cpp:3946
#11 0x00007fd504db3e01 in QIODevice::channelReadyRead(int) (this=this@entry=0x55aa462670c0, _t1=<optimized out>, _t1@entry=0) at .moc/moc_qiodevice.cpp:197
#12 0x00007fd50463c3a9 in QSslSocketBackendPrivate::transmit() (this=0x55aa4651cbd0) at ssl/qsslsocket_openssl.cpp:1163
#13 0x00007fd504eb9980 in doActivate<false>(QObject*, int, void**) (sender=0x55aa464d89b0, signal_index=3, argv=0x7ffeee795560, argv@entry=0x0) at kernel/qobject.cpp:3898
#14 0x00007fd504eb2c60 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55aa464d89b0, m=m@entry=0x7fd505164220 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#15 0x00007fd504db3d80 in QIODevice::readyRead() (this=this@entry=0x55aa464d89b0) at .moc/moc_qiodevice.cpp:190
#16 0x00007fd5045ffc8f in QAbstractSocketPrivate::emitReadyRead(int) (channel=0, this=0x55aa463dd4c0) at socket/qabstractsocket.cpp:1323
#17 QAbstractSocketPrivate::canReadNotification() (this=0x55aa463dd4c0) at socket/qabstractsocket.cpp:748
#18 0x00007fd504612ac1 in QReadNotifier::event(QEvent*) (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#19 0x00007fd505abe4ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55aa462a60c0, e=0x7ffeee795690) at kernel/qapplication.cpp:3632
#20 0x00007fd504e8332a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55aa462a60c0, event=0x7ffeee795690) at kernel/qcoreapplication.cpp:1063
#21 0x00007fd504edb475 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x55aa46104980) at kernel/qeventdispatcher_glib.cpp:107
#22 0x00007fd5034c5f27 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007fd5034c62a8 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007fd5034c635f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00007fd504eda8bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55aa461049f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007fd504e81ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffeee7958a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007fd504e89f60 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x000055aa441699d6 in main(int, char**) (argc=<optimized out>, argv=0x7ffeee795948) at /usr/src/debug/kdeconnect-kde-20.12.2-1.2.x86_64/daemon/kdeconnectd.cpp:173
[Inferior 1 (process 3151) detached]

Reported using DrKonqi
Comment 1 TraceyC 2024-02-07 02:39:32 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 2 cwo 2024-08-01 16:57:43 UTC
*** Bug 465955 has been marked as a duplicate of this bug. ***
Comment 3 cwo 2024-08-01 16:57:47 UTC
*** Bug 463949 has been marked as a duplicate of this bug. ***
Comment 4 cwo 2024-08-01 16:57:50 UTC
*** Bug 458741 has been marked as a duplicate of this bug. ***
Comment 5 cwo 2024-08-01 16:57:53 UTC
*** Bug 432980 has been marked as a duplicate of this bug. ***
Comment 6 cwo 2024-08-03 13:54:33 UTC
*** Bug 467015 has been marked as a duplicate of this bug. ***