Status: New
Owner: ----

New issue 3627 by [email protected]: Fails on OSX 10.9 with CHECK(thread_data_table_) failed (libc++ build)
https://code.google.com/p/v8/issues/detail?id=3627

Trying to run the "Hello world" example as described at https://developers.google.com/v8/get_started. Using XCode 6 default command line tool setup, only adding include path for v8 headers and the *.a libs. Built v8 successfully with:


export CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -std=c++11 -stdlib=libc++" export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang export CPP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E" export LINK="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -std=c++11 -stdlib=libc++" export CXX_host=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ export CC_host=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang export CPP_host="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E" export LINK_host=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
export GYP_DEFINES="clang=1 mac_deployment_target=10.8"

make x64.release -j8 snapshot=off
<<

Running the example outputs:


#
# Fatal error in ../src/isolate.cc, line 1518
# CHECK(thread_data_table_) failed
#

==== C stack trace ===============================

 1: ??
 2: ??
 [...]
11: ??
<<

Using debug configuration outputs the same "??" stack trace.
XCode Trace gives:

1: main.cpp
Isolate* isolate = Isolate::New(); <<

2: api.cc
Isolate* Isolate::New(const Isolate::CreateParams& params) {
  i::Isolate* isolate = new i::Isolate(params.enable_serializer); <<

3: isolate.cc
Isolate::Isolate(bool enable_serializer)
    : embedder_data_(),
[...]
} <<

4: isolate.cc
CHECK(thread_data_table_); <<

5: Then aborts...





Attachments:
        main.cpp  861 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to