you need to invoke something like
v8::V8::InitializeExternalStartupData(argv[0]); before creating the isolate
(and include the *blob*.bin files with your binary)

best
-jochen

On Tue, Mar 8, 2016 at 4:21 PM Richard Pike <[email protected]> wrote:

> Using the default latest build.
>
> libv8_libplatform.a
> libv8_base.a
> libv8_libbase.a
> libv8_nosnapshot.a
>
> v8::V8::InitializeICU();
> this->m_Platform = v8::platform::CreateDefaultPlatform();
> v8::V8::InitializePlatform(this->m_Platform);
> v8::V8::Initialize();
>
> I Initialize the platform on one thread and hold a pinther, then spin up a
> number of threads and create an isolate out on those threads.
>
>
> Any Ideas?  It all worked up until I pulled the latest code and changed
> the  v8::Isolate::New to the new code below (it used to be a call with no
> parameters) :
>
>
> v8::Isolate::CreateParams create_params;
>
> create_params.array_buffer_allocator = &array_buffer_allocator;
>
> // Create a new Isolate and make it the current one.
> this->m_Isolate = v8::Isolate::New(create_params);
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> #
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
> Check failed: holder_.
> #
>
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
> ==== C stack trace ===============================
>
>  1:
> ==== C stack trace ===============================
>
>  1:
> ==== C stack trace ===============================
>
>
> ==== C stack trace ===============================
>
>  1:  1: V8_Fatal
>  2: V8_Fatal
>  2: 0x7fd1fb746665
>  3: V8_Fatal
>  2: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4:
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
> ==== C stack trace ===============================
>
>  1:
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
> v8::internal::Heap::CreateInitialObjects()
>  4:
> ==== C stack trace ===============================
>
>  1:
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
> ==== C stack trace ===============================
>
>  1:
> ==== C stack trace ===============================
>
>  1: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4:
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # v8::internal::Heap::CreateHeapObjects()
>  5: Check failed: holder_.
> #
>
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
> ==== C stack trace ===============================
>
>  1:
> ==== C stack trace ===============================
>
>  1:
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
>
> #
> # Fatal error in ../src/snapshot/natives-external.cc, line 122
> # Check failed: holder_.
> #
>
> ==== C stack trace ===============================
>
>  1:
> ==== C stack trace ===============================
>
>  1: V8_Fatal
>  2: v8::internal::Heap::CreateHeapObjects()
>  5: V8_Fatal
>  2: V8_Fatal
>  2: V8_Fatal
>  2: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateHeapObjects()
>  5: V8_Fatal
>  2: V8_Fatal
>  2: V8_Fatal
>  2: V8_Fatal
>  2: 0x7fd1fb746665
>  3: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: 0x7fd1fb746665
>  3: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: 0x7fd1fb746665
>  3: 0x7fd1fb746665
>  3: 0x7fd1fb746665
>  3: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: Phoenix::JSEventProcessorThread::run()
>  8: 0x7fd2030bbf65
>  9: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: Phoenix::JSEventProcessorThread::run()
>  8: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateInitialObjects()
>  4: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: Phoenix::JSEventProcessorThread::run()
>  8: V8_Fatal
>  2: 0x7fd1fb746665
>  3: v8::internal::Heap::CreateInitialObjects()
>  4: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: 0x7fd2030bbf65
>  9: Phoenix::JSEventProcessorThread::run()
>  8: 0x7fd2015c7dc5
> 10: 0x7fd2015c7dc5
> 10: 0x7fd2030bbf65
>  9: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: Phoenix::JSEventProcessorThread::run()
>  8: 0x7fd2030bbf65
>  9: 0x7fd2015c7dc5
> 10: Phoenix::JSEventProcessorThread::run()
>  8: 0x7fd2030bbf65
>  9: 0x7fd2015c7dc5
> 10: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: v8::internal::Heap::CreateHeapObjects()
>  5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
>  6: v8::Isolate::New(v8::Isolate::CreateParams const&)
>  7: clone
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to