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

Crash com.google.maps.api.android.lib6.phoenix.cv.d #560

Open
aritra-tech opened this issue Apr 25, 2024 · 8 comments
Open

Crash com.google.maps.api.android.lib6.phoenix.cv.d #560

aritra-tech opened this issue Apr 25, 2024 · 8 comments
Labels
needs more info This issue needs more information from the customer to proceed. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@aritra-tech
Copy link

Fatal Exception: java.lang.ClassCastException
java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode

Crash Log

       at java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1963)
       at java.util.HashMap$TreeNode.treeify(HashMap.java:2079)
       at java.util.HashMap.treeifyBin(HashMap.java:768)
       at java.util.HashMap.putVal(HashMap.java:640)
       at java.util.HashMap.put(HashMap.java:608)
       at com.google.maps.api.android.lib6.phoenix.cv.d(:com.google.android.gms.policy_maps_core_dynamite@[email protected]:221)
       at com.google.maps.api.android.lib6.impl.eo.run(:com.google.android.gms.policy_maps_core_dynamite@[email protected]:13)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)```
@aritra-tech aritra-tech added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 25, 2024
@wangela
Copy link
Member

wangela commented Apr 25, 2024

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@aritra-tech Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

@kikoso
Copy link
Collaborator

kikoso commented May 6, 2024

@aritra-tech , can you provide some steps to reproduce this issue?

@kikoso kikoso added the needs more info This issue needs more information from the customer to proceed. label May 6, 2024
@kikoso
Copy link
Collaborator

kikoso commented May 13, 2024

aritra-tech, did you have the chance to check the message above?

@binayshaw7777
Copy link

@kikoso Hey, sorry for the late response. We are working together and we found out multiple instance of this from Firebase Crashlytics log. This is from the prod release crash log and never faced this ourselves, hence we can't reproduce it.

@aritra-tech
Copy link
Author

Hey, @kikoso in our debug build it's working fine but in prod it's getting multiple instances. It is mainly happening on Android 14and after checking the logs whenever the user comes to the Map Screen it crashes.

Is it occurring because the version of google maps compose?

@eckoj433
Copy link

Hey, @kikoso in our debug build it's working fine but in prod it's getting multiple instances. It is mainly happening on Android 14and after checking the logs whenever the user comes to the Map Screen it crashes.

Is it occurring because the version of google maps compose?

having the same exact issue, can not reproduce but seeing it in crashlytics. We however have an even spread of android 11, 12, 13 and 14.

@kikoso
Copy link
Collaborator

kikoso commented May 28, 2024

Hi @aritra-tech and @eckoj433 .

Without a snippet that we could use to reproduce the issue it is hard to say. At a first glance it does not seem that this is triggered by the Compose layer. From what I see it could be related to a concurrency issue.

Let's keep this open until we can gather more information.

@ChristophKaser
Copy link

I am seeing the same issue (in production) with a Mapview without compose, so it seems to be a concurrency issue in the Google Maps Library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

6 participants