icerockdev / moko-maps

Control your map from common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
86 stars 16 forks source link

Sample crashed after open mapbox screen #46

Closed Dorofeev closed 4 years ago

Dorofeev commented 4 years ago

Sample app crashed right after press "Mapbox Maps" button on main screen

0   ???                                 0x0000000117d3890c 0x0 + 4694706444,
1   moko-maps                           0x000000010236561c main + 0,
2   Mapbox                              0x0000000102deb47c -[MGLMapView addAnnotations:] + 1832,
3   Mapbox                              0x0000000102deacec -[MGLMapView addAnnotation:] + 120,
4   MultiPlatformLibrary                0x000000010ad1dee4 kfun:dev.icerock.moko.maps.mapbox.MapboxController#addMarker(dev.icerock.moko.resources.ImageResource;dev.icerock.moko.geo.LatLng;kotlin.Float;kotlin.Function0<kotlin.Unit>?){}dev.icerock.moko.maps.Marker + 1248,
5   MultiPlatformLibrary                0x000000010ad2d260 kfun:com.icerockdev.library.MapboxViewModel.$createMarkersCOROUTINE$5.invokeSuspend#internal + 1036,
6   MultiPlatformLibrary                0x000000010ad2db08 kfun:com.icerockdev.library.MapboxViewModel.createMarkers#internal + 212,
7   MultiPlatformLibrary                0x000000010ad30204 kfun:com.icerockdev.library.MapboxViewModel.$start$lambda-1COROUTINE$7.invokeSuspend#internal + 5244,
8   MultiPlatformLibrary                0x000000010aa2c1ac kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 532,
9   MultiPlatformLibrary                0x000000010ab2f2bc kfun:kotlinx.coroutines.DispatchedTask#run(){} + 2236,
10  MultiPlatformLibrary                0x000000010ad26200 kfun:dev.icerock.moko.mvvm.viewmodel.UIDispatcher.dispatch$lambda-0#internal + 112,
11  MultiPlatformLibrary                0x000000010ad26728 kfun:dev.icerock.moko.mvvm.viewmodel.UIDispatcher.$dispatch$lambda-0$FUNCTION_REFERENCE$10.invoke#internal + 64,
12  MultiPlatformLibrary                0x000000010ad26788 kfun:dev.icerock.moko.mvvm.viewmodel.UIDispatcher.$dispatch$lambda-0$FUNCTION_REFERENCE$10.$<bridge-UNN>invoke(){}#internal + 64,
13  MultiPlatformLibrary                0x000000010ad26bb8 _6465762e696365726f636b2e6d6f6b6f3a6d76766d_knbridge4 + 188,
14  libdispatch.dylib                   0x000000010c0fe338 _dispatch_call_block_and_release + 24,
15  libdispatch.dylib                   0x000000010c0ff730 _dispatch_client_callout + 16,
16  libdispatch.dylib                   0x000000010c10d710 _dispatch_main_queue_callback_4CF + 976,
17  CoreFoundation                      0x00000001a1da67fc 50CF3336-313F-3A7D-9048-CB1ED8EC3368 + 690172,
18  CoreFoundation                      0x00000001a1da16d0 50CF3336-313F-3A7D-9048-CB1ED8EC3368 + 669392,
19  CoreFoundation                      0x00000001a1da0ce8 CFRunLoopRunSpecific + 424,
20  GraphicsServices                    0x00000001abeeb38c GSEventRunModal + 160,
21  UIKitCore                           0x00000001a5ecf444 UIApplicationMain + 1932,
22  moko-maps                           0x000000010236565c main + 64,
23  libdyld.dylib                       0x00000001a1c288f0 3D6D64B4-CB2B-3CC4-A7E9-02774DF7AE74 + 6384