Bug 430533

Summary: KDE Connect crashed after playing video on host
Product: [Applications] kdeconnect Reporter: Stefan Rücker <s.ruecker>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cwo.kde, maxpatera
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Stefan Rücker 2020-12-18 10:26:07 UTC
Application: kdeconnectd (1.4.0)

Qt Version: 5.15.2
Frameworks Version: 5.74.0
Operating System: Linux 5.9.0-4-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux bullseye/sid

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

A video was playing in vlc. After stopping that video kdeconnect crashed.  
Kdeconnect was at that time also running on my phone and it was connected 
to the kdeconnect running on the linux host where it crashed via wlan.

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

[KCrash Handler]
#4  0x00007fca17414c54 in KNotification::setPixmap(QPixmap const&) () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#5  0x00007fca091de80d in Notification::applyIcon (this=0x7fca0405ccd0) at ./plugins/notifications/notification.cpp:177
#6  0x00007fca091df73a in operator() (__closure=0x5645fff801b0) at ./plugins/notifications/notification.cpp:167
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Notification::loadIcon(const NetworkPacket&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<Notification::loadIcon(const NetworkPacket&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<Notification::loadIcon(const NetworkPacket&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5645fff801a0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fca16167506 in QtPrivate::QSlotObjectBase::call (a=0x7ffe71a90930, r=0x7fca0405ccd0, this=0x5645fff801a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x5645fffad5f0, signal_index=6, argv=0x7ffe71a90930) at kernel/qobject.cpp:3886
#12 0x00007fca171e09fc in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007fca171e1503 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x00007fca16167506 in QtPrivate::QSlotObjectBase::call (a=0x7ffe71a90a10, r=0x5645fffad5f0, this=0x5645fff79950) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x5645fffba970, signal_index=10, argv=0x7ffe71a90a10) at kernel/qobject.cpp:3886
#16 0x00007fca1613f683 in QMetaMethod::invoke (this=<optimized out>, object=0x5645fffba970, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2303
#17 0x00007fca16140fba in QMetaObject::invokeMethod (obj=obj@entry=0x5645fffba970, member=member@entry=0x7fca1753833a "finished", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1515
#18 0x00007fca174af035 in QMetaObject::invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::AutoConnection, member=0x7fca1753833a "finished", obj=0x5645fffba970) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:292
#19 KDEPrivate::AccessManagerReply::emitFinished (this=this@entry=0x5645fffba970, state=state@entry=true, type=type@entry=Qt::AutoConnection) at ./src/widgets/accessmanagerreply_p.cpp:518
#20 0x00007fca174b04bb in KDEPrivate::AccessManagerReply::slotResult (this=0x5645fffba970, kJob=0x5645ffe41c30) at ./src/widgets/accessmanagerreply_p.cpp:460
#21 0x00007fca16167506 in QtPrivate::QSlotObjectBase::call (a=0x7ffe71a91260, r=0x5645fffba970, this=0x56460002ea60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false> (sender=0x5645ffe41c30, signal_index=6, argv=0x7ffe71a91260) at kernel/qobject.cpp:3886
#23 0x00007fca171e09fc in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#24 0x00007fca171e1503 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#25 0x00007fca16167506 in QtPrivate::QSlotObjectBase::call (a=0x7ffe71a91340, r=0x5645ffe41c30, this=0x5645ffffbc60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#26 doActivate<false> (sender=0x5645fff76410, signal_index=7, argv=0x7ffe71a91340) at kernel/qobject.cpp:3886
#27 0x00007fca17334a00 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#28 0x00007fca17333249 in KIO::SlaveInterface::dispatch() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#29 0x00007fca17336b6a in KIO::Slave::gotInput() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#30 0x00007fca16167506 in QtPrivate::QSlotObjectBase::call (a=0x7ffe71a915a0, r=0x5645fff76410, this=0x5645fffb9700) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x5645fffbd770, signal_index=3, argv=0x7ffe71a915a0) at kernel/qobject.cpp:3886
#32 0x00007fca1615cf51 in QObject::event (this=0x5645fffbd770, e=0x5645ffe30ef0) at kernel/qobject.cpp:1314
#33 0x00007fca16c7815f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fca16130f2a in QCoreApplication::notifyInternal2 (receiver=0x5645fffbd770, event=0x5645ffe30ef0) at kernel/qcoreapplication.cpp:1063
#35 0x00007fca16133961 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5645ffbc84d0) at kernel/qcoreapplication.cpp:1817
#36 0x00007fca16188df3 in postEventSourceDispatch (s=0x5645ffc90de0) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007fca1480dbdb in g_main_dispatch (context=0x7fca0c005000) at ../../../glib/gmain.c:3325
#38 g_main_context_dispatch (context=0x7fca0c005000) at ../../../glib/gmain.c:4043
#39 0x00007fca1480de88 in g_main_context_iterate (context=context@entry=0x7fca0c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#40 0x00007fca1480df3f in g_main_context_iteration (context=0x7fca0c005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#41 0x00007fca1618847f in QEventDispatcherGlib::processEvents (this=0x5645ffc8c640, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007fca1612f8eb in QEventLoop::exec (this=this@entry=0x7ffe71a91990, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#43 0x00007fca16137b60 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#44 0x00005645fe9cd966 in main (argc=<optimized out>, argv=0x7ffe71a91a60) at ./daemon/kdeconnectd.cpp:183
[Inferior 1 (process 4715) detached]

Possible duplicates by query: bug 429990, bug 429420, bug 428531, bug 428118, bug 427917.

Reported using DrKonqi
Comment 1 Max 2021-01-02 20:35:27 UTC
Created attachment 134485 [details]
New crash information added by DrKonqi

kdeconnectd (1.4.0) using Qt 5.14.2

- What I was doing when the application crashed:

I was pausing a YouTube video that I had just started.

-- Backtrace (Reduced):
#4  0x00007f60f52ef2d8 in KNotification::setPixmap(QPixmap const&) () from /lib64/libKF5Notifications.so.5
#5  0x00007f60dab53331 in Notification::applyIcon() () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#6  0x00007f60dab542ba in QtPrivate::QFunctorSlotObject<Notification::loadIcon(NetworkPacket const&)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#7  0x00007f60f413cf76 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f60f50ab6d0 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 2 cwo 2024-08-01 14:48:55 UTC
Thank you for the bug report! Another bug report that seems to cover the same crash has a more informative stack trace, so I'm marking this 
as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 471204 ***