Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GC failed in V8 8.8 #37272

Closed
gengjiawen opened this issue Feb 8, 2021 · 2 comments
Closed

GC failed in V8 8.8 #37272

gengjiawen opened this issue Feb 8, 2021 · 2 comments
Labels
v8 engine Issues and PRs related to the V8 dependency.

Comments

@gengjiawen
Copy link
Member

It's also not directly related to the test. Another way to reproduce:

out/Debug/node --stress-compaction --gc-interval=100 -e ""

Originally posted by @targos in #36139 (comment)

@PoojaDurgad PoojaDurgad added the v8 engine Issues and PRs related to the V8 dependency. label Feb 9, 2021
@targos
Copy link
Member

targos commented Feb 11, 2021

Stack trace:

#0  0x0000000001964b2d in v8::base::Relaxed_Store (value=48114963115633, ptr=<optimized out>) at ../../deps/v8/src/base/atomicops_internals_portable.h:189
#1  v8::base::AsAtomicImpl<long>::Relaxed_Store<unsigned long> (new_value=48114963115633, addr=<optimized out>) at ../../deps/v8/src/base/atomic-utils.h:93
#2  v8::internal::TaggedField<v8::internal::Object, 0>::Relaxed_Store (value=..., offset=24, host=...) at ../../deps/v8/src/objects/tagged-field-inl.h:115
#3  v8::internal::TorqueGeneratedJSCollection<v8::internal::JSCollection, v8::internal::JSObject>::set_table (this=0x7fffffffd0f8, value=..., mode=v8::internal::UPDATE_WRITE_BARRIER)
    at gen/torque-generated/src/objects/js-collection-tq-inl.inc:15
#4  0x000000000196de3e in v8::internal::JSMap::Rehash (this=0x7fffffffd0f8, isolate=0x5ddbee0) at ../../deps/v8/src/objects/ordered-hash-table.h:306
#5  0x0000000001989905 in v8::internal::HeapObject::RehashBasedOnMap (this=this@entry=0x7fffffffd128, isolate=0x5ddbee0) at ../../deps/v8/src/objects/js-objects-inl.h:33
#6  0x0000000001c0b25d in v8::internal::Deserializer::Rehash (this=this@entry=0x7fffffffd1d0) at ../../deps/v8/src/snapshot/deserializer.h:93
#7  0x0000000001c06d98 in v8::internal::ContextDeserializer::Deserialize (this=this@entry=0x7fffffffd1d0, isolate=isolate@entry=0x5ddbee0, global_proxy=..., embedder_fields_deserializer=...)
    at ../../deps/v8/src/snapshot/context-deserializer.cc:53
#8  0x0000000001c06f12 in v8::internal::ContextDeserializer::DeserializeContext (isolate=isolate@entry=0x5ddbee0, data=data@entry=0x7fffffffd420, can_rehash=can_rehash@entry=true, global_proxy=global_proxy@entry=..., 
    embedder_fields_deserializer=...) at ../../deps/v8/src/snapshot/context-deserializer.cc:22
#9  0x0000000001c3648d in v8::internal::Snapshot::NewContextFromSnapshot (isolate=isolate@entry=0x5ddbee0, global_proxy=..., global_proxy@entry=..., context_index=context_index@entry=1, embedder_fields_deserializer=...)
    at ../../deps/v8/src/snapshot/snapshot.cc:187
#10 0x00000000017643c8 in v8::internal::Genesis::Genesis (this=0x7fffffffd5b0, isolate=0x5ddbee0, maybe_global_proxy=..., global_proxy_template=..., context_snapshot_index=1, embedder_fields_deserializer=..., microtask_queue=0x0)
    at ../../deps/v8/src/init/bootstrapper.cc:5237
#11 0x0000000001765bbd in v8::internal::Bootstrapper::CreateEnvironment (this=0x5e01760, maybe_global_proxy=..., maybe_global_proxy@entry=..., global_proxy_template=..., global_proxy_template@entry=..., 
    extensions=extensions@entry=0x7fffffffd6d0, context_snapshot_index=context_snapshot_index@entry=1, embedder_fields_deserializer=..., microtask_queue=microtask_queue@entry=0x0) at ../../deps/v8/src/init/bootstrapper.cc:322
#12 0x00000000013561ac in v8::InvokeBootstrapper<v8::internal::Context>::Invoke (this=<synthetic pointer>, microtask_queue=0x0, embedder_fields_deserializer=..., context_snapshot_index=1, extensions=0x7fffffffd6d0, 
    global_proxy_template=..., maybe_global_proxy=..., isolate=0x5ddbee0) at ../../deps/v8/src/execution/isolate.h:968
#13 v8::CreateEnvironment<v8::internal::Context> (microtask_queue=<optimized out>, embedder_fields_deserializer=..., context_snapshot_index=<optimized out>, maybe_global_proxy=..., maybe_global_template=..., 
    extensions=0x7fffffffd6d0, isolate=0x5ddbee0) at ../../deps/v8/src/api/api.cc:6011
#14 v8::NewContext (external_isolate=external_isolate@entry=0x5ddbee0, extensions=0x7fffffffd6d0, extensions@entry=0x0, global_template=global_template@entry=..., global_object=..., global_object@entry=..., 
    context_snapshot_index=context_snapshot_index@entry=1, embedder_fields_deserializer=..., microtask_queue=microtask_queue@entry=0x0) at ../../deps/v8/src/api/api.cc:6054
#15 0x0000000001356b52 in v8::Context::FromSnapshot (external_isolate=0x5ddbee0, context_snapshot_index=<optimized out>, embedder_fields_deserializer=..., extensions=0x0, global_object=..., microtask_queue=0x0)
    at ../../deps/v8/include/v8.h:371
#16 0x000000000113b48d in node::NodeMainInstance::CreateMainEnvironment (this=0x7fffffffda60, exit_code=0x7fffffffd9cc, env_info=0x5d60da0 <node::env_info>) at ../../src/node_main_instance.cc:209
#17 0x000000000113b085 in node::NodeMainInstance::Run (this=0x7fffffffda60, env_info=0x5d60da0 <node::env_info>) at ../../src/node_main_instance.cc:135
#18 0x000000000107857c in node::Start (argc=4, argv=0x7fffffffdcc8) at ../../src/node.cc:1078
#19 0x0000000002846a3f in main (argc=4, argv=0x7fffffffdcc8) at ../../src/node_main.cc:127

@gengjiawen
Copy link
Member Author

cc @LeszekSwirski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

No branches or pull requests

3 participants