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

            Bug ID: 449534
           Summary: KDEConnect crashes on startup
           Product: kdeconnect
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: bhol...@interactive.com.au
  Target Milestone: ---

Application: kdeconnectd (21.12.1)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.2-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Started plasma (X11). Phone is on same WiFi network and running app.
App on phone does not connect.
KDE connect hits a segfault sometimes (rarely though)

Restarting KDE connect seems to fix it.

kdeconnect-settings, kdeconnect-sms, kdeconnect-cli, and kdeconnect-handler
version is 21.12.1
(kdeconnect-app version is 1.0 but from same RPM)

RPMs - OpenSUSE:
kdeconnect-kde-zsh-completion-21.12.1-1.1.noarch
kdeconnect-kde-lang-21.12.1-1.1.noarch
kdeconnect-kde-21.12.1-1.1.x86_64

KDE (plasmashell) version 5.23.5 running on X11 with dual monitors.
Breeze icon theme.

/etc/os-release:
NAME="openSUSE Tumbleweed"
# VERSION="20220130"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20220130"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20220130"
BUG_REPORT_URL="https://bugs.opensuse.org";
HOME_URL="https://www.opensuse.org/";
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed";
LOGO="distributor-logo-Tumbleweed"

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char,
std::default_delete<char []> >> = {_M_t = {<std::_Tuple_impl<0, char*,
std::default_delete<char []> >> = {<std::_Tuple_impl<1,
std::default_delete<char []> >> = {<std::_Head_base<1, std::default_delete<char
[]>, true>> = {_M_head_impl = {<No data fields>}}, <No data fields>},
<std::_Head_base<0, char*, false>> = {_M_head_impl = <optimized out>}, <No data
fields>}, <No data fields>}}, <No data fields>}}
[KCrash Handler]
#6  0x00007f9ab11afc55 in
std::__atomic_base<QObjectPrivate::ConnectionData*>::load(std::memory_order)
const (__m=<optimized out>, this=<optimized out>) at
/usr/include/c++/11/bits/atomic_base.h:838
#7  std::atomic<QObjectPrivate::ConnectionData*>::load(std::memory_order) const
(__m=<optimized out>, this=<optimized out>) at /usr/include/c++/11/atomic:570
#8 
QAtomicOps<QObjectPrivate::ConnectionData*>::loadRelaxed<QObjectPrivate::ConnectionData*>(std::atomic<QObjectPrivate::ConnectionData*>
const&) (_q_value=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QObjectPrivate::ConnectionData>::loadRelaxed() const
(this=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::ensureConnectionData() (this=<optimized out>) at
kernel/qobject_p.h:371
#11 QObjectPrivate::addConnection(int, QObjectPrivate::Connection*)
(this=0x7f9a00000002, signal=signal@entry=6, c=c@entry=0x5643d4148bb0) at
kernel/qobject.cpp:324
#12 0x00007f9ab11b4659 in QObjectPrivate::connectImpl(QObject const*, int,
QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int
const*, QMetaObject const*) (sender=0x7f9a9c063940, signal_index=6,
receiver=0x5643d3f56f70, slot=<optimized out>, slotObj=<optimized out>,
type=<optimized out>, types=<optimized out>, senderMetaObject=<optimized out>)
at kernel/qobject.h:132
#13 0x00007f9ab11b4b0d in QObject::connectImpl(QObject const*, void**, QObject
const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*,
QMetaObject const*) (sender=sender@entry=0x7f9a9c063940,
signal=signal@entry=0x7fff45997ce0, receiver=receiver@entry=0x5643d3f56f70,
slot=slot@entry=0x0, slotObj=0x5643d415f280, type=Qt::AutoConnection,
types=0x0, senderMetaObject=0x7f9ab23b91a0 <KJob::staticMetaObject>) at
kernel/qobject.cpp:5001
#14 0x00007f9aa84a2ab6 in QObject::connect<void (KJob::*)(KJob*,
KJob::QPrivateSignal), Notification::loadIcon(const NetworkPacket&)::<lambda()>
> (type=Qt::AutoConnection, slot=..., context=0x5643d3f56f70, signal=(void
(KJob::*)(class KJob * const, class KJob *, struct KJob::QPrivateSignal))
0x7f9ab2368140 <KJob::result(KJob*, KJob::QPrivateSignal)>,
sender=0x7f9a9c063940) at /usr/include/qt5/QtCore/qobject.h:347
#15 Notification::loadIcon(NetworkPacket const&) (np=<optimized out>,
this=0x5643d3f56f70) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/plugins/notifications/notification.cpp:166
#16 Notification::createKNotification(NetworkPacket const&)
(this=this@entry=0x5643d3f56f70, np=...) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/plugins/notifications/notification.cpp:147
#17 0x00007f9aa84a343d in Notification::Notification(NetworkPacket const&,
Device const*, QObject*) (parent=0x5643d3f91910, device=<optimized out>,
np=..., this=0x5643d3f56f70) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/plugins/notifications/notification.cpp:49
#18 NotificationsPlugin::receivePacket(NetworkPacket const&) (np=...,
this=0x5643d3f91910) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/plugins/notifications/notificationsplugin.cpp:51
#19 NotificationsPlugin::receivePacket(NetworkPacket const&)
(this=0x5643d3f91910, np=...) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/plugins/notifications/notificationsplugin.cpp:33
#20 0x00007f9ab2750e01 in Device::privateReceivedPacket(NetworkPacket const&)
(this=0x5643d3e3e040, np=...) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/core/device.cpp:398
#21 0x00007f9ab11bd4f3 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff45998010, r=0x5643d3e3e040, this=0x5643d4118660) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false>(QObject*, int, void**) (sender=0x5643d41715c0,
signal_index=7, argv=0x7fff45998010) at kernel/qobject.cpp:3886
#23 0x00007f9ab11b69bf in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x5643d41715c0, m=<optimized out>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff45998010)
at kernel/qobject.cpp:3946
#24 0x00007f9ab2741bfd in DeviceLink::receivedPacket(NetworkPacket const&)
(_t1=..., this=0x5643d41715c0) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/build/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:225
#25 LanDeviceLink::dataReceived() (this=0x5643d41715c0) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/core/backends/lan/landevicelink.cpp:135
#26 0x00007f9ab11bd4f3 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff459980f0, r=0x5643d41715c0, this=0x5643d4120100) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#27 doActivate<false>(QObject*, int, void**) (sender=0x5643d3eaf880,
signal_index=3, argv=0x7fff459980f0) at kernel/qobject.cpp:3886
#28 0x00007f9ab273a114 in SocketLineReader::dataReceived()
(this=0x5643d3eaf880) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/core/backends/lan/socketlinereader.cpp:29
#29 0x00007f9ab11bd4f3 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff45998200, r=0x5643d3eaf880, this=0x5643d41b8ee0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false>(QObject*, int, void**) (sender=0x5643d3d9fa60,
signal_index=3, argv=0x7fff45998200) at kernel/qobject.cpp:3886
#31 0x00007f9ab11b69bf in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x5643d3d9fa60, m=m@entry=0x7f9ab1459280
<QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#32 0x00007f9ab10b5250 in QIODevice::readyRead()
(this=this@entry=0x5643d3d9fa60) at .moc/moc_qiodevice.cpp:190
#33 0x00007f9ab08dc705 in QSslSocketBackendPrivate::transmit()
(this=0x5643d4119c10) at ssl/qsslsocket_openssl.cpp:1162
#34 0x00007f9ab11bd528 in doActivate<false>(QObject*, int, void**)
(sender=0x5643d3f6cca0, signal_index=3, argv=0x7fff45999370) at
kernel/qobject.cpp:3898
#35 0x00007f9ab11b69bf in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x5643d3f6cca0, m=m@entry=0x7f9ab1459280
<QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#36 0x00007f9ab10b5250 in QIODevice::readyRead()
(this=this@entry=0x5643d3f6cca0) at .moc/moc_qiodevice.cpp:190
#37 0x00007f9ab0893eef in QAbstractSocketPrivate::emitReadyRead(int)
(channel=0, this=0x5643d3d4c370) at socket/qabstractsocket.cpp:1323
#38 QAbstractSocketPrivate::canReadNotification() (this=0x5643d3d4c370) at
socket/qabstractsocket.cpp:748
#39 0x00007f9ab08a9ca1 in QReadNotifier::event(QEvent*) (this=<optimized out>,
e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#40 0x00007f9ab1dc9a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5643d41b94e0, e=0x7fff459994b0) at
kernel/qapplication.cpp:3632
#41 0x00007f9ab1186e2a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5643d41b94e0, event=0x7fff459994b0) at
kernel/qcoreapplication.cpp:1064
#42 0x00007f9ab11def1d in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=source@entry=0x5643d3d6c6a0) at
kernel/qeventdispatcher_glib.cpp:107
#43 0x00007f9aaf625d5f in g_main_dispatch (context=0x7f9aa4005000) at
../glib/gmain.c:3381
#44 g_main_context_dispatch (context=0x7f9aa4005000) at ../glib/gmain.c:4099
#45 0x00007f9aaf6260e8 in g_main_context_iterate
(context=context@entry=0x7f9aa4005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#46 0x00007f9aaf62619f in g_main_context_iteration (context=0x7f9aa4005000,
may_block=1) at ../glib/gmain.c:4240
#47 0x00007f9ab11de364 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5643d3d74dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f9ab118582b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fff459996c0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#49 0x00007f9ab118db00 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x00007f9ab15d725c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#51 0x00007f9ab1dc99f5 in QApplication::exec() () at
kernel/qapplication.cpp:2824
#52 0x00005643d2e18a34 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/kdeconnect-kde-21.12.1-1.1.x86_64/daemon/kdeconnectd.cpp:178
[Inferior 1 (process 3258) detached]

Reported using DrKonqi

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

Reply via email to