Status: New
Owner: ----
New issue 1836 by [email protected]: ARM/MIPS HW: creating Contexts
from multiple threads fails
http://code.google.com/p/v8/issues/detail?id=1836
I found that cctest test-lockers/ExtensionsRegistration introduced in
r10001 causes a failure on MIPS boards. After some investigation I isolated
a part of the test and created a new one based on it (see the attached
patch, introducing test-api/ParallelContexts) that triggers the same bug.
Increasing the number of threads to 80 (already part of the patch) also
triggers it on ARM in release mode (in debug mode the OOM killer kills it).
The error messages are similar to this:
#
# Fatal error in v8::Context::New()
# Error initializing V8
#
#
# Fatal error in v8::Context::New()
# V8 is no longer usable
#
This is repeated around 5-15 times, the lines are usually somewhat mixed
due to multiple threads printing.
I'm not entirely sure this is an actual bug and not just "proper" behaviour
because of the large number of threads, but I have a few reasons to believe
so:
-failure to start a new thread results in a CHECK failure almost immediately
-OOM conditions are usually reported specifically as such (or trigger the
OOM killer)
Attachments:
parallelcontexts_text.diff 1.0 KB
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev