maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
1.07k stars 314 forks source link

Fatal Exception: std::out_of_range #2306

Closed 150vb closed 5 months ago

150vb commented 6 months ago

Describe the bug Fatal Exception: std::out_of_range occurred

To Reproduce No reproducible steps have been found.

Platform information (please complete the following information):

Relevant Log Output

<details><summary>crash report</summary>

# Crashlytics - Stack trace
# Application: my-app-bundle-id
# Platform: apple
# Version: 12.2.0 (16)
# Issue: 62751283f37ff98f4a8da99a0ad0ae2e
# Session: 8fcd5814bf0a4f589549160abca1f58c_DNE_0_v2
# Date: Tue Mar 12 2024 17:31:37 GMT+0900 (Japan Standard Time)

Fatal Exception: std::out_of_range

Crashed: com.google.firebase.crashlytics.ios.exception
0  MyApp                           0x85548 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  MyApp                           0x85928 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  MyApp                           0x933f8 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  MyApp                           0x9324c __FIRCLSExceptionRecord_block_invoke + 232 (FIRCLSException.mm:232)
4  libdispatch.dylib               0x3fdc _dispatch_client_callout + 20
5  libdispatch.dylib               0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  MyApp                           0x92258 FIRCLSExceptionRecord + 234 (FIRCLSException.mm:234)
7  MyApp                           0x92004 FIRCLSTerminateHandler() + 412 (FIRCLSException.mm:412)
8  MyKotlinMultiplatformLib        0x1318a14 (anonymous namespace)::TerminateHandler::queuedHandler()::'lambda'()::operator()() const + 22
9  MyKotlinMultiplatformLib        0x1318950 void (anonymous namespace)::$_0::operator()<(anonymous namespace)::TerminateHandler::queuedHandler()::'lambda'()>((anonymous namespace)::TerminateHandler::queuedHandler()::'lambda'()) + 52
10 MyKotlinMultiplatformLib        0x131891c (anonymous namespace)::TerminateHandler::queuedHandler() + 10
11 MyKotlinMultiplatformLib        0x1318658 (anonymous namespace)::TerminateHandler::kotlinHandler() + 392
12 libc++abi.dylib                 0x10f28 std::__terminate(void (*)()) + 20
13 libc++abi.dylib                 0x13ecc __cxa_rethrow + 148
14 libobjc.A.dylib                 0x196b4 objc_exception_rethrow + 44
15 CoreFoundation                  0x80f84 CFRunLoopRunSpecific + 808
16 GraphicsServices                0x1368 GSEventRunModal + 164
17 UIKitCore                       0x3a186c -[UIApplication _run] + 888
18 UIKitCore                       0x3a14d0 UIApplicationMain + 340
19 MyApp                           0x81c0 main + 13 (main.swift:13)
20 ???                             0x1c9952960 (Missing)

GC Timer thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcb68 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
3  MyKotlinMultiplatformLib       0x12fe9d0 void kotlin::RepeatedTimer<kotlin::steady_clock>::Run<kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()>(kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()&&) + 260
4  MyKotlinMultiplatformLib       0x12fec74 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer<kotlin::steady_clock>::*&&)(kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimer<kotlin::steady_clock>*&&, kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()&&), kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer<kotlin::steady_clock>::*)(kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimer<kotlin::steady_clock>*, kotlin::gc::internal::GCSchedulerDataWithTimer<kotlin::steady_clock>::GCSchedulerDataWithTimer(kotlin::gc::GCSchedulerConfig&, std::__1::function<void ()>)::'lambda'()> >(void*) + 112
5  libsystem_pthread.dylib        0x16cc _pthread_start + 148
6  libsystem_pthread.dylib        0xba4 thread_start + 8

GC thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MyKotlinMultiplatformLib       0x13022c8 std::__1::invoke_result<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::mm::ObjectFactory<kotlin::gc::ConcurrentMarkAndSweep>&, kotlin::gc::GCScheduler&)::$_3>::type kotlin::ScopedThread::Run<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::mm::ObjectFactory<kotlin::gc::ConcurrentMarkAndSweep>&, kotlin::gc::GCScheduler&)::$_3>(kotlin::ScopedThread::attributes, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::mm::ObjectFactory<kotlin::gc::ConcurrentMarkAndSweep>&, kotlin::gc::GCScheduler&)::$_3&&) + 228
4  MyKotlinMultiplatformLib       0x13033bc void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(kotlin::ScopedThread::attributes, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::mm::ObjectFactory<kotlin::gc::ConcurrentMarkAndSweep>&, kotlin::gc::GCScheduler&)::$_3&&), kotlin::ScopedThread::attributes, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::mm::ObjectFactory<kotlin::gc::ConcurrentMarkAndSweep>&, kotlin::gc::GCScheduler&)::$_3> >(void*) + 104
5  libsystem_pthread.dylib        0x16cc _pthread_start + 148
6  libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  Foundation                     0x420d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41fbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x4d672c -[UIEventFetcher threadMain] + 436
10 Foundation                     0x5b5a8 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16cc _pthread_start + 148
12 libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.libtrace.state.block-list
0  libsystem_kernel.dylib         0x55e0 __ulock_wait + 8
1  libdispatch.dylib              0x49cc _dlock_wait + 56
2  libdispatch.dylib              0x4780 _dispatch_thread_event_wait_slow + 56
3  libdispatch.dylib              0x13860 __DISPATCH_WAIT_FOR_QUEUE__ + 368
4  libdispatch.dylib              0x1340c _dispatch_sync_f_slow + 144
5  libsystem_trace.dylib          0x9ce0 ___os_state_request_for_self_block_invoke + 372
6  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release + 32
7  libdispatch.dylib              0x3fdc _dispatch_client_callout + 20
8  libdispatch.dylib              0xb694 _dispatch_lane_serial_drain + 672
9  libdispatch.dylib              0xc214 _dispatch_lane_invoke + 436
10 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
11 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
12 libsystem_pthread.dylib        0xb98 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib          0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib          0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib          0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib          0x4fec mach_msg + 24
4  MyApp                           0x939b4 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5  libsystem_pthread.dylib         0x16cc _pthread_start + 148
6  libsystem_pthread.dylib         0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131de1c (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 68
3  MyKotlinMultiplatformLib       0x131ce84 Worker::processQueueElement(bool) + 752
4  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
5  libsystem_pthread.dylib        0x16cc _pthread_start + 148
6  libsystem_pthread.dylib        0xba4 thread_start + 8

GC finalizer processor
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MyKotlinMultiplatformLib       0x13035a4 std::__1::invoke_result<kotlin::gc::FinalizerProcessor::StartFinalizerThreadIfNone()::$_0>::type kotlin::ScopedThread::Run<kotlin::gc::FinalizerProcessor::StartFinalizerThreadIfNone()::$_0>(kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor::StartFinalizerThreadIfNone()::$_0&&) + 220
4  MyKotlinMultiplatformLib       0x1303874 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor::StartFinalizerThreadIfNone()::$_0&&), kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor::StartFinalizerThreadIfNone()::$_0> >(void*) + 104
5  libsystem_pthread.dylib        0x16cc _pthread_start + 148
6  libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CFNetwork                      0x258078 _CFURLStorageSessionDisableCache + 61088
8  Foundation                     0x5b5a8 __NSThread__start__ + 716
9  libsystem_pthread.dylib        0x16cc _pthread_start + 148
10 libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.CFNetwork.CustomProtocols
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CFNetwork                      0x258078 _CFURLStorageSessionDisableCache + 61088
8  Foundation                     0x5b5a8 __NSThread__start__ + 716
9  libsystem_pthread.dylib        0x16cc _pthread_start + 148
10 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.AssetFileSource
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x167a8 mbgl::util::Thread<mbgl::AssetFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()::operator()() + 192
9  Mapbox                         0x16610 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::AssetFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()>>(void*) + 52
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.OnlineFileSource
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x4ff94 mbgl::util::Thread<mbgl::OnlineFileSourceThread>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()::operator()() + 136
9  Mapbox                         0x4fe34 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::OnlineFileSourceThread>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()>>(void*) + 52
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.DatabaseFileSource
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x1cb08 mbgl::util::Thread<mbgl::DatabaseFileSourceThread>::Thread<std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>&&)::'lambda'()::operator()() + 128
9  Mapbox                         0x1ca48 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::DatabaseFileSourceThread>::Thread<std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>&&)::'lambda'()>>(void*) + 44
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.LocalFileSource
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x243e0 mbgl::util::Thread<mbgl::LocalFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()::operator()() + 140
9  Mapbox                         0x2427c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::LocalFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()>>(void*) + 52
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.MBTilesFileSource
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x33098 mbgl::util::Thread<mbgl::MBTilesFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()::operator()() + 192
9  Mapbox                         0x32f00 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::MBTilesFileSource::Impl>::Thread<std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<mbgl::ResourceOptions, mbgl::ClientOptions>&&)::'lambda'()>>(void*) + 52
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.ResourceLoaderThread
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc4ce4 CFRunLoopRun + 64
8  Mapbox                         0x2a2d8 mbgl::util::Thread<mbgl::MainResourceLoaderThread>::Thread<std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>>&&)::'lambda'()::operator()() + 180
9  Mapbox                         0x2a160 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::util::Thread<mbgl::MainResourceLoaderThread>::Thread<std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>>>(std::__1::function<void ()>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::tuple<std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>, std::__1::shared_ptr<mbgl::FileSource>>&&)::'lambda'()>>(void*) + 52
10 libsystem_pthread.dylib        0x16cc _pthread_start + 148
11 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.Worker 1
0  Mapbox                         0x3042f8 mapbox::vector_tile::feature::getValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const + 356
1  Mapbox                         0x303e40 mbgl::VectorTileFeature::getValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const + 56
2  Mapbox                         0x1c2e78 mbgl::style::expression::featurePropertyAsExpressionValue(mbgl::style::expression::EvaluationContext const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 60
3  Mapbox                         0x1d69f0 mbgl::style::expression::filterEqualsCompoundExpression()::$_62::__invoke(mbgl::style::expression::EvaluationContext const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, mbgl::style::expression::Value const&) + 56
4  Mapbox                         0x1d7120 mbgl::style::expression::EvaluationResult mbgl::style::expression::detail::Signature<mbgl::style::expression::Result<bool> (mbgl::style::expression::EvaluationContext const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, mbgl::style::expression::Value const&), void>::applyImpl<0ul, 1ul>(mbgl::style::expression::EvaluationContext const&, std::__1::vector<std::__1::unique_ptr<mbgl::style::expression::Expression, std::__1::default_delete<mbgl::style::expression::Expression>>, std::__1::allocator<std::__1::unique_ptr<mbgl::style::expression::Expression, std::__1::default_delete<mbgl::style::expression::Expression>>>> const&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) const + 568
5  Mapbox                         0x1bed14 mbgl::style::expression::BasicComparison::evaluate(mbgl::style::expression::EvaluationContext const&) const + 76
6  Mapbox                         0x1b25f4 mbgl::style::expression::Any::evaluate(mbgl::style::expression::EvaluationContext const&) const + 92
7  Mapbox                         0x1b2ac8 mbgl::style::expression::All::evaluate(mbgl::style::expression::EvaluationContext const&) const + 92
8  Mapbox                         0x220968 mbgl::style::Filter::operator()(mbgl::style::expression::EvaluationContext const&) const + 64
9  Mapbox                         0x9c96c mbgl::SymbolLayout::SymbolLayout(mbgl::BucketParameters const&, std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>> const&, std::__1::unique_ptr<mbgl::GeometryTileLayer, std::__1::default_delete<mbgl::GeometryTileLayer>>, mbgl::LayoutParameters const&) + 2768
10 Mapbox                         0x98c9c mbgl::SymbolLayerFactory::createLayout(mbgl::LayoutParameters const&, std::__1::unique_ptr<mbgl::GeometryTileLayer, std::__1::default_delete<mbgl::GeometryTileLayer>>, std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>> const&) + 88
11 Mapbox                         0x93264 mbgl::LayerManager::createLayout(mbgl::LayoutParameters const&, std::__1::unique_ptr<mbgl::GeometryTileLayer, std::__1::default_delete<mbgl::GeometryTileLayer>>, std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>> const&) + 96
12 Mapbox                         0x2f85e4 mbgl::GeometryTileWorker::parse() + 1532
13 Mapbox                         0x2f945c mbgl::GeometryTileWorker::setLayers(std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>>, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, unsigned long long) + 172
14 Mapbox                         0x2d5854 void mbgl::MessageImpl<mbgl::GeometryTileWorker, void (mbgl::GeometryTileWorker::*)(std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>>, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, unsigned long long), std::__1::tuple<std::__1::vector<mbgl::Immutable<mbgl::style::LayerProperties>, std::__1::allocator<mbgl::Immutable<mbgl::style::LayerProperties>>>, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, unsigned long long>>::invoke<0ul, 1ul, 2ul>(std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) + 156
15 Mapbox                         0x56710 mbgl::Mailbox::receive() + 484
16 Mapbox                         0x56a54 mbgl::Mailbox::maybeReceive(std::__1::weak_ptr<mbgl::Mailbox> const&) + 48
17 Mapbox                         0x33202c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0>>(void*) + 720
18 libsystem_pthread.dylib        0x16cc _pthread_start + 148
19 libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.Worker 2
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  Mapbox                         0x331f08 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0>>(void*) + 428
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.Worker 3
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  Mapbox                         0x331f08 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0>>(void*) + 428
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.Worker 4
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  Mapbox                         0x331f08 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0>>(void*) + 428
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

com.mapbox.mbgl.Worker 1
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  libc++.1.dylib                 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  Mapbox                         0x331f08 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0>>(void*) + 428
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x537c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait + 1232
2  MyKotlinMultiplatformLib       0x131dd00 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 176
3  MyKotlinMultiplatformLib       0xfca60 kfun:kotlinx.coroutines#runBlocking$default(kotlin.coroutines.CoroutineContext?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,0:0>;kotlin.Int){0§<kotlin.Any?>}0:0 + 2060
4  MyKotlinMultiplatformLib       0x101c08 kfun:kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$3.$<bridge-UNN>invoke(){}#internal + 188
5  MyKotlinMultiplatformLib       0x131d244 Worker::processQueueElement(bool) + 1712
6  MyKotlinMultiplatformLib       0x131cb04 (anonymous namespace)::workerRoutine(void*) + 108
7  libsystem_pthread.dylib        0x16cc _pthread_start + 148
8  libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.SwiftUI.AsyncRenderer
0  libsystem_kernel.dylib         0x4aa8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x16fc4 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x17204 mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x4fec mach_msg + 24
4  CoreFoundation                 0x7aad4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd18 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
7  Foundation                     0x420d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41f68 -[NSRunLoop(NSRunLoop) run] + 64
9  SwiftUI                        0xa757c OUTLINED_FUNCTION_581 + 864
10 SwiftUI                        0xa56dc __swift_memcpy40_8 + 2160
11 Foundation                     0x5b5a8 __NSThread__start__ + 716
12 libsystem_pthread.dylib        0x16cc _pthread_start + 148
13 libsystem_pthread.dylib        0xba4 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x4fb0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0xb98 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread + 254

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread + 254

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread + 254

Thread
0  libsystem_kernel.dylib         0x4fb0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0xb98 start_wqthread + 8
louwers commented 6 months ago

The stack trace seems to indicate you are trying to use MapLibre Native with Kotlin Multiplatform?

If not, what MapLibre Native iOS version are you using?

We're not using bounds checking in a lot of places, so this crash may not come from MapLibre Native.

louwers commented 6 months ago

Feel free to re-open, right now there is not enough information.

rogertallada-wikiloc commented 5 months ago

Hi, we're also seeing this issue with some of our users.

It happens to a very small number of them, but when it happens it's a recurrent problem. Although we haven't been able to reproduce it, I'm sure that the crash is caused by MapLibre because when we remotely disable it for these users (we can fallback to MapKit) the problem stops occurring.

It started happening regularly in March, when we were still using MapLibre 5.13.0. We then updated to version 6.4.1 hoping that would fix it, but it kept happening. For this reason, I think the problem is somehow related to the release of iOS 17.4 in March, which may have triggered a dormant bug.

I'm almost sure that it is an iOS 17.4+ only problem, but since Crashlytics groups many std::out_of_range crashes under the same entry, I'm not 100% certain. We have a few std::out_of_range reports from before iOS 17.4 was released, but they're rare and, on some of them, there's not even any reference to MapLibre in the stack trace.

Here's the stack trace for one of these crashes (with MapLibre v6.4.2):

# Crashlytics - Stack trace
# Date: Sun Jun 02 2024 17:55:34 GMT+0200 (Hora d’estiu del Centre d’Europa)

Fatal Exception: std::out_of_range

Crashed: com.google.firebase.crashlytics.ios.exception
0  Wikiloc                        0x57899c FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  Wikiloc                        0x578d7c FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  Wikiloc                        0x586de8 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  Wikiloc                        0x586bec __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240)
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  Wikiloc                        0x585b68 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7  Wikiloc                        0x5858dc FIRCLSTerminateHandler() + 423 (FIRCLSException.mm:423)
8  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
9  libc++abi.dylib                0x1760c __cxa_increment_exception_refcount + 202
10 libobjc.A.dylib                0x2dea4 objc_exception_rethrow + 44
11 CoreFoundation                 0x52d88 CFRunLoopRunSpecific + 784
12 GraphicsServices               0x11a8 GSEventRunModal + 164
13 UIKitCore                      0x40a90c -[UIApplication _run] + 888
14 UIKitCore                      0x4be9d0 UIApplicationMain + 340
15 UIKitCore                      0x638384 keypath_get_selector_hoverStyle + 11024
16 Wikiloc                        0x2cde8 main + 4299509224 (AppDelegate.swift:4299509224)
17 ???                            0x1b8775e4c (Missing)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  Foundation                     0xc7e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0xc7c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x41e640 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xde718 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x606c _pthread_start + 136
12 libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

Realm notification listener
0  libsystem_kernel.dylib         0x8608 kevent + 8
1  RealmSwift                     0x1f3e54 realm::_impl::ExternalCommitHelper::listen() + 220 (external_commit_helper.cpp:220)
2  RealmSwift                     0x1f3fe0 void* std::__1::__thread_proxy[abi:ue170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 240 (thread.h:240)
3  libsystem_pthread.dylib        0x606c _pthread_start + 136
4  libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  Wikiloc                        0x5873a4 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.CoreMotion.MotionThread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  CoreMotion                     0x10210 (Missing UUID e4a6f107b302327ca121c9bebacca8f4)
9  libsystem_pthread.dylib        0x606c _pthread_start + 136
10 libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.mapbox.mbgl.Worker 1
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MapLibre                       0x399230 mbgl::ThreadedSchedulerBase::waitForEmpty(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l>>) + 1096
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.Worker 2
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MapLibre                       0x399230 mbgl::ThreadedSchedulerBase::waitForEmpty(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l>>) + 1096
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.Worker 3
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MapLibre                       0x399230 mbgl::ThreadedSchedulerBase::waitForEmpty(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l>>) + 1096
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.Worker 4
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MapLibre                       0x399230 mbgl::ThreadedSchedulerBase::waitForEmpty(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l>>) + 1096
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.AssetFileSource
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0xd3880 mbgl::AssetFileSource::Impl::getClientOptions() + 5212
9  MapLibre                       0xd36b4 mbgl::AssetFileSource::Impl::getClientOptions() + 4752
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.OnlineFileSource
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0x10cc04 mbgl::OnlineFileSourceThread::setClientOptions(mbgl::ClientOptions) + 3464
9  MapLibre                       0x10ca68 mbgl::OnlineFileSourceThread::setClientOptions(mbgl::ClientOptions) + 3052
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.DatabaseFileSource
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0xd980c mbgl::DatabaseFileSource::getClientOptions() + 6756
9  MapLibre                       0xd9724 mbgl::DatabaseFileSource::getClientOptions() + 6524
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.LocalFileSource
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0xe10b0 mbgl::LocalFileSource::Impl::getClientOptions() + 2704
9  MapLibre                       0xe0f14 mbgl::LocalFileSource::Impl::getClientOptions() + 2292
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.MBTilesFileSource
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0xf20d0 rapidjson::ParseResult::IsError() const + 27028
9  MapLibre                       0xf1f04 rapidjson::ParseResult::IsError() const + 26568
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.ResourceLoaderThread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  MapLibre                       0xe6930 mbgl::MainResourceLoaderThread::cancel(mbgl::AsyncRequest*) + 10948
9  MapLibre                       0xe6760 mbgl::MainResourceLoaderThread::cancel(mbgl::AsyncRequest*) + 10484
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.mapbox.mbgl.Worker 1
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  MapLibre                       0x399230 mbgl::ThreadedSchedulerBase::waitForEmpty(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l>>) + 1096
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CFNetwork                      0xfdc90 _CFHostIsDomainTopLevel + 108176
8  Foundation                     0xde718 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x606c _pthread_start + 136
10 libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

Can you reopen the issue? Please, let me know if I can provide more info. Thanks.

louwers commented 5 months ago

Hi @rogertallada-wikiloc thanks for reaching out.

That looks like a different issue. Can you open another issue?

If possible, could you try symbolicating the stack trace? https://github.com/maplibre/maplibre-native/wiki/Symbolicating-Crash-Reports-MapLibre-Native-(iOS)

louwers commented 5 months ago

@150vb I think #2460 resolves your issue.

150vb commented 5 months ago

@louwers Thank you for your prompt response. At this moment, we have not received additional feedback from our customers, so I’m unable to provide further information. I will investigate whether the issue is related to the #2460.

louwers commented 5 months ago

@150vb We still have to make a release that includes that change.