user breakpoint called from code at

场景:用malloc分配内存老出user breakpoint called from code at这个异常

用malloc分配内存老出user breakpoint called from code at这个错误
用malloc它分配内存,没有释放,过一段时候就就报 user breakpoint called from code at这个错误,不知道是哪里的问题?

------解决方案--------------------
那你内存是在哪儿释放的呢
通常这种错误是内存重复释放或越界操作引起的
------解决方案--------------------
崩溃时,点调试,查看调用堆栈