Open nesium opened 1 year ago
Experiencing the same issue
Hi @nesium & @levochkaa, thanks for submitting the issue. We will look into it and get back with an update.
In the meantime can you please try updating to the latest version of the SDK (0.4.2) and see if that helps with the issue?
@justin-fiedler At the moment we are using 0.4.8 and we still get crashes
Crashed: com.apple.main-thread
0 libswiftCore.dylib 0x477b80 swift_slowAlloc.cold.1 + 16
1 libswiftCore.dylib 0x3d7d40 swift_slowAlloc + 120
2 libswiftCore.dylib 0x3d7f04 swift_allocObject + 64
3 libswiftCore.dylib 0x2289e8 _allocateStringStorage(codeUnitCapacity:) + 180
4 libswiftCore.dylib 0x365684 specialized static __StringStorage.create(initializingFrom:codeUnitCapacity:isASCII:) + 56
5 libswiftCore.dylib 0x2181a4 _StringGuts.prepareForAppendInPlace(totalCount:otherUTF8Count:) + 232
6 libswiftCore.dylib 0x2183c4 _StringGuts.append(_:) + 220
7 ArtWorkout 0x2126b4 HttpClient.getRequestData(events:) + 70 (HttpClient.swift:70)
8 ArtWorkout 0x21078c EventPipeline.flush(completion:) + 25 (HttpClient.swift:25)
9 ArtWorkout 0x20fc40 closure #1 in EventPipeline.init(amplitude:) + 31 (EventPipeline.swift:31)
10 ArtWorkout 0x218a2c closure #1 in QueueTimer.init(interval:once:queue:handler:) + 38 (QueueTimer.swift:38)
11 ArtWorkout 0x218a64 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:28)
12 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20
13 libdispatch.dylib 0x7418 _dispatch_continuation_pop + 504
14 libdispatch.dylib 0x1aa58 _dispatch_source_invoke + 1588
15 libdispatch.dylib 0x12748 _dispatch_main_queue_drain + 756
16 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 44
17 CoreFoundation 0x9a6c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
18 CoreFoundation 0x7c02c __CFRunLoopRun + 2036
19 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612
20 GraphicsServices 0x1368 GSEventRunModal + 164
21 UIKitCore 0x3a1668 -[UIApplication _run] + 888
22 UIKitCore 0x3a12cc UIApplicationMain + 340
23 libswiftUIKit.dylib 0x35308 UIApplicationMain(_:_:_:_:) + 104
24 ArtWorkout 0x6d5c main + 124 (TuistAssets+ArtWorkout.swift:124)
25 ??? 0x1f5eb8960 (Missing)
Crashed: com.apple.main-thread
0 Foundation 0x4172fc __DataStorage.init(bytes:length:) + 240
1 Foundation 0x42dc70 specialized Data._Representation.init(_:) + 104
2 Foundation 0x4241d0 closure #2 in Data.init<A>(_:) + 40
3 libswiftCore.dylib 0x233ef0 String.UTF8View.withContiguousStorageIfAvailable<A>(_:) + 128
4 libswiftCore.dylib 0x2339fc protocol witness for Sequence.withContiguousStorageIfAvailable<A>(_:) in conformance String.UTF8View + 24
5 libswiftCore.dylib 0x3adfa0 dispatch thunk of Sequence.withContiguousStorageIfAvailable<A>(_:) + 32
6 Foundation 0x42eb6c specialized Data.init<A>(_:) + 652
7 Foundation 0x3e9188 StringProtocol.data(using:allowLossyConversion:) + 252
8 ArtWorkout 0x2127b8 HttpClient.getRequestData(events:) + 79 (HttpClient.swift:79)
9 ArtWorkout 0x21078c EventPipeline.flush(completion:) + 25 (HttpClient.swift:25)
10 ArtWorkout 0x20fc40 closure #1 in EventPipeline.init(amplitude:) + 31 (EventPipeline.swift:31)
11 ArtWorkout 0x218a2c closure #1 in QueueTimer.init(interval:once:queue:handler:) + 38 (QueueTimer.swift:38)
12 ArtWorkout 0x218a64 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:28)
13 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20
14 libdispatch.dylib 0x7418 _dispatch_continuation_pop + 504
15 libdispatch.dylib 0x1aa58 _dispatch_source_invoke + 1588
16 libdispatch.dylib 0x12748 _dispatch_main_queue_drain + 756
17 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 44
18 CoreFoundation 0x9a6c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
19 CoreFoundation 0x7c02c __CFRunLoopRun + 2036
20 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612
21 GraphicsServices 0x1368 GSEventRunModal + 164
22 UIKitCore 0x3a1668 -[UIApplication _run] + 888
23 UIKitCore 0x3a12cc UIApplicationMain + 340
24 libswiftUIKit.dylib 0x35308 UIApplicationMain(_:_:_:_:) + 104
25 ArtWorkout 0x6d5c main + 124 (TuistAssets+ArtWorkout.swift:124)
26 ??? 0x1f5eb8960 (Missing)
Hi there. I've discovered two different crashes in our reports. I can't tell how they were triggered though since the crashes were collected anonymously.
Environment