kanyun-inc / YTKNetwork

YTKNetwork is a high level request util based on AFNetworking.
MIT License
6.46k stars 1.66k forks source link

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

Open wuyj opened 3 years ago

wuyj commented 3 years ago

hi,

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

机型:iphone6s os系统:14.1~14.4

cache是默认设置

出错的地方: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 commented 3 years ago

请问楼主解决了吗

a130785 commented 3 years ago

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