Crash in BezierSpline3D -> getProgressProperties
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- swift
- Domain
- computer-graphics
Research direction
Start in BezierSpline3D.getProgressProperties at line 58, where absoluteProgress is passed to Int while rendering a route. Reproduce the route-rendering crash and trace why absoluteProgress becomes NaN; done means the route renders without this crash and the invalid-progress case is handled.
Written by the indexing model from the issue text.
Description
The code crashed in line 58, which is:
let spineSegmentStartIndex: Int = min(Int(absoluteProgress), curvePoints.count - 2 - pad * 2) // Integer time for the index of the starting curvePoint
absoluteProgress is NaN, curvePoints.count is 4, pad is 1.
Unfortunately, I'm not sure why absoluteProgress isn't a number. However, at the moment, it is happening in 100% cases I'm trying to render a route.
- Dominant language
- Swift
- Stars
- 232
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from mapbox/mapbox-scenekit
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
mapbox/mapbox-scenekit#91 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
mapbox/mapbox-scenekit#89 · 7 reactions ·
-
Deprecation WarningOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapbox/mapbox-scenekit#88 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/mapbox-scenekit#83 · 5 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/mapbox-scenekit#82 ·
All issues in mapbox/mapbox-scenekit
Similar issues
-
follow-up needs-triage S3: minor
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
manaflow-ai/cmux#38032 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
arkavo-org/ArkavoKit#70 ·
Maintainers usually reply within 1 day
-
fix(cli): usage silently ignores unknown --provider valuesPossibly taken @harjothkhara claimed this today. Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
steipete/CodexBar#5017 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressPossibly taken @viniciusdsandrade claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
documentation good first issue help wanted P3 roadmap-v4
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
maziyarpanahi/openmed#5429 ·
Maintainers usually reply within 3 days