reallocated专题

内存耗尽产生的crash: malloc: *** error for object 0x: pointer being reallocated was not allocated

当我们用手机进行暴力测试的时候,当内存耗尽,会产生以下的崩溃信息: malloc: *** error for object 0x175104000: pointer being reallocated was not allocated *** set a breakpoint in malloc_error_break to debug 出错的位置都会定位在内存分配的地方,比如a