Bug 493953 - KDE connect application always crashes on android
Summary: KDE connect application always crashes on android
Status: RESOLVED DUPLICATE of bug 493943
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 14.x
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 09:47 UTC by Yaroslav
Modified: 2024-10-02 10:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav 2024-10-02 09:47:04 UTC
STEPS TO REPRODUCE
1.  Open KDE connect app on the phone

OBSERVED RESULT
Apps immediately crash 

EXPECTED RESULT
Continue to work as usual


SOFTWARE/OS VERSIONS
Pixel 7, android 14 with the latest updates
KDE connect app version 1.32.4 from the play store

Stacktrace:
10-02 11:40:45.167   836   903 I KDE/LanLinkProvider: Handshake as client successful with userx@elitebook secured with TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
10-02 11:40:45.167 25054 25399 I FontLog : (REDACTED) Pulling font file for id = %d, cache size = %d
10-02 11:40:45.167   836   903 D KDE/LanLinkProvider: Creating a new link for device _5edae268_5af5_4301_bae2_4adac3762b6f_
10-02 11:40:45.169   836   903 I updateDeviceInfo: Updating supported plugins according to new capabilities
10-02 11:40:45.169   836   903 I Device  : userx@elitebook: reloading plugins
10-02 11:40:45.169   836   903 D KDE/addPlugin: Permissions OK BatteryPlugin
10-02 11:40:45.169   836   903 D KDE/addPlugin: Optional Permissions OK BatteryPlugin
10-02 11:40:45.173   836   903 D KDE/addPlugin: Permissions OK NotificationsPlugin
10-02 11:40:45.173   836   903 D KDE/addPlugin: Optional Permissions OK NotificationsPlugin
10-02 11:40:45.177 25054 25399 I FontLog : (REDACTED) Pulling font file for id = %d, cache size = %d
10-02 11:40:45.182   836   903 D KDE/addPlugin: Permissions OK MousePadPlugin
10-02 11:40:45.182   836   903 D KDE/addPlugin: Optional Permissions OK MousePadPlugin
10-02 11:40:45.183   836   903 D KDE/addPlugin: Permissions OK TelephonyPlugin
10-02 11:40:45.184   836   903 D KDE/addPlugin: Optional Permissions OK TelephonyPlugin
10-02 11:40:45.185   836   903 D KDE/addPlugin: Permissions OK MprisReceiverPlugin
10-02 11:40:45.185   836   903 D KDE/addPlugin: Optional Permissions OK MprisReceiverPlugin
10-02 11:40:45.195   836   903 D KDE/addPlugin: Permissions OK SharePlugin
10-02 11:40:45.195   836   903 D KDE/addPlugin: Optional Permissions OK SharePlugin
10-02 11:40:45.203   836   903 E AndroidRuntime: FATAL EXCEPTION: pool-4-thread-5
10-02 11:40:45.203   836   903 E AndroidRuntime: Process: org.kde.kdeconnect_tp, PID: 836
10-02 11:40:45.203   836   903 E AndroidRuntime: java.lang.SecurityException: Settings key: <enabled_input_methods> is only readable to apps with targetSdkVersion lower than or equal to: 33
10-02 11:40:45.203   836   903 E AndroidRuntime:        at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:3514)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at android.provider.Settings$Secure.getStringForUser(Settings.java:6902)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at android.provider.Settings$Secure.getString(Settings.java:6868)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardPlugin.checkRequiredPermissions(RemoteKeyboardPlugin.java:417)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Device.addPlugin(Device.kt:558)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Device.reloadPluginsFromSettings(Device.kt:629)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Device.addLink(Device.kt:337)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.KdeConnect$connectionListener$1.onConnectionReceived(KdeConnect.kt:156)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.BaseLinkProvider.onConnectionReceived(BaseLinkProvider.java:42)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.addOrUpdateLink(LanLinkProvider.java:286)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$identityPacketReceived$0(LanLinkProvider.java:246)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$ffuZOFU1qk4o1cE14ZuWQYJam9A(LanLinkProvider.java:0)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda6.handshakeCompleted(R8$$SyntheticClass:0)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at com.android.org.conscrypt.AbstractConscryptSocket.notifyHandshakeCompletedListeners(AbstractConscryptSocket.java:607)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:270)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:218)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.identityPacketReceived(LanLinkProvider.java:259)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.tcpPacketReceived(LanLinkProvider.java:119)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$setupTcpListener$3(LanLinkProvider.java:346)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$fPOfB-9YGQBHf7IKMxU23L4W5VA(LanLinkProvider.java:0)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:0)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
10-02 11:40:45.203   836   903 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:1012)
10-02 11:40:45.207  1378  3900 W ActivityTaskManager:   Force finishing activity org.kde.kdeconnect_tp/org.kde.kdeconnect.UserInterface.MainActivity
10-02 11:40:45.208  1996  2013 V WindowManagerShell: Transition requested (#2357): android.os.BinderProxy@116f6b9 TransitionRequestInfo { type = CLOSE, triggerTask = null, pipTask = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 2357 }
10-02 11:40:45.217   836   903 I Process : Sending signal. PID: 836 SIG: 9
Comment 1 Ondřej Kučera 2024-10-02 10:37:29 UTC
I can't provide debugging details (or don't know how to) but KDE Connect also always crashes immediately upon start on my Motorola Edge 50 Fusion since today's update to version 1.32.4.
Comment 2 Filip 2024-10-02 10:38:43 UTC
I think this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=493943
Looks like it's fixed, just wait for the release and update. If you still have issues you can reopen it.

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