On 10 Apr, 09:55, Erik Corry <[email protected]> wrote:
> 2009/4/10  <[email protected]>:
> > This works for a while, then I get arbitrary crashes in V8 since
> > something tries to use some Handle value that is dead.
>
> Without having read your code I just wonder: Are you by any chance
> calling V8 from more than one thread?  See the comments around the
> Locker class in include/v8.h for details of the rules for
> multithreaded V8 programs.
>

Thanks for the heads-up, but my code is single-thread.
I'm running as extension of the shell example.

I'm more suspecting I'm leaving a Handle unmanaged that should be
Persistent, then the crash happens after it's garbage collected.
Some more debugging is on the agenda...

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

Reply via email to