mapbox / mapbox/mapbox-maps-ios

Crashes in MapboxMap related to handling gestures.

Open
#2,362 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
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
Image
  • implicit closure in implicit closure in PanGestureHandler.handleGesture(withState:touchLocation:velocity:) Stack Trace
Image Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.