Hi, I've recently experienced a weird crash that only happening on iOS 16 device. When dismiss a sheet which contains NavigationView it sometime crashes. It is not 100% reproducible but relatively easy to get crash. The same build running on iOS 15 device is totally fine. The crash report shows nothing useful and the stack trace shows none of my code so I'm not sure what's going on in here. Any help is much appreciated.
2022-09-28_14-52-44.0187_+1300-aa6ef929623289970774d4bf7cc3f8835df8fbce.crash
Post
Replies
Boosts
Views
Activity
Hi,
I'm experiencing a wired crash that I can't reproduce myself but I can see from crash logs that it is happening to our user.
The crash report shows it crashed when doing a String interpolation and I'm unsure what's going on here. I've got the relevant crash report below and anyone has any idea that would be really appreciated.
language
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001a6042b24
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [295]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libswiftCore.dylib 0x00000001a6042b24 0x1a5ce1000 + 3545892
1 libswiftCore.dylib 0x00000001a5fd5a20 0x1a5ce1000 + 3099168
2 libswiftCore.dylib 0x00000001a5fd5b50 0x1a5ce1000 + 3099472
3 libswiftCore.dylib 0x00000001a5e8fc5c 0x1a5ce1000 + 1764444
4 libswiftCore.dylib 0x00000001a5e8494c 0x1a5ce1000 + 1718604
5 libswiftCore.dylib 0x00000001a5e84b34 0x1a5ce1000 + 1719092
6 libswiftCore.dylib 0x00000001a5e72a74 0x1a5ce1000 + 1645172
7 MyApp 0x00000001023c3be0 DefaultStringInterpolation.write(_:) + 16 (compiler-generated:0)
8 MyApp 0x00000001023c3be0 protocol witness for TextOutputStream.write(_:) in conformance DefaultStringInterpolation + 16 (compiler-generated:0)
9 MyApp 0x00000001023c3be0 specialized String.writeA(to:) + 16 (compiler-generated:0)
10 MyApp 0x00000001023c3be0 specialized protocol witness for TextOutputStreamable.writeA(to:) in conformance String + 16 (compiler-generated:0)
11 MyApp 0x00000001023c3be0 specialized DefaultStringInterpolation.appendInterpolationA(_:) + 16 (GraphClient.swift:0)
12 MyApp 0x00000001023c3be0 specialized GraphClient.init(storeDomain:additionalHeaders:authorisationSource:) + 208
13 MyApp 0x00000001023c4ea0 specialized GraphClient.init(storeDomain:additionalHeaders:authorisationSource:) + 24 (compiler-generated:74)
14 MyApp 0x00000001023c4ea0 GraphClient.init(storeDomain:additionalHeaders:authorisationSource:) + 24 (compiler-generated:0)
15 MyApp 0x00000001023c4ea0 specialized GraphClient.__allocating_init(storeDomain:additionalHeaders:authorisationSource:) + 24 (compiler-generated:74)
16 MyApp 0x00000001023c4ea0 GraphClient.__allocating_init(storeDomain:additionalHeaders:authorisationSource:) + 24 (MyAppHTTPClient.swift:180)
17 MyApp 0x00000001023c4ea0 MyAppHTTPClient.createGraphClient() + 24 (HTTPClient.swift:177)