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

2.10.18, 连续调用拷贝对象方法会触发闪退 #365

Open
CoderZmu opened this issue Dec 10, 2023 · 1 comment
Open

2.10.18, 连续调用拷贝对象方法会触发闪退 #365

CoderZmu opened this issue Dec 10, 2023 · 1 comment

Comments

@CoderZmu
Copy link

调用 - (OSSTask *)copyObject:(OSSCopyObjectRequest *)request 方法会触发闪退, 奔溃日志如下

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4369498112
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   104714000-104a80000 [ 3504K] r-x/r-x SM=COW  ...am.app/XXXX
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [2006]

Triggered by Thread:  12

Thread 12 name:
Thread 12 Crashed:
0   CoreFoundation                	0x0000000198b66170 __CFBasicHashRehash + 728 (CFBasicHash.c:0)
1   CoreFoundation                	0x0000000198b65b98 __CFBasicHashAddValue + 100 (CFBasicHash.c:1292)
2   CoreFoundation                	0x0000000198b56e80 CFDictionarySetValue + 208 (CFDictionary.c:483)
3   CFNetwork                     	0x0000000199e2b610 HTTPHeaderDict::setValue(HTTPHeaderKeyMixedValue const&, HTTPHeaderValueMixedValue const&) + 144 (HTTPHeaderDict.cpp:104)
4   CFNetwork                     	0x0000000199d02408 HTTPMessage::setHeaderFieldStringValue(__CFString const*, __CFString const*) + 100 (HTTPMessage.cpp:219)
5   CFNetwork                     	0x0000000199c25940 CFURLRequestSetHTTPHeaderFieldValue + 136 (CFURLRequest.c:220)
6   AliyunOSSiOS                  	0x000000011f0562cc -[OSSNetworkingRequestDelegate buildInternalHttpRequest] + 3812 (OSSNetworkingRequestDelegate.m:174)
7   AliyunOSSiOS                  	0x000000011f059c1c __63-[OSSTask continueWithExecutor:successBlock:cancellationToken:]_block_invoke + 76 (OSSTask.m:482)
8   AliyunOSSiOS                  	0x000000011f059414 __56-[OSSTask continueWithExecutor:block:cancellationToken:]_block_invoke + 128 (OSSTask.m:400)
9   AliyunOSSiOS                  	0x000000011f042618 __30+[OSSExecutor defaultExecutor]_block_invoke_2 + 128 (OSSExecutor.m:65)
10  AliyunOSSiOS                  	0x000000011f042ac4 -[OSSExecutor execute:] + 60 (OSSExecutor.m:131)
11  AliyunOSSiOS                  	0x000000011f0590a4 -[OSSTask runContinuations] + 272 (OSSTask.m:374)
12  AliyunOSSiOS                  	0x000000011f058bb8 -[OSSTask trySetResult:] + 112 (OSSTask.m:295)
13  AliyunOSSiOS                  	0x000000011f05a4ac -[OSSTaskCompletionSource setResult:] + 60 (OSSTaskCompletionSource.m:46)
14  AliyunOSSiOS                  	0x000000011f059960 __56-[OSSTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 + 460 (OSSTask.m:424)
15  AliyunOSSiOS                  	0x000000011f0594b0 __56-[OSSTask continueWithExecutor:block:cancellationToken:]_block_invoke + 284 (OSSTask.m:432)
16  Foundation                    	0x0000000197b3bcb8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 24 (NSOperation.m:1545)
17  Foundation                    	0x0000000197b6d13c -[NSBlockOperation main] + 104 (NSOperation.m:1564)
18  Foundation                    	0x0000000197b6a9c4 __NSOPERATION_IS_INVOKING_MAIN__ + 16 (NSOperation.m:2189)
19  Foundation                    	0x0000000197b69ab4 -[NSOperation start] + 648 (NSOperation.m:1406)
20  Foundation                    	0x0000000197b6c5cc __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 16 (NSOperation.m:2220)
21  Foundation                    	0x0000000197b6c338 __NSOQSchedule_f + 172 (NSOperation.m:2231)
22  libdispatch.dylib             	0x00000001a0b20250 _dispatch_block_async_invoke2 + 148 (queue.c:555)
23  libdispatch.dylib             	0x00000001a0b11300 _dispatch_client_callout + 20 (object.m:561)
24  libdispatch.dylib             	0x00000001a0b147b8 _dispatch_continuation_pop + 600 (queue.c:306)
25  libdispatch.dylib             	0x00000001a0b13dd4 _dispatch_async_redirect_invoke + 584 (queue.c:830)
26  libdispatch.dylib             	0x00000001a0b22be4 _dispatch_root_queue_drain + 392 (queue.c:7051)
27  libdispatch.dylib             	0x00000001a0b233ec _dispatch_worker_thread2 + 156 (queue.c:7119)
28  libsystem_pthread.dylib       	0x00000002025b1928 _pthread_wqthread + 228 (pthread.c:2642)
29  libsystem_pthread.dylib       	0x00000002025b1a04 start_wqthread + 8 (:-1)

@CoderZmu CoderZmu changed the title 连续调用拷贝对象方面会有几率奔溃 2.10.8, 连续调用拷贝对象方面会有几率奔溃 Dec 10, 2023
@CoderZmu CoderZmu changed the title 2.10.8, 连续调用拷贝对象方面会有几率奔溃 2.10.8, 连续调用拷贝对象方法会触发闪退 Dec 10, 2023
@CoderZmu CoderZmu changed the title 2.10.8, 连续调用拷贝对象方法会触发闪退 2.10.18, 连续调用拷贝对象方法会触发闪退 Dec 12, 2023
@wushuai1415
Copy link
Contributor

看下代码

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

2 participants