Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freenet Mobile crashes on android 13 with nova launcher on Google Pixel 6 pro #125

Open
Destroyinator69420 opened this issue Nov 18, 2022 · 10 comments · May be fixed by #130
Open

Freenet Mobile crashes on android 13 with nova launcher on Google Pixel 6 pro #125

Destroyinator69420 opened this issue Nov 18, 2022 · 10 comments · May be fixed by #130
Assignees
Labels
bug Something isn't working

Comments

@Destroyinator69420
Copy link

Describe the bug
I am using a Google Pixel 6 pro running android 13 from google with the nova launcher set to default.

To Reproduce
Steps to reproduce the behavior:

  1. Clear app data for fresh install
  2. click on the icon to open the app
  3. Acknowledge the risks of running a freenet node
  4. turn it on
  5. the app crashes and resets, clearing the app data does not solve the problem

Expected behavior
The app launches the browser freenet screen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version information (please complete the following information):

  • Device: [Google Pixel 6 Pro]
  • OS: [android 13 with nova launcher]
  • App version [e.g. v0.3.7-beta]

Additional context
Not that I know of. It worked perfectly fine on android 12. After the update it stopped working.

@Destroyinator69420 Destroyinator69420 added the bug Something isn't working label Nov 18, 2022
@blaueente
Copy link

here's a log that might prove helpful:

`<<< log_count = 61 >>>
[12-03 17:19:45.246 1749:10089 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.freenetproject.mobile/.ui.main.activity.MainActivity bnds=[1135,397][1412,817]} from uid 10191

[12-03 17:19:45.259 1749:10089 D/CoreBackPreview]
Window{afd4d0 u0 Splash Screen org.freenetproject.mobile}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d9f7fce, mPriority=0}

[12-03 17:19:45.267 1749:1810 I/ActivityManager]
Start proc 26723:org.freenetproject.mobile/u0a326 for next-top-activity {org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}

[12-03 17:19:45.303 26723:26723 D/nativeloader]
Configuring classloader-namespace for other apk /data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk. target_sdk_version=32, uses_libraries=, library_path=/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/lib/arm64:/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.freenetproject.mobile

[12-03 17:19:45.307 26723:26723 V/GraphicsEnvironment]
ANGLE Developer option for 'org.freenetproject.mobile' set to: 'default'

[12-03 17:19:45.307 26723:26723 V/GraphicsEnvironment]
ANGLE GameManagerService for org.freenetproject.mobile: false

[12-03 17:19:45.314 26723:26740 D/vulkan]
searching for layers in '/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/lib/arm64'

[12-03 17:19:45.314 26723:26740 D/vulkan]
searching for layers in '/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk!/lib/arm64-v8a'

[12-03 17:19:45.371 1749:3665 D/CoreBackPreview]
Window{920e0f5 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@eb5bcfb, mPriority=0}

[12-03 17:19:45.376 26723:26723 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: org.freenetproject.mobile, PID: 26723
java.lang.RuntimeException: Unable to start service org.freenetproject.mobile.services.node.Service@f7d8792 with Intent { cmp=org.freenetproject.mobile/.services.node.Service }: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4703)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2181)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:401)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:484)
at android.app.PendingIntent.getActivity(PendingIntent.java:470)
at android.app.PendingIntent.getActivity(PendingIntent.java:434)
at org.freenetproject.mobile.ui.notification.Notification.show(Notification.java:55)
at org.freenetproject.mobile.services.node.Service.onStartCommand(Service.java:79)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4685)
... 9 more

[12-03 17:19:45.379 1749:1789 W/ActivityTaskManager]
Force finishing activity org.freenetproject.mobile/.ui.main.activity.MainActivity

[12-03 17:19:45.402 1749:10089 I/WindowManager]
WIN DEATH: Window{920e0f5 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}

[12-03 17:19:45.403 1749:2178 D/ConnectivityService]
ConnectivityService NetworkRequestInfo binderDied(uid/pid:10326/26723, [NetworkRequest [ LISTEN id=261716, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND&NOT_VCN_MANAGED Uid: 10326 RequestorUid: 10326 RequestorPkg: org.freenetproject.mobile UnderlyingNetworks: Null] ]], android.os.BinderProxy@88afd2e)

[12-03 17:19:45.403 1749:10089 W/InputManager-JNI]
Input channel object '920e0f5 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity (client)' was disposed without first being removed with the input manager!

[12-03 17:19:45.403 1749:1789 I/ActivityManager]
Process org.freenetproject.mobile (pid 26723) has died: fg TOP

[12-03 17:19:45.405 1749:1789 W/ActivityManager]
Canceling start item Intent { cmp=org.freenetproject.mobile/.services.node.Service } in service org.freenetproject.mobile/.services.node.Service

[12-03 17:19:45.405 1749:1789 W/ActivityManager]
Bringing down service while still waiting for start foreground: ServiceRecord{be7af4a u0 org.freenetproject.mobile/.services.node.Service}

[12-03 17:19:45.416 1749:3588 D/WindowManager]
relayoutVisibleWindow: Window{afd4d0 u0 Splash Screen org.freenetproject.mobile EXITING} mAnimatingExit=true, mRemoveOnExit=true, mDestroying=false

[12-03 17:19:45.768 1749:2178 D/CoreBackPreview]
Window{afd4d0 u0 Splash Screen org.freenetproject.mobile EXITING}: Setting back callback null

[12-03 17:19:45.769 1749:5259 W/InputManager-JNI]
Input channel object 'afd4d0 Splash Screen org.freenetproject.mobile (client)' was disposed without first being removed with the input manager!

[12-03 17:19:45.880 1749:1800 W/ActivityTaskManager]
Activity top resumed state loss timeout for ActivityRecord{6d750cd u0 org.freenetproject.mobile/.ui.main.activity.MainActivity} t-1 f}}

[12-03 17:19:46.534 1749:2513 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.freenetproject.mobile/.ui.main.activity.MainActivity bnds=[1135,397][1412,817]} from uid 10191

[12-03 17:19:46.549 1749:2178 D/CoreBackPreview]
Window{e31128d u0 Splash Screen org.freenetproject.mobile}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@82ed190, mPriority=0}

[12-03 17:19:46.563 1749:1810 I/ActivityManager]
Start proc 26760:org.freenetproject.mobile/u0a326 for next-top-activity {org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}

[12-03 17:19:46.591 26760:26760 D/nativeloader]
Configuring classloader-namespace for other apk /data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk. target_sdk_version=32, uses_libraries=, library_path=/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/lib/arm64:/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.freenetproject.mobile

[12-03 17:19:46.595 26760:26760 V/GraphicsEnvironment]
ANGLE Developer option for 'org.freenetproject.mobile' set to: 'default'

[12-03 17:19:46.596 26760:26760 V/GraphicsEnvironment]
ANGLE GameManagerService for org.freenetproject.mobile: false

[12-03 17:19:46.604 26760:26777 D/vulkan]
searching for layers in '/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/lib/arm64'

[12-03 17:19:46.604 26760:26777 D/vulkan]
searching for layers in '/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk!/lib/arm64-v8a'

[12-03 17:19:46.659 1749:1789 D/CoreBackPreview]
Window{c740c16 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@a64784, mPriority=0}

[12-03 17:19:46.712 1749:1797 I/ActivityTaskManager]
Displayed org.freenetproject.mobile/.ui.main.activity.MainActivity: +173ms

[12-03 17:19:46.743 14862:14862 I/GoogleInputMethodService]
GoogleInputMethodService.onStartInput():1876 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.freenetproject.mobile fieldId=-1 fieldName=null extras=null}, false)

[12-03 17:19:47.074 1749:10089 D/CoreBackPreview]
Window{e31128d u0 Splash Screen org.freenetproject.mobile EXITING}: Setting back callback null

[12-03 17:19:47.075 1749:2513 W/InputManager-JNI]
Input channel object 'e31128d Splash Screen org.freenetproject.mobile (client)' was disposed without first being removed with the input manager!

[12-03 17:19:47.680 1749:5259 I/InputDispatcher]
Channel [Gesture Monitor] swipe-up (server) is stealing touch from [c740c16 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity (server), [Gesture Monitor] Quick Tap (server), [Gesture Monitor] edge-swipe (server)]

[12-03 17:19:48.424 14862:14862 I/GoogleInputMethodService]
GoogleInputMethodService.onStartInput():1876 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.freenetproject.mobile fieldId=-1 fieldName=null extras=null}, false)

[12-03 17:19:49.505 26760:26806 I/System.out]
Creating config from /data/user/0/org.freenetproject.mobile/app_data/freenet.ini

[12-03 17:19:49.511 26760:26807 I/System.out]
Finding old log files. New log file is /data/user/0/org.freenetproject.mobile/app_data/logs/freenet-1494-2022-12-03-17.log.gz

[12-03 17:19:49.513 26760:26807 I/System.out]
Old log file exists for this time period: /data/user/0/org.freenetproject.mobile/app_data/logs/freenet-1494-2022-12-03-17.log.gz

[12-03 17:19:49.513 26760:26807 I/System.out]
Renaming to: /data/user/0/org.freenetproject.mobile/app_data/logs/freenet-1494-2022-12-03-17-4.log.gz

[12-03 17:19:49.693 26760:26760 W/org.freenetproject.mobile]
type=1400 audit(0.0:90603): avc: denied { read } for comm=456E74726F70792047617468657269 name="/" dev="dm-6" ino=2 scontext=u:r:untrusted_app:s0:c70,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=org.freenetproject.mobile

[12-03 17:19:49.956 26760:26806 I/System.out]
Read 1 darknet peers from /data/user/0/org.freenetproject.mobile/app_data/peers-25552

[12-03 17:19:50.018 26760:26806 I/System.out]
NOT using wrapper (at least not correctly). Your freenet-ext.jar http://downloads.freenetproject.org/alpha/freenet-ext.jar and/or wrapper.conf https://emu.freenetproject.org/svn/trunk/apps/installer/installclasspath/config/wrapper.conf need to be updated.

[12-03 17:19:50.036 26760:26760 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: org.freenetproject.mobile, PID: 26760
java.lang.RuntimeException: Unable to start service org.freenetproject.mobile.services.node.Service@c44cc8c with Intent { cmp=org.freenetproject.mobile/.services.node.Service }: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4703)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2181)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:401)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:484)
at android.app.PendingIntent.getActivity(PendingIntent.java:470)
at android.app.PendingIntent.getActivity(PendingIntent.java:434)
at org.freenetproject.mobile.ui.notification.Notification.show(Notification.java:55)
at org.freenetproject.mobile.services.node.Service.onStartCommand(Service.java:79)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4685)
... 9 more

[12-03 17:19:50.039 1749:10089 W/ActivityTaskManager]
Force finishing activity org.freenetproject.mobile/.ui.main.activity.MainActivity

[12-03 17:19:50.098 1749:2264 D/ConnectivityService]
ConnectivityService NetworkRequestInfo binderDied(uid/pid:10326/26760, [NetworkRequest [ LISTEN id=261717, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND&NOT_VCN_MANAGED Uid: 10326 RequestorUid: 10326 RequestorPkg: org.freenetproject.mobile UnderlyingNetworks: Null] ]], android.os.BinderProxy@5311844)

[12-03 17:19:50.098 1749:10089 I/ActivityManager]
Process org.freenetproject.mobile (pid 26760) has died: fg TOP

[12-03 17:19:50.098 1749:1807 I/WindowManager]
WIN DEATH: Window{c740c16 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity}

[12-03 17:19:50.100 1749:1807 W/InputManager-JNI]
Input channel object 'c740c16 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity (client)' was disposed without first being removed with the input manager!

[12-03 17:19:50.102 1749:10089 W/ActivityManager]
Scheduling restart of crashed service org.freenetproject.mobile/.services.node.Service in 1000ms for start-requested

[12-03 17:19:50.133 1749:1801 W/WindowManager]
Failed to deliver inset state change to w=Window{c740c16 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity EXITING}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:473)
at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:3994)
at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$5(InsetsStateController.java:348)
at com.android.server.wm.InsetsStateController.$r8$lambda$ni7v3ZO6TRbLZqXOFahDjPeXTS0(Unknown Source:0)
at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda4.run(Unknown Source:2)
at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:345)
at com.android.server.wm.WindowAnimator.animate(WindowAnimator.java:226)
at com.android.server.wm.WindowAnimator.lambda$new$1(WindowAnimator.java:106)
at com.android.server.wm.WindowAnimator.$r8$lambda$fo2Nk5bb9hY3lvmHsTnTEwtZMbI(Unknown Source:0)
at com.android.server.wm.WindowAnimator$$ExternalSyntheticLambda1.doFrame(Unknown Source:2)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1229)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
at android.view.Choreographer.doCallbacks(Choreographer.java:899)
at android.view.Choreographer.doFrame(Choreographer.java:827)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)

[12-03 17:19:50.140 1749:1801 W/WindowManager]
Exception thrown during dispatchAppVisibility Window{c740c16 u0 org.freenetproject.mobile/org.freenetproject.mobile.ui.main.activity.MainActivity EXITING}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.view.IWindow$Stub$Proxy.dispatchAppVisibility(IWindow.java:536)
at com.android.server.wm.WindowState.sendAppVisibilityToClients(WindowState.java:3489)
at com.android.server.wm.WindowContainer.sendAppVisibilityToClients(WindowContainer.java:1199)
at com.android.server.wm.WindowToken.setClientVisible(WindowToken.java:398)
at com.android.server.wm.ActivityRecord.setClientVisible(ActivityRecord.java:6568)
at com.android.server.wm.ActivityRecord.onAnimationFinished(ActivityRecord.java:7355)
at com.android.server.wm.ActivityRecord.postApplyAnimation(ActivityRecord.java:5267)
at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:5239)
at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:5243)
at com.android.server.wm.AppTransitionController.handleClosingApps(AppTransitionController.java:1098)
at com.android.server.wm.AppTransitionController.handleAppTransitionReady(AppTransitionController.java:286)
at com.android.server.wm.RootWindowContainer.checkAppTransitionReady(RootWindowContainer.java:975)
at com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace(RootWindowContainer.java:842)
at com.android.server.wm.RootWindowContainer.performSurfacePlacement(RootWindowContainer.java:784)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop(WindowSurfacePlacer.java:177)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:126)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:115)
at com.android.server.wm.WindowSurfacePlacer$Traverser.run(WindowSurfacePlacer.java:57)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)

[12-03 17:19:50.541 1749:1800 W/ActivityTaskManager]
Activity top resumed state loss timeout for ActivityRecord{31263b7 u0 org.freenetproject.mobile/.ui.main.activity.MainActivity} t-1 f}}

[12-03 17:19:51.131 1749:1810 I/ActivityManager]
Start proc 26844:org.freenetproject.mobile/u0a326 for service {org.freenetproject.mobile/org.freenetproject.mobile.services.node.Service}

[12-03 17:19:51.167 26844:26844 D/nativeloader]
Configuring classloader-namespace for other apk /data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk. target_sdk_version=32, uses_libraries=, library_path=/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/lib/arm64:/data/app/~~O1SUkYpVgqC01oJw3WlLyA==/org.freenetproject.mobile-tEjcuFKClC8FeA8X6317iw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.freenetproject.mobile

[12-03 17:19:51.173 26844:26844 V/GraphicsEnvironment]
ANGLE Developer option for 'org.freenetproject.mobile' set to: 'default'

[12-03 17:19:51.173 26844:26844 V/GraphicsEnvironment]
ANGLE GameManagerService for org.freenetproject.mobile: false

[12-03 17:19:51.200 26844:26844 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: org.freenetproject.mobile, PID: 26844
java.lang.RuntimeException: Unable to start service org.freenetproject.mobile.services.node.Service@cf8d226 with Intent { cmp=org.freenetproject.mobile/.services.node.Service }: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4703)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2181)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:401)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:484)
at android.app.PendingIntent.getActivity(PendingIntent.java:470)
at android.app.PendingIntent.getActivity(PendingIntent.java:434)
at org.freenetproject.mobile.ui.notification.Notification.show(Notification.java:55)
at org.freenetproject.mobile.services.node.Service.onStartCommand(Service.java:79)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4685)
... 9 more

[12-03 17:19:51.222 1749:1807 D/ConnectivityService]
ConnectivityService NetworkRequestInfo binderDied(uid/pid:10326/26844, [NetworkRequest [ LISTEN id=261718, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND&NOT_VCN_MANAGED Uid: 10326 RequestorUid: 10326 RequestorPkg: org.freenetproject.mobile UnderlyingNetworks: Null] ]], android.os.BinderProxy@ed0b10)

[12-03 17:19:51.222 1749:1850 I/ActivityManager]
Process org.freenetproject.mobile (pid 26844) has died: prcp FGS

[12-03 17:19:51.223 1749:1850 W/ActivityManager]
Scheduling restart of crashed service org.freenetproject.mobile/.services.node.Service in 1800000ms for start-requested

`

@TehDomic
Copy link

TehDomic commented Apr 8, 2023

Same problem on Android 13 for me too.

@jtfletchbot
Copy link

Also having issues on pixel 7.

Flag_immutable error as seen above

@marek22k
Copy link

I have the same problem on Android 13.

Ping on maintainer @desyncr.

@marek22k
Copy link

Logs:

SDK: 33
PRODUCT_NAME: lineage_starlte
DEVICE_NAME: starlte
BOARD_NAME: exynos9810
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi
MANUFACTURER: samsung
BRAND: samsung
MODEL: SM-G960F
FATAL EXCEPTION: main
Process: org.freenetproject.mobile, PID: 30274
java.lang.RuntimeException: Unable to start service org.freenetproject.mobile.services.node.Service@b9f3ddb with Intent { cmp=org.freenetproject.mobile/.services.node.Service }: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4674)
	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2180)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7924)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalArgumentException: org.freenetproject.mobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
	at android.app.PendingIntent.checkFlags(PendingIntent.java:401)
	at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:484)
	at android.app.PendingIntent.getActivity(PendingIntent.java:470)
	at android.app.PendingIntent.getActivity(PendingIntent.java:434)
	at org.freenetproject.mobile.ui.notification.Notification.show(Notification.java:55)
	at org.freenetproject.mobile.services.node.Service.onStartCommand(Service.java:79)
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4656)
	... 9 more
FATAL EXCEPTION: ConnectivityThread
Process: org.freenetproject.mobile, PID: 30378
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean org.freenetproject.mobile.services.node.Manager$Status.equals(java.lang.Object)' on a null object reference
	at org.freenetproject.mobile.services.node.Manager.isPaused(Manager.java:263)
	at org.freenetproject.mobile.services.node.Manager.resumeService(Manager.java:214)
	at org.freenetproject.mobile.services.node.Service$1.onAvailable(Service.java:59)
	at android.net.ConnectivityManager$NetworkCallback.onAvailable(ConnectivityManager.java:3842)
	at android.net.ConnectivityManager$NetworkCallback.onAvailable(ConnectivityManager.java:3824)
	at android.net.ConnectivityManager$CallbackHandler.handleMessage(ConnectivityManager.java:4148)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.os.HandlerThread.run(HandlerThread.java:67)

blaueente added a commit to blaueente/freenet-app that referenced this issue Nov 19, 2023
@TehDomic
Copy link

Still happens. I don't know how to provide a debug log from the app to help.

@marek22k
Copy link

Unfortunately. I somehow think the app is no longer being actively developed.

I used LogFox with Shizuku to get the logs.

@TehDomic
Copy link

Unfortunately. I somehow think the app is no longer being actively developed.

I used LogFox with Shizuku to get the logs.

Maybe because of the big Freenet (original project) rewrite?

@marek22k
Copy link

There is a rewrite?

Or do you just mean Ian, who stole the name "Freenet" for his new project without the consent of the actual Freenet developers?

@TehDomic
Copy link

There is a rewrite?

Or do you just mean Ian, who stole the name "Freenet" for his new project without the consent of the actual Freenet developers?

I don't know the details, but yes I'm thinking about the Hyphanet/Freenet (new project) forks.
Only time will tell if the new project keeping the old name is going to be worth it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants