As of svn version 768 I get a crash in HandleScope::CreateHandle when
trying to allocate a new string.  I don't get the crash if I use svn
version 696.  I'm compiling and running various script files in order
and around the 6th or 7th file I see the crash.  My line of code looks
like: v8::Local<v8::Script> script = v8::Script::Compile
(v8::String::New(source));  where source is a char* that is valid.

And this eventually calls into HandleScope::CreateHandle where the
current_ structure has a NULL pointer for next and limit and 0 for
extensions.  After stepping through this function I can see that
result is NULL when the following block is executed:
 ASSERT(result < current_.limit);
 current_.next = result + 1;
 *result = value;
 return result;

When result is dereferenced everything goes boom.  Is this a known
issue?  Is there some work around or is there some more information
that I can give someone?

Thanks,
Corey
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to