iPad共享屏幕崩溃,屏幕录制


Description
当我使用iPad 邀请一个安卓用户入会,然后iPad发起屏幕录制,开始直播之后切回到home页面,旋转屏幕,就会崩溃

Which version?
4.4.56843.1110
Screenshots

Smartphone (please complete the following information):

  • Device: [e.g. iPad Air (3)]
  • OS: [e.g. iOS 13.3.1]
  • Version [e.g. 22]

    Additional context
    : [BLYLog] Trapped uncaught exception ‘NSInternalInconsistencyException’, reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
    libc++abi.dylib: terminating with uncaught exception of type NSException

Hi liy,

Thanks for the post. 请问一下您能提供一下SDK log和相应的.crash文件以便我们进一步研究嘛?谢谢

Hi,Carson,
我这里将bugly捕获的崩溃日志信息复制在这里发给你,这是一个必现的过程,使用我这个版本的SDK,因为最新版本SDK部分新功能无法隐藏的问题,所以需要继续使用这个版本
04-06 16:01:10.730 958 - E BLYLog: Trapped uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.’ ( 0 CoreFoundation 0x000000019219e980 DC2C95C6-B954-39E8-86A2-5E0AF8801E87 + 1255808 1 libobjc.A.dylib 0x0000000191eb7028 objc_exception_throw + 60 2 Foundation 0x000000019268a5e0 7A7A96AF-79E4-3DB1-8904-42E61CAE8999 + 2332128 3 Foundation 0x0000000192479828 7A7A96AF-79E4-3DB1-8904-42E61CAE8999 + 165928 4 UIKitCore 0x000000019673cd34 AAFEFEBE-C172-3346-8972-810EB8F2F2C6 + 15600948 5 UIKitCore 0x000000019673af90 AAFEFEBE-C172-3346-8972-810EB8F2F2C6 + 15593360 6 UIKitCore 0x000000019673aa64 AAFEFEBE-C172-3346-8972-810EB8F2F2C6 + 15592036 7 MobileRTC 0x00000001082e5840 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9573596 8 MobileRTC 0x00000001082e5fc0 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9575516 9 MobileRTC 0x00000001082d9b00 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9525148 10 MobileRTC 0x00000001082851e4 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9178752 11 MobileRTC 0x0000000108284548 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9175524 12 MobileRTC 0x0000000108287bec _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 9189512 13 MobileRTC 0x0000000108436b14 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10954672 14 MobileRTC 0x000000010842bd50 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10910188 15 MobileRTC 0x0000000108433b8c _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10942504 16 MobileRTC 0x0000000108432d10 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10938796 17 MobileRTC 0x0000000108430350 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10928108 18 MobileRTC 0x000000010843240c _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10936488 19 MobileRTC 0x000000010843236c _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10936328 20 MobileRTC 0x000000010843a420 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10969276 21 MobileRTC 0x000000010843a3c8 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 10969188 22 libdispatch.dylib 0x0000000191e42b7c 0C7A69CD-F2EE-3426-BFD8-742C903D3D07 + 7036 23 libdispatch.dylib 0x0000000191e43fd8 0C7A69CD-F2EE-3426-BFD8-742C903D3D07 + 12248 24 libdispatch.dylib 0x0000000191e4a59c 0C7A69CD-F2EE-3426-BFD8-742C903D3D07 + 38300 25 libdispatch.dylib 0x0000000191e4ae7c 0C7A69CD-F2EE-3426-BFD8-742C903D3D07 + 40572 26 libdispatch.dylib 0x0000000191e53f20 0C7A69CD-F2EE-3426-BFD8-742C903D3D07 + 77600 27 libsystem_pthread.dylib 0x0000000191ea96d0 _pthread_wqthread + 280 28 libsystem_pthread.dylib 0x0000000191eaf9e8 start_wqthread + 8 )

Hi liy,

感谢提供日志信息,我会把这些信息转给工程团队作进一步研究。请问一下您所指的”新功能无法隐藏“是指哪些新功能无法隐藏呢?

谢谢!

Hi,Carson,
因为其他端的SDK还没有更新,所以如果使用最新版本的SDK,我需要隐藏掉👍和👏,以及更多–会议设置在黑暗模式下会显示成黑白相间的颜色

Hi liy,

我让工程团队看了一下您所遇到的问题,工程团队建议更新SDK并使用最新版本的来避免crash的事情发生。那两个表情目前的确没有接口可以隐藏,我已经向工程团队转达让其在未来的版本里加入隐藏这个表情的功能。在黑暗模式下,会议显示黑白色的原因是因为我们iOS SDK还不支持Xcode 11和黑暗模式,我们的iOS Client也不支持,所以如果您使用Xcode 10来build这个工程,黑白相间的问题就不会出现。

Thx