Open rogertallada-wikiloc opened 4 months ago
Could you try to symbolicate the crash report with MapLibre's debug symbols? https://github.com/maplibre/maplibre-native/wiki/Symbolicating-Crash-Reports-MapLibre-Native-(iOS)
Thanks for the prompt response, @louwers. The first crash report is the Xcode Organizer's report and is fully symbolicated. The second one from Crashlytics is missing the MapLibre symbols, but it's the same crash. I'm not sure how to symbolicate Crashlytics reports, however, I can get many other ones that are correctly symbolicated, such as this one:
# Crashlytics - Stack trace
# Platform: apple
# Version: 3.21.4 (20194)
# Issue: 8a3647f99fc8a4a47c8174d15810f0b7
# Session: 2073824183d344d99fe2c420cf4cab76_DNE_7_v2
# Date: Tue Jun 04 2024 19:45:45 GMT+0200 (Hora d’estiu del Centre d’Europa)
Fatal Exception: std::out_of_range
Crashed: com.google.firebase.crashlytics.ios.exception
0 Wikiloc 0x577fb4 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1 Wikiloc 0x578394 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2 Wikiloc 0x586400 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3 Wikiloc 0x586204 __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 0x585180 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7 Wikiloc 0x584ef4 FIRCLSTerminateHandler() + 423 (FIRCLSException.mm:423)
8 libc++abi.dylib 0x14090 std::__terminate(void (*)()) + 16
9 libc++abi.dylib 0x17594 __cxa_increment_exception_refcount + 202
10 libobjc.A.dylib 0x3c874 objc_exception_rethrow + 44
11 CoreFoundation 0x33a18 CFRunLoopRunSpecific + 784
12 GraphicsServices 0x34e0 GSEventRunModal + 164
13 UIKitCore 0x22aedc -[UIApplication _run] + 888
14 UIKitCore 0x22a518 UIApplicationMain + 340
15 UIKitCore 0x463734 __swift_destroy_boxed_opaque_existential_1Tm + 12004
16 Wikiloc 0x2cde8 main + 4343369192 (AppDelegate.swift:4343369192)
17 ??? 0x1b158ed84 (Missing)
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 Foundation 0x2b4a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0x554e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0x18dac8 -[UIEventFetcher threadMain] + 420
10 Foundation 0x9ca9c __NSThread__start__ + 732
11 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
12 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Realm notification listener
0 libsystem_kernel.dylib 0xf8cc 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 0x2a90 _pthread_start + 136
4 libsystem_pthread.dylib 0x1fcc thread_start + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0x1fb8 start_wqthread + 438
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0xcd44 __accept + 8
1 libsystem_kernel.dylib 0xcd44 accept + 8
2 Wikiloc 0x4af208 closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 109 (Socket+Server.swift:109)
3 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
4 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
6 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
7 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
8 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
9 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 Wikiloc 0x5869bc FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
6 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.apple.CoreMotion.MotionThread
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 CoreMotion 0x2e93c0 CLClientGetDistanceCoordinates + 303492
9 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
10 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.mapbox.mbgl.Worker 1
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 libc++.1.dylib 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 MapLibre 0x390b3c void* std::__1::__thread_proxy[abi:v160006]<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*) + 678 (deque:678)
4 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
5 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.Worker 2
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 libc++.1.dylib 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 MapLibre 0x390b3c void* std::__1::__thread_proxy[abi:v160006]<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*) + 678 (deque:678)
4 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
5 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.Worker 3
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 libc++.1.dylib 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 MapLibre 0x390b3c void* std::__1::__thread_proxy[abi:v160006]<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*) + 678 (deque:678)
4 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
5 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.Worker 4
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 libc++.1.dylib 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 MapLibre 0x390b3c void* std::__1::__thread_proxy[abi:v160006]<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*) + 678 (deque:678)
4 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
5 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.AssetFileSource
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0xcfcf0 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()() + 69 (thread.hpp:69)
9 MapLibre 0xcfb24 void* std::__1::__thread_proxy[abi:v160006]<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*) + 295 (unique_ptr.h:295)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.OnlineFileSource
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0x109074 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()() + 69 (thread.hpp:69)
9 MapLibre 0x108ed8 void* std::__1::__thread_proxy[abi:v160006]<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*) + 295 (unique_ptr.h:295)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.DatabaseFileSource
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0xd5c7c 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()() + 69 (thread.hpp:69)
9 MapLibre 0xd5b94 void* std::__1::__thread_proxy[abi:v160006]<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*) + 479 (tuple:479)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.LocalFileSource
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0xdd520 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()() + 69 (thread.hpp:69)
9 MapLibre 0xdd384 void* std::__1::__thread_proxy[abi:v160006]<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*) + 295 (unique_ptr.h:295)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.MBTilesFileSource
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0xee540 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()() + 69 (thread.hpp:69)
9 MapLibre 0xee374 void* std::__1::__thread_proxy[abi:v160006]<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*) + 295 (unique_ptr.h:295)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.ResourceLoaderThread
0 libsystem_kernel.dylib 0x1af8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1890 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17a8 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x15e8 mach_msg + 24
4 CoreFoundation 0x3601c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x33f04 __CFRunLoopRun + 1208
6 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x336cc CFRunLoopRun + 64
8 MapLibre 0xe2da0 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()() + 69 (thread.hpp:69)
9 MapLibre 0xe2bd0 void* std::__1::__thread_proxy[abi:v160006]<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*) + 295 (unique_ptr.h:295)
10 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
11 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.mapbox.mbgl.Worker 1
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 libc++.1.dylib 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 MapLibre 0x390b3c void* std::__1::__thread_proxy[abi:v160006]<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*) + 678 (deque:678)
4 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
5 libsystem_pthread.dylib 0x1fcc thread_start + 8
Thread
0 libsystem_pthread.dylib 0x1fb8 start_wqthread + 438
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
com.apple.root.background-qos
0 libsystem_kernel.dylib 0x3574 read + 8
1 Wikiloc 0x56d488 Socket.read() + 140 (Socket.swift:140)
2 Wikiloc 0x56d6c8 Socket.readLine() + 200 (Socket.swift:200)
3 Wikiloc 0x49f2d8 specialized HttpParser.readHttpRequest(_:) + 20 (HttpParser.swift:20)
4 Wikiloc 0x4ae34c HttpServerIO.handleConnection(_:) + 33 (HttpServerIO.swift:33)
5 Wikiloc 0x4af4ec closure #1 in closure #1 in HttpServerIO.start(_:forceIPv4:priority:) + 91 (HttpServerIO.swift:91)
6 Wikiloc 0x4af674 thunk for @escaping @callee_guaranteed @Sendable () -> () + 4348098164 (<compiler-generated>:4348098164)
7 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
9 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 864
10 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
11 libsystem_pthread.dylib 0x1ee4 _pthread_wqthread + 228
12 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa084 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1f6c _pthread_wqthread + 364
2 libsystem_pthread.dylib 0x1fc0 start_wqthread + 8
OK thanks for clarifying. I can't really tell from these stack traces which thread is crashing so it's hard to pin down the problem.
@sjg-wdw has seen many of these, maybe he can make more sense of it.
I don't see a crash in that stack trace. Just the echo of one as Crashlytics puts its data together.
Thanks for taking a look. I've managed to get a crash report without Crashlytics by asking some of the affected users to try a TestFlight version without it. However, I don't really see anything significantly different, the app is still crashing on the main thread. Any clues?
Incident Identifier: F3B2A275-09CF-429E-B2C7-48A7B3900A39
Distributor ID: com.apple.TestFlight
Hardware Model: iPhone13,1
Process: Wikiloc [4849]
Path: /private/var/containers/Bundle/Application/B88A13A1-F207-4A20-9108-BB24D1573D4E/Wikiloc.app/Wikiloc
Identifier: com.wikiloc.wikiloc
Version: 3.21.7 (20379)
AppStoreTools: 15F31e
AppVariant: 1:iPhone13,1:17.4
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Date/Time: 2024-06-08 10:56:42.5765 +0200
Launch Time: 2024-06-08 10:56:32.7196 +0200
OS Version: iPhone OS 17.5.1 (21F90)
Release Type: User
Baseband Version: 4.50.06
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: Wikiloc [4849]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001e45ef42c __pthread_kill + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838ec0c pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001a3492ba0 abort + 180 (abort.c:118)
3 libc++abi.dylib 0x00000001f82acca4 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x00000001f829ce5c demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
5 libobjc.A.dylib 0x0000000193405e3c _objc_terminate() + 160 (objc-exception.mm:499)
6 libc++abi.dylib 0x00000001f82ac068 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x00000001f82af60c __cxa_rethrow + 204 (cxa_exception.cpp:637)
8 libobjc.A.dylib 0x0000000193401ea4 objc_exception_rethrow + 44 (objc-exception.mm:399)
9 CoreFoundation 0x000000019b503d88 CFRunLoopRunSpecific + 784 (CFRunLoop.c:3436)
10 GraphicsServices 0x00000001e03b41a8 GSEventRunModal + 164 (GSEvent.c:2196)
11 UIKitCore 0x000000019db3c90c -[UIApplication _run] + 888 (UIApplication.m:3713)
12 UIKitCore 0x000000019dbf09d0 UIApplicationMain + 340 (UIApplication.m:5303)
13 UIKitCore 0x000000019dd6a384 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:539)
14 Wikiloc 0x0000000103020e10 specialized static UIApplicationDelegate.main() + 28 (<compiler-generated>:24)
15 Wikiloc 0x0000000103020e10 static AppDelegate.$main() + 28 (AppDelegate.swift:0)
16 Wikiloc 0x0000000103020e10 main + 120
17 dyld 0x00000001bebb5e4c start + 2240 (dyldMain.cpp:1298)
Thread 1:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 2:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 3:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 4:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 Foundation 0x000000019a424e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8 Foundation 0x000000019a424c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9 UIKitCore 0x000000019db50640 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)
10 Foundation 0x000000019a43b718 __NSThread__start__ + 732 (NSThread.m:991)
11 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
12 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 6:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 7 name:
Thread 7:
0 libsystem_kernel.dylib 0x00000001e45eb608 kevent + 8 (:-1)
1 RealmSwift 0x0000000105a6f500 realm::_impl::ExternalCommitHelper::listen() + 160 (external_commit_helper.cpp:219)
2 RealmSwift 0x0000000105a6f68c realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0::operator()() const + 4 (external_commit_helper.cpp:175)
3 RealmSwift 0x0000000105a6f68c decltype(std::declval<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>()()) std::__1::__invoke[abi:ue170006]<realm::_impl::... + 4 (invoke.h:340)
4 RealmSwift 0x0000000105a6f68c void std::__1::__thread_execute[abi:ue170006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommi... + 4 (thread.h:227)
5 RealmSwift 0x0000000105a6f68c 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... + 56 (thread.h:238)
6 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
7 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 8:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 CoreMotion 0x00000001a8214210 CLMotionCore::runMotionThread(void*) + 1292 (CLMotionCore.mm:376)
9 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 10:
0 libsystem_pthread.dylib 0x00000001f83880c4 start_wqthread + 0 (:-1)
Thread 11 name:
Thread 11:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CFNetwork 0x000000019c6e4c90 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1473)
8 Foundation 0x000000019a43b718 __NSThread__start__ + 732 (NSThread.m:991)
9 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 12 name:
Thread 12:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 13 name:
Thread 13:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 14 name:
Thread 14:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 15 name:
Thread 15:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 16 name:
Thread 16:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f27880 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()() (in MapLibre_ios_device) (thread.hpp:69) + 866432
9 MapLibre 0x0000000104f276b4 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 865972
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 17 name:
Thread 17:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f60c04 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()() (in MapLibre_ios_device) (thread.hpp:69) + 1100804
9 MapLibre 0x0000000104f60a68 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 1100392
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 18 name:
Thread 18:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f2d80c 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()() (in MapLibre_ios_device) (thread.hpp:69) + 890892
9 MapLibre 0x0000000104f2d724 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 890660
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 19 name:
Thread 19:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f350b0 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()() (in MapLibre_ios_device) (thread.hpp:69) + 921776
9 MapLibre 0x0000000104f34f14 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 921364
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 20 name:
Thread 20:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f460d0 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()() (in MapLibre_ios_device) (thread.hpp:69) + 991440
9 MapLibre 0x0000000104f45f04 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 990980
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 21 name:
Thread 21:
0 libsystem_kernel.dylib 0x00000001e45e4808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001e45e8008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e45e7f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e45e7d60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019b504f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x000000019b504600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x000000019b503cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CoreFoundation 0x000000019b571f04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8 MapLibre 0x0000000104f3a930 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()() (in MapLibre_ios_device) (thread.hpp:69) + 944432
9 MapLibre 0x0000000104f3a760 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:301) + 943968
10 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
11 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 22 name:
Thread 22:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 23 name:
Thread 23:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 24 name:
Thread 24:
0 libsystem_kernel.dylib 0x00000001e45ea1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001f838a6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ab8ea504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3 MapLibre 0x00000001051ed230 void* std::__1::__thread_proxy[abi:v160006]<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*) (in MapLibre_ios_device) (thread:299) + 3772976
4 libsystem_pthread.dylib 0x00000001f838d06c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001f83880d8 thread_start + 8 (:-1)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x00000001f82b12c3 x5: 0x000000016ce0b550 x6: 0x0000000000000065 x7: 0x0000000000000450
x8: 0xddaebc76be6c3f65 x9: 0xddaebc77424e81a5 x10: 0x0000000000000200 x11: 0x000000016ce0b080
x12: 0x0000000000000000 x13: 0x00000000001ff800 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x00000001fc22bec0 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001fc22bfa0 x22: 0x0000000202e27c70 x23: 0x0000000000000001
x24: 0x0000000300cdc0e0 x25: 0x0000000000000001 x26: 0x00000003035d8140 x27: 0x0000000000000000
x28: 0x0000000000000001 fp: 0x000000016ce0b4c0 lr: 0x00000001f838ec0c
sp: 0x000000016ce0b4a0 pc: 0x00000001e45ef42c cpsr: 0x40001000
esr: 0x56000080 Address size fault
Is MapLibre even running on the (crashing) main thread? I don't see it in the stack trace.
This isn't really the crash, I think. It's just an echo of the crash that shows up in the crash log. I'm told you can see the actual stack traces for a TestFlight crash like in Xcode if you can find them there.
I am seeing the exact same problem. I am still on MapLibre v5.13.0 (for performance reasons on older devices I haven't upgraded yet). And I am having the exact same stack-trace. Nothing that really tells me where or what is happening. In logs I got sent I can see that users were trying to remove some sources and layers. The crash though happened afterwards, otherwise I would not have seen those log entries. But mine is like the stack-traces above. Nothing that strikes the eye. Also... most crash occurrences have rather low memory. Between 50-100MB left which makes it a bit harder to reproduce on purpose. No idea if that's related, but just an observation. Anyway... hope to get some insights here :-)
Are there any new insights? May I be able to help find the problem? @rogertallada-wikiloc can you tell me in which situation this happens for you? As far as I can see in my log files that I got, my users are adding/removing sources to the map. It's clusters and polylines that I guess make the problem. But I simply cannot reproduce it myself. I have a user though that seems to be able to reproduce it all the time if we need somebody to test for us.
@georgbachmann from our logs it looks like this problem happens very shortly after displaying a MapLibre map. Like you, we haven't been able to reproduce it. We display raster tile sources, annotations and polylines and I suspect that this problem may occur even without drawing any polyline, just with raster tiles and annotations as it happens on some parts of our app where a polyline is not immediately drawn (it does also happen when polylines are shown).
Describe the bug There's a similar bug report, https://github.com/maplibre/maplibre-native/issues/2306, but this one appears to be a different issue. I'm opening this new one as requested.
This happens to a very small number of our users, 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.
To Reproduce Steps to reproduce the behavior:
Platform information (please complete the following information):
Additional context
I've managed to find the same crash report in Crashlytics and Xcode's Organizer, this one is using MapLibre v6.4.1. This is the Organizer's fully symbolicated stack trace:
This is the same crash in Crashlytics, it's missing some MapLibre symbols, but they should be the same as the Organizer's.