Thread 1: signal SIGABRT

报错信息:

malloc: *** error for object 0x10e595510: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Thread 1: signal SIGABRT

malloc函数

pointer being freed was not allocated

常见原因:

第三方库如glic检测到内部错误或者破坏约束条件

3种可能
1、double free/free 没有初始化的地址或者错误的地址
2、堆越界
3、assert

你可能感兴趣的:(Thread 1: signal SIGABRT)