Bug 445358

Summary: Crash in Notification::createKNotification() when receiving an SMS
Product: [Applications] kdeconnect Reporter: Nate Graham <nate>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: crash CC: davefaganello08, yurapostates
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2021-11-12 00:41:28 UTC
Application: kdeconnectd (21.04.1)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.16-201.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.5
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
I received an SMS on my Android phone which is connected to my PC with KDE Connect

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fe89ae46d42 in QObjectPrivate::connectImpl(QObject const*, int, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) () from /lib64/libQt5Core.so.5
#6  0x00007fe89ae4706d in QObject::connectImpl(QObject const*, void**, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) () from /lib64/libQt5Core.so.5
#7  0x00007fe885f8ffbe in Notification::createKNotification(NetworkPacket const&) () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#8  0x00007fe885f9091d in NotificationsPlugin::receivePacket(NetworkPacket const&) () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#9  0x00007fe89c30a5e1 in Device::privateReceivedPacket(NetworkPacket const&) () from /lib64/libkdeconnectcore.so.21
#10 0x00007fe89ae4d3a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007fe89c2fb3e1 in LanDeviceLink::dataReceived() () from /lib64/libkdeconnectcore.so.21
#12 0x00007fe89ae4d3a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007fe89c2f3b24 in SocketLineReader::dataReceived() () from /lib64/libkdeconnectcore.so.21
#14 0x00007fe89ae4d3a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007fe89a5f7ab5 in QSslSocketBackendPrivate::transmit() () from /lib64/libQt5Network.so.5
#16 0x00007fe89ae4d3f0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007fe89a5b1a1f in QAbstractSocketPrivate::canReadNotification() () from /lib64/libQt5Network.so.5
#18 0x00007fe89a5c4b49 in QReadNotifier::event(QEvent*) () from /lib64/libQt5Network.so.5
#19 0x00007fe89b982443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fe89ae19798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007fe89ae6b5ff in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#22 0x00007fe8992844cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00007fe8992d84f8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#24 0x00007fe899281c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007fe89ae6ab78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007fe89ae181a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007fe89ae206e4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#28 0x0000560859db7fdd in main ()
[Inferior 1 (process 439226) detached]

Report to https://bugs.kde.org/
Comment 1 cwo 2024-08-01 08:01:16 UTC
*** Bug 464269 has been marked as a duplicate of this bug. ***
Comment 2 cwo 2024-08-01 08:05:18 UTC
*** Bug 462641 has been marked as a duplicate of this bug. ***