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

EXC_BAD_ACCESS Crash in background when "Always" location permission enabled #2260

Open
afriedmanGlacier opened this issue Nov 7, 2024 · 0 comments
Labels
bug 🪲 Something is broken!

Comments

@afriedmanGlacier
Copy link

Environment

  • Xcode version: 15.0.1
  • iOS version: 16.7.10, 17.x, 18.1
  • Maps SDK Version: 11.7.1

Observed behavior and steps to reproduce

We are getting EXC_BAD_ACCESS crash, 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 happens sporadically, we haven't been able to nail down exact circumstances, other than when Location permissions are set to Always, and 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 for the crashed thread is just:
#0 0x00000001047b3f2c in ___lldb_unnamed_symbol2102 ()
#12 0x0000000224c500ec in _pthread_start ()

I made a comment on #2236 but because the crash type seemed similar, but since it's on a different thread, I'm adding a new ticket as well.

@afriedmanGlacier afriedmanGlacier added the bug 🪲 Something is broken! label Nov 7, 2024
quido3 pushed a commit to SharperShape/mapbox-maps-ios that referenced this issue Nov 26, 2024
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

1 participant