src: attach CppHeap to an v8::Isolate with isolate params #53038
Annotations
2 errors
Test:
test/es-module/test-vm-contextified-script-leak.js#L1
--- stderr ---
# out/Release/node[136222]: node::IsolatePlatformDelegate* node::NodePlatform::ForIsolate(v8::Isolate*) at ../src/node_platform.cc:523
# Assertion failed: (data.first) != nullptr
----- Native stack trace -----
1: 0x55762497f2f8 node::Assert(node::AssertionInfo const&) [out/Release/node]
2: 0x557624a0eda4 node::NodePlatform::ForIsolate(v8::Isolate*) [out/Release/node]
3: 0x557624a0edfb node::NodePlatform::GetForegroundTaskRunner(v8::Isolate*) [out/Release/node]
4: 0x557624e3bd75 [out/Release/node]
5: 0x5576259077f9 cppgc::internal::Sweeper::SweeperImpl::ScheduleIncrementalSweeping() [out/Release/node]
6: 0x557625908405 cppgc::internal::Sweeper::Start(cppgc::internal::SweepingConfig) [out/Release/node]
7: 0x557624e3ecc7 v8::internal::CppHeap::FinishMarkingAndStartSweeping() [out/Release/node]
8: 0x557624eb61d0 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [out/Release/node]
9: 0x557624eb67fc [out/Release/node]
10: 0x557624eb9f6c [out/Release/node]
11: 0x5576258e2557 [out/Release/node]
--- stdout ---
[136222:0x55762aa5f000] 80 ms: Scavenge 4.4 (5.7) -> 4.0 (6.7) MB, pooled: 0 MB, 1.22 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[136222:0x55762aa5f000] 86 ms: Scavenge 4.6 (6.7) -> 4.6 (7.4) MB, pooled: 0 MB, 1.16 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[136222:0x55762aa5f000] 92 ms: Scavenge 5.5 (7.7) -> 5.4 (9.9) MB, pooled: 0 MB, 0.55 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
Created 128 objects
[136222:0x55762aa5f000] 105 ms: Scavenge 7.5 (11.2) -> 7.4 (11.7) MB, pooled: 0 MB, 0.52 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[136222:0x55762aa5f000] 111 ms: Scavenge 8.5 (11.9) -> 8.3 (17.2) MB, pooled: 0 MB, 1.05 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[136222:0x55762aa5f000] 118 ms: Mark-Compact 8.7 (17.4) -> 8.3 (17.7) MB, pooled: 0 MB, 1.82 / 0.03 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 5 ms) (average mu = 0.984, current mu = 0.984) finalize incremental marking via task; GC in old space requested
Found finalized object at 247, stop testing
[136222:0x55762aa5f000] 124 ms: Mark-Compact 8.4 (17.7) -> 8.3 (17.4) MB, pooled: 0 MB, 1.76 / 0.00 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 5 ms) (average mu = 0.971, current mu = 0.682) finalize incremental marking via task; GC in old space requested
Command: out/Release/node --max-old-space-size=16 --trace-gc --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node/node/test/es-module/test-vm-contextified-script-leak.js
--- CRASHED (Signal: 6) ---
|
Test
Process completed with exit code 2.
|
Loading