mapbox / mapbox/MapboxGeocoder.swift

Crash when hitting the rate limit

未关闭
#90 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。