Skip to content

SQ - MessageBus Crash L:97 #2134

Closed
Closed
@KVTaniguchi

Description

Stack trace

EXC_BREAKPOINT: BUG IN CLIENT OF LIBMALLOC: memory corruption of free block

0  libsystem_malloc.dylib +0x4c28  __xzm_xzone_malloc_tiny_outlined
1  libswiftCore.dylib +0x3d3cb4    __swift_allocObject_
2  SPOS-App +0xa645640             MessageBus.send(message:else:) (MessageBus.swift:97:9)
3  SPOS-App +0xa63a128             protocol witness for MessageSending.send(message:else:) in conformance DatadogCore (DatadogCore.swift:307:13)
4  SPOS-App +0xa637c64             closure #1 in DatadogCore.init(directory:dateProvider:initialConsent:performance:httpClient:encryption:contextProvider:applicationVersion:maxBatchesPerUpload:backgroundTasksEnabled:isRunFromExtension:) (DatadogCore.swift:122:19)
5  SPOS-App +0xa6349ac             thunk for @escaping @callee_guaranteed (@in_guaranteed DatadogContext) -> () (<compiler-generated>)
6  SPOS-App +0xa633c00             closure #1 in DatadogContextProvider.context.didset (DatadogContextProvider.swift38)
7  SPOS-App +0xa634868             closure #1 in DatadogContextProvider.write(block:) (DatadogContextProvider.swift44)
8  SPOS-App +0x43cd80              thunk for @escaping @callee_guaranteed () -> ()
9  libdispatch.dylib +0x236c       __dispatch_call_block_and_release
10 libdispatch.dylib +0x40cc       __dispatch_client_callout
11 libdispatch.dylib +0xb6d4       __dispatch_lane_serial_drain
12 libdispatch.dylib +0xc1dc       __dispatch_lane_invoke
13 libdispatch.dylib +0x17254      __dispatch_root_queue_drain_deferred_wlh
14 libdispatch.dylib +0x16aa0      __dispatch_workloop_worker_thread
15 libsystem_pthread.dylib +0x4c78 __pthread_wqthread

Reproduction steps

No response

Volume

0.4%

Affected SDK versions

2.13.0

Latest working SDK version

2.13.0

Does the crash manifest in the latest SDK version?

No

Deployment Target

No response

Device Information

10 different devices from iPad 8 to iPhone 16 Pro.

Other relevant information

No response

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