Closed bananer closed 3 years ago
facing same issue here! It was working fine up to db4bb568 . hope to see a fix soon since maps is an important app to me
Issue still present on 0.2.14.204215
Same issue as #1248, this error will become more common as apps stop shipping the Cronet library and only rely on the Play Services version.
Use Cronet from Google Maven instead of prebuilt jars (foss ?) https://github.com/GoogleChromeLabs/cronet-sample/commit/bf3068b73054947c3cbb035915cc0756dfb44d97
In such case, looking for a last known good version might help as older versions might still have its own Cronet library so it won't be affected by the issue.
Same issue on GmsCore 0.2.16.204.713 Google Maps 10.56.1
#######RuntimeEnvironmentInformation#######
crash time=2020-12-25 19:50:24.193
model=E5823
android version=7.1.1(25)
brand=Sony
manufacturer=Sony
board=msm8994
hardware=qcom
device=E5823
version name=10.56.1
supported ABIs=arm64-v8a & armeabi-v7a & armeabi
display=32.4.A.1.54
#######ForceCloseCrashLog#######
java.lang.UnsupportedOperationException: The bidirectional stream API is not supported by the Java implementation of Cronet Engine
at ecsy.newBidirectionalStreamBuilder(PG:1)
at eaps.a(PG:4)
at eaqd.a(PG:2)
at eatd.run(PG:1)
at eato.p(PG:5)
at eato.o(PG:4)
at eayp.c(PG:5)
at eakh.a(PG:8)
at eape.a(PG:10)
at ddon.run(PG:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
The last version that works for me is 10.49.3. Anything 10.50 and newer crashes with this same problem.
So for now, just disable auto updates on the apps whose newer versions have this issue...
This issue still there with Maps 10.58.3.
2021-01-22 10:58:19.574 838-1632/? D/Launcher: get showing item successandroid.graphics.Bitmap@a44c7c
2021-01-22 10:58:19.608 3908-14481/? I/ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10046, mForegroundPid=838, mLastForegroundPackageName='com.google.android.apps.maps', mLastForegroundUid=10285, mLastForegroundPid=12314, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:19.608 3908-14481/? I/GameBoosterService: onForegroundInfoChanged: Cur=com.miui.home last=com.google.android.apps.maps
2021-01-22 10:58:19.609 3908-14481/? D/GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10046, mForegroundPid=838, mLastForegroundPackageName='com.google.android.apps.maps', mLastForegroundUid=10285, mLastForegroundPid=12314, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:20.483 838-838/? D/miui_anim: prepare, from AnimState{mTag='myUp', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='scaleY'}=StateValue{value=1.0000892, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=1.0000892, intValue = 0, enable=true}}, 2.{}]}, to AnimState{mTag='myDown', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='scaleY'}=StateValue{value=0.8, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=0.8, intValue = 0, enable=true}}, 2.{}]}, oneTimeConfigs.length = 1, target = com.miui.home.launcher.ShortcutIcon{233d3ea V.E...... ........ 29,287-278,574}(Maps)
2021-01-22 10:58:20.533 838-838/? D/miui_anim: prepare, from AnimState{mTag='myDown', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='scaleY'}=StateValue{value=0.9685595, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=0.9685595, intValue = 0, enable=true}}, 2.{}]}, to AnimState{mTag='myUp', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='scaleY'}=StateValue{value=1.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=1.0, intValue = 0, enable=true}}, 2.{}]}, oneTimeConfigs.length = 1, target = com.miui.home.launcher.ShortcutIcon{233d3ea V.E...... ...P..I. 29,287-278,574}(Maps)
2021-01-22 10:58:20.549 1647-1673/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.maps/com.google.android.maps.MapsActivity bnds=[169,1017][337,1185] (has extras)} from uid 10046
2021-01-22 10:58:20.610 3908-14481/? I/ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.google.android.apps.maps', mForegroundUid=10285, mForegroundPid=12314, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10046, mLastForegroundPid=838, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:20.610 3908-14481/? I/GameBoosterService: onForegroundInfoChanged: Cur=com.google.android.apps.maps last=com.miui.home
2021-01-22 10:58:20.611 3908-14481/? D/GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.google.android.apps.maps', mForegroundUid=10285, mForegroundPid=12314, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10046, mLastForegroundPid=838, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:20.811 777-1308/? D/SurfaceFlinger: duplicate layer name: changing com.google.android.apps.maps/com.google.android.maps.MapsActivity to com.google.android.apps.maps/com.google.android.maps.MapsActivity#1
2021-01-22 10:58:20.892 1647-1928/? I/ActivityManager: Displayed com.google.android.apps.maps/com.google.android.maps.MapsActivity: +275ms
2021-01-22 10:58:20.972 1647-1928/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{be27666 u0 com.google.android.apps.maps/com.google.android.maps.MapsActivity t1111} time:331767360
2021-01-22 10:58:21.013 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523008
2021-01-22 10:58:21.043 777-1308/? W/SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.google.android.apps.maps#0
2021-01-22 10:58:21.043 777-1308/? W/SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.google.android.apps.maps#0
2021-01-22 10:58:21.084 12314-12324/? I/droid.apps.map: Background concurrent copying GC freed 458145(16MB) AllocSpace objects, 101(7MB) LOS objects, 41% free, 33MB/57MB, paused 208us total 260.580ms
2021-01-22 10:58:22.902 12314-12396/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:22.909 12314-12314/? W/Activity: Slow Operation: Activity com.google.android.apps.maps/com.google.android.maps.MapsActivity onStop took 2031ms
2021-01-22 10:58:22.953 12314-12314/? E/WindowManager: android.view.WindowLeaked: Activity com.google.android.maps.MapsActivity has leaked window android.widget.PopupWindow$PopupDecorView{29936d V.E...... R.....ID 0,0-520,224} that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:541)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1434)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1203)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1170)
at cmly.a(Unknown Source:533)
at cmms.b(PG:8)
at cmms.<init>(PG:3)
at cmlz.a(PG:6)
at cmsf.a(PG:13)
at ahaq.f(PG:9)
at ccde.a(PG:40)
at ahdi.onLayoutChange(PG:5)
at android.view.View.layout(View.java:20717)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at gpd.f(PG:1)
at com.google.android.apps.gmm.base.layout.MainLayout.onLayout(PG:5)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:20699)
at android.view.ViewGroup.layout(ViewGroup.java:6198)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:757)
at android.view.View.layout(View.java:20699)
2021-01-22 10:58:22.957 777-1308/? W/SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{4ee141f token=Token{7450bbe ActivityRecord{1b62340 u0 com.google.android.apps.maps/com.google.android.maps.MapsActivity t1110}}}#0
2021-01-22 10:58:23.034 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.102 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.138 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.145 12314-12314/? W/View: requestLayout() improperly called by com.google.android.apps.gmm.map.ui.CompassButtonView{ffdd531 IFE...C.. ......I. 900,186-1044,330 #7f0b00d4 app:id/base_compass_button} during layout: running second layout pass
2021-01-22 10:58:23.174 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.234 12314-12643/? I/chatty: uid=10285(com.google.android.apps.maps) LabelingPool1 identical 1 line
2021-01-22 10:58:23.269 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.318 10351-10370/? D/ActivityUtils: packageNameComponentInfo{com.google.android.apps.maps/com.google.android.maps.MapsActivity}
2021-01-22 10:58:23.377 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523006
2021-01-22 10:58:23.508 12314-12643/? I/droid.apps.map: Note: end time exceeds INT32_MAX: 9223372036523005
2021-01-22 10:58:23.526 12314-12466/? E/AndroidRuntime: FATAL EXCEPTION: grpc-default-executor-1
Process: com.google.android.apps.maps, PID: 12314
java.lang.UnsupportedOperationException: The bidirectional stream API is not supported by the Java implementation of Cronet Engine
at eeiu.newBidirectionalStreamBuilder(PG:1)
at eceo.a(PG:4)
at ecez.a(PG:2)
at echy.run(PG:1)
at ecij.p(PG:5)
at ecij.o(PG:4)
at ecnn.c(PG:5)
at ebzd.a(PG:8)
at ecea.a(PG:10)
at deox.run(PG:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
2021-01-22 10:58:23.537 1647-6951/? W/ActivityManager: Force finishing activity com.google.android.apps.maps/com.google.android.maps.MapsActivity
2021-01-22 10:58:23.539 838-867/? D/Launcher: get showing item successandroid.graphics.Bitmap@a44c7c
2021-01-22 10:58:23.558 3908-21169/? I/ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10046, mForegroundPid=838, mLastForegroundPackageName='com.google.android.apps.maps', mLastForegroundUid=10285, mLastForegroundPid=12314, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:23.558 3908-21169/? I/GameBoosterService: onForegroundInfoChanged: Cur=com.miui.home last=com.google.android.apps.maps
2021-01-22 10:58:23.559 3908-21169/? D/GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10046, mForegroundPid=838, mLastForegroundPackageName='com.google.android.apps.maps', mLastForegroundUid=10285, mLastForegroundPid=12314, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2021-01-22 10:58:23.569 1647-1828/? W/BroadcastQueue: Skipping deliver [background] BroadcastRecord{9a626c5 u0 ajcp.STATUS_CHECK_COMPLETE} to ReceiverList{ba7f926 12314 com.google.android.apps.maps/10285/u0 remote:7e8d481}: process gone or crashing
2021-01-22 10:58:23.686 1647-2167/? W/InputDispatcher: channel 'add1fc6 com.google.android.apps.maps/com.google.android.maps.MapsActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
2021-01-22 10:58:23.686 1647-2167/? E/InputDispatcher: channel 'add1fc6 com.google.android.apps.maps/com.google.android.maps.MapsActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2021-01-22 10:58:23.696 1647-30058/? I/ActivityManager: Process com.google.android.apps.maps (pid 12314) has died: vis TOP
2021-01-22 10:58:23.697 1647-3769/? I/WindowManager: WIN DEATH: Window{add1fc6 u0 com.google.android.apps.maps/com.google.android.maps.MapsActivity}
2021-01-22 10:58:23.697 1647-3769/? W/InputDispatcher: Attempted to unregister already unregistered input channel 'add1fc6 com.google.android.apps.maps/com.google.android.maps.MapsActivity (server)'
2021-01-22 10:58:23.709 1647-30058/? I/AutoStartManagerService: MIUILOG- Reject RestartService packageName :com.google.android.apps.maps uid : 10285
2021-01-22 10:58:23.719 777-3261/? W/SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{ce2c5fd token=Token{7840254 ActivityRecord{be27666 u0 com.google.android.apps.maps/com.google.android.maps.MapsActivity t1111}}}#0
2021-01-22 10:58:23.709 1647-30058/? I/AutoStartManagerService: MIUILOG- Reject RestartService packageName :com.google.android.apps.maps uid : 10285
2021-01-22 10:58:23.795 2312-2312/? D/StatusBar: update app badge num: com.google.android.apps.maps/,num=0,isAllowed=false,userId=0
2021-01-22 10:58:23.801 838-838/? I/Launcher.ApplicationsMessage: update com.google.android.apps.maps/ to null
Google seems to have gotten more aggressive about pushing people to upgrade play store. Maps version 10.49.3 is still working for me, but every time I open it I get a popup telling me I should upgrade play store to ensure maps will work properly.
Store and its service are updated. But it doesnt help.
Google seems to have gotten more aggressive about pushing people to upgrade play store. Maps version 10.49.3 is still working for me, but every time I open it I get a popup telling me I should upgrade play store to ensure maps will work properly.
I freeze this "gulugulu prey spore" when it is not needed (for license activation of bought software) with Titanium Backup, so it does not eat up battery, nor does update twice a day. For most of time when I need to install something from there, I use Aurora Store, which also can be used to install particular software build from "gulugulu prey spore". I.e. Maps 10.49.3. But you should search proper version number — mine is 1049301243 BUNDLE 2 S September 4, 2020 arm64-v8a Android 5.0+ 320dpi; and do not use nodpi versions. And I don't have any update popups from Maps application.
Thank to finding this bug report, https://gitlab.e.foundation/e/backlog/-/issues/2041 , I now have a workaround.
First, check to make sure permission spoof is enabled for FakeStore if not using phonesky. There are three different ways of doing this, the OS gui, adb, or using a terminal app. Details upon request.
Go into settings->apps and select google maps. Force stop, clear cache, clear data, and then uninstall google maps.
Go into microg setting and disable "cloud messaging". Note that in my case, gmail still work with this turned off.
Install Google Maps. Open maps up and it should display the world with the proper google account profile icon. No permissions need to be set before hand. Be sure to enable location permission to use maps with gps. Note that I did have "apps can find accounts" global permission in microg set on.
I did try different things to have other apps cloud messaging enable but map disabled. There is no way pre-empt the first registration in order to disable it microg. Not even un-registering maps and disable cloud messaging for maps will prevent the crash on startup. Only nuking the app and re-installing with "cloud messaging" disabled will keep it from crashing.
Perhaps having a "cloud messaging" app blacklist that will treat an app on the list like could messaging is globally disabled.
Update: In another post, I learned there is an "advance" setting that somewhat hidden. Press the three dots, "Advance", and then "Confirm new apps". This can be used to allow push notices work for other apps while preventing maps from registering in the first place and crashing.
@Techwolf
Update: In another post, I learned there is an "advance" setting that somewhat hidden. Press the three dots, "Advance", and then "Confirm new apps". This can be used to allow push notices work for other apps while preventing maps from registering in the first place and crashing.
Thank you for this. Fixed Google Maps (as well as the McDonald's app, lol)
@Techwolf Even easier option if you have maps already installed (like older version) is to go to MicroG Settings -> Cloud Messaging -> Maps and set "Allow registeration" to "Off" and then Unregister it. And that's it, no other settings necessary. You can now update Maps to the newest version. This solutions allows you to keep automatic cloud messaging registeration on for compatibility with other apps, and have maps working at the same time.
@Techwolf Even easier option if you have maps already installed (like older version) is to go to MicroG Settings -> Cloud Messaging -> Maps and set "Allow registeration" to "Off" and then Unregister it. And that's it, no other settings necessary. You can now update Maps to the newest version.
Tried that a few times. Does not work, have to un-install, make sure settings are correct to block registration, then re-install.
@Techwolf Even easier option if you have maps already installed (like older version) is to go to MicroG Settings -> Cloud Messaging -> Maps and set "Allow registeration" to "Off" and then Unregister it. And that's it, no other settings necessary. You can now update Maps to the newest version.
Tried that a few times. Does not work, have to un-install, make sure settings are correct to block registration, then re-install.
This was exactly the case for me.
Version 0.2.21.212158 includes cronet, which fixes this issue for me.
Cheers!
Affected app Name: Google Maps Package id: com.google.android.apps.maps
Describe the bug When opening Google Maps, after a few seconds it force closes. This only occurs when logged in to a Google Account via microG and only when restarting the App after the login.
Here's a logcat from start until crash:
To Reproduce Steps to reproduce the behavior:
Expected behavior App does not crash
System Android Version: 10 Custom ROM: LineageOS 17.1
microG microG Core version: 0.2.13.203915 microG Self-Check results: All ticked
Additional context I remember it was working with a previous version of Google Maps