Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRASH] swift::fatalError(unsigned int, char const*, ...) #988

Open
olehhrechyn opened this issue Nov 15, 2023 · 0 comments
Open

[CRASH] swift::fatalError(unsigned int, char const*, ...) #988

olehhrechyn opened this issue Nov 15, 2023 · 0 comments
Labels

Comments

@olehhrechyn
Copy link

Describe the bug

I was unable to reproduce this crash, but I am providing you with the data from Firebase Crashlytics.
Most importantly: this crash only occurs in Starscream version 4.0.6.

Stack trace:

Crashed: com.vluxe.starscream.networkstream
0 libsystem_kernel.dylib 0xa01c __pthread_kill + 8
1 libsystem_pthread.dylib 0x5680 pthread_kill + 268
2 libsystem_c.dylib 0x75bb0 abort + 180
3 libswiftCore.dylib 0x3a24d8 swift::fatalError(unsigned int, char const*, ...) + 126
4 libswiftCore.dylib 0x3a24f8 swift::warningv(unsigned int, char const*, char*) + 30
5 libswiftCore.dylib 0x3a6ef8 swift_deallocPartialClassInstance + 306
6 libswiftCore.dylib 0x3a6d88 _swift_release_dealloc + 56
7 libswiftCore.dylib 0x3a8424 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
8 Network 0x193594 outlined consume of (@escaping @callee_guaranteed @sendable (@in_guaranteed NWConnection.State) -> ())? + 36
9 libswiftCore.dylib 0x3a6d88 _swift_release_dealloc + 56
10 libswiftCore.dylib 0x3a8424 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
11 libsystem_blocks.dylib 0x2438 _call_dispose_helpers_excp + 48
12 libsystem_blocks.dylib 0x23ec _Block_release + 252
13 libsystem_blocks.dylib 0x22b4 bool HelperBase::disposeCapture<(HelperBase::BlockCaptureKind)4>(unsigned int, unsigned char*) + 68
14 libsystem_blocks.dylib 0x2538 HelperBase::destroyBlock(Block_layout*, bool, unsigned char*) + 180
15 libsystem_blocks.dylib 0x2450 _call_dispose_helpers_excp + 72
16 libsystem_blocks.dylib 0x23ec _Block_release + 252
17 libdispatch.dylib 0x464c __destroy_helper_block_8_32c35_ZTS29dispatch_block_private_data_s + 96
18 libsystem_blocks.dylib 0x2438 _call_dispose_helpers_excp + 48
19 libsystem_blocks.dylib 0x23ec _Block_release + 252
20 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
21 libdispatch.dylib 0xb894 _dispatch_lane_serial_drain + 748
22 libdispatch.dylib 0xc3c4 _dispatch_lane_invoke + 380
23 libdispatch.dylib 0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
24 libdispatch.dylib 0x16878 _dispatch_workloop_worker_thread + 404
25 libsystem_pthread.dylib 0x1964 _pthread_wqthread + 288
26 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

Keys:

crash_info_entry_0 Object 0x280da5730 of class NWConnection deallocated with non-zero retain count 2. This object's deinit, or something called from it, may have created a strong reference to self which outlived deinit, resulting in a dangling reference.
crash_info_entry_1 abort() called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant