Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.5k stars 1.1k forks source link

@objc UIView.skeletonLayoutSubviews() EXC_BAD_ACCESS (KERN_PROTECTION_FAILURE) #533

Open iamjcabarra opened 1 year ago

iamjcabarra commented 1 year ago

Description

I've been seeing crash reports from Firebase related to SkeletonView.

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

SkeletonView Environment:

SkeletonView version: 1.29.2 Xcode version: 14.1 Swift version: 5.2

Steps to reproduce:

I wasn't able to reproduce myself.

Expected result:

*Should not crash the app.

Actual result:

*It crashes the app.

Attachments:

Crashed: com.apple.main-thread 0 libswiftCore.dylib 0x41ffdc swift_getInitializedObjCClass + 4 1 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 2 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 3 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 4 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 5 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 6 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 7 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 8 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 9 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 10 SEA 0x15a8400 @objc UIView.skeletonLayoutSubviews() + 2331228 (:2331228) 11 PrintKitUI 0x2580 -[UIPrinterSearchingViewAccessibility layoutSubviews] + 56 12 UIKitCore 0x4860 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980 13 QuartzCore 0x9b0c CA::Layer::layout_if_needed(CA::Transaction) + 500 14 QuartzCore 0x1d1c0 CA::Layer::layout_and_display_if_needed(CA::Transaction) + 148 15 QuartzCore 0x2e534 CA::Context::commit_transaction(CA::Transaction, double, double) + 444 16 QuartzCore 0x63930 CA::Transaction::commit() + 652 17 QuartzCore 0x4cbb4 CA::Transaction::flush_as_runloop_observer(bool) + 88 18 CoreFoundation 0x91d40 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36 19 CoreFoundation 0x1a290 CFRunLoopDoObservers + 532 20 CoreFoundation 0x7bc60 CFRunLoopRun + 1048 21 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612 22 GraphicsServices 0x1368 GSEventRunModal + 164 23 UIKitCore 0x3a186c -[UIApplication _run] + 888 24 UIKitCore 0x3a14d0 UIApplicationMain + 340 25 SEA 0x8284 main + 25 (FatAppDelegate.swift:25) 26 ??? 0x1e21a2960 (Missing)

AikenCod commented 2 months ago

same question

ihnatmoisieiev commented 1 month ago

Same issue. Any updates here?