Closed
Description
With master. Sometimes the first few tries work but eventually it hits the CHECK:
$ ./out/Release/node inspect -p 0
Debugger listening on ws://127.0.0.1:9229/89ddfed3-65f0-4169-b700-b854f9a7d459
For help see https://nodejs.org/en/docs/inspector
connecting to 127.0.0.1:9229 ...Debugger attached.
debug> takeHeapSnapshot()
Heap snapshot: 0/0./out/Release/node[6798]: ../src/async_wrap.cc:131:v8::RetainedObjectInfo* node::WrapperInfo(uint16_t, v8::Local<v8::Value>): Assertion `(nullptr) != (wrap)' failed.
1: node::Abort() [./out/Release/node]
2: 0x5636489b3f48 [./out/Release/node]
3: 0x563648984904 [./out/Release/node]
4: v8::internal::GlobalHandlesExtractor::VisitPersistentHandle(v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >*, unsigned short) [./out/Release/node]
5: v8::internal::GlobalHandles::IterateAllRootsWithClassIds(v8::PersistentHandleVisitor*) [./out/Release/node]
6: 0x563649166490 [./out/Release/node]
7: v8::internal::HeapSnapshotGenerator::GenerateSnapshot() [./out/Release/node]
8: v8::internal::HeapProfiler::TakeSnapshot(v8::ActivityControl*, v8::HeapProfiler::ObjectNameResolver*) [./out/Release/node]
9: v8_inspector::V8HeapProfilerAgentImpl::takeHeapSnapshot(v8_inspector::protocol::Maybe<bool>) [./out/Release/node]
10: v8_inspector::protocol::HeapProfiler::DispatcherImpl::takeHeapSnapshot(int, std::unique_ptr<v8_inspector::protocol::DictionaryValue, std::default_delete<v8_inspector::protocol::DictionaryValue> >, v8_inspector::protocol::ErrorSupport*) [./out/Release/node]
11: v8_inspector::protocol::HeapProfiler::DispatcherImpl::dispatch(int, v8_inspector::String16 const&, std::unique_ptr<v8_inspector::protocol::DictionaryValue, std::default_delete<v8_inspector::protocol::DictionaryValue> >) [./out/Release/node]
12: v8_inspector::protocol::UberDispatcher::dispatch(std::unique_ptr<v8_inspector::protocol::Value, std::default_delete<v8_inspector::protocol::Value> >) [./out/Release/node]
13: v8_inspector::V8InspectorSessionImpl::dispatchProtocolMessage(v8_inspector::StringView const&) [./out/Release/node]
14: 0x563648a6ced3 [./out/Release/node]
15: v8::internal::Isolate::InvokeApiInterruptCallbacks() [./out/Release/node]
16: v8::internal::StackGuard::HandleInterrupts() [./out/Release/node]
17: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [./out/Release/node]
18: 0x3d230bb8465d
Aborted (core dumped)
I think this may have been reported before but I can't find the bug report any more.