mapbox / mapbox/mapbox-vision-ios

malloc error instantiating VisionReplayManager

Open
#308 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

User Feedback
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.