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

请教 iphone6s 14.x系统下crash在YTKRequest.m:148 #533

Open
wuyj opened this issue Mar 18, 2021 · 2 comments
Open

请教 iphone6s 14.x系统下crash在YTKRequest.m:148 #533

wuyj opened this issue Mar 18, 2021 · 2 comments

Comments

@wuyj
Copy link

wuyj commented Mar 18, 2021

hi,

异常状态码: SIGBUS BUS_ADRALN ,访问了一个未对齐的地址

机型:iphone6s os系统:14.1~14.4

cache是默认设置

  • (NSInteger)cacheTimeInSeconds {
    return -1;
    }

出错的地方:YTKRequest.m:148
dispatch_async(ytkrequest_cache_writing_queue(), ^{
[self saveResponseDataToCacheFile:[super responseData]];
});

bugly出错堆栈

libobjc.A.dylib objc_retain + 8
1 XXXX __41-[YTKRequest requestCompletePreprocessor]_block_invoke (YTKRequest.m:148)
2 libdispatch.dylib __dispatch_call_block_and_release + 24
3 libdispatch.dylib __dispatch_client_callout + 16
4 libdispatch.dylib __dispatch_lane_serial_drain$VARIANT$mp + 612
5 libdispatch.dylib __dispatch_lane_invoke$VARIANT$mp + 424
6 libdispatch.dylib __dispatch_workloop_worker_thread + 712
7 libsystem_pthread.dylib _pthread_wqthread + 272
@ikoko
Copy link

ikoko commented Jul 17, 2021

请问楼主解决了吗

@a130785
Copy link

a130785 commented Sep 8, 2021

同样遇到了,楼主解决了吗

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