Regression: microG frequently crashes with location turned on
- /e/OS version: 2.9-t
- Device model(s): Shift6mq
- Impacted Application: ~/e/OS App Store
The problem
Describe precisely the problem you're facing and add screenshots to illustrate
With location turned on microG crashes and fixing location via cell towers does not work. GPS works
Steps to reproduce
- Activate location
- See frequent crash messages
- open app that displays both GPS and network location
- network location status switching with high frequency between enabled and disabled
- After a while GPS location fix shows correct location
Technical details
Worked correct with 2.8-t
Paste any relevant logs (adb logcat
) in the codeblock below if you have any
2025-04-15 13:47:13.700 8545 8577 com.google.android.gms D NetworkLocation : Schedule high-power scan now
2025-04-15 13:47:13.706 8545 8577 com.google.android.gms D NetworkLocation : Start network scan for WorkSource{1000 android}
2025-04-15 13:47:13.716 8545 8577 com.google.android.gms E AndroidRuntime : FATAL EXCEPTION: NetworkLocationService
Process: com.google.android.gms, PID: 8545
java.lang.NullPointerException
at org.microg.gms.location.network.wifi.ExtensionsKt.toWifiDetails(SourceFile:2)
at org.microg.gms.location.network.NetworkLocationService.scan(Unknown Source:355)
at org.microg.gms.location.network.NetworkLocationService.highPowerScanRunnable$lambda$0(Unknown Source:6)
at org.microg.gms.location.network.NetworkLocationService.h(SourceFile:1)
at org.microg.gms.location.network.e.run(SourceFile:1)
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)
2025-04-15 13:47:13.719 8545 8577 com.google.android.gms I Process : Sending signal. PID: 8545 SIG: 9
2025-04-15 13:47:14.857 12629 12629 com.google.android.gms E gle.android.gms : Not starting debugger since process cannot load the jdwp agent.
2025-04-15 13:47:14.893 12629 12629 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 171979766; UID 10104; state: DISABLED
2025-04-15 13:47:14.900 12629 12629 com.google.android.gms D ApplicationLoaders : Returning zygote-cached class loader: /system/framework/android.test.base.jar
2025-04-15 13:47:14.949 12629 12629 com.google.android.gms V GraphicsEnvironment : ANGLE Developer option for 'com.google.android.gms' set to: 'default'
2025-04-15 13:47:14.950 12629 12629 com.google.android.gms V GraphicsEnvironment : Neither updatable production driver nor prerelease driver is supported.
2025-04-15 13:47:14.950 12629 12629 com.google.android.gms V GraphicsEnvironment : ANGLE GameManagerService for com.google.android.gms: false
2025-04-15 13:47:14.954 12629 12629 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:14.954 12629 12629 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:14.957 12629 12629 com.google.android.gms D FontsProvider : onCreate
2025-04-15 13:47:14.957 12629 12629 com.google.android.gms D ChimeraServiceProvider : onCreate
2025-04-15 13:47:14.961 12629 12629 com.google.android.gms D ActivityThread : Loading provider com.google.android.gms.microg.settings: org.microg.gms.settings.SettingsProvider
2025-04-15 13:47:14.970 12629 12629 com.google.android.gms D GmsPhenotypeCfgProvider : unimplemented Method: onCreate
2025-04-15 13:47:14.970 12629 12629 com.google.android.gms D ProfileManager : Using Serial 008741D9D9E5C2D9
2025-04-15 13:47:14.979 12629 12629 com.google.android.gms D WM-WrkMgrInitializer : Initializing WorkManager with default configuration.
2025-04-15 13:47:15.008 12629 12629 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 160794467; UID 10104; state: DISABLED
2025-04-15 13:47:15.014 12629 12641 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:15.018 12629 12641 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:15.271 12629 12629 com.google.android.gms D AppSetService : onBind: Intent { act=com.google.android.gms.appset.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.appset.AppSetService }
2025-04-15 13:47:15.274 12629 12648 com.google.android.gms D NetworkLocation : Schedule high-power scan now
2025-04-15 13:47:15.276 12629 12648 com.google.android.gms D NetworkLocation : Start network scan for WorkSource{1000 android}
2025-04-15 13:47:15.282 12629 12648 com.google.android.gms E AndroidRuntime : FATAL EXCEPTION: NetworkLocationService
Process: com.google.android.gms, PID: 12629
java.lang.NullPointerException
at org.microg.gms.location.network.wifi.ExtensionsKt.toWifiDetails(SourceFile:2)
at org.microg.gms.location.network.NetworkLocationService.scan(Unknown Source:355)
at org.microg.gms.location.network.NetworkLocationService.highPowerScanRunnable$lambda$0(Unknown Source:6)
at org.microg.gms.location.network.NetworkLocationService.h(SourceFile:1)
at org.microg.gms.location.network.e.run(SourceFile:1)
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)
2025-04-15 13:47:17.374 12723 12723 com.google.android.gms E gle.android.gms : Not starting debugger since process cannot load the jdwp agent.
2025-04-15 13:47:17.445 12723 12723 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 171979766; UID 10104; state: DISABLED
2025-04-15 13:47:17.455 12723 12723 com.google.android.gms D ApplicationLoaders : Returning zygote-cached class loader: /system/framework/android.test.base.jar
2025-04-15 13:47:17.482 12723 12723 com.google.android.gms V GraphicsEnvironment : ANGLE Developer option for 'com.google.android.gms' set to: 'default'
2025-04-15 13:47:17.483 12723 12723 com.google.android.gms V GraphicsEnvironment : Neither updatable production driver nor prerelease driver is supported.
2025-04-15 13:47:17.483 12723 12723 com.google.android.gms V GraphicsEnvironment : ANGLE GameManagerService for com.google.android.gms: false
2025-04-15 13:47:17.491 12723 12723 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:17.491 12723 12723 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:17.495 12723 12723 com.google.android.gms D ChimeraServiceProvider : onCreate
2025-04-15 13:47:17.495 12723 12723 com.google.android.gms D FontsProvider : onCreate
2025-04-15 13:47:17.500 12723 12723 com.google.android.gms D ActivityThread : Loading provider com.google.android.gms.microg.settings: org.microg.gms.settings.SettingsProvider
2025-04-15 13:47:17.511 12723 12723 com.google.android.gms D GmsPhenotypeCfgProvider : unimplemented Method: onCreate
2025-04-15 13:47:17.511 12723 12723 com.google.android.gms D ProfileManager : Using Serial 008741D9D9E5C2D9
2025-04-15 13:47:17.518 12723 12723 com.google.android.gms D WM-WrkMgrInitializer : Initializing WorkManager with default configuration.
2025-04-15 13:47:17.554 12723 12723 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 160794467; UID 10104; state: DISABLED
2025-04-15 13:47:17.570 12723 12737 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:17.574 12723 12737 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:17.831 12723 12750 com.google.android.gms D NetworkLocation : Schedule high-power scan now
2025-04-15 13:47:17.837 12723 12750 com.google.android.gms D NetworkLocation : Start network scan for WorkSource{1000 android}
2025-04-15 13:47:17.847 12723 12750 com.google.android.gms E AndroidRuntime : FATAL EXCEPTION: NetworkLocationService
Process: com.google.android.gms, PID: 12723
java.lang.NullPointerException
at org.microg.gms.location.network.wifi.ExtensionsKt.toWifiDetails(SourceFile:2)
at org.microg.gms.location.network.NetworkLocationService.scan(Unknown Source:355)
at org.microg.gms.location.network.NetworkLocationService.highPowerScanRunnable$lambda$0(Unknown Source:6)
at org.microg.gms.location.network.NetworkLocationService.h(SourceFile:1)
at org.microg.gms.location.network.e.run(SourceFile:1)
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)
2025-04-15 13:47:17.852 12723 12750 com.google.android.gms I Process : Sending signal. PID: 12723 SIG: 9
2025-04-15 13:47:18.856 12755 12755 com.google.android.gms E gle.android.gms : Not starting debugger since process cannot load the jdwp agent.
2025-04-15 13:47:18.898 12755 12755 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 171979766; UID 10104; state: DISABLED
2025-04-15 13:47:18.906 12755 12755 com.google.android.gms D ApplicationLoaders : Returning zygote-cached class loader: /system/framework/android.test.base.jar
2025-04-15 13:47:18.930 12755 12755 com.google.android.gms V GraphicsEnvironment : ANGLE Developer option for 'com.google.android.gms' set to: 'default'
2025-04-15 13:47:18.931 12755 12755 com.google.android.gms V GraphicsEnvironment : Neither updatable production driver nor prerelease driver is supported.
2025-04-15 13:47:18.931 12755 12755 com.google.android.gms V GraphicsEnvironment : ANGLE GameManagerService for com.google.android.gms: false
2025-04-15 13:47:18.939 12755 12755 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:18.940 12755 12755 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:18.943 12755 12755 com.google.android.gms D FontsProvider : onCreate
2025-04-15 13:47:18.944 12755 12755 com.google.android.gms D ChimeraServiceProvider : onCreate
2025-04-15 13:47:18.948 12755 12755 com.google.android.gms D ActivityThread : Loading provider com.google.android.gms.microg.settings: org.microg.gms.settings.SettingsProvider
2025-04-15 13:47:18.957 12755 12755 com.google.android.gms D ProfileManager : Using Serial 008741D9D9E5C2D9
2025-04-15 13:47:18.957 12755 12755 com.google.android.gms D GmsPhenotypeCfgProvider : unimplemented Method: onCreate
2025-04-15 13:47:18.965 12755 12755 com.google.android.gms D WM-WrkMgrInitializer : Initializing WorkManager with default configuration.
2025-04-15 13:47:18.984 12755 12771 com.google.android.gms D ChimeraServiceProvider : serviceIntentCall: com.google.android.gms.appset.service.START -> Intent { act=com.google.android.gms.appset.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.appset.AppSetService }
2025-04-15 13:47:18.985 12755 12770 com.google.android.gms D ChimeraServiceProvider : serviceIntentCall: com.google.android.gms.appset.service.START -> Intent { act=com.google.android.gms.appset.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.appset.AppSetService }
2025-04-15 13:47:19.001 12755 12755 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 160794467; UID 10104; state: DISABLED
2025-04-15 13:47:19.008 12755 12771 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:19.266 12755 12771 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:19.269 12755 12755 com.google.android.gms D AppSetService : onBind: Intent { act=com.google.android.gms.appset.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.appset.AppSetService }
2025-04-15 13:47:19.276 12755 12775 com.google.android.gms D NetworkLocation : Schedule high-power scan now
2025-04-15 13:47:19.278 12755 12771 com.google.android.gms D AppSetService : bound by: GetServiceRequest[APP_SET, packageName="com.jazibkhan.equalizer", gmsVersion=12451000, scopes=[], extras=Bundle[{}], defaultFeatures=[], apiFeatures=[Feature[app_set_id,1]], supportsConnectionInfo=true]
2025-04-15 13:47:19.279 12755 12770 com.google.android.gms D AppSetService : bound by: GetServiceRequest[APP_SET, packageName="com.jazibkhan.equalizer", gmsVersion=12451000, scopes=[], extras=Bundle[{}], defaultFeatures=[], apiFeatures=[Feature[app_set_id,1]], supportsConnectionInfo=true]
2025-04-15 13:47:19.284 12755 12775 com.google.android.gms D NetworkLocation : Start network scan for WorkSource{1000 android}
2025-04-15 13:47:19.303 12755 12775 com.google.android.gms E AndroidRuntime : FATAL EXCEPTION: NetworkLocationService
Process: com.google.android.gms, PID: 12755
java.lang.NullPointerException
at org.microg.gms.location.network.wifi.ExtensionsKt.toWifiDetails(SourceFile:2)
at org.microg.gms.location.network.NetworkLocationService.scan(Unknown Source:355)
at org.microg.gms.location.network.NetworkLocationService.highPowerScanRunnable$lambda$0(Unknown Source:6)
at org.microg.gms.location.network.NetworkLocationService.h(SourceFile:1)
at org.microg.gms.location.network.e.run(SourceFile:1)
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)
2025-04-15 13:47:19.311 12755 12775 com.google.android.gms I Process : Sending signal. PID: 12755 SIG: 9
2025-04-15 13:47:19.691 12788 12788 com.google.android.gms E gle.android.gms : Not starting debugger since process cannot load the jdwp agent.
2025-04-15 13:47:19.739 12788 12788 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 171979766; UID 10104; state: DISABLED
2025-04-15 13:47:19.746 12788 12788 com.google.android.gms D ApplicationLoaders : Returning zygote-cached class loader: /system/framework/android.test.base.jar
2025-04-15 13:47:19.768 12788 12788 com.google.android.gms V GraphicsEnvironment : ANGLE Developer option for 'com.google.android.gms' set to: 'default'
2025-04-15 13:47:19.769 12788 12788 com.google.android.gms V GraphicsEnvironment : Neither updatable production driver nor prerelease driver is supported.
2025-04-15 13:47:19.769 12788 12788 com.google.android.gms V GraphicsEnvironment : ANGLE GameManagerService for com.google.android.gms: false
2025-04-15 13:47:19.775 12788 12788 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:19.776 12788 12788 com.google.android.gms D NetworkSecurityConfig : Using Network Security Config from resource network_security_config debugBuild: false
2025-04-15 13:47:19.778 12788 12788 com.google.android.gms D ChimeraServiceProvider : onCreate
2025-04-15 13:47:19.778 12788 12788 com.google.android.gms D FontsProvider : onCreate
2025-04-15 13:47:19.783 12788 12788 com.google.android.gms D ActivityThread : Loading provider com.google.android.gms.microg.settings: org.microg.gms.settings.SettingsProvider
2025-04-15 13:47:19.792 12788 12788 com.google.android.gms D GmsPhenotypeCfgProvider : unimplemented Method: onCreate
2025-04-15 13:47:19.792 12788 12788 com.google.android.gms D ProfileManager : Using Serial 008741D9D9E5C2D9
2025-04-15 13:47:19.798 12788 12788 com.google.android.gms D WM-WrkMgrInitializer : Initializing WorkManager with default configuration.
2025-04-15 13:47:19.818 12788 12788 com.google.android.gms D AppSetService : onBind: Intent { act=com.google.android.gms.appset.service.START pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.gms.appset.AppSetService }
2025-04-15 13:47:19.819 4092 7337 com.android.vending D Billing : isBillingSupported(apiVersion=3, packageName=com.joaomgcd.autonotification, type=inapp)=Bundle[{DEBUG_MESSAGE=, RESPONSE_CODE=0}]
2025-04-15 13:47:19.819 4092 7337 com.android.vending D Billing : Result: Bundle[{DEBUG_MESSAGE=, RESPONSE_CODE=0}]
2025-04-15 13:47:19.824 4092 7337 com.android.vending D Billing : isBillingSupported(apiVersion=3, packageName=com.joaomgcd.autonotification, type=subs)=Bundle[{DEBUG_MESSAGE=, RESPONSE_CODE=0}]
2025-04-15 13:47:19.824 4092 7337 com.android.vending D Billing : Result: Bundle[{DEBUG_MESSAGE=, RESPONSE_CODE=0}]
2025-04-15 13:47:19.824 4092 7337 com.android.vending D Billing : Result: Bundle[{DEBUG_MESSAGE=Not yet implemented, RESPONSE_CODE=3}]
2025-04-15 13:47:19.826 12788 12805 com.google.android.gms D CompatibilityChangeReporter : Compat change id reported: 160794467; UID 10104; state: DISABLED
2025-04-15 13:47:19.839 12788 12802 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:20.093 12788 12802 com.google.android.gms D LocationProvider : onEnable
2025-04-15 13:47:20.098 12788 12806 com.google.android.gms D NetworkLocation : Schedule high-power scan now
2025-04-15 13:47:20.104 12788 12806 com.google.android.gms D NetworkLocation : Start network scan for WorkSource{1000 android}
2025-04-15 13:47:20.118 12788 12806 com.google.android.gms E AndroidRuntime : FATAL EXCEPTION: NetworkLocationService
Process: com.google.android.gms, PID: 12788
java.lang.NullPointerException
at org.microg.gms.location.network.wifi.ExtensionsKt.toWifiDetails(SourceFile:2)
at org.microg.gms.location.network.NetworkLocationService.scan(Unknown Source:355)
at org.microg.gms.location.network.NetworkLocationService.highPowerScanRunnable$lambda$0(Unknown Source:6)
at org.microg.gms.location.network.NetworkLocationService.h(SourceFile:1)
at org.microg.gms.location.network.e.run(SourceFile:1)
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)
2025-04-15 13:47:20.124 12788 12806 com.google.android.gms I Process : Sending signal. PID: 12788 SIG: 9
2025-04-15 13:47:20.194 4092 4092 com.android.vending I ActivityThread : Removing dead content provider:android.content.ContentProviderProxy@b4eed3b