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

Frequent background crashes. #8894

Open
RokeJulianLockhart opened this issue Sep 3, 2024 · 0 comments
Open

Frequent background crashes. #8894

RokeJulianLockhart opened this issue Sep 3, 2024 · 0 comments
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Sep 3, 2024

Steps to reproduce

I don't know what causes it. However, because it began today, I expect that an update occurred as a I slept, which caused it.

Outcome

What did you expect?

No crashes.

What happened instead?

FATAL EXCEPTION: main
Process: im.vector.app, PID: 594
java.lang.RuntimeException: Unable to start service im.vector.app.fdroid.service.GuardAndroidService@ba7286d with null: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service im.vector.app/.fdroid.service.GuardAndroidService
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4840)
	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2290)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8223)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:977)
Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service im.vector.app/.fdroid.service.GuardAndroidService
	at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
	at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
	at android.os.Parcel.readParcelableInternal(Parcel.java:4870)
	at android.os.Parcel.readParcelable(Parcel.java:4852)
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3052)
	at android.os.Parcel.createException(Parcel.java:3041)
	at android.os.Parcel.readException(Parcel.java:3024)
	at android.os.Parcel.readException(Parcel.java:2966)
	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:6761)
	at android.app.Service.startForeground(Service.java:775)
	at im.vector.app.fdroid.service.GuardAndroidService.onStartCommand(GuardAndroidService.kt:15)
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4822)
	... 9 more

You can see that this is, suddenly, occurring quite frequently:

Screenshot_20240903-192055

Your phone model

Fairphone FP5

Operating system version

FP5.UT27.B.059.20240809

Application version and app store

https://f-droid.org/repo/im.vector.app_40106182.apk

Homeserver

https://matrix.org/

Will you send logs?

Yes

Are you willing to provide a PR?

No

@RokeJulianLockhart RokeJulianLockhart added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Sep 3, 2024
@RokeJulianLockhart RokeJulianLockhart changed the title Frequent background crash. Frequent background crashes. Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

1 participant