https://bugs.kde.org/show_bug.cgi?id=494126

            Bug ID: 494126
           Summary: KDE Connect Android app crashes on Android 14/CalxyOS
                    directly at startup, reproducible
    Classification: Applications
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: 7429c...@opayq.com
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

Created attachment 174426
  --> https://bugs.kde.org/attachment.cgi?id=174426&action=edit
Logcat regarding KDE Connect crash

SUMMARY
Seems to be quite new(?), but KDE Connect crashes for Android. Directly at
startup. 

STEPS TO REPRODUCE
1. Try sharing a file to KDE Connect -> crashes.
2. Also crashes at direct startups.

OBSERVED RESULT
Crash.

Logcat contains:

```
Exception thrown during dispatchAppVisibility Window{7bd2529 u0
org.kde.kdeconnect_tp/org.kde.kdeconnect.UserInterface.MainActivity EXITING}
android.os.DeadObjectException
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(BinderProxy.java:586)
        at
android.view.IWindow$Stub$Proxy.dispatchAppVisibility(IWindow.java:552)
        at
com.android.server.wm.WindowState.sendAppVisibilityToClients(WindowState.java:3218)
        at
com.android.server.wm.WindowContainer.sendAppVisibilityToClients(WindowContainer.java:1293)
        at
com.android.server.wm.WindowToken.setClientVisible(WindowToken.java:403)
        at
com.android.server.wm.ActivityRecord.setClientVisible(ActivityRecord.java:7100)
        at
com.android.server.wm.ActivityRecord.postApplyAnimation(ActivityRecord.java:5820)
        at
com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:5762)
        at
com.android.server.wm.Transition.finishTransition(Transition.java:1257)
        at
com.android.server.wm.TransitionController.finishTransition(TransitionController.java:925)
        at
com.android.server.wm.WindowOrganizerController.finishTransition(WindowOrganizerController.java:489)
        at
android.window.IWindowOrganizerController$Stub.onTransact(IWindowOrganizerController.java:278)
        at
com.android.server.wm.WindowOrganizerController.onTransact(WindowOrganizerController.java:199)
        at android.os.Binder.execTransactInternal(Binder.java:1505)
        at android.os.Binder.execTransact(Binder.java:1444)
```

AND

```
[10-04 18:24:34.259 13520:13546 E/AndroidRuntime]
FATAL EXCEPTION: pool-4-thread-4
Process: org.kde.kdeconnect_tp, PID: 13520
java.lang.SecurityException: Settings key: <enabled_input_methods> is only
readable to apps with targetSdkVersion lower than or equal to: 33
        at
android.provider.Settings$NameValueCache.getStringForUser(Settings.java:3514)
        at
android.provider.Settings$Secure.getStringForUser(Settings.java:6912)
        at android.provider.Settings$Secure.getString(Settings.java:6878)
        at
org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardPlugin.checkRequiredPermissions(RemoteKeyboardPlugin.java:417)
        at org.kde.kdeconnect.Device.addPlugin(Device.kt:558)
        at org.kde.kdeconnect.Device.reloadPluginsFromSettings(Device.kt:629)
        at org.kde.kdeconnect.Device.addLink(Device.kt:337)
        at
org.kde.kdeconnect.KdeConnect$connectionListener$1.onConnectionReceived(KdeConnect.kt:156)
        at
org.kde.kdeconnect.Backends.BaseLinkProvider.onConnectionReceived(BaseLinkProvider.java:42)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.addOrUpdateLink(LanLinkProvider.java:286)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$identityPacketReceived$0(LanLinkProvider.java:246)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$ffuZOFU1qk4o1cE14ZuWQYJam9A(LanLinkProvider.java:0)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda6.handshakeCompleted(R8$$SyntheticClass:0)
        at
com.android.org.conscrypt.AbstractConscryptSocket.notifyHandshakeCompletedListeners(AbstractConscryptSocket.java:607)
        at
com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:270)
        at
com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:218)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.identityPacketReceived(LanLinkProvider.java:259)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.tcpPacketReceived(LanLinkProvider.java:119)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$setupTcpListener$3(LanLinkProvider.java:346)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$fPOfB-9YGQBHf7IKMxU23L4W5VA(LanLinkProvider.java:0)
        at
org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:0)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
        at java.lang.Thread.run(Thread.java:1012)
```

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
v1.32.3 org.kde.kdeconnect_tp
from F-Droid

ADDITIONAL INFORMATION
Maybe related to Bug 493796 though it says Android 8(?)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to