Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when load images #37

Closed
uncleRX opened this issue Sep 10, 2018 · 10 comments
Closed

crash when load images #37

uncleRX opened this issue Sep 10, 2018 · 10 comments

Comments

@uncleRX
Copy link

uncleRX commented Sep 10, 2018

1536574310334

@uncleRX
Copy link
Author

uncleRX commented Sep 10, 2018

发生在 列表cell 加载网络图片的时候

@CocoaDebug
Copy link
Owner

截图看不太清楚,有完整的堆栈信息吗?确定是CocoaDebug库引起的吗?

@uncleRX
Copy link
Author

uncleRX commented Sep 12, 2018

确定哦~ 用SDWebIMage 加载图片的时候,cocoaDebug 拦截网络请求导致的 ,开始以为是SD库的问题,后来尝试多版本,以及YYImage ,当快速滑动的时候,崩溃率很高,找了很久,后来把cocoaDebug 注释掉,在也没出现过,一开列表页又出现

@CocoaDebug
Copy link
Owner

你用的cocoadebug版本是? 你发的截图确实看不出问题所在。能提供更详细的日志吗?

欢迎提PR

@uncleRX
Copy link
Author

uncleRX commented Sep 14, 2018

版本是0.11
我也只能看到类似于这种的堆栈,报错信息看不出来
1536894003786

@CocoaDebug
Copy link
Owner

试过打全局断点没有呢?

@CocoaDebug CocoaDebug added bug Something isn't working question Further information is requested help wanted Extra attention is needed and removed bug Something isn't working question Further information is requested help wanted Extra attention is needed labels Sep 19, 2018
@uncleRX
Copy link
Author

uncleRX commented Sep 26, 2018

image
全局断点,跟异常断点不会进. 这个错误是经常出现的

@CocoaDebug
Copy link
Owner

CocoaDebug commented Oct 30, 2018

你好,请问bug仍然存在吗?

EXC_BAD_ACCESS是访问了已经释放了的对象导致的,使用Zombie和Address Sanitizer可以准确定位问题,你可以这样设置,谢谢! @uncleRX

snip20181030_2

@CocoaDebug
Copy link
Owner

CocoaDebug commented Dec 15, 2018

Please update CocoaDebug to last version. Thanks!

@haoht
Copy link

haoht commented Dec 18, 2018

Good

@CocoaDebug CocoaDebug removed the question Further information is requested label Apr 2, 2019
@CocoaDebug CocoaDebug changed the title 加载图片时会崩溃 crash when load images Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants