[英]iOS Error: Running the project on iOS12 gives an error, but it works fine on iOS11
The project enters the background, switches the wifi network, and enters the project to make a network request. 该项目进入后台,切换wifi网络,然后进入该项目以发出网络请求。 The request process will report an error. 请求过程将报告错误。 The error message is as follows: 错误消息如下:
xxx(739,0x16ca7f000) malloc: Heap corruption detected, free list is damaged at 0x280c78fa0 xxx(739,0x16ca7f000)malloc:检测到堆损坏,空闲列表在0x280c78fa0处损坏
*** Incorrect guard value: 206401777864449 ***防护值不正确:206401777864449
xxx(739,0x16ca7f000) malloc: *** set a breakpoint in malloc_error_break to debug. xxx(739,0x16ca7f000)malloc:***在malloc_error_break中设置一个断点进行调试。
xcode10 -- Edit scheme -- Diagnostics -- select "Address Sanitizer"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.