mapbox / mapbox/MapboxGeocoder.swift
Crash when hitting the rate limit
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 133
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
**I'm working with the `swift3` branch**
When hitting the rate limit, an `EXC_BAD_ACCESS` crash occurs in [MBGeocoder.swift:312](https://github.com/mapbox/MapboxGeocoder.swift/blob/7841fcb7a4a6004b06fc1ea101504a633f9a2da1/MapboxGeocoder/MBGeocoder.swift#L312).
I need to build a debuggable version for providing more infos. But I wanted to let you know about the crash right away. Maybe you guys already have an idea what goes wrong here.
Cheers
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 in MBGeocoder.swift at line 312 and reproduce the rate-limit condition using a debuggable build of the swift3 branch. Trace the EXC_BAD_ACCESS failure and verify that hitting the rate limit no longer crashes the geocoder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100