-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Description
Version
v16.15.1
Platform
Microsoft Windows NT 10.0.22000.0 x64
Subsystem
No response
What steps will reproduce the bug?
- In my package.json
"test:unit": "vitest run --mode vitest --dir \"./src/\" --coverage"
- I use vite config, so config in vite.config.js like this:
test: {
global: false,
environment: 'happy-dom',
exclude: ['**/node_modules/**', '**/dist/**',],
coverage: {
reporter: [
'html',
'text',
],
},
logHeapUsage: true,
deps: {
inline: ['element-plus'],
},
},
- Run the lint
npm run test:unit
How often does it reproduce? Is there a required condition?
I run test 10 times, but It just fails 2 times and show up errors on my terminal.
What is the expected behavior?
The Vitest's test cases was passed
What do you see instead?
This is some images which contains the issue conducted by me and my teammate.
I can give some example errors here
Example 3:
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 00000067AD1FC320
1: 00007FF6635279CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF663443E9F std::basic_ostream<char,std::char_traits<char> >::operator<<+65103
3: 00007FF6641226C2 V8_Fatal+162
4: 00007FF663B8DA3D v8::internal::BackingStore::Reallocate+637
5: 00007FF663DD71B9 v8::ArrayBuffer::GetBackingStore+137
6: 00007FF6634D67EA node::Buffer::Data+58
7: 00007FF6634AAC5C DSA_meth_get_flags+19404
8: 00007FF663DA5BC6 v8::internal::Builtins::code_handle+172790
9: 00007FF663DA57B9 v8::internal::Builtins::code_handle+171753
10: 00007FF663DA5A7C v8::internal::Builtins::code_handle+172460
11: 00007FF663DA58E0 v8::internal::Builtins::code_handle+172048
12: 00007FF663E78FE1 v8::internal::SetupIsolateDelegate::SetupHeap+494673
13: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
14: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
15: 000001AA200C55C8
Example 4:
1: 00007FF6635279CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF663443E9F std::basic_ostream<char,std::char_traits<char> >::operator<<+65103
3: 00007FF6641226C2 V8_Fatal+162
4: 00007FF663B8DA3D v8::internal::BackingStore::Reallocate+637
5: 00007FF663DD71B9 v8::ArrayBuffer::GetBackingStore+137
6: 00007FF6634D67EA node::Buffer::Data+58
7: 00007FF6634AAC5C DSA_meth_get_flags+19404
8: 00007FF663DA5BC6 v8::internal::Builtins::code_handle+172790
9: 00007FF663DA57B9 v8::internal::Builtins::code_handle+171753
10: 00007FF663DA5A7C v8::internal::Builtins::code_handle+172460
11: 00007FF663DA58E0 v8::internal::Builtins::code_handle+172048
12: 00007FF663E78FE1 v8::internal::SetupIsolateDelegate::SetupHeap+494673
13: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
14: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
15: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
16: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
17: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
18: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
19: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
20: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
21: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
22: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
23: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
24: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
25: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
26: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
27: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
28: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
29: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
30: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
31: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
32: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
33: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
34: 00007FF663E0969C v8::internal::SetupIsolateDelegate::SetupHeap+37644
35: 00007FF663E0929B v8::internal::SetupIsolateDelegate::SetupHeap+36619
36: 00007FF663CE9DB1 v8::internal::Execution::CallWasm+1521
37: 00007FF663CE969F v8::internal::Execution::Call+191
38: 00007FF663DCC6BC v8::Function::Call+508
39: 00007FF6634F006A node::Stop+19450
40: 00007FF663A82F81 v8::internal::Object::ShortPrint+193
41: 00007FF663AD0E2C v8::internal::JSPromise::status+3388
42: 00007FF663AD0B3C v8::internal::JSPromise::status+2636
43: 00007FF663DD4DCE v8::Module::Evaluate+526
44: 00007FF6634ED548 node::Stop+8408
45: 00007FF663DA5BC6 v8::internal::Builtins::code_handle+172790
46: 00007FF663DA57B9 v8::internal::Builtins::code_handle+171753
47: 00007FF663DA5A7C v8::internal::Builtins::code_handle+172460
48: 00007FF663DA58E0 v8::internal::Builtins::code_handle+172048
49: 00007FF663E78FE1 v8::internal::SetupIsolateDelegate::SetupHeap+494673
50: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
51: 00007FF663E3B163 v8::internal::SetupIsolateDelegate::SetupHeap+241107
52: 00007FF663EC1772 v8::internal::SetupIsolateDelegate::SetupHeap+791522
53: 00007FF663E2D39A v8::internal::SetupIsolateDelegate::SetupHeap+184330
54: 00007FF663E0959B v8::internal::SetupIsolateDelegate::SetupHeap+37387
55: 00007FF663CE9DDB v8::internal::Execution::CallWasm+1563
56: 00007FF663CE9EFB v8::internal::Execution::CallWasm+1851
57: 00007FF663CEA9AA v8::internal::Execution::TryCall+378
58: 00007FF663CC6D3A v8::internal::MicrotaskQueue::RunMicrotasks+410
59: 00007FF663CC6ADA v8::internal::MicrotaskQueue::PerformCheckpointInternal+74
60: 00007FF663556092 node::CallbackScope::~CallbackScope+978
61: 00007FF663555D2E node::CallbackScope::~CallbackScope+110
62: 00007FF66349F090 v8::base::CPU::has_sse+31520
63: 00007FF66358A947 uv_timer_stop+1207
64: 00007FF663586EDB uv_async_send+331
65: 00007FF66358666C uv_loop_init+1292
66: 00007FF66358680A uv_run+202
67: 00007FF663555675 node::SpinEventLoop+309
68: 00007FF6633EE6F0 v8::internal::interpreter::BytecodeLabel::bind+35712
69: 00007FF6633E9D48 v8::internal::interpreter::BytecodeLabel::bind+16856
70: 00007FF663576EDD uv_poll_stop+557
71: 00007FF664390120 v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+146416
72: 00007FFECD5254E0 BaseThreadInitThunk+16
73: 00007FFECE28485B RtlUserThreadStart+43
Example 5:
#
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 00000021734FDF90
1: 00007FF6635279CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF663443E9F std::basic_ostream<char,std::char_traits<char> >::operator<<+65103
3: 00007FF6641226C2 V8_Fatal+162
4: 00007FF663B8DA3D v8::internal::BackingStore::Reallocate+637
5: 00007FF663DD71B9 v8::ArrayBuffer::GetBackingStore+137
6: 00007FF66337432D std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::empty+92829
7: 00007FF6634D1B27 v8::internal::Malloced::operator delete+4535
8: 00007FF663DA5BC6 v8::internal::Builtins::code_handle+172790
9: 00007FF663DA57B9 v8::internal::Builtins::code_handle+171753
10: 00007FF663DA5A7C v8::internal::Builtins::code_handle+172460
11: 00007FF663DA58E0 v8::internal::Builtins::code_handle+172048
12: 00007FF663E78FE1 v8::internal::SetupIsolateDelegate::SetupHeap+494673
13: 000001F8F7EF882B
Example 6:
#
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 0000007E23BFE5A0
1: 00007FF6635279CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF663443E9F std::basic_ostream<char,std::char_traits<char> >::operator<<+65103
3: 00007FF6641226C2 V8_Fatal+162
4: 00007FF663B8DA3D v8::internal::BackingStore::Reallocate+637
5: 00007FF663DD71B9 v8::ArrayBuffer::GetBackingStore+137
6: 00007FF66337432D std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::empty+92829
7: 00007FF6634D1B27 v8::internal::Malloced::operator delete+4535
8: 00007FF663DA5BC6 v8::internal::Builtins::code_handle+172790
9: 00007FF663DA57B9 v8::internal::Builtins::code_handle+171753
10: 00007FF663DA5A7C v8::internal::Builtins::code_handle+172460
11: 00007FF663DA58E0 v8::internal::Builtins::code_handle+172048
12: 00007FF663E78FE1 v8::internal::SetupIsolateDelegate::SetupHeap+494673
13: 00007FF663E0B48E v8::internal::SetupIsolateDelegate::SetupHeap+45310
14: 000001E615F92936
Additional information
- In a few days, some people faced with this issue in Node v16.15.0, v16.14.0. And those error look like me. Check failed: result.second #32463
- In vitest issue, A lot of people also stuck in this issue, Running tests crashes node w/ JSDOM and vue 2 vite plugin #1171
- I confirm that It does not throw this error in node 16.8.0 [
Check failed: !holder_map.has_named_interceptor().when runningjest#40030](Check failed: !holder_map.has_named_interceptor(). when running jest) - I can not give full build of reproduce because of restriction of company. But I am happy to share any useful information to solve this problem.
tilpotsara, mikestopcontinues and tony19mil7, mikestopcontinues and tony19
Metadata
Metadata
Assignees
Labels
No labels

