On Tue, Jul 17, 2012 at 9:49 AM, Evgeny Baskakov
<[email protected]>wrote:

> Hi guys,
>
> Just updated V8 to the latest trunk revision - which is supposed to be
> stable, am I right?
>

For some definition of "stable", yes :-)
At least it should pass the test suite. And it does:

$  tools/test-wrapper-gypbuild.py --arch ia32 --mode debug cctest/test-api
-j16
>>> running presubmit tests
Running C++ lint check...
No changes in files detected. Skipping cpplint check.
Running copyright header and trailing whitespaces check...
Total violating files: 0
>>> running tests for ia32.debug
[01:23|% 100|+ 1290|-   0]: Done

When I call it as "out/ia32.debug/cctest test-api" as you did, I see the
same crash. "test-api" is not a valid test name for cctest. You can run
"cctest --list" to see a list of individual tests you can run. The test
runner script has special logic to match parameters against tests in that
list, which is why you can pass "test-api" to the script (and have it
interpreted as a wildcard) but not to the cctest binary itself.

I haven't figured out yet why the binary hits specifically the ASSERT that
it does hit, but I'm not planning to spend any more time on it either.
AFAICT this is working as intended.


> But it crashes:
>
> $ svn checkout http://v8.googlecode.com/svn/trunk/ v8
> $ cd v8
> $ svn info | grep Revision
> Revision: 12101
> $ gcc -v
> gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
> $ make dependencies
> $ make ia32.debug
> $ ./out/ia32.debug/cctest test-api
> Testing positive ...
> Testing negative ...
> Testing positive with modified prototype chain ...
> Testing positive ...
> Testing negative ...
> Testing positive ...
> Testing negative ...
> CountingErrorCallback("StringEmpty()", "Kill V8")
> CountingErrorCallback("v8::String::Empty()", "V8 is no longer usable")
> CountingErrorCallback("v8::String::Empty()", "V8 is no longer usable")
> CountingErrorCallback("v8::Context::New()", "V8 is no longer usable")
> CountingErrorCallback("v8::Context::New()", "V8 is no longer usable")
>
>
> #
> # Fatal error in ../src/handles-inl.h, line 64
> # CHECK(location_ != __null) failed
> #
>
>
> ==== Stack trace is not available ==========================
>
>
> ==== Isolate for the thread is not initialized =============
>
> Trace/breakpoint trap
>
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to