xcode 这个错误是什么意思?malloc: 对象 0x103f000 的 *** 错误: 未分配被释放的指针
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2420990/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does this error mean? malloc: *** error for object 0x103f000: pointer being freed was not allocated
提问by dontWatchMyProfile
What does that mean? Getting this in the console during usage of my app in debug mode:
这意味着什么?在调试模式下使用我的应用程序期间在控制台中获取此信息:
malloc: * error for object 0x103f000: pointer being freed was not allocated *set a breakpoint in malloc_error_break to debug
malloc:* 对象 0x103f000 的错误:未分配被释放的指针 *在 malloc_error_break 中设置断点以进行调试
Does that mean I'm over-releasing something?
这是否意味着我过度发布了一些东西?
采纳答案by Mike Cialowicz
Looks like you may be dereferencing something that's null, or something similar. I suggest that you post your code here to get some more helpful responses. I'm not too familiar with the iPhone API, so this may not be much help...
看起来您可能正在取消引用空值或类似的内容。我建议您在此处发布您的代码以获得更多有用的回复。我对 iPhone API 不太熟悉,所以这可能没有太大帮助......