xcode Address Sanitizer 阻止应用程序崩溃
我正在尝试调试导致此错误的应用程序崩溃
libc++abi:以 std::bad_alloc 类型的未捕获异常终止: std::bad_alloc dyld4 配置: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
当我尝试使用 Address Sanitizer 获取更多信息时导致应用程序不崩溃。 这可能是什么原因造成的?
我也明白这个
malloc:由于无法预分配保留而放弃纳米区域 虚拟机空间。
在打开 AS 的控制台中。
I'm trying to debug an crash in an app which results in this error
libc++abi: terminating with uncaught exception of type std::bad_alloc:
std::bad_alloc dyld4 config:
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
When I try to use Address Sanitizer to get more info it causes the app not to crash.
What could be the cause of this?
I also get this
malloc: nano zone abandoned due to inability to preallocate reserved
vm space.
in the console with AS turned on.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论