NeverMore

Results 4 issues of NeverMore

D:\WorkSpace\MarsDemo\mars>python build_android.py Enter menu: 1. Clean && build mars. 2. Build incrementally mars. 3. Clean && build xlog. 4. Exit 2 ndk path:D:\WorkSpace\NDK-R20-NEW\android-ndk-r20 [[==BUILD_DESCRIPTION==]]Revision: 6a66c82f                   .description table { margin: 10px...

#00 pc 000000000015eee0 /data/app/packagename-G79yZT9XYRHY0MAl3oQG1w==/lib/arm64/libmarsstn.so (std::__ndk1::__tree_iterator std::__ndk1::__tree::find(std::__ndk1::basic_string const&)+68) [arm64-v8a::b335f6bd6e66d74abfe373f57991d644] #01 pc 000000000015f6bc /data/app/com.sammbo.im-G79yZT9XYRHY0MAl3oQG1w==/lib/arm64/libmarsstn.so (SpecialINI::Select(std::__ndk1::basic_string const&)+328) [arm64-v8a::b335f6bd6e66d74abfe373f57991d644] #02 pc 0000000000162f1c /data/app/com.sammbo.im-G79yZT9XYRHY0MAl3oQG1w==/lib/arm64/libmarsstn.so (SmartHeartbeat::__LoadINI()+612) [arm64-v8a::b335f6bd6e66d74abfe373f57991d644] #03 pc 0000000000163a04 /data/app/com.sammbo.im-G79yZT9XYRHY0MAl3oQG1w==/lib/arm64/libmarsstn.so (SmartHeartbeat::OnLongLinkEstablished()+320) [arm64-v8a::b335f6bd6e66d74abfe373f57991d644] #04 pc 00000000001341c8...

## 版本 * 框架版本 * 3.8.16 * 系统版本 ## 错误的url ## 错误日志 ## 重现步骤 ![图片](https://user-images.githubusercontent.com/23081370/124118340-cc79f080-daa3-11eb-918a-405487755e0f.png) 跟踪代码发现这里面的task.cancel()方法没有执行 因为在上传的时候 不会把上传任务加到mTask里面去 所以ThreadTask里面的isCancel一直是false,导致了HttpUThreadTaskAdapter类里面的uploadFile方法里面的getThreadTask().isBreak()不会进去,所以不会跳出循环,就一直在上传,但是在ThreadTaskManager类里面的removeTaskThread方法里面,已经取到了任务并且调用了destroy方法, ![图片](https://user-images.githubusercontent.com/23081370/124118813-5629be00-daa4-11eb-84a6-13276c827fc1.png) ![图片](https://user-images.githubusercontent.com/23081370/124118846-604bbc80-daa4-11eb-85a8-b0249882a49b.png) 所以现在的修改方案是在ThreadTask类里面判断isBreak()方法里加上isDestroy ![图片](https://user-images.githubusercontent.com/23081370/124118956-807b7b80-daa4-11eb-8304-48f796054854.png) ![图片](https://user-images.githubusercontent.com/23081370/124119004-8a9d7a00-daa4-11eb-8d7e-1b34723ba367.png) 这样在这里就会终止上传

wontfix

## 版本 * 框架版本 * 3.8.16 * 系统版本 手机:MI 8 UD MIUI12.0.2 Android 10 ## 错误的url ## 错误日志 ## 重现步骤 1. HttpOption option = new HttpOption(); option.setRequestType(RequestEnum.POST); option.setAttachment("file"); Aria.upload(this).load(uploadBean.filePath) .setUploadUrl("xxxx")...

wontfix