src: attach CppHeap to an v8::Isolate with isolate params #47213
Annotations
3 errors
Test:
test/es-module/test-vm-contextified-script-leak.js#L1
--- stderr ---
# out/Release/node[101096]: node::IsolatePlatformDelegate *node::NodePlatform::ForIsolate(v8::Isolate *) at ../src/node_platform.cc:523
# Assertion failed: (data.first) != nullptr
----- Native stack trace -----
1: 0x11f6955 node::DumpNativeBacktrace(_IO_FILE*) [out/Release/node]
2: 0x13ec3bd node::Assert(node::AssertionInfo const&) [out/Release/node]
3: 0x1595e0e node::NodePlatform::ForIsolate(v8::Isolate*) [out/Release/node]
4: 0x1596404 node::NodePlatform::GetForegroundTaskRunner(v8::Isolate*) [out/Release/node]
5: 0x20f64e6 [out/Release/node]
6: 0x3fc677a cppgc::internal::Sweeper::SweeperImpl::ScheduleIncrementalSweeping() [out/Release/node]
7: 0x3fc2ba9 cppgc::internal::Sweeper::SweeperImpl::Start(cppgc::internal::SweepingConfig, cppgc::Platform*) [out/Release/node]
8: 0x20f3dba v8::internal::CppHeap::FinishMarkingAndStartSweeping() [out/Release/node]
9: 0x21da745 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [out/Release/node]
10: 0x2215889 [out/Release/node]
11: 0x2214c49 [out/Release/node]
12: 0x3f7eaff [out/Release/node]
--- stdout ---
[101096:0x631000015000] 202 ms: Scavenge 4.4 (5.7) -> 4.0 (6.7) MB, pooled: 0 MB, 1.17 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[101096:0x631000015000] 214 ms: Scavenge 4.6 (6.7) -> 4.5 (7.2) MB, pooled: 0 MB, 2.10 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[101096:0x631000015000] 228 ms: Scavenge 5.5 (7.7) -> 5.4 (9.9) MB, pooled: 0 MB, 0.77 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
Created 128 objects
[101096:0x631000015000] 264 ms: Scavenge 7.5 (11.2) -> 7.3 (11.4) MB, pooled: 0 MB, 1.01 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[101096:0x631000015000] 284 ms: Scavenge 8.6 (12.2) -> 8.4 (17.2) MB, pooled: 0 MB, 1.63 / 0.00 ms (average mu = 1.000, current mu = 1.000) task;
[101096:0x631000015000] 295 ms: Mark-Compact 8.5 (17.4) -> 8.2 (17.4) MB, pooled: 0 MB, 1.63 / 0.12 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 11 ms) (average mu = 0.994, current mu = 0.994) finalize incremental marking via task; GC in old space requested
Found finalized object at 239, stop testing
[101096:0x631000015000] 303 ms: Mark-Compact 8.2 (17.4) -> 8.2 (17.2) MB, pooled: 0 MB, 1.15 / 0.01 ms (+ 0.1 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 7 ms) (average mu = 0.990, current mu = 0.849) 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:
test/parallel/test-runner-reporters.js#L1
--- stderr ---
# out/Release/node[137997]: node::IsolatePlatformDelegate *node::NodePlatform::ForIsolate(v8::Isolate *) at ../src/node_platform.cc:523
# Assertion failed: (data.first) != nullptr
----- Native stack trace -----
1: 0x11f6955 node::DumpNativeBacktrace(_IO_FILE*) [out/Release/node]
2: 0x13ec3bd node::Assert(node::AssertionInfo const&) [out/Release/node]
3: 0x1595e0e node::NodePlatform::ForIsolate(v8::Isolate*) [out/Release/node]
4: 0x1596404 node::NodePlatform::GetForegroundTaskRunner(v8::Isolate*) [out/Release/node]
5: 0x20f64e6 [out/Release/node]
6: 0x3fc677a cppgc::internal::Sweeper::SweeperImpl::ScheduleIncrementalSweeping() [out/Release/node]
7: 0x3fc2ba9 cppgc::internal::Sweeper::SweeperImpl::Start(cppgc::internal::SweepingConfig, cppgc::Platform*) [out/Release/node]
8: 0x20f3dba v8::internal::CppHeap::FinishMarkingAndStartSweeping() [out/Release/node]
9: 0x21da745 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [out/Release/node]
10: 0x2215889 [out/Release/node]
11: 0x2214c49 [out/Release/node]
12: 0x3f7eaff [out/Release/node]
--- stdout ---
βΆ node:test reporters
β should default to outputing TAP to stdout (15637.689366ms)
β should default destination to stdout when passing a single reporter (11673.649189ms)
β should throw when passing reporters without a destination (9729.724063ms)
::debug::starting to run node:test reporters
::debug::starting to run should default to outputing TAP to stdout
::debug::completed running should default to outputing TAP to stdout
::debug::starting to run should default destination to stdout when passing a single reporter
::debug::completed running should default destination to stdout when passing a single reporter
::debug::starting to run should throw when passing reporters without a destination
::debug::completed running should throw when passing reporters without a destination
β should throw when passing a destination without a reporter (8913.624735ms)
β should support stdout as a destination (8061.449965ms)
β should support stderr as a destination (5615.417059ms)
β should support a file as a destination (4874.712063ms)
β should disallow using v8-serializer as reporter (4372.58124ms)
::debug::starting to run should throw when passing a destination without a reporter
::debug::completed running should throw when passing a destination without a reporter
::debug::starting to run should support stdout as a destination
::debug::completed running should support stdout as a destination
::debug::starting to run should support stderr as a destination
::debug::completed running should support stderr as a destination
::debug::starting to run should support a file as a destination
::debug::completed running should support a file as a destination
::debug::starting to run should disallow using v8-serializer as reporter
::debug::completed running should disallow using v8-serializer as reporter
β should support multiple reporters (4092.072467ms)
β should support a 'js' file as a custom reporter (3575.827029ms)
β should support a 'cjs' file as a custom reporter (3139.439118ms)
β should support a 'mjs' file as a custom reporter (2752.199986ms)
β should support a custom reporter from node_modules (2288.274103ms)
::debug::starting to run should support multiple reporters
::debug::completed running should support multiple reporters
::debug::starting to run should support a 'js' file as a custom reporter
::debug::completed running should support a 'js' file as a custom reporter
::debug::starting to run should support a 'cjs' file as a custom reporter
::debug::completed running should support a 'cjs' file as a custom reporter
::debug::starting to run should support a 'mjs' file as a custom reporter
::debug::completed running should support a 'mjs' file as a custom reporter
::debug::starting to run should support a custom reporter from node_modules
::debug::completed running should support a custom reporter from node_modules
::debug::starting to run should support a cust
|
Test
Process completed with exit code 2.
|
Loading