mapbox / mapbox/MapboxGeocoder.swift

Crash when hitting the rate limit

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.