-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
bugSomething isn't workingSomething isn't workingcrashissue results in a crashissue results in a crashdatastoreIssues related to the DataStore categoryIssues related to the DataStore category
Description
Describe the bug
We have observed a crash coming from Amplify SDK using Sentry
OS Version: iOS 17.1.2 (21B101)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Crashed Thread: 13
Application Specific Information:
Could not allocate memory.
Thread 13 Crashed:
0 libswiftCore.dylib 0x304e18f64 swift::swift_slowAllocTyped
1 libswiftCore.dylib 0x304d5916c swift::swift_slowAllocTyped
2 libswiftCore.dylib 0x304d5dcf8 _swift_allocObject_
3 SampleApp 0x2011c5164 _ContiguousArrayBuffer.init
4 SampleApp 0x2011c51f0 [inlined] _ContiguousArrayBuffer.init
5 SampleApp 0x2011c51f0 [inlined] _copyCollectionToContiguousArray<T>
6 SampleApp 0x2011c51f0 [inlined] Collection._copyToContiguousArray
7 SampleApp 0x2011c51f0 [inlined] [A : B].Values
8 SampleApp 0x2011c51f0 Array.init<T>
9 SampleApp 0x2011c4cec [inlined] Array.init<T>
10 SampleApp 0x2011c4cec [inlined] AtomicDictionary.values.getter (AtomicDictionary.swift:28)
11 SampleApp 0x2011c4cec AtomicDictionary.values.getter
12 SampleApp 0x2011c4d24 AtomicDictionary.values.getter
13 SampleApp 0x2011be1f4 [inlined] thunk for closure
14 SampleApp 0x2011be1f4 [inlined] thunk for closure
15 SampleApp 0x2011be1f4 [inlined] NSLocking.execute<T> (NSLocking+Execute.swift:47)
16 SampleApp 0x2011be1f4 NSLocking.execute<T> (NSLocking+Execute.swift:38)
17 SampleApp 0x2011c3810 [inlined] AtomicDictionary.values.getter (AtomicDictionary.swift:28)
18 SampleApp 0x2011c3810 [inlined] HubChannelDispatcher.listeners.getter (HubChannelDispatcher.swift:78)
19 SampleApp 0x2011c3810 [inlined] HubChannelDispatcher (<compiler-generated>:77)
20 SampleApp 0x2011c3810 HubDispatchOperation.main (HubChannelDispatcher.swift:122)
21 SampleApp 0x2011c3c0c HubDispatchOperation.main
22 Foundation 0x3100aa9c0 __NSOPERATION_IS_INVOKING_MAIN__
23 Foundation 0x3100a9ab0 -[NSOperation start]
24 Foundation 0x3100ac5c8 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
25 Foundation 0x3100ac334 __NSOQSchedule_f
26 libdispatch.dylib 0x32207924c _dispatch_block_async_invoke2
27 libdispatch.dylib 0x32206a2fc _dispatch_client_callout
28 libdispatch.dylib 0x32206d7b4 _dispatch_continuation_pop
29 libdispatch.dylib 0x32206ce64 _dispatch_async_redirect_invoke
30 libdispatch.dylib 0x32207bbe0 _dispatch_root_queue_drain
31 libdispatch.dylib 0x32207c3e8 _dispatch_worker_thread2
32 libsystem_pthread.dylib 0x3e55ad924 _pthread_wqthread
Steps To Reproduce
No steps to reproduce - caught by crash reporting tools
Expected behavior
No crash
Amplify Framework Version
2.22.0
Amplify Categories
API, DataStore, Storage
Dependency manager
Swift PM
Swift version
5.8
CLI version
12.2.3
Xcode version
Xcode 15.0.1 Build version 15A507
Relevant log output
n/a
Is this a regression?
No
Regression additional context
n/a
Platforms
iOS
OS Version
17.1.2
Device
iPhone XR
Specific to simulators
no
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcrashissue results in a crashissue results in a crashdatastoreIssues related to the DataStore categoryIssues related to the DataStore category