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

Maps Compose: SIGABRT exception #583

Open
michal-chojnacki opened this issue Jun 13, 2024 · 3 comments
Open

Maps Compose: SIGABRT exception #583

michal-chojnacki opened this issue Jun 13, 2024 · 3 comments
Labels
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

@michal-chojnacki
Copy link

Thanks for stopping by to let us know something could be better!


PLEASE READ

If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.

Check for answers on StackOverflow with the google-maps tag.


Please be sure to include as much information as possible:

Environment details

  1. Specify the API at the beginning of the title (for example, "Places: ...")
  2. Android v 9, 10, 11, 12, 13, 14
  3. Library version and other environment information

Steps to reproduce

I have a problem because on Sentry I have logs that app crashes on screens with maps from time to time. After investigation I can't find the reason why it can happen. I'll be grateful for help./

Code example

    val cameraPositionState = rememberCameraPositionState()
    LaunchedEffect(cameraPositionState, coordinates) {
        coordinates?.let {
            val latLng = LatLng(coordinates.latitude, coordinates.longitude)
            cameraPositionState.animate(CameraUpdateFactory.newLatLngZoom(latLng, IN_DETAILS_ZOOM))
        }
    }


    GoogleMap(
            modifier = modifier
                .fillMaxWidth()
                .clip(RoundedCornerShape(12.dp))
                .height(180.dp),
            uiSettings = MapUiSettings(
                zoomControlsEnabled = false,
                mapToolbarEnabled = false,
                compassEnabled = false,
                scrollGesturesEnabled = false,
                tiltGesturesEnabled = false,
                indoorLevelPickerEnabled = false,
                myLocationButtonEnabled = false,
                rotationGesturesEnabled = false,
                scrollGesturesEnabledDuringRotateOrZoom = false,
                zoomGesturesEnabled = false,
            ),
            cameraPositionState = cameraPositionState,
            properties = MapProperties(
                mapStyleOptions = MapStyleOptions.loadRawResourceStyle(LocalContext.current, R.raw.google_map_style),
            ),

Stack trace

OS Version: Android 13 (TP1A.220624.014.A536BXXS7CWI1)
Report Version: 104

Exception Type: Unknown (SIGABRT)

Application Specific Information:
Abort

Thread 0 Crashed:
0   libc.so                         0x72ae161ba8        abort
1   libart.so                       0x6ffcf6fee0        art::Runtime::Abort
2   libbase.so                      0x72b50757d0        <unknown> + 492663429072
3   libbase.so                      0x72b5074d58        android::base::LogMessage::~LogMessage
4   libart.so                       0x6ffcbeb64c        art::JavaVMExt::JniAbort
5   libart.so                       0x6ffcea3410        <unknown> + 480984577040
6   dl-MapsCoreDynamite.integ_241610202100400.apk0x6e76a9dfec        <unknown> + 474437246956
7   libart.so                       0x6ffcb51e30        <unknown> + 480981098032
8   libart.so                       0x6ffcdb8b18        <unknown> + 480983616280
9   base.apk                        0x6ea0c54658        <unknown>
10  libart.so                       0x6ffcdba0d8        <unknown> + 480983621848
11  base.apk                        0x6ea0c543e6        <unknown>
12  libart.so                       0x6ffcdb99d4        <unknown> + 480983620052
13  base.apk                        0x6ea0cb6826        <unknown>
14  libart.so                       0x6ffcdb8ab4        <unknown> + 480983616180
15  base.apk                        0x6ea0cc2b86        <unknown>
16  libart.so                       0x6ffcdb9264        <unknown> + 480983618148
17  base.apk                        0x6ea0cd3918        <unknown>
18  libart.so                       0x6ffcdbaf14        <unknown> + 480983625492
19  base.apk                        0x6ea0cd774e        <unknown>
20  libart.so                       0x6ffcdba7f4        <unknown> + 480983623668
21  base.apk                        0x6ea0ccaeae        <unknown>
22  boot.oat                        0x71a696ac          <unknown> + 1906742956

Following these steps will guarantee the quickest resolution possible.

Thanks!

@michal-chojnacki michal-chojnacki 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 Jun 13, 2024
@kikoso
Copy link
Collaborator

kikoso commented Jun 18, 2024

Hi @michal-chojnacki ,

Is this happening on any specific device brand, like Huawei or Xiaomi?

@michal-chojnacki
Copy link
Author

No, I don't see any correlation. There are many different manufacturers also Samsungs, Motorollas etc.

@jared-ca
Copy link

Got this crash as well on a Pixel 8 Pro:

OS Version: Android 14 (UD1A.230803.041)
Report Version: 104

Exception Type: Unknown (SIGABRT)

Application Specific Information:
Abort

Thread 0 Crashed:
0   libc.so                         0x7bd8c9b1a4        abort
1   libart.so                       0x7921d910cc        art::Runtime::Abort
2   libbase.so                      0x7bbd2f57d0        <unknown> + 531454973904
3   libbase.so                      0x7bbd2f4d58        android::base::LogMessage::~LogMessage
4   libart.so                       0x79219f0704        art::JavaVMExt::JniAbort
5   libart.so                       0x7921ca72fc        <unknown> + 520257958652
6   dl-MapsCoreDynamite.integ_242112601100400.apk0x76df8bd92c        <unknown> + 510556625196
7   libart.so                       0x7921977030        <unknown> + 520254615600
8   libart.so                       0x7921b89d98        <unknown> + 520256789912
9   <unknown>                       0x790d5733c8        <unknown>
10  libart.so                       0x7921b8b358        <unknown> + 520256795480
11  <unknown>                       0x790d573156        <unknown>
12  libart.so                       0x7921b8ac54        <unknown> + 520256793684
13  <unknown>                       0x790d5d5afe        <unknown>
14  libart.so                       0x7921b89d98        <unknown> + 520256789912
15  <unknown>                       0x790d589ee0        <unknown>
16  libart.so                       0x7921b8b358        <unknown> + 520256795480
17  <unknown>                       0x790d58b520        <unknown>
18  libart.so                       0x7921b8b358        <unknown> + 520256795480
19  <unknown>                       0x790d6a682c        <unknown>
20  libart.so                       0x7921b8b358        <unknown> + 520256795480
21  <unknown>                       0x790d6afc3c        <unknown>
22  libart.so                       0x7921b8ac54        <unknown> + 520256793684
23  <unknown>                       0x790d6af8f0        <unknown>
24  libart.so                       0x7921b8ac54        <unknown> + 520256793684
25  <unknown>                       0x790d6aefa6        <unknown>
26  libart.so                       0x7921b8bb20        <unknown> + 520256797472
27  <unknown>                       0x790d682d40        <unknown>
28  boot.oat                        0x71d09d7c          <unknown> + 1909497212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants