Skip to content

Log message contains unhandled format specifier #14770

@asakovets

Description

@asakovets

Description

This is what I see in logs:

3:WARN [FIRCLSMachExceptionDispatchMessage:208] Mach exception: 0x6, count: 2, code: 0x%llx 0x%llx.

As you can see it contains unhandled format specifier: %llx. This particular message is logged in FIRCLSMachExceptionDispatchMessage which calls FIRCLSSDKLog to finally end up in FIRCLSSDKFileLog. FIRCLSSDKFileLog does manual processing of format string and as such only handles the following specifiers: %d,%u,%p,%s,%x.

Thus %llx is printed as is.

Reproducing the issue

Trigger a crash and see logs.

Firebase SDK Version

10.9

Xcode Version

16.2

Installation Method

N/A

Firebase Product(s)

Crashlytics

Targeted Platforms

All

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions