Hi Yang,
Thanks for the review and have a try to modify the old space size. I did not
change anything. Here is the crash trace in my machine:
#
# Fatal error in ../src/contexts.h, line 236
# CHECK(context->IsContext()) failed
#
==== C stack trace ===============================
1: V8_Fatal
2: v8::internal::Context::cast(v8::internal::Object*)
3: v8::internal::Heap::ClearJSFunctionResultCaches()
4: v8::internal::Heap::GarbageCollectionPrologue()
5: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace,
v8::internal::GarbageCollector, char const*, char const*)
6: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, char
const*)
7: v8::internal::Factory::NewCode(v8::internal::CodeDesc const&, unsigned
int,
v8::internal::Handle<v8::internal::Object>, bool, bool)
8: v8::internal::PlatformCodeStub::GenerateCode()
9: v8::internal::CodeStub::GetCode(v8::internal::Isolate*)
10: v8::internal::Heap::CreateJSEntryStub()
11: v8::internal::Heap::CreateFixedStubs()
12: v8::internal::Heap::CreateInitialObjects()
13: v8::internal::Heap::CreateHeapObjects()
14: v8::internal::Isolate::Init(v8::internal::Deserializer*)
15: v8::internal::V8::Initialize(v8::internal::Deserializer*)
16: ??
17: ??
18: v8::Context::New(v8::Isolate*, v8::ExtensionConfiguration*,
v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)
19: LocalContext::LocalContext(v8::ExtensionConfiguration*,
v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)
20: ??
21: CcTest::Run()
The crash happens in the bootstrap. The function ClearJSFunctionResultCaches
assumes native_contexts_list_ is not NULL, but native_contexts_list_ is set
to
undefined_value() after CreateInitialObjects in the CreateHeapObjects. I
tried
to modify ClearJSFunctionResultCaches to see whether context (heap.cc:832)is
NULL, but it crashes elsewhere.
Considering https://chromiumcodereview.appspot.com/10533148, it might make
sense
to add 4K more memory for this test case. I do not know why this is not
caught
by your trybots and could not be reproduced on your machine.
https://codereview.chromium.org/18068007/
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.