Select to view content in your preferred language

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) when zooming out of loaded mmpk map

473
4
08-26-2024 03:18 PM
khitk_abadata
Emerging Contributor

Hi,

I've been getting this error when a user zoom out to a bigger scale
Devices: Emulators, and some Samsung devices

SDK Version: Tried 200.3.0, 200.4.0, and 200.5.0 no luck 😞

Scenario: Load the mmpk file using below simple code. Once the map is loading and the default zoom scale is bigger enough, for a couple seconds, it crashes. Otherwise, crashes when zooming out manually from a smaller zoom scale

Workaround: It used to be working by made mmpk clipping only extent of locations on map for the previous of mmpk version but for a reason... have to look for a new long-term approach.

Note:

- for iOS sdk it does work fine for the same mmpk file.

- It loads fine for a smaller area of interest such as a single province


Simple implementation code under a composable function here:

 

suspend fun initializeMap() {
    mapView = MapView(context).apply {
          val mapPackage = MobileMapPackage(mapFilePath)
          mapPackage.load().getOrElse { error ->
               throw error
          }

          map = mapPackage.maps.first()
    }
}

LaunchedEffect(Unit) {
     initializeMap()
}

 

 

and here what it throwed

 

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE)

crash_dump64 Cmdline: com.packagename

crash_dump64 pid: 12838, tid: 12928, name: name >>> com.packagename <<<

#07 pc 00000000043853e4 /data/app/~~vh1ESb_-8BGabdg5MPO4rQ==/com.packagename-8SA2wKl8egZn-73YInHaFQ==/base.apk!libruntimecore.so (offset 0x4c7c000) (BuildId: 4541ba511476b3cd37364948c454e5c2c5b3ad09)
#08 pc 00000000043852e0 /data/app/~~vh1ESb_-8BGabdg5MPO4rQ==/com.packagename-8SA2wKl8egZn-73YInHaFQ==/base.apk!libruntimecore.so (offset 0x4c7c000) (BuildId: 4541ba511476b3cd37364948c454e5c2c5b3ad09)

 

and so on similar to above...

Also, did get native crash logcat which was

 

Java_com_arcgismaps_internal_jni_CoreMapView_nativeSetMap+20

 

 

Please let me know if anyone has any questions.

Thank you

0 Kudos
4 Replies
GuntherHeppner
Esri Contributor

@khitk_abadata - are you able to share your mmpk with us?

0 Kudos
khitk_abadata
Emerging Contributor

Sure. I'll dm it to you. Thanks

0 Kudos
GuntherHeppner
Esri Contributor

@khitk_abadata - thanks for sharing the mmpk. I was able to reproduce the crash. We are investigating.

0 Kudos
khitk_abadata
Emerging Contributor

@GuntherHeppner Thanks. please let me know if there is anything I could help

0 Kudos