getappmap / getappmap/appmap-js
Maximum call stack size exceeded building sequence diagram
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
RangeError: Maximum call stack size exceeded
at Set.has (<anonymous>)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16514)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
at E (/Users/kgilpin/source/appland/appmap-js/packages/models/dist/index.cjs:3:16611)
See attached AppMap.
Contributor guide
No contributing guide indexed for this repository
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 sequence-diagram construction with the attached AppMap and inspect the repeated stack frames in packages/models/dist/index.cjs. Trace the recursive path that reaches Set.has and determine why this input exceeds the call stack. Done means the attached AppMap builds without a RangeError and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100