It's not a know issue.  From what you describe it's not clear what the
problem is but it could be related to allocating too many handles.
You can try printing HandleScope::NumberOfHandles() before running
each script and see if it keeps growing.  Otherwise it would be greate
if you can send me some code that reproduces the problem.


-- Christian

On Mon, Dec 8, 2008 at 11:26 PM, corey <[EMAIL PROTECTED]> wrote:
>
> 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