myTargetSDK / mytarget-ios

ios myTarget sdk
GNU Lesser General Public License v3.0
5 stars 5 forks source link

MyTargetSDK 5.21.2 crashes on ios simulator 16.1 #23

Open ishutinvv opened 5 months ago

ishutinvv commented 5 months ago

Hi, i'm facing the case when MyTargetSDK crashes accidentally:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 671A2D87-AF6F-4A90-8D21-47743C134911
CrashReporter Key:   D9F362C8-88EF-5000-C112-B51F356848E9
Hardware Model:      Macmini8,1
Process:             MyApp [79883]
Path:                /Users/USER/Library/Caches/*/MyApp.app/MyApp
Identifier:          ru.MyApp.app
Code Type:           X86-64 (Native)
Role:                Unspecified
Parent Process:      TestRunner [78457]

Date/Time:           2024-05-03 10:44:07.2492 +0300
Launch Time:         2024-05-03 10:43:11.1014 +0300
OS Version:          macOS 14.4.1 (23E224)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: exc handler [79883]

Triggered by Thread:  3
...
Thread 3 Crashed::  Dispatch queue: com.my.target.sdk5.initial
0   Foundation                             0x11fac0756 static UUID._unconditionallyBridgeFromObjectiveC(_:) + 54
1   MyApp                                  0x148c7fd95 closure #1 in IdfaDataProvider.collectData() + 1189
2   MyApp                                  0x148c7ff5d partial apply for closure #1 in IdfaDataProvider.collectData() + 13
3   MyApp                                  0x148c80529 closure #1 in IdfaDataProvider.collectData()partial apply + 9
4   MyApp                                  0x148c6d7a8 NSLocking.synchronized<A>(block:) + 56
5   MyApp                                  0x148c7ffe0 @objc IdfaDataProvider.collectData() + 96
6   MyApp                                  0x148b69cfd -[MTRGFingerprintDataProvider prefetch] + 86
7   MyApp                                  0x148c2cc94 one-time initialization function for shared + 676
8   libdispatch.dylib                      0x13f6e4a3a _dispatch_client_callout + 8
9   libdispatch.dylib                      0x13f6e5db3 _dispatch_once_callout + 20
10  MyApp                                  0x140a765d8 thunk for @escaping @callee_guaranteed @Sendable () -> () + 40
11  libdispatch.dylib                      0x13f6e37fb _dispatch_call_block_and_release + 12
12  libdispatch.dylib                      0x13f6e4a3a _dispatch_client_callout + 8
13  libdispatch.dylib                      0x13f6ec346 _dispatch_lane_serial_drain + 949
14  libdispatch.dylib                      0x13f6ecfe3 _dispatch_lane_invoke + 400
15  libdispatch.dylib                      0x13f6f9b46 _dispatch_workloop_worker_thread + 870
16  libsystem_pthread.dylib                0x13f0bcb84 _pthread_wqthread + 327
17  libsystem_pthread.dylib                0x13f0bbacf start_wqthread + 15

My environment: MyTargetSDK 5.21.2 ios simulator 16.1

Probably the issue is related to https://github.com/apple/swift-corelibs-foundation/issues/4404

aserrr commented 5 months ago

Hi, Thank you for reporting. It looks like wery rare case. We'll investigate this issue in order to find the best solution.