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 report - NSOperationQueue 0x1c482b240 (QOS: UNSPECIFIED) #121

Open
4 tasks done
brurend opened this issue Oct 30, 2019 · 8 comments
Open
4 tasks done

Comments

@brurend
Copy link

brurend commented Oct 30, 2019

Description
I still haven't been able to reproduce this crash consistently but it been happening every now and then according to our Crashlytics. Also we haven't changed anything significantly with out cluster implementation so I'm not sure what could be causing it.

Crashed: NSOperationQueue 0x1c482b240 (QOS: UNSPECIFIED)
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
$s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF

I can send you the full stack trace if it helps.

Smartphone

  • Device: iPhone XR
  • OS: iOS 13.1.2

Checklist

@efremidze
Copy link
Owner

I added a name to the OperationQueue. Hopefully that might help identify the queue. Can you send the full stack trace?

@brurend
Copy link
Author

brurend commented Oct 31, 2019

Crashed: NSOperationQueue 0x1c482b240 (QOS: UNSPECIFIED)
0  libswiftCore.dylib             0x1057419f0 _swift_release_dealloc + 16
1  Cluster                        0x103d55e90 $s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF + 960
2  Cluster                        0x103d55e90 $s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF + 960
3  Cluster                        0x103d55f10 $s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF + 1088
4  Cluster                        0x103d4f710 $s7Cluster0A7ManagerC20clusteredAnnotations4tree8mapRects9zoomLevelSaySo12MKAnnotation_pGAA8QuadTreeC_SaySo9MKMapRectaGSdtF + 676
5  Cluster                        0x103d4f088 $s7Cluster0A7ManagerC20clusteredAnnotations9zoomScale14visibleMapRect9operationSaySo12MKAnnotation_pG5toAdd_AI0L6RemovetSd_So05MKMapI0aSo11NSOperationCSgtF + 636
6  Cluster                        0x103d4e960 $s7Cluster0A7ManagerC6reload7mapView10completionySo05MKMapE0C_ySbctFySo16NSBlockOperationCcfU_yyXEfU_ + 288
7  Cluster                        0x103d541f0 $ss5Error_pIgzo_ytsAA_pIegrzo_TRTA + 20
8  libswiftObjectiveC.dylib       0x105b86cec autoreleasepool<A>(invoking:) + 4398787820
9  Cluster                        0x103d4e7c4 $s7Cluster0A7ManagerC6reload7mapView10completionySo05MKMapE0C_ySbctFySo16NSBlockOperationCcfU_ + 284
10 Cluster                        0x103d54e78 $sSo16NSOperationQueueC7ClusterE17addBlockOperationyyySo07NSBlockF0CcFyycfU_TA + 84
11 Cluster                        0x103d542ec $sIeg_IeyB_TR + 28
12 Foundation                     0x181c91310 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
13 Foundation                     0x181bd19e4 -[NSBlockOperation main] + 72
14 Foundation                     0x181bc1620 -[__NSOperationInternal _start:] + 848
15 Foundation                     0x181c93004 __NSOQSchedule_f + 404
16 libdispatch.dylib              0x180c49048 _dispatch_client_callout + 16
17 libdispatch.dylib              0x180c513d4 _dispatch_continuation_pop$VARIANT$mp + 428
18 libdispatch.dylib              0x180c4fcd4 _dispatch_async_redirect_invoke$VARIANT$mp + 604
19 libdispatch.dylib              0x180c561c8 _dispatch_root_queue_drain + 596
20 libdispatch.dylib              0x180c55f10 _dispatch_worker_thread3 + 120
21 libsystem_pthread.dylib        0x180eef120 _pthread_wqthread + 1268
22 libsystem_pthread.dylib        0x180eeec20 start_wqthread + 4

and

Crashed: NSOperationQueue 0x145ec15f0 (QOS: UNSPECIFIED)
0  Cluster                        0x1066c1b58 $s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF + 136
1  Cluster                        0x1066c1f10 $s7Cluster12QuadTreeNodeC11annotations2inSaySo12MKAnnotation_pGSo9MKMapRecta_tF + 1088
2  Cluster                        0x1066bc17c $s7Cluster0A7ManagerC21distributeAnnotations4tree7mapRectyAA8QuadTreeC_So05MKMapG0atF + 64
3  Cluster                        0x1066bafcc $s7Cluster0A7ManagerC20clusteredAnnotations9zoomScale14visibleMapRect9operationSaySo12MKAnnotation_pG5toAdd_AI0L6RemovetSd_So05MKMapI0aSo11NSOperationCSgtF + 448
4  Cluster                        0x1066ba960 $s7Cluster0A7ManagerC6reload7mapView10completionySo05MKMapE0C_ySbctFySo16NSBlockOperationCcfU_yyXEfU_ + 288
5  Cluster                        0x1066c01f0 $ss5Error_pIgzo_ytsAA_pIegrzo_TRTA + 20
6  libswiftObjectiveC.dylib       0x1d78b4d20 autoreleasepool<A>(invoking:) + 56
7  Cluster                        0x1066ba7c4 $s7Cluster0A7ManagerC6reload7mapView10completionySo05MKMapE0C_ySbctFySo16NSBlockOperationCcfU_ + 284
8  Cluster                        0x1066c0e78 $sSo16NSOperationQueueC7ClusterE17addBlockOperationyyySo07NSBlockF0CcFyycfU_TA + 84
9  Cluster                        0x1066c02ec $sIeg_IeyB_TR + 28
10 Foundation                     0x1a2ef161c __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
11 Foundation                     0x1a2dfb3d8 -[NSBlockOperation main] + 100
12 Foundation                     0x1a2ef38a4 __NSOPERATION_IS_INVOKING_MAIN__ + 20
13 Foundation                     0x1a2dfb070 -[NSOperation start] + 732
14 Foundation                     0x1a2ef429c __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20
15 Foundation                     0x1a2ef3d68 __NSOQSchedule_f + 180
16 libdispatch.dylib              0x1a27ac81c _dispatch_block_async_invoke2 + 104
17 libdispatch.dylib              0x1a27fa184 _dispatch_client_callout + 16
18 libdispatch.dylib              0x1a27a2a9c _dispatch_continuation_pop$VARIANT$mp + 412
19 libdispatch.dylib              0x1a27a21f0 _dispatch_async_redirect_invoke + 600
20 libdispatch.dylib              0x1a27aefd0 _dispatch_root_queue_drain + 376
21 libdispatch.dylib              0x1a27af79c _dispatch_worker_thread2 + 128
22 libsystem_pthread.dylib        0x1a2849f64 _pthread_wqthread + 212
23 libsystem_pthread.dylib        0x1a284cae0 start_wqthread + 8

@brurend
Copy link
Author

brurend commented Nov 4, 2019

Just an update, it happened a few more times during the weekend. Let me know if there is anything I can do to help investigating.

Screen Shot 2019-11-04 at 10 43 34

@efremidze
Copy link
Owner

What version of Cluster?

@brurend
Copy link
Author

brurend commented Nov 4, 2019

What version of Cluster?

3.0.2

@efremidze
Copy link
Owner

Is it reproducible if you downgrade to 3.0.1?

@brurend
Copy link
Author

brurend commented Nov 13, 2019

I know it never happened at version 3.0.0, I will do some testing with 3.0.1

@efremidze
Copy link
Owner

I've reverted 2.0.2 for now. Needs more investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants