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

New crash on 1.7.1 related to Telemetry (reports from Crashlytics) #375

Closed
lluisgerard opened this issue Nov 23, 2024 · 6 comments
Closed
Assignees
Labels

Comments

@lluisgerard
Copy link

Describe the bug
The issue was clear with 1.7.0 because it happened right when you opened the app.
With version 1.7.1 it may not happen often but I receive reports from Crashlytics.

To Reproduce
I don't know how to reproduce, I get crashlytics reports.

Expected behavior
Not crash

Screenshots

          Crashed: com.apple.NSURLSession-delegate
0  FieldMargin                    0xcb388c specialized Telemetry.error(metric:log:buildTags:) + 169 (Telemetry.swift:169)
1  FieldMargin                    0xc574a0 Analytics.reportInternalError(_:fatal:) + 76 (Errors.swift:76)
2  FieldMargin                    0xca092c specialized HTTPClient.handleResponse(data:response:error:url:completion:) + 101 (HTTPClient.swift:101)
3  FieldMargin                    0xc9f994 closure #1 in HTTPClient.startBatchUpload(writeKey:batch:completion:) + 4379916692
4  FieldMargin                    0xca0c58 partial apply for closure #1 in HTTPClient.startBatchUpload(writeKey:batch:completion:) + 4379921496
5  FieldMargin                    0x2ccf90 thunk for @escaping @callee_guaranteed @Sendable (@guaranteed Data?, @guaranteed NSURLResponse?, @guaranteed Error?) -> () + 4369616784 (<compiler-generated>:4369616784)
6  CFNetwork                      0xadd60 CFHostCreateCopy + 13544
7  CFNetwork                      0xadb40 CFHostCreateCopy + 13000
8  libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
9  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
10 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
11 libdispatch.dylib              0xbf64 _dispatch_lane_invoke + 432
12 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
13 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
14 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
15 libsystem_pthread.dylib        0x10cc start_wqthread + 8
        

Platform (please complete the following information):

  • Library Version in use: 1.7.1
  • Platform being tested: Reports from iOS 17.5.1 (iPhone 15) and iOS 18.0.0 (iPhone 14) with recurring crashes.
  • Integrations in use: Amplitude

Additional context
Crash already reported on 1.7.0 that was supposed to be fixed (it was for me when opening the app) but it seems to happen in some yet unknown conditions. Previous reports on 1.7.0 #371 #373

@MichaelGHSeg
Copy link
Contributor

Thank you for the report, I'm looking into the issue.

@lluisgerard
Copy link
Author

Thank you for the report, I'm looking into the issue.

Thanks! Let me know if you need any more information. As of now I see 10 crashes affecting 5 users (according to Crashlytics reports).

@lluisgerard
Copy link
Author

@MichaelGHSeg Thanks for looking at this. As we get more people into our latest release we see more reported crashes that are highly concentrated to the same users. So far I could not see a specific trait that could help.

Do you think it could be possible to downgrade to version 1.6.2? could that cause any other issues? Thanks

@MichaelGHSeg
Copy link
Contributor

There shouldn't be any issue with downgrading. There hopefully should be a fix out soon as well.

@MichaelGHSeg
Copy link
Contributor

1.7.2 is out and should fix the issue. Thanks you for the help!

@lluisgerard
Copy link
Author

@MichaelGHSeg Thanks! I will update asap 👍

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

No branches or pull requests

3 participants