getappmap / getappmap/appmap-js
indexer crash
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
This AppMap causes the indexer to crash: acceptance_test_TestGeneralUsage_test_directory_skipped.appmap.json
Indexing tmp/appmap/pytest/acceptance_test_TestGeneralUsage_test_directory_skipped.appmap.json
Read 1212353 bytes from tmp/appmap/pytest/acceptance_test_TestGeneralUsage_test_directory_skipped.appmap.json
Read 2637863 bytes from tmp/appmap/pytest/acceptance_test_TestGeneralUsage_test_direct_addressing_selects_duplicates_2.appmap.json
Read 1212353 bytes from tmp/appmap/pytest/acceptance_test_TestGeneralUsage_test_directory_skipped.appmap.json
#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804
#
#
#
#FailureMessage Object: 0x7ff7b5390f70
1: 0x10aef1d52 node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task>>) [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
2: 0x10c2f49cb V8_Fatal(char const*, ...) [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
3: 0x10b4f06a1 v8::internal::ElementsAccessor::InitializeOncePerProcess() [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
4: 0x10b719821 v8::internal::Runtime_GrowArrayElements(int, unsigned long*, v8::internal::Isolate*) [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
5: 0x10abeec79 [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
6: 0x113232700
7: 0x10ab72cd0 [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
8: 0x10ac10cec [/Users/ajp/.appmap/lib/appmap/appmap-v3.147.0]
9: 0x1132303eb
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
Start by reproducing the crash with the attached acceptance_test_TestGeneralUsage_test_directory_skipped.appmap.json while running the indexer. Compare the reported fatal JavaScript invalid size error with the indexing sequence in the issue; done means this AppMap and the surrounding files can be indexed without a process crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100