app内存压力问题不稳定,内存历史不明确

时间:2016-07-13 17:03:07

标签: ios memory memory-management

启用addressSanitizer调试器支持后,我的应用程序在加载第一个视图控制器后崩溃。这是一堆图像的集合视图。我使用Nuke加载图像。有人能帮我理解这段记忆的历史吗?

参考(1113,0x1f775000)malloc: * malloc_zone_unregister()因0x8bc6000而失败 == 1113 == __ sanitizer_mz_destroy()调用 - 忽略 参考文献(1113,0x1f775000)malloc:* malloc_zone_unregister()因0xbb80000而失败 == 1113 == __ sanitizer_mz_destroy()调用 - 忽略 参考文献(1113,0x1f775000)malloc:*** malloc_zone_unregister()因0x8bc4000而失败 == 1113 == __ sanitizer_mz_destroy()调用 - 忽略 (lldb)ivars 0x8bc6000 错误:执行被中断,原因:EXC_BAD_ACCESS(代码= 1,地址= 0x10)。 该过程已返回到表达式评估之前的状态。 (lldb)内存历史记录0x8bc6000   线程#4294967295:tid = 0x001b,0x002f02c8 libclang_rt.asan_ios_dynamic.dylib wrap_malloc_create_zone + 172, name = 'Memory allocated at' frame #0: 0x002f02c8 libclang_rt.asan_ios_dynamic.dylib wrap_malloc_create_zone + 172     帧#1:0x349f824c IMGSGX543GLDriver glrAllocVendorMallocZones + 36 frame #2: 0x349f5ec2 IMGSGX543GLDriver gldInitializeLibrary + 242     帧#3:0x27522b1e libGFXShared.dylib gfxInitializeLibrary + 1278 frame #4: 0x3514d52c GLEngine gliInitializeLibrary + 44     帧#5:0x27578a60 OpenGLES eagl_init + 472 frame #6: 0x27578666 OpenGLES - [EAGLSharegroup initWithAPI:sharedWithCompute:] + 102     帧#7:0x27577a20 OpenGLES -[EAGLContext commonInitWithAPI:properties:] + 240 frame #8: 0x27e26974 QuartzCore CAEAGLContextCreate + 204     帧#9:0x27e06174 QuartzCore CA::CG::IOSurfaceRenderer::acquire(CA::CG::IOSurfaceDrawable&, CA::CG::IOSurfaceRenderer**, unsigned int, bool) + 556 frame #10: 0x27e05eac QuartzCore CA :: CG :: Queue :: render_callback(void *)+ 48     帧#11:0x002ef53a libclang_rt.asan_ios_dynamic.dylib asan_dispatch_call_block_and_release + 200 frame #12: 0x02c4f5a8 libdispatch.dylib _ dispatch_queue_drain + 2012     帧#13:0x02c47ef6 libdispatch.dylib _dispatch_queue_invoke + 282 frame #14: 0x02c50fe4 libdispatch.dylib _ dispatch_root_queue_drain + 1788     帧#15:0x02c508e4 libdispatch.dylib _dispatch_worker_thread3 + 100 frame #16: 0x258f7b26 libsystem_pthread.dylib _ pthread_wqthread + 1022     帧#17:0x258f7716 libsystem_pthread.dylib`start_wqthread + 6

0 个答案:

没有答案