Closed lipei007 closed 4 years ago
哪个版本?
如果不是kvo的崩溃 应该不是我这边导致的, lee_alert_layoutSubviews只是交换了实现
V1.3.3 不清楚,我这边从apple crash日志看不出什么。
现在最新的是1.3.6 可以更新 观察一下
0 CoreFoundation 0x1899eaa48 __exceptionPreprocess + 220 (NSException.m:199) 1 libobjc.A.dylib 0x189711fa4 objc_exception_throw + 56 (objc-exception.mm:565) 2 Foundation 0x189ec0f08 _AssertAutolayoutOnAllowedThreadsOnly + 320 (NSISEngine.m:0) 3 Foundation 0x189ccbcc4 -[NSISEngine _optimizeWithoutRebuilding] + 68 (NSISEngine.m:1640) 4 Foundation 0x189ccbbdc -[NSISEngine optimize] + 112 (NSISEngine.m:1614) 5 Foundation 0x189ccb850 -[NSISEngine performPendingChangeNotifications] + 112 (NSISEngine.m:632) 6 UIKitCore 0x18def378c -[UIView(Hierarchy) layoutSubviews] + 308 (UIView.m:12129) 7 我的APP 0x100dd85a4 -[UIView(LEEAlertExtension) lee_alert_layoutSubviews] + 28 (LEEAlert.m:1281) 8 UIKitCore 0x18df0617c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2140 (UIView.m:17028) 9 QuartzCore 0x19046e2c0 -[CALayer layoutSublayers] + 284 (CALayer.mm:9627) 10 QuartzCore 0x19047443c CA::Layer::layout_if_needed(CA::Transaction) + 480 (CALayer.mm:9501) 11 QuartzCore 0x19047f140 CA::Layer::layout_and_display_if_needed(CA::Transaction) + 136 (CALayer.mm:2461) 12 QuartzCore 0x1903c7884 CA::Context::commit_transaction(CA::Transaction, double) + 304 (CAContextInternal.mm:1992) 13 QuartzCore 0x1903f1574 CA::Transaction::commit() + 676 (CATransactionInternal.mm:438) 14 QuartzCore 0x1903f24f8 CA::Transaction::release_thread(void) + 228 (CATransactionInternal.mm:629) 15 libsystem_pthread.dylib 0x189708fb0 _pthread_tsd_cleanup + 580 (pthread_tsd.c:253) 16 libsystem_pthread.dylib 0x189705de8 _pthread_exit + 80 (pthread.c:1520) 17 libsystem_pthread.dylib 0x189706e7c _pthread_wqthread_exit + 96 (pthread.c:2318) 18 libsystem_pthread.dylib 0x189706c18 _pthread_wqthread + 420 (pthread.c:2345) 19 libsystem_pthread.dylib 0x189709760 start_wqthread + 8
应该是自线程里更新了UI,但是从上面的调用看不出是我在子线程主动调用过更新UI。
那肯定不是我这边造成的了, 你好好排查一下所有子线程的代码看看
也遇到这个问题。崩溃率还蛮高的..
(:з」∠) 应该是hock完,然后哪里在后台更新了ui布局,然后走了这边,所以才报错..
(:з」∠) 应该是hock完,然后哪里在后台更新了ui布局,然后走了这边,所以才报错..
我只是交换了实现,我好冤枉😭
V1.3.7 确实是崩溃了
可以复现吗?
LEE 邮箱:18611401994@163.com |
---|
Signature is customized by Netease Mail Master
在2020年04月26日 09:33,刘彦铭 写道:
V1.3.7 确实是崩溃了
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
我也出现了,这个崩溃1.3.6就没问题
我先用1.3.6,等下看有空,下午看弄一个复现的demo再给你说嘛。
------------------ 原始邮件 ------------------ 发件人: "LEE"<notifications@github.com>; 发送时间: 2020年4月26日(星期天) 上午9:52 收件人: "lixiang1994/LEEAlert"<LEEAlert@noreply.github.com>; 抄送: "Stayrealym_x"<374402328@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [lixiang1994/LEEAlert] 崩溃 (#94)
可以复现吗?
LEE 邮箱:18611401994@163.com |
---|
Signature is customized by Netease Mail Master
在2020年04月26日 09:33,刘彦铭 写道:
V1.3.7 确实是崩溃了
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
好的好的 麻烦了
@lipei007 @Cedric-jc @yanmingLiu @ieliwb 已修复
@lipei007 @Cedric-jc @yanmingLiu @ieliwb 已修复 请问一下修复好的 PR 可以发下吗
@lipei007 @Cedric-jc @yanmingLiu @ieliwb 已修复 请问一下修复好的 PR 可以发下吗
apple的崩溃日志显示,在 lee_alert_layoutSubviews 方法崩溃。iOS 13.3.1