简体   繁体   中英

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. 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

*** Incorrect guard value: 206401777864449

xxx(739,0x16ca7f000) malloc: *** set a breakpoint in malloc_error_break to debug.

在此处输入图片说明

xcode10 -- Edit scheme -- Diagnostics -- select "Address Sanitizer"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM