Bug 451190 - Crash after coming back from another plasma session after one night
Summary: Crash after coming back from another plasma session after one night
Status: RESOLVED DUPLICATE of bug 449276
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-03-06 08:00 UTC by Jaime Torres
Modified: 2022-03-28 22:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2022-03-06 08:00:56 UTC
Application: kdeconnectd (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.17.0-rc5-1.ga9b2c1d-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I do not know who makes almost all X11 programs stop when there are two sessions on the same display, something that didn't happen before systemd times. (I've had to come back to X11 as Wayland likes to change to a display frequency out of range and I do not know how to recover from there).
It crashed after coming back to one X11 (Ctrl+Alt+F7) plasma session from another X11 plasma session (Ctrl+Alt+F8) after one night in the other X11 session (Ctrl+Alt+F8).

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Demonio de KDE Connect (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007eff05d662fc in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x81) at /usr/include/c++/11/bits/atomic_base.h:481
#7  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed() const (this=0x81) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref() (this=0x81) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#10 QMap<QString, QVariant>::QMap(QMap<QString, QVariant> const&) (other=..., this=0x7ffe9de58ce0) at ../../include/QtCore/../../src/corelib/tools/qmap.h:631
#11 qVariantToHelper<QMap<QString, QVariant> > (handlerManager=<optimized out>, d=<optimized out>) at kernel/qvariant.cpp:2665
#12 QVariant::toMap() const (this=0x55dbd62a22c8) at kernel/qvariant.cpp:2721
#13 0x00007efef81af378 in  () at /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_connectivity_report.so
#14 0x00007eff072e6e01 in Device::privateReceivedPacket(NetworkPacket const&) () at /lib64/libkdeconnectcore.so.21
#15 0x00007eff05d4f503 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9de59150, r=0x55dbd6093d10, this=0x55dbd64bff70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x55dbd61f6d00, signal_index=7, argv=0x7ffe9de59150) at kernel/qobject.cpp:3886
#17 0x00007eff072d7bfd in LanDeviceLink::dataReceived() () at /lib64/libkdeconnectcore.so.21
#18 0x00007eff05d4f503 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9de59230, r=0x55dbd61f6d00, this=0x55dbd6265ab0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x55dbd6475330, signal_index=3, argv=0x7ffe9de59230) at kernel/qobject.cpp:3886
#20 0x00007eff072d0114 in SocketLineReader::dataReceived() () at /lib64/libkdeconnectcore.so.21
#21 0x00007eff05d4f503 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9de59340, r=0x55dbd6475330, this=0x55dbd6437b90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false>(QObject*, int, void**) (sender=0x55dbd61f56d0, signal_index=3, argv=0x7ffe9de59340) at kernel/qobject.cpp:3886
#23 0x00007eff05d489cf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55dbd61f56d0, m=m@entry=0x7eff05feb280 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#24 0x00007eff05c47250 in QIODevice::readyRead() (this=this@entry=0x55dbd61f56d0) at .moc/moc_qiodevice.cpp:190
#25 0x00007eff05470705 in QSslSocketBackendPrivate::transmit() (this=0x55dbd5e59340) at ssl/qsslsocket_openssl.cpp:1162
#26 0x00007eff05d4f538 in doActivate<false>(QObject*, int, void**) (sender=0x55dbd64ee2c0, signal_index=3, argv=0x7ffe9de5a4b0) at kernel/qobject.cpp:3898
#27 0x00007eff05d489cf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55dbd64ee2c0, m=m@entry=0x7eff05feb280 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#28 0x00007eff05c47250 in QIODevice::readyRead() (this=this@entry=0x55dbd64ee2c0) at .moc/moc_qiodevice.cpp:190
#29 0x00007eff05427eef in QAbstractSocketPrivate::emitReadyRead(int) (channel=0, this=0x55dbd619cd40) at socket/qabstractsocket.cpp:1323
#30 QAbstractSocketPrivate::canReadNotification() (this=0x55dbd619cd40) at socket/qabstractsocket.cpp:748
#31 0x00007eff0543dca1 in QReadNotifier::event(QEvent*) (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#32 0x00007eff0695da7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55dbd61fb330, e=0x7ffe9de5a5f0) at kernel/qapplication.cpp:3632
#33 0x00007eff05d18e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55dbd61fb330, event=0x7ffe9de5a5f0) at kernel/qcoreapplication.cpp:1064
#34 0x00007eff05d70f3d in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=source@entry=0x55dbd5f6cb50) at kernel/qeventdispatcher_glib.cpp:107
#35 0x00007eff041d0e22 in g_main_dispatch (context=0x7efefc005010) at ../glib/gmain.c:3381
#36 g_main_context_dispatch (context=0x7efefc005010) at ../glib/gmain.c:4099
#37 0x00007eff041d11b8 in g_main_context_iterate (context=context@entry=0x7efefc005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#38 0x00007eff041d126f in g_main_context_iteration (context=0x7efefc005010, may_block=1) at ../glib/gmain.c:4240
#39 0x00007eff05d70384 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55dbd5f776f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007eff05d1783b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe9de5a800, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007eff05d1fb10 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x000055dbd4c26a34 in  ()
#43 0x00007eff05636630 in __libc_start_call_main (main=main@entry=0x55dbd4c26600, argc=argc@entry=1, argv=argv@entry=0x7ffe9de5aa78) at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007eff056366f0 in __libc_start_main_impl (main=0x55dbd4c26600, argc=1, argv=0x7ffe9de5aa78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe9de5aa68) at ../csu/libc-start.c:392
#45 0x000055dbd4c26cc5 in _start ()
[Inferior 1 (process 19663) detached]

Possible duplicates by query: bug 432466, bug 428118, bug 407271.

Reported using DrKonqi
Comment 1 Chris Holland 2022-03-07 21:23:55 UTC
I'm also experiencing this crash (kdeconnect-kde v21.12.2-1.1). I updated tumbleweed and experienced it again the next morning (v21.12.3-1.1). The android app version is v1.19.1 on Android 10.

Here's the segfault info from the 2nd crash:

	Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
	Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
	[KCrash Handler]
	#6  0x00007f67f4a1c324 in (anonymous namespace)::constData (d=...) at kernel/qvariant.cpp:361
	#7  qVariantToHelper<QMap<QString, QVariant> > (handlerManager=..., d=...) at kernel/qvariant.cpp:2669
	#8  QVariant::toMap (this=0x55851b56c5d8) at kernel/qvariant.cpp:2721
	#9  0x00007f67ec631378 in ConnectivityReportPlugin::receivePacket (np=..., this=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/plugins/connectivity-report/connectivity_reportplugin.cpp:44
	#10 ConnectivityReportPlugin::receivePacket (this=<optimized out>, np=...) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/plugins/connectivity-report/connectivity_reportplugin.cpp:40
	#11 0x00007f67f5f9ce01 in Device::privateReceivedPacket (this=0x55851b469450, np=...) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/core/device.cpp:398
	#12 0x00007f67f4a05503 in QtPrivate::QSlotObjectBase::call (a=0x7ffec7265f70, r=0x55851b469450, this=0x55851b6354b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
	#13 doActivate<false> (sender=0x55851b778f70, signal_index=7, argv=0x7ffec7265f70) at kernel/qobject.cpp:3886
	#14 0x00007f67f49fe9cf in QMetaObject::activate (sender=sender@entry=0x55851b778f70, m=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffec7265f70) at kernel/qobject.cpp:3946
	#15 0x00007f67f5f8dbfd in DeviceLink::receivedPacket (_t1=..., this=0x55851b778f70) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/build/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:225
	#16 LanDeviceLink::dataReceived (this=0x55851b778f70) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/core/backends/lan/landevicelink.cpp:135
	#17 0x00007f67f4a05503 in QtPrivate::QSlotObjectBase::call (a=0x7ffec7266050, r=0x55851b778f70, this=0x55851b709400) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
	#18 doActivate<false> (sender=0x55851b629ff0, signal_index=3, argv=0x7ffec7266050) at kernel/qobject.cpp:3886
	#19 0x00007f67f5f86114 in SocketLineReader::dataReceived (this=0x55851b629ff0) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/core/backends/lan/socketlinereader.cpp:29
	#20 0x00007f67f4a05503 in QtPrivate::QSlotObjectBase::call (a=0x7ffec7266160, r=0x55851b629ff0, this=0x55851b6cdb50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
	#21 doActivate<false> (sender=0x55851b7b9b10, signal_index=3, argv=0x7ffec7266160) at kernel/qobject.cpp:3886
	#22 0x00007f67f49fe9cf in QMetaObject::activate (sender=sender@entry=0x55851b7b9b10, m=m@entry=0x7f67f4ca1280 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
	#23 0x00007f67f48fd250 in QIODevice::readyRead (this=this@entry=0x55851b7b9b10) at .moc/moc_qiodevice.cpp:190
	#24 0x00007f67f4126705 in QSslSocketBackendPrivate::transmit (this=0x7f67e0048b60) at ssl/qsslsocket_openssl.cpp:1162
	#25 0x00007f67f4a05538 in doActivate<false> (sender=0x55851b588440, signal_index=3, argv=0x7ffec72672d0) at kernel/qobject.cpp:3898
	#26 0x00007f67f49fe9cf in QMetaObject::activate (sender=sender@entry=0x55851b588440, m=m@entry=0x7f67f4ca1280 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
	#27 0x00007f67f48fd250 in QIODevice::readyRead (this=this@entry=0x55851b588440) at .moc/moc_qiodevice.cpp:190
	#28 0x00007f67f40ddeef in QAbstractSocketPrivate::emitReadyRead (channel=0, this=0x55851b3f0be0) at socket/qabstractsocket.cpp:1323
	#29 QAbstractSocketPrivate::canReadNotification (this=0x55851b3f0be0) at socket/qabstractsocket.cpp:748
	#30 0x00007f67f40f3ca1 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
	#31 0x00007f67f5613a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55851b562db0, e=0x7ffec7267410) at kernel/qapplication.cpp:3632
	#32 0x00007f67f49cee3a in QCoreApplication::notifyInternal2 (receiver=0x55851b562db0, event=0x7ffec7267410) at kernel/qcoreapplication.cpp:1064
	#33 0x00007f67f4a26f3d in socketNotifierSourceDispatch (source=source@entry=0x55851b3c5550) at kernel/qeventdispatcher_glib.cpp:107
	#34 0x00007f67f2e74e22 in g_main_dispatch (context=0x7f67e8005010) at ../glib/gmain.c:3381
	#35 g_main_context_dispatch (context=0x7f67e8005010) at ../glib/gmain.c:4099
	#36 0x00007f67f2e751b8 in g_main_context_iterate (context=context@entry=0x7f67e8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
	#37 0x00007f67f2e7526f in g_main_context_iteration (context=0x7f67e8005010, may_block=1) at ../glib/gmain.c:4240
	#38 0x00007f67f4a263f6 in QEventDispatcherGlib::processEvents (this=0x55851b3be590, flags=...) at kernel/qeventdispatcher_glib.cpp:425
	#39 0x00007f67f49cd83b in QEventLoop::exec (this=this@entry=0x7ffec7267620, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
	#40 0x00007f67f49d5b10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
	#41 0x00007f67f4e1f25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
	#42 0x00007f67f56139f5 in QApplication::exec () at kernel/qapplication.cpp:2824
	#43 0x000055851a1c8a34 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.3-1.1.x86_64/daemon/kdeconnectd.cpp:178
	[Inferior 1 (process 2179) detached]
Comment 2 Nicolas Fella 2022-03-28 22:25:57 UTC

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