On Tue, Jun 1, 2010 at 10:46 PM, Matt Seegmiller <[email protected]> wrote:

> We've been getting a crash in V8 sporadically and I was curious if
> there is someone who might know something obvious we're doing to cause
> it, or if this might be a bug, or anything helpful.
>
> I've posted before about using V8 in a multithreaded game engine.
> This is the same engine.


i also experienced inconsistent (but frequent) crashes when fetching the
global context in a threaded routine. Specifically, the context was coming
back as null.

i ended up working around it by storing the context handle before my thread
was started, passing that object as part of the thread's "run data", and
then accessing the context (from within the new thread) through there.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

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

Reply via email to