mapbox / mapbox/MapboxGeocoder.swift
Crash when hitting the rate limit
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Swift
- 星标
- 133
- 派生
- 46
- PR 合并指标
- 30 天内没有已合并 PR
描述
**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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 MBGeocoder.swift 第 312 行开始,使用 swift3 分支的可调试构建重现 rate-limit 条件。跟踪 EXC_BAD_ACCESS 故障,并验证达到 rate limit 后 geocoder 不再崩溃。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- swift
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100