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

Crash with EXC_BAD_ACCESS in com.mapbox.common.location.sharedRunloop, onAccuracyAuthorizationChanged #2236

Open
marclefrancois opened this issue Sep 11, 2024 · 2 comments
Labels
bug 🪲 Something is broken!

Comments

@marclefrancois
Copy link

Environment

  • Xcode version: 15.4
  • iOS version: 17.6.1 mainly, also a few occurence on 17.5.1 and on 18.0.0
  • Devices affected: Various iphone models from iPhone X to iPhone 15 pro max
  • Maps SDK Version: 11.4.0

Observed behavior and steps to reproduce

We are seeing this crash gaining traction in our current production release. Here is the callstack download from Firebase crashlytics:
onAccuracyAuthorizationChanged_stacktrace.txt

Expected behavior

Should not crash 😄

@marclefrancois marclefrancois added the bug 🪲 Something is broken! label Sep 11, 2024
@aleksproger
Copy link
Contributor

Thanks @marclefrancois created an internal ticket to track this issue

@afriedmanGlacier
Copy link

afriedmanGlacier commented Nov 7, 2024

We are getting what might be a similar crash (also EXC_BAD_ACCESS), though it's not in sharedRunLoop and the stack trace doesn't have any detail. It seems to only happen where we have Location permissions set to "Always" (set and used with a different LocationManager outside of MapBox) which is only a subset of our users. It does not always happen, we haven't been able to nail down exact circumstances, other than the app is backgrounded. The exception looks like:

com.mapbox.common.Unspecified Worker 1 (37): EXC_BAD_ACCESS (code=10, address=0x123ef4000)

The stack trace is just:
#0 0x00000001047b3f2c in ___lldb_unnamed_symbol2102 ()
#12 0x0000000224c500ec in _pthread_start ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

3 participants