mapbox / mapbox/mapbox-maps-ios
Crashes in MapboxMap related to handling gestures.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Environment
- Xcode version: 16.4
- iOS version: Different
- Devices affected: Different
- Maps SDK Version: Different
Crashes
I get from time by time crashes related to the gestures, for different iOS, device and MapboxSdk version.
Attaching crash reports to provide you details the nature of the crash. I hope it will help you to understand what is wrong and improve codebase to avoid crashes in the future releases.
- PanGestureHandler.handleGesture(withState:touchLocation:velocity:) Stack Trace
- implicit closure in implicit closure in PanGestureHandler.handleGesture(withState:touchLocation:velocity:) Stack Trace
- PinchGestureHandler.handleGesture(_:) Stack Trace
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with PanGestureHandler.handleGesture(withState:touchLocation:velocity:) and PinchGestureHandler.handleGesture(_:), then compare the three attached stack traces to locate the failing gesture paths. Reproduce the crashes across the reported iOS, device, and Maps SDK variations if possible; done means the reported gesture crashes are understood and no longer occur.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100