This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.

时间:2022-06-27 03:33:12
 -- ::03.098 天天送[:] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
Stack:(
CoreFoundation 0x0000000183320f74 <redacted> +
libobjc.A.dylib 0x0000000197f13f80 objc_exception_throw +
CoreFoundation 0x0000000183320ea4 <redacted> +
Foundation 0x000000018433a5d8 <redacted> +
Foundation 0x00000001841bca1c <redacted> +
UIKit 0x0000000188871a34 <redacted> +
UIKit 0x0000000188b798e0 <redacted> +
UIKit 0x0000000188870458 <redacted> +
天天送 0x0000000100241fc4 -[UIViewController(Toast) hideLoading] + 84
天天送 0x00000001001ef4c4 __51-[FudaiPayViewController wxPayWithOrderName:price:]_block_invoke +
libdispatch.dylib 0x00000001006a9d70 _dispatch_call_block_and_release +
libdispatch.dylib 0x00000001006a9d30 _dispatch_client_callout +
libdispatch.dylib 0x00000001006b8f38 _dispatch_root_queue_drain +
libdispatch.dylib 0x00000001006b8600 _dispatch_worker_thread3 +
libsystem_pthread.dylib 0x0000000198921478 _pthread_wqthread +
libsystem_pthread.dylib 0x0000000198921028 start_wqthread +
)

调试微信支付时,发现偶尔会有一次崩溃的问题,跟踪,发现调试模式会报这个错误,但是正常模式会直接crash,注意看红色的那行,因为代码是在http的回包block里执行的,应该就是所谓后台执行了,修改掉

        dispatch_async(dispatch_get_main_queue(), ^{
[weakSelf hideLoading];
});

This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.的更多相关文章

  1. This application is modifying the autolayout engine from a background thread&comma; which can lead to engine corruption and weird crashes&period; This will cause an exception in a future release&period;

    一,经历 <1> 使用SDWebImage下载 成功图片后,将图片设置给 self.imageView.image,提示如题所示的错误提示. <2>第一反应就是慢慢注释掉代码进 ...

  2. This application is modifying the autolayout engine from a background threa-线程错误

    警告提示:This application is modifying the autolayout engine from a background thread, which can lead to ...

  3. warning:This application is modifying the autolayout engine from a background thread

    警告提示:This application is modifying the autolayout engine from a background thread, which can lead to ...

  4. iOS之崩溃处理:This application is modifying the autolayout engine from a background thread

    一.错误提示 今天在开发的时候遇到一个崩溃问题,"This application is modifying the autolayout engine from a background ...

  5. iOS开发——modifying the autolayout engine from a background thread

    很多时候,我们需要用到多线程的东西,比如红外线检测是否有人经过.这种情况需要搞个子线程在后台不断的检测,这个线程可能是第三方提供的,你调用它给的方法,然后显示提示框的时候,问题就来了. 提示信息:Th ...

  6. APP崩溃提示:This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread&period; This can lead to engine corruption and weird crashes&period;

    崩溃输出日志 2017-08-29 14:53:47.332368+0800 HuiDaiKe[2373:1135604] This application is modifying the auto ...

  7. iOS 报错&colon;&lpar;子线程中更新UI&rpar;This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread&period; This can lead to engine corruption and weird crashes&period;

    今天在写程序的时候,使用Xcode 运行工程时报出下面的错误错信息,我还以为是什么呢,好久没遇到过这样的错误了. **ProjectName[1512:778965] This application ...

  8. autolayout也会锁死

    This application is modifying the autolayout engine from a background thread, which can lead to engi ...

  9. iOS JavaScriptCore与H5交互时出现异常提示

    在利用JavaScriptCore与H5交互时出现异常提示: This application is modifying the autolayout engine from a background ...

随机推荐

  1. 放养的小爬虫--豆瓣电影入门级爬虫&lpar;mongodb使用教程~&rpar;

    放养的小爬虫--豆瓣电影入门级爬虫(mongodb使用教程~) 笔者声明:只用于学习交流,不用于其他途径.源代码已上传github.githu地址:https://github.com/Erma-Wa ...

  2. 万全R630服务器组装RAID5阵列

    随笔, 昨天领导让我给一台服务器做系统,本身作为开发的我有一些挑战.而且领导说的事,怎么着也得努努力试试不是? 下午去机房找到服务器本以为仅仅是装个系统完事,而且据我了解服务器本身有系统,以为拿着系统 ...

  3. CentOS7 Mini安装Oracle后用PL&sol;SQL连接数据库(图形化安装)

    1.本来是安装完数据库后,本地可以访问了,而Win10下Oracle客户端配置Oracle Net Manager时报连接超时 解决方法: 这种连接超时,让我想到telnet连接问题,就用telnet ...

  4. PHP-----循环结构

    for循环语句 打印金字塔 完整的金字塔 //打印金字塔 $n=25; for($i=1;$i<=$n;$i++){ //空格循环 for($k=1;$k<=$n-$i;$k++){ ec ...

  5. MongoDB学习笔记三:查询

    MongoDB中使用find来进行查询.查询就是返回一个集合中文档的子集,子集合的范围从0个文档到整个集合.find的第一个参数决定了要返回哪些文档,其形式也是一个文档,说明要执行的查询细节.空的查询 ...

  6. Java总结第一次&sol;&sol;有些图片未显示,文章包含基础java语言及各种语句

    一.java入门 1.Java入门学习框架: 2.常用的DOS命令: dir(directory) :    列出当前目录下的文件以及文件夹 md(make directory) :   创建目录 r ...

  7. String的那一大堆事儿--1

    perfTimeStr = perfTimeStr.replace(perfTimeStr.substring(0,4), "____"); perfTimeStr = perfT ...

  8. unity&comma; monodevelop 不安全的代码只会在使用&sol;unsafe编译的情况下出现

    http://blog.sina.com.cn/s/blog_6b3661a90102wx2g.html

  9. Team Work Ⅱ

    Regal-Lighting团队设计 分工思考 本次大作业我的分工定位是:Unit及子类,主要设计实现建筑类的功能. 首先王者光耀这款游戏所需要的建筑分为三类: 1.防御塔:有一定的血量,血量为0时破 ...

  10. MDX Step by Step 读书笔记&lpar;九&rpar; - Working with Time 处理时间

    开篇介绍 这一章节主要用到的 MDX 函数: PeriodsToDate( [Level , [Member]] ) - 从指定级别的范围内,返回与指定成员同一级别,从第一个期间开始到指定成员结束的期 ...