https://bugs.kde.org/show_bug.cgi?id=428542

            Bug ID: 428542
           Summary: KDE connect crashed when I tried to fill the clipboard
                    from my phone
           Product: kdeconnect
           Version: unspecified
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: arnold.met...@gmail.com
  Target Milestone: ---

Application: kdeconnectd (1.4.0)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-3-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:

I opened WhatsApp to copy a link to the clipboard, but KDE connect crashed
before I got that far.
I have tried to copy this link several times, but to no avail.
I did manage to start playing music in clementine on my desktop using the KDE
connect app on my phone.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE-Connect-daemon (kdeconnectd), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe587c32840 (LWP 31679))]

Thread 4 (Thread 0x7fe58497e700 (LWP 31683)):
#0  0x00007fe58abd8d59 in g_mutex_lock (mutex=mutex@entry=0x7fe574000c20) at
../../../glib/gthread-posix.c:1485
#1  0x00007fe58ab872fa in g_main_context_prepare
(context=context@entry=0x7fe574000c20, priority=priority@entry=0x7fe58497dc20)
at ../../../glib/gmain.c:3654
#2  0x00007fe58ab87d0b in g_main_context_iterate
(context=context@entry=0x7fe574000c20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4072
#3  0x00007fe58ab87eff in g_main_context_iteration (context=0x7fe574000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4157
#4  0x00007fe58c4e431b in QEventDispatcherGlib::processEvents
(this=0x7fe574000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe58c48d4db in QEventLoop::exec (this=this@entry=0x7fe58497dd60,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007fe58c2b48de in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007fe58c2b5a01 in QThreadPrivate::start (arg=0x5589d18b1a00) at
thread/qthread_unix.cpp:342
#8  0x00007fe58b530ea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fe58bf56eaf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe58525e700 (LWP 31681)):
#0  0x00007fe58abd8d72 in g_mutex_unlock (mutex=0x7fe578000c20) at
../../../glib/gthread-posix.c:1494
#1  0x00007fe58ab87cfe in g_main_context_iterate
(context=context@entry=0x7fe578000c20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4070
#2  0x00007fe58ab87eff in g_main_context_iteration (context=0x7fe578000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4157
#3  0x00007fe58c4e431b in QEventDispatcherGlib::processEvents
(this=0x7fe578000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe58c48d4db in QEventLoop::exec (this=this@entry=0x7fe58525dd10,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fe58c2b48de in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fe58c735a27 in QDBusConnectionManager::run (this=0x7fe58c7a2da0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#7  0x00007fe58c2b5a01 in QThreadPrivate::start (arg=0x7fe58c7a2da0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#8  0x00007fe58b530ea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fe58bf56eaf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe586da7700 (LWP 31680)):
#0  0x00007fe58bf4c4bf in __GI___poll (fds=fds@entry=0x7fe586da6c68,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe58a862d02 in poll (__timeout=-1, __nfds=1, __fds=0x7fe586da6c68)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x5589d1797ef0, cond=cond@entry=0x5589d1797f30,
vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007fe58a86498a in xcb_wait_for_event (c=c@entry=0x5589d1797ef0) at
../../src/xcb_in.c:697
#4  0x00007fe587564b80 in QXcbEventQueue::run (this=0x5589d178b7c0) at
qxcbeventqueue.cpp:228
#5  0x00007fe58c2b5a01 in QThreadPrivate::start (arg=0x5589d178b7c0) at
thread/qthread_unix.cpp:342
#6  0x00007fe58b530ea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fe58bf56eaf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe587c32840 (LWP 31679)):
[KCrash Handler]
#6  0x00007fe58bcc01ff in QSslSocket::connectToHost
(this=this@entry=0x5589d1995610, hostName=..., port=port@entry=1716,
openMode=..., protocol=protocol@entry=QAbstractSocket::AnyIPProtocol) at
ssl/qsslsocket.cpp:2039
#7  0x00007fe58bc96b4c in QAbstractSocket::connectToHost (this=0x5589d1995610,
address=..., port=<optimized out>, openMode=...) at
socket/qabstractsocket.cpp:1777
#8  0x00007fe58d8c66a9 in LanLinkProvider::udpBroadcastReceived
(this=0x5589d1844810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:118
#9  0x00007fe58c4c38c6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc398d54b0,
r=0x5589d1844810, this=0x5589d18bd3b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5589d1844828, signal_index=3,
argv=0x7ffc398d54b0, argv@entry=0x0) at kernel/qobject.cpp:3870
#11 0x00007fe58c4bd830 in QMetaObject::activate
(sender=sender@entry=0x5589d1844828, m=m@entry=0x7fe58c712980
<QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#12 0x00007fe58c3c2a80 in QIODevice::readyRead (this=this@entry=0x5589d1844828)
at .moc/moc_qiodevice.cpp:190
#13 0x00007fe58bc98c0f in QAbstractSocketPrivate::emitReadyRead (channel=0,
this=0x5589d18aa2c0) at socket/qabstractsocket.cpp:1307
#14 QAbstractSocketPrivate::canReadNotification (this=0x5589d18aa2c0) at
socket/qabstractsocket.cpp:734
#15 0x00007fe58bca89c1 in QReadNotifier::event (this=<optimized out>,
e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#16 0x00007fe58cfb003f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5589d1967580, e=0x7ffc398d55e0) at
kernel/qapplication.cpp:3685
#17 0x00007fe58c48eb62 in QCoreApplication::notifyInternal2
(receiver=0x5589d1967580, event=0x7ffc398d55e0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#18 0x00007fe58c4e4eb5 in socketNotifierSourceDispatch (source=0x5589d1858cb0)
at kernel/qeventdispatcher_glib.cpp:107
#19 0x00007fe58ab87b9b in g_main_dispatch (context=0x7fe580005000) at
../../../glib/gmain.c:3325
#20 g_main_context_dispatch (context=0x7fe580005000) at
../../../glib/gmain.c:4016
#21 0x00007fe58ab87e48 in g_main_context_iterate
(context=context@entry=0x7fe580005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4092
#22 0x00007fe58ab87eff in g_main_context_iteration (context=0x7fe580005000,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4157
#23 0x00007fe58c4e42ff in QEventDispatcherGlib::processEvents
(this=0x5589d1858ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007fe58c48d4db in QEventLoop::exec (this=this@entry=0x7ffc398d57f0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#25 0x00007fe58c495782 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#26 0x00005589d14cc966 in main (argc=<optimized out>, argv=0x7ffc398d58c0) at
./daemon/kdeconnectd.cpp:186
[Inferior 1 (process 31679) detached]

The reporter indicates this bug may be a duplicate of or related to bug 372745.

Possible duplicates by query: bug 425279, bug 419349, bug 407962, bug 372745.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to