Summary: | kdeconnectd intermittent crash while in the background | ||
---|---|---|---|
Product: | [Applications] kdeconnect | Reporter: | Tejas Guruswamy <masterpatricko> |
Component: | common | Assignee: | Albert Vaca Cintora <albertvaka> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | adam, angelbravosaenz, avallash, bellersenm+bugs.kde, bholmes, bialyikar, Buo.Ren.Lin, carl, hilmar.walz, ilgaz, ironman466, jtamate, leodream2008, mormegil, mxmorel, nicolas.fella, redlefbraamhaar, william.full.moon, woskimi, X_X_L |
Priority: | VHI | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/kdeconnect-kde/commit/ef0efc360f6ac4a9e565fa30e261fcba7e9e508c | Version Fixed In: | 22.04 |
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Tejas Guruswamy
2022-01-28 01:18:56 UTC
Created attachment 146077 [details]
New crash information added by DrKonqi
kdeconnectd (21.12.1) using Qt 5.15.2
- Custom settings of the application:
wayland enabled. Android kdeconnect is in use.
-- Backtrace (Reduced):
#6 0x00007fe6fdf9f314 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=0x55a77e174c58) at kernel/qvariant.cpp:2721
#9 0x00007fe6f48b6378 in ConnectivityReportPlugin::receivePacket (np=..., this=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.1-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.1-1.1.x86_64/plugins/connectivity-report/connectivity_reportplugin.cpp:40
*** Bug 449529 has been marked as a duplicate of this bug. *** *** Bug 449745 has been marked as a duplicate of this bug. *** Created attachment 146854 [details]
New crash information added by DrKonqi
kdeconnectd (21.12.2) using Qt 5.15.2
- What I was doing when the application crashed:
Some minutes before the crash I just disabled in Android the notification syncronization plugin.
-- Backtrace (Reduced):
#6 0x00007f795a553314 in (anonymous namespace)::constData (d=...) at kernel/qvariant.cpp:361
#7 qVariantToHelper<QMap<QString, QVariant> > (handlerManager=<optimized out>, d=<optimized out>) at kernel/qvariant.cpp:2669
#8 QVariant::toMap() const (this=0x7f795c930e68) at kernel/qvariant.cpp:2721
#9 0x00007f794ce45378 in ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (np=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.2-1.1.x86_64/plugins/connectivity-report/connectivity_reportplugin.cpp:44
#10 ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (this=<optimized out>, np=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.2-1.1.x86_64/plugins/connectivity-report/connectivity_reportplugin.cpp:40
Created attachment 147150 [details]
New crash information added by DrKonqi
kdeconnectd (21.08.1) using Qt 5.15.2
- What I was doing when the application crashed:
I have connectivity report plugin enabled.
- Additional info
This phone is a XiaoMi POCO F3, which supposed to have 2 SIM card slots. In my configuration I only have 1 台灣之星==TSTAR SIM card inserted and the preferred network type is set to "NR/LTE/GSM/WCDMA" in the hidden modem settings activity.
Since I only have a 4G subscription I only get LTE/4G(+) in the signal icon in the notification bar.
-- Backtrace (Reduced):
#4 0x00007f1ef11201e4 in (anonymous namespace)::constData (d=...) at kernel/qvariant.cpp:361
#5 qVariantToHelper<QMap<QString, QVariant> > (handlerManager=..., d=...) at kernel/qvariant.cpp:2669
#6 QVariant::toMap (this=0x55a019382b18) at kernel/qvariant.cpp:2721
#7 0x00007f1ee86f17a8 in ConnectivityReportPlugin::receivePacket (np=..., this=<optimized out>) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:44
#8 ConnectivityReportPlugin::receivePacket (this=<optimized out>, np=...) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:40
- Additional additional info * In the hidden modem configuration activity the SIM card slot is presented as "Phone 0". * The phone is running Android 11 based MIUI 12.5.7 Global based stock firmware - Workaround Disable the connectivity report plugin (assuming any side(mobile/pc) would do, though I disabled both sides). Created attachment 147236 [details]
New crash information added by DrKonqi
kdeconnectd (21.12.2) using Qt 5.15.2
Seeing this crash as well
-- Backtrace (Reduced):
#6 0x00007fd7ee2cd5b4 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=0x55c9df6c2078) at kernel/qvariant.cpp:2721
#9 0x00007fd7e0d880c7 in ConnectivityReportPlugin::receivePacket (np=..., this=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.12.2/plugins/connectivity-report/connectivity_reportplugin.cpp:44
#10 ConnectivityReportPlugin::receivePacket (this=<optimized out>, np=...) at /usr/src/debug/kdeconnect-kde-21.12.2/plugins/connectivity-report/connectivity_reportplugin.cpp:40
https://fossies.org/dox/kdeconnect-kde-21.12.2/connectivity__reportplugin_8cpp_source.html auto subscriptions = np.get<QVariantMap>(QStringLiteral("signalStrengths"), QVariantMap()); auto networkInfo = subscriptions.first().toMap(); subscriptions.first() will obviously crash if subscriptions is empty. Git commit ef0efc360f6ac4a9e565fa30e261fcba7e9e508c by Albert Vaca Cintora, on behalf of Michael Prager. Committed on 10/03/2022 at 16:36. Pushed by albertvaka into branch 'master'. [Connectivity Report] Fixed crash if signalStrengths is empty. M +10 -8 plugins/connectivity-report/connectivity_reportplugin.cpp https://invent.kde.org/network/kdeconnect-kde/commit/ef0efc360f6ac4a9e565fa30e261fcba7e9e508c *** Bug 450907 has been marked as a duplicate of this bug. *** *** Bug 452002 has been marked as a duplicate of this bug. *** *** Bug 451937 has been marked as a duplicate of this bug. *** *** Bug 451190 has been marked as a duplicate of this bug. *** *** Bug 452537 has been marked as a duplicate of this bug. *** *** Bug 452604 has been marked as a duplicate of this bug. *** *** Bug 454331 has been marked as a duplicate of this bug. *** *** Bug 452843 has been marked as a duplicate of this bug. *** *** Bug 449534 has been marked as a duplicate of this bug. *** *** Bug 456111 has been marked as a duplicate of this bug. *** Created attachment https://bugsfiles.kde.org/attachment.cgi?id=150319 It was originally reported to other thread, but I'm re-reporting it here, as the other thread is marked as duplicate Below is original contents from the other thread kdeconnectd (21.12.3) using Qt 5.15.3 KDE Connect crashes on startup, not always, but very often. Although restarting KDE Connect afterward works fine -- Backtrace (Reduced): #4 0x00007f4386708d34 in (anonymous namespace)::constData (d=...) at kernel/qvariant.cpp:361 #5 qVariantToHelper<QMap<QString, QVariant> > (handlerManager=<optimized out>, d=<optimized out>) at kernel/qvariant.cpp:2669 #6 QVariant::toMap() const (this=0x5612ec6d54f8) at kernel/qvariant.cpp:2721 #7 0x00007f437857f7a8 in ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (np=<optimized out>, this=<optimized out>) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:44 #8 ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (this=<optimized out>, np=<optimized out>) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:40 (In reply to ironman466 from comment #21) > Created attachment https://bugsfiles.kde.org/attachment.cgi?id=150319 > It was originally reported to other thread, but I'm re-reporting it here, as > the other thread is marked as duplicate As the code is already fixed upstream, you should instead notify the downstream distribution to backport the patch. *** Bug 459014 has been marked as a duplicate of this bug. *** *** Bug 462565 has been marked as a duplicate of this bug. *** |