首页 > 代码库 > malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug

malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug

在集成第三方sdk的时候碰到这个问题,

malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list
*** set a breakpoint in malloc_error_break to debug

解决方法:对应版本的头文件要判断系统版本后做相应的引用

malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug