ibireme / YYText

Powerful text framework for iOS to display and edit rich text.
MIT License
8.84k stars 1.68k forks source link

YYTextEffectWindow 的rootViewController方法死循环 #938

Open zldb opened 3 years ago

zldb commented 3 years ago

在使用中发现偶尔会出现该方法死循环崩溃,非必现,不知道有没有处理方式?

Y-JunKang commented 3 years ago

image 我也碰到了这个问题,iOS 14系统出现,在setRootViewController的时候出现循环。

dudongge commented 3 years ago

@Y-JunKang

如何复现的 我们bugly上 也上报了这个错误 但是debug 模式下复现不了

zldb commented 3 years ago

@dudongge for循环不进去,我这必crash,你试下,暂未确定具体原因,有确定的话可以说下

JanzenChen commented 3 years ago

@dudongge 在Xcode 12 上跑系统就会crash,偶现

Haley-Wong commented 3 years ago

在Xcode 12 上,新建工程,然后删除ScenedDelegate,在任何页面使用YYTextView,启动工程就会崩溃。

nyz110 commented 3 years ago

同样的问题,没法复现出来,有解决的吗

tounaobun commented 2 years ago

+1

GPF253904828 commented 2 years ago

我也遇到了,怎么解决? 492 SocialGame 0x00000001058531e4 -[YYTextEffectWindow rootViewController] + 448 (YYTextEffectWindow.m:65) 493 UIKitCore 0x00000001847d23ac __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 32 (UIWindow.m:2334) 494 UIKitCore 0x000000018473b664 +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 164 (UIViewController.m:7534) 495 UIKitCore 0x00000001849064bc -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 304 (UIWindow.m:2333) 496 UIKitCore 0x0000000184849704 -[UIWindow setRootViewController:] + 288 (UIWindow.m:2393) 497 SocialGame 0x00000001058531e4 -[YYTextEffectWindow rootViewController] + 448 (YYTextEffectWindow.m:65) 498 UIKitCore 0x00000001847d23ac __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 32 (UIWindow.m:2334) 499 UIKitCore 0x000000018473b664 +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 164 (UIViewController.m:7534) 500 UIKitCore 0x00000001849064bc -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 304 (UIWindow.m:2333) 501 UIKitCore 0x0000000184849704 -[UIWindow setRootViewController:] + 288 (UIWindow.m:2393) 502 SocialGame 0x00000001058531e4 -[YYTextEffectWindow rootViewController] + 448 (YYTextEffectWindow.m:65) 503 UIKitCore 0x00000001847d23ac __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 32 (UIWindow.m:2334) 504 UIKitCore 0x000000018473b664 +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 164 (UIViewController.m:7534) 505 UIKitCore 0x00000001849064bc -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 304 (UIWindow.m:2333) 506 UIKitCore 0x0000000184849704 -[UIWindow setRootViewController:] + 288 (UIWindow.m:2393) 507 SocialGame 0x00000001058531e4 -[YYTextEffectWindow rootViewController] + 448 (YYTextEffectWindow.m:65) 508 UIKitCore 0x00000001847d23ac __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 32 (UIWindow.m:2334) 509 UIKitCore 0x000000018473b664 +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 164 (UIViewController.m:7534) 510 UIKitCore 0x00000001849064bc -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 304 (UIWindow.m:2333)

ancroid commented 2 years ago

+1 大佬们 有解决的么

GqqForiOS commented 2 years ago

+1 大佬们 有解决的么

同样遇到此问题

342261733 commented 1 year ago

+1 大佬们 有解决的么

LWKMUMU commented 1 year ago
LeeZhe commented 1 year ago

我也遇到了这个堆栈报错,要怎么解决? @Haley-Wong @dudongge

uniqueqianliangliang commented 7 months ago

请问这个有解吗,我也遇到了