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

Every app freezing, possibly due to "StrictMode policy violation: android.os.strictmode.NetworkViolation" #2405

Open
dimaryaz opened this issue Jun 13, 2024 · 1 comment
Labels

Comments

@dimaryaz
Copy link
Contributor

dimaryaz commented Jun 13, 2024

Describe the bug
I'm using LineageOS for MicroG. Since the lineage-21.0-20240508-microG-instantnoodle update, I've been having problems with every possible app - including SystemUI - freezing for multiple seconds and triggering the "[app] not responding" dialog box (which also never goes away, forcing me to kill the app, but that's a separate bug). I can't say for certain that it's MicroG's fault; I also have Magisk installed. When I updated to lineage-21.0-20240608, it got slightly better, but still bad.

adb logcat shows stack traces for NetworkViolation caused by org.microg.gms.auth.AuthManagerServiceImpl.onTransact - so that's why I suspect it may be caused by MicroG.

To Reproduce
It happens randomly; everything can work fine for hours, even days - then start freezing constantly for several hours. I suspected it had to do with bad network quality; it seems correlated, but not completely.

Expected behavior
Apps shouldn't freeze.

Screenshots

System
Android Version: 14
Custom ROM: LineageOS for MicroG 21, 20240608

Additional context
Output from adb logcat showing the NetworkViolation:

adb.log

@dimaryaz dimaryaz added the bug label Jun 13, 2024
@dimaryaz
Copy link
Contributor Author

Just guessing here, but is it possible that org.microg.gms.auth.AuthManagerServiceImpl.onTransact is not supposed to do blocking network calls? E.g., can it be called by apps' UI thread, etc.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant