mapbox / mapbox/mapbox-vision-ios
malloc error instantiating VisionReplayManager
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 63
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
## Description
malloc error and crash trying to instantiate Vision replay with a particular recorded session. Session worked fine in vision 0.11.x and below.
Session can be found here: https://drive.google.com/open?id=1oeOTbyFBjDZ3xCS2caIOSVCvhbeHKssh
## Expected behavior
Replay begins as normal
## Actual behavior
malloc allocation error in ManagerDependencies.swift:47, in the call VisionReplayManagerNative.create. Error causes a crash.
## Configuration
- Device: iPad 10.2
- OS: iOS 13.3.1
- Frameworks versions (leave the ones you're using):
- MapboxVisionNative 0.12.0
- MapboxVisionARNative 0.12.0
- MapboxVision 0.12.0
- MapboxVisionAR 0.12.0
## Additional context
Add any other context about the problem here.
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
Reproduce the crash with the linked recorded session using MapboxVision 0.12.0 on the listed iPad and iOS configuration. Start at ManagerDependencies.swift:47 and the VisionReplayManagerNative.create call; done means the session starts normally without the malloc allocation error or crash.
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
- Mostly clear
- Newbie friendliness
- 35/100