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

[Crashlytics] Crash: -[CLSNetworkClient restartTask:] #5984

Closed
colin1994 opened this issue Jul 7, 2020 · 2 comments · Fixed by #6265
Closed

[Crashlytics] Crash: -[CLSNetworkClient restartTask:] #5984

colin1994 opened this issue Jul 7, 2020 · 2 comments · Fixed by #6265
Assignees
Labels
api: crashlytics macOS Issues or feature requests for macOS.

Comments

@colin1994
Copy link

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.4.1
  • Firebase Component: Crashlytics / Fabric
  • Component version: Crashlytics v.3.14.0 / Fabric v.1.10.2
  • Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem

We encountered a crash, only once, without knowing its specific path and the root cause.
But looking at the log, it seems to be a fabric problem.

Crashed Thread: 4 Dispatch queue: com.twitter.crashlytics.mac.work-queue (QOS: UNSPECIFIED)
name=NSInvalidArgumentException,reason:Cannot create task from nil request

Date/Time:             2020-07-03 12:23:10.211 +0800
OS Version:            Mac OS X 10.15.5 (19F101)
Report Version:        12
Bridge OS Version:     4.5 (17P5300)

Time Awake Since Boot: 62000 seconds

System Integrity Protection: disabled

Crashed Thread:        4  Dispatch queue: com.twitter.crashlytics.mac.work-queue (QOS: UNSPECIFIED)

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [75629]


0   CoreFoundation                      0x00007fff336e3be7 __exceptionPreprocess + 250
1   libobjc.A.dylib                     0x00007fff6c4bb5bf objc_exception_throw + 48
2   CFNetwork                           0x00007fff31fa194e CFURLConnectionInvalidateConnectionCache + 21331
3   CFNetwork                           0x00007fff31fa778f CFURLConnectionInvalidateConnectionCache + 45460
4   CFNetwork                           0x00007fff31fa78bf CFURLConnectionInvalidateConnectionCache + 45764
5   libdispatch.dylib                   0x00007fff6d609658 _dispatch_client_callout + 8
6   libdispatch.dylib                   0x00007fff6d6156ec _dispatch_lane_barrier_sync_invoke_and_complete + 60
7   CFNetwork                           0x00007fff31fa0e15 CFURLConnectionInvalidateConnectionCache + 18458
8   CFNetwork                           0x00007fff31fa1496 CFURLConnectionInvalidateConnectionCache + 20123
9   MyApp                    0x00000001102125e3 -[CLSNetworkClient startNewUploadRequest:filePath:] + 209
10  MyApp                    0x0000000110213186 __32-[CLSNetworkClient restartTask:]_block_invoke + 114
11  Foundation                          0x00007fff35cdfac5 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
12  Foundation                          0x00007fff35cdf9e6 -[NSBlockOperation main] + 80
13  Foundation                          0x00007fff35cdf981 __NSOPERATION_IS_INVOKING_MAIN__ + 17
14  Foundation                          0x00007fff35cdebb3 -[NSOperation start] + 722
15  Foundation                          0x00007fff35cde8d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17
16  Foundation                          0x00007fff35cde7a9 __NSOQSchedule_f + 182
17  libdispatch.dylib                   0x00007fff6d6152b9 _dispatch_block_async_invoke2 + 83
18  libdispatch.dylib                   0x00007fff6d609658 _dispatch_client_callout + 8
19  libdispatch.dylib                   0x00007fff6d60b818 _dispatch_continuation_pop + 414
20  libdispatch.dylib                   0x00007fff6d60af16 _dispatch_async_redirect_invoke + 703
21  libdispatch.dylib                   0x00007fff6d617957 _dispatch_root_queue_drain + 326
22  libdispatch.dylib                   0x00007fff6d618097 _dispatch_worker_thread2 + 92
23  libsystem_pthread.dylib             0x00007fff6d8639f7 _pthread_wqthread + 220
24  libsystem_pthread.dylib             0x00007fff6d862b77 start_wqthread + 15

I hope you can help confirm it.
Thank you!

@ryanwilson ryanwilson added macOS Issues or feature requests for macOS. needs-attention labels Jul 7, 2020
@morganchen12
Copy link
Contributor

Is this crash reproducible on Crashlytics 4.0.0 or higher?

@colin1994
Copy link
Author

Is this crash reproducible on Crashlytics 4.0.0 or higher?

Sorry, we can't reproduce this crash. It only appeared once on Crashlytics v.3.14.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: crashlytics macOS Issues or feature requests for macOS.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants