mapbox-ios-binding icon indicating copy to clipboard operation
mapbox-ios-binding copied to clipboard

Map crashes in simulator while scrolling

Open ccantill opened this issue 8 years ago • 2 comments

I've just upgraded the MapBox binding to 4.0.2 from 3.6.1, and now I'm seeing crashes while scrolling/zooming through the map:

libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found
2018-06-19 09:25:38.443 Launchpad[43988:1200641] critical: Stacktrace:

2018-06-19 09:25:38.443 Launchpad[43988:1200641] critical:   at <unknown> <0xffffffff>
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) [0x0005c] in <0b60c1467e7449608ac42f9c7bbfdd05>:0
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/UIKit/UIApplication.cs:79
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/UIKit/UIApplication.cs:63
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical:   at Unifly.Launchpad.iOS.Application.Main (string[]) [0x00001] in /Users/christoph/vsworkspace/unifly-launchpad/src/Shared/iOS/Main.cs:12
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <19475de33a3c4bfdb9df32cb528871bb>:0
2018-06-19 09:25:38.444 Launchpad[43988:1200641] critical: 
Native stacktrace:

2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	0   Launchpad                           0x0000000103709674 mono_handle_native_crash + 244
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	1   libsystem_platform.dylib            0x000000011528ff5a _sigtramp + 26
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	2   ???                                 0x000000000000ffff 0x0 + 65535
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	3   libsystem_c.dylib                   0x0000000114ec5c97 abort + 127
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	4   libc++abi.dylib                     0x0000000113e02e6f __cxa_bad_cast + 0
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	5   libc++abi.dylib                     0x0000000113e02ff3 _ZL25default_terminate_handlerv + 241
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	6   libobjc.A.dylib                     0x0000000113e3d2b6 _ZL15_objc_terminatev + 105
2018-06-19 09:25:38.452 Launchpad[43988:1200641] critical: 	7   libc++abi.dylib                     0x0000000113e200ae _ZSt11__terminatePFvvE + 8
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	8   libc++abi.dylib                     0x0000000113e1fd56 __cxa_rethrow + 99
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	9   libobjc.A.dylib                     0x0000000113e3d1cc objc_exception_rethrow + 40
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	10  CoreFoundation                      0x0000000112d64399 CFRunLoopRunSpecific + 777
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	11  GraphicsServices                    0x00000001173a9a73 GSEventRunModal + 62
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	12  UIKit                               0x000000010c875057 UIApplicationMain + 159
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	13  ???                                 0x0000000133ba9ee7 0x0 + 5162835687
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 	14  ???                                 0x0000000133ba9c43 0x0 + 5162835011
2018-06-19 09:25:38.453 Launchpad[43988:1200641] critical: 
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


This happens regardless of the '--registrar:static' argument, and doesn't happen when deploying to my iPhone 6s. Any ideas as to what could be causing this or how to fix it?

ccantill avatar Jun 19 '18 07:06 ccantill

Plz check again with latest version to see if you are still facing the issue.

tuyen-vuduc avatar Jul 24 '18 02:07 tuyen-vuduc

Close because of no response

tuyen-vuduc avatar Oct 17 '18 03:10 tuyen-vuduc