Skip to content

Crash in ContextMessageReceiver.receive(message:from:) #2300

@philip-lulu

Description

@philip-lulu

Stack trace

Crashlytics - Stack trace
Platform: apple
Date: Sun May 11 2025 07:22:29 GMT+0900 (한국 표준시)

com.apple.main-thread
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x716cc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x70dac __CFRunLoopRun + 1208
6  CoreFoundation                 0x95700 CFRunLoopRunSpecific + 572
7  GraphicsServices               0x1190 GSEventRunModal + 168
8  UIKitCore                      0x3ca240 -[UIApplication _run] + 816
9  UIKitCore                      0x3c8470 UIApplicationMain + 336
10 UIKitCore                      0x826a30 block_destroy_helper.15 + 9820
11 lulumedic                      0xc418c main + 1 (AppDelegate.swift:1)
12 ???                            0x1c487bad8 (누락)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x716cc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x70dac __CFRunLoopRun + 1208
6  CoreFoundation                 0x95700 CFRunLoopRunSpecific + 572
7  Foundation                     0x748a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x736d8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x4bd5ec -[UIEventFetcher threadMain] + 424
10 Foundation                     0x115cf8 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x1afc _pthread_start + 136
12 libsystem_pthread.dylib        0x1a04 thread_start + 8

Thread
0  libsystem_kernel.dylib         0xa90 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x46ac _pthread_wqthread + 368
2  libsystem_pthread.dylib        0x19f8 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0xa90 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x46ac _pthread_wqthread + 368
2  libsystem_pthread.dylib        0x19f8 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  SharedLibraryManager           0xf7108 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  SharedLibraryManager           0xf74ec FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  SharedLibraryManager           0xf6eec FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  SharedLibraryManager           0xfc2ec FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x1afc _pthread_start + 136
5  libsystem_pthread.dylib        0x1a04 thread_start + 8

com.google.firebase.crashlytics.ios.binary-images
0  libsystem_kernel.dylib         0x53d8 __open_dprotected_np + 8
1  libsystem_kernel.dylib         0x53c0 open_dprotected_np + 80
2  SharedLibraryManager           0xf43d8 FIRCLSFileInitWithPathMode + 140 (FIRCLSFile.m:140)
3  SharedLibraryManager           0xfd478 FIRCLSBinaryImageOpenIfNeeded + 98 (FIRCLSBinaryImage.m:98)
4  SharedLibraryManager           0xfd1a0 FIRCLSProcessBinaryImageChange + 551 (FIRCLSBinaryImage.m:551)
5  libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
6  libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
7  libdispatch.dylib              0xadac _dispatch_lane_invoke + 388
8  libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
9  libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
10 libsystem_pthread.dylib        0x4660 _pthread_wqthread + 292
11 libsystem_pthread.dylib        0x19f8 start_wqthread + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x716cc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x70dac __CFRunLoopRun + 1208
6  CoreFoundation                 0x95700 CFRunLoopRunSpecific + 572
7  CFNetwork                      0xebeec +[__CFN_CoreSchedulingSetRunnable _run:] + 416
8  Foundation                     0x115cf8 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x1afc _pthread_start + 136
10 libsystem_pthread.dylib        0x1a04 thread_start + 8

com.datadoghq.ios-sdk-rum-upload
0  libsystem_kernel.dylib         0xc60 semaphore_wait_trap + 8
1  libdispatch.dylib              0x38e0 _dispatch_sema4_wait + 28
2  libdispatch.dylib              0x3e90 _dispatch_semaphore_wait_slow + 132
3  libswiftDispatch.dylib         0x3308 OS_dispatch_semaphore.wait(wallTimeout:) + 24
4  AnalyticsKit                   0x2627f88 DataUploader.upload(events:context:) + 54 (DataUploader.swift:54)
5  AnalyticsKit                   0x2724a08 closure #1 in DataUploadWorker.uploadFile(from:context:) + 115 (DataUploadWorker.swift:115)
6  AnalyticsKit                   0x2606b64 thunk for @escaping @callee_guaranteed () -> () + 1 (DataUploadWorker.swift:1)
7  libdispatch.dylib              0x112b8 _dispatch_block_async_invoke2 + 148
8  libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
9  libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
10 libdispatch.dylib              0xade0 _dispatch_lane_invoke + 440
11 libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
12 libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
13 libsystem_pthread.dylib        0x4660 _pthread_wqthread + 292
14 libsystem_pthread.dylib        0x19f8 start_wqthread + 8

Crashed: com.datadoghq.ios-sdk-message-bus
0  AnalyticsKit                   0x2ebfe50 specialized ContextMessageReceiver.receive(message:from:) + 1 (MessageReceivers.swift:1)
1  AnalyticsKit                   0x2ec7c9c protocol witness for FeatureMessageReceiver.receive(message:from:) in conformance ContextMessageReceiver + 1 (MessageReceivers.swift:1)
2  AnalyticsKit                   0x25dad68 partial apply for closure #1 in closure #1 in MessageBus.send(message:else:) + 103 (MessageBus.swift:103)
3  AnalyticsKit                   0x2721460 specialized Sequence.filter(_:) + 1 (MessageBus.swift:1)
4  AnalyticsKit                   0x25368c4 closure #1 in MessageBus.send(message:else:) + 102 (MessageBus.swift:102)
5  AnalyticsKit                   0x25d8994 partial apply for closure #1 in MessageBus.send(message:else:) + 1 (MessageBus.swift:1)
6  AnalyticsKit                   0x24eed68 thunk for @escaping @callee_guaranteed @Sendable () -> () + 1020 (<compiler-generated>:1020)
7  libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
8  libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
9  libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
10 libdispatch.dylib              0xadac _dispatch_lane_invoke + 388
11 libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
12 libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
13 libsystem_pthread.dylib        0x4660 _pthread_wqthread + 292
14 libsystem_pthread.dylib        0x19f8 start_wqthread + 8

JavaScriptCore libpas scavenger
0  libsystem_kernel.dylib         0x6438 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x32fc _pthread_cond_wait + 984
2  JavaScriptCore                 0xb0524 scavenger_thread_main + 1584
3  libsystem_pthread.dylib        0x1afc _pthread_start + 136
4  libsystem_pthread.dylib        0x1a04 thread_start + 8

com.apple.CFSocket.private
0  libsystem_kernel.dylib         0x832c select$DARWIN_EXTSN + 8
1  libsystem_kernel.dylib         0x832c __select + 8
2  CoreFoundation                 0xc8b84 __CFSocketManager + 704
3  libsystem_pthread.dylib        0x1afc _pthread_start + 136
4  libsystem_pthread.dylib        0x1a04 thread_start + 8

com.apple.root.utility-qos
0  libobjc.A.dylib                0x1e500 remapClassRef(objc_class**, unsigned int, bool, void (unsigned int) block_pointer) + 40
1  libobjc.A.dylib                0x1ba2c map_images_nolock + 4932
2  libobjc.A.dylib                0x2d7bc map_images + 112
3  ???                            0x1c488fd98 (누락)
4  ???                            0x1c488fb6c (누락)
5  ???                            0x1c488f0ec (누락)
6  ???                            0x1c48959ac (누락)
7  ???                            0x1c4896178 (누락)
8  SoftLinking                    0x5dc _sl_dlopen + 100
9  UIKitCore                      0x59cb94 __getSTKPrewarmingViewControllerClass_block_invoke + 172
10 UIKitCore                      0x59db88 __64-[_UIRemoteKeyboards setStickerPrewarmingViewControllerEnabled:]_block_invoke + 144
11 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
12 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
13 libdispatch.dylib              0x37e84 _dispatch_channel_invoke.cold.5 + 32
14 libdispatch.dylib              0x13f24 _dispatch_root_queue_drain + 736
15 libdispatch.dylib              0x1454c _dispatch_worker_thread2 + 156
16 libsystem_pthread.dylib        0x4624 _pthread_wqthread + 232
17 libsystem_pthread.dylib        0x19f8 start_wqthread + 8

com.apple.SwiftUI.AsyncRenderer
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x716cc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x70dac __CFRunLoopRun + 1208
6  CoreFoundation                 0x95700 CFRunLoopRunSpecific + 572
7  Foundation                     0x748a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x73b20 -[NSRunLoop(NSRunLoop) run] + 64
9  SwiftUI                        0x39feec specialized static DisplayLink.asyncThread(arg:) + 792
10 SwiftUI                        0x39fbbc @objc static DisplayLink.asyncThread(arg:) + 72
11 Foundation                     0x115cf8 __NSThread__start__ + 732
12 libsystem_pthread.dylib        0x1afc _pthread_start + 136
13 libsystem_pthread.dylib        0x1a04 thread_start + 8

Reproduction steps

No response

Volume

5%

Affected SDK versions

2.15.0

Latest working SDK version

2.15.0

Does the crash manifest in the latest SDK version?

Yes

Deployment Target

iOS 15, iPhone

Device Information

No response

Other relevant information

I haven’t tested it on the latest version yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashSDK crashes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions