Open felix-mittermeier opened 2 years ago
Same issue here. Any idea what is the reason for this error? I've tried looking for information but there isn't much on it.
Same issue here. Any idea what is the reason for this error? I've tried looking for information but there isn't much on it.
I already tried to handle this in several attempts and used quite a huge amount of time on this but no luck so far unfortunately.
Any update on this? Having the same problem
MGLMapView WARNING UIViewController.automaticallyAdjustsScrollViewInsets is deprecated use MGLMapView.automaticallyAdjustContentInset instead.
libc++abi: terminating with uncaught exception of type std::runtime_error
* thread #48, name = 'com.mapbox.mbgl.ResourceLoaderThread', stop reason = signal SIGABRT
frame #0: 0x0000000202b25b38 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`:
-> 0x202b25b38 <+8>: b.lo 0x202b25b58 ; <+40>
0x202b25b3c <+12>: pacibsp
0x202b25b40 <+16>: stp x29, x30, [sp, #-0x10]!
0x202b25b44 <+20>: mov x29, sp
Target 0: (Runner) stopped.
There is a native crash on iOS when multiple offline region are downloaded, canceled and restarted again simultaneously. It's hard to provide a minimum reproducible example but maybe the exact log can already help to determine the cause of this. Looks like some kind of wrong pointer reference error.
Summary:
Extended stack trace:
Click to show the whole log
``` Exception Type: EXC_CRASH (SIGABRT) Crashed Thread: 0 Application Specific Information: Runner > Runner(34050,0x102f10580) malloc: *** error for object 0x163039000: pointer being freed was not allocated Thread 0 Crashed: 0 libsystem_kernel.dylib 0x38259db78 __pthread_kill 1 libsystem_pthread.dylib 0x3f51d53b8 pthread_kill 2 libsystem_c.dylib 0x32946c518 abort 3 libsystem_malloc.dylib 0x3376e8a00 malloc_vreport 4 libsystem_malloc.dylib 0x3376e8bd8 malloc_report 5 libsystem_malloc.dylib 0x3376cde34 free 6 Mapbox 0x1037df318 mbgl::style::StyleData::~StyleData 7 Mapbox 0x103522650 mbgl::OfflineDownloadStatus::~OfflineDownloadStatus 8 Mapbox 0x1038e049c MBGLOfflineDownloadObserver::statusChanged 9 libdispatch.dylib 0x312b8fe64 _dispatch_call_block_and_release 10 libdispatch.dylib 0x312b91a28 _dispatch_client_callout 11 libdispatch.dylib 0x312b9ff44 _dispatch_main_queue_drain 12 libdispatch.dylib 0x312b9fb94 _dispatch_main_queue_callback_4CF 13 CoreFoundation 0x3131e62ec __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 14 CoreFoundation 0x3131a01f0 __CFRunLoopRun 15 CoreFoundation 0x3131b36b4 CFRunLoopRunSpecific 16 GraphicsServices 0x34b305370 GSEventRunModal 17 UIKitCore 0x317f89e84 -[UIApplication _run] 18 UIKitCore 0x317d0b5e8 UIApplicationMain 19 Runner 0x202cad824Mapbox SDK and iOS are both running on the latest version Flutter Version: 2.10.5