I have encountered the problem of app crashing when connecting to a proxy on the latest crDroid system of poco f4 (redmi k40s/munch) #577
Replies: 1 comment
-
Sorry, the problem disappeared inexplicably |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
cmfa version:2.11.14.meta/alpha
Android version: 15
crDroid version: 11.6
System build number:crdroid_munch-userdebug 15 BP1A.250505.005 eng.androi.20250612.023546 release-keys
Log output in cmfa software:
07-23 16:45:04.012 10665 10665 D ClashMetaForAndroid: Process com.github.metacubex.clash.meta started
07-23 16:45:04.034 10665 10665 D ClashMetaForAndroid: App becomes visible
07-23 16:45:04.082 12206 12206 D ClashMetaForAndroid: Process com.github.metacubex.clash.meta:background started
07-23 16:45:04.092 12206 12224 I ClashMetaForAndroid: Reschedule all profiles update
07-23 16:45:04.137 12206 12221 D ClashMetaForAndroid: Home = /data/user/0/com.github.metacubex.clash.meta/files/clash
07-23 16:45:04.150 12206 12236 I ClashMetaForAndroid: Init core, home: /data/user/0/com.github.metacubex.clash.meta/files/clash, versionName: 2.11.14.Meta, gitVersion: Alpha_5b97527_250625, platformVersion: 35
07-23 16:45:04.150 12206 12236 I ClashMetaForAndroid: Start initial configuration in progress
07-23 16:45:04.150 12206 12236 I ClashMetaForAndroid: Geodata Loader mode: memconservative
07-23 16:45:04.150 12206 12236 I ClashMetaForAndroid: Geosite Matcher implementation: succinct
07-23 16:45:04.151 12206 12236 I ClashMetaForAndroid: Initial configuration complete, total time: 0ms
07-23 16:45:04.167 12206 12234 I ClashMetaForAndroid: Sniffer is closed
07-23 16:45:04.167 12206 12234 I ClashMetaForAndroid: Start initial compatible provider default
07-23 16:45:14.524 12206 12238 D ClashMetaForAndroid: [Rule] use default rules
...
07-23 16:45:15.761 12206 12234 I ClashMetaForAndroid: Start initial configuration in progress
07-23 16:45:15.769 12206 12237 I ClashMetaForAndroid: Geodata Loader mode: memconservative
07-23 16:45:15.769 12206 12237 I ClashMetaForAndroid: Geosite Matcher implementation: succinct
07-23 16:45:15.770 12206 12237 W ClashMetaForAndroid: replace fallback-filter.geosite with nameserver-policy, it will be removed in the future
...
07-23 16:45:20.675 12206 12206 E AndroidRuntime: FATAL EXCEPTION: main
07-23 16:45:20.675 12206 12206 E AndroidRuntime: Process: com.github.metacubex.clash.meta:background, PID: 12206
07-23 16:45:20.675 12206 12206 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.github.kr328.clash.service.TunService: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{85e9b48 12206:com.github.metacubex.clash.meta:background/u0a502} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE]
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:5148)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2547)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:109)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8935)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: Caused by: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{85e9b48 12206:com.github.metacubex.clash.meta:background/u0a502} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE]
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:3261)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:3245)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:3228)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:3170)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7357)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.Service.startForeground(Service.java:863)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at androidx.transition.ViewUtilsApi19$$ExternalSyntheticApiModelOutline1.m(SourceFile:5)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at androidx.tracing.Trace.startForegroundCompat(SourceFile:7)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at androidx.tracing.Trace.notifyLoadingNotification(SourceFile:56)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.github.kr328.clash.service.TunService.onCreate(SourceFile:82)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:5135)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: ... 9 more
07-23 16:45:20.675 12206 12206 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:2907)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2591)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1845)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:13952)
07-23 16:45:20.675 12206 12206 E AndroidRuntime: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3679)
07-23 16:45:20.675 12206 12206 E AndroidRuntime:
07-23 16:45:20.702 10665 10665 W ClashMetaForAndroid: RemoteService killed or crashed
07-23 16:45:21.780 12323 12323 D ClashMetaForAndroid: Process com.github.metacubex.clash.meta:background started
07-23 16:45:21.786 12323 12323 D AndroidRuntime: Shutting down VM
07-23 16:45:21.786 12323 12323 E AndroidRuntime: FATAL EXCEPTION: main
07-23 16:45:21.786 12323 12323 E AndroidRuntime: Process: com.github.metacubex.clash.meta:background, PID: 12323
07-23 16:45:21.786 12323 12323 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.github.kr328.clash.service.TunService: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{85c27bd 12323:com.github.metacubex.clash.meta:background/u0a502} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE]
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:5148)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2547)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:109)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8935)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: Caused by: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{85c27bd 12323:com.github.metacubex.clash.meta:background/u0a502} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE]
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:3261)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:3245)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:3228)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:3170)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7357)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at android.app.Service.startForeground(Service.java:863)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at androidx.transition.ViewUtilsApi19$$ExternalSyntheticApiModelOutline1.m(SourceFile:5)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at androidx.tracing.Trace.startForegroundCompat(SourceFile:7)
07-23 16:45:21.786 12323 12323 E AndroidRuntime: at androidx.tracing.Trace.notifyLoadingNotification(SourceFile:56)
07-23 16:45:21.786 12323 12323 E An
Logs captured by crdroid:
time: 1753260971952 msg: java.lang.SecurityException: Remote stack trace: at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:2907) at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2591) at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1845) at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:13952) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3679) stacktrace: java.lang.RuntimeException: Unable to create service com.github.kr328.clash.service.TunService: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{683db6d 13803:com.github.metacubex.clash.alpha:background/u0a503} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE] at android.app.ActivityThread.handleCreateService(ActivityThread.java:5148) at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2547) at android.os.Handler.dispatchMessage(Handler.java:109) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8935) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911) Caused by: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{683db6d 13803:com.github.metacubex.clash.alpha:background/u0a503} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE] at android.os.Parcel.createExceptionOrNull(Parcel.java:3261) at android.os.Parcel.createException(Parcel.java:3245) at android.os.Parcel.readException(Parcel.java:3228) at android.os.Parcel.readException(Parcel.java:3170) at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7357) at android.app.Service.startForeground(Service.java:863) at androidx.transition.ViewUtilsApi19$$ExternalSyntheticApiModelOutline1.m(SourceFile:5) at androidx.tracing.Trace.startForegroundCompat(SourceFile:7) at androidx.tracing.Trace.notifyLoadingNotification(SourceFile:56) at com.github.kr328.clash.service.TunService.onCreate(SourceFile:82) at android.app.ActivityThread.handleCreateService(ActivityThread.java:5135) ... 9 more Caused by: android.os.RemoteException: Remote stack trace: at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:2907) at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2591) at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1845) at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:13952) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3679)
Beta Was this translation helpful? Give feedback.
All reactions