Just realized that one major point, that the v8 code is running in a new
thread, which is not the primary thread. However, all v8 code runs in the
secondary thread, and the code that runs in the primary thread does not
mention v8 at all...

On Fri, Oct 7, 2011 at 12:16 PM, Adrian Basheer <adrianbash...@gmail.com>wrote:

> I am trying to, it fails on the first line of:
>
>   // Create a new context.
>   v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); // <--
> fails here
>   context_ = v8::Context::New(NULL, global);
>
>
> On Fri, Oct 7, 2011 at 9:57 AM, Ondřej Žára <ondrej.z...@gmail.com> wrote:
>
>> Have you created and entered a context prior to declaring first V8
>> variable?
>>
>>
>> O.
>>
>>
>> 2011/10/7 Adrian <adrianbash...@gmail.com>
>>
>>> The actual error sent to the console is:
>>>
>>> #
>>> # Fatal error in c:\svn\v8\trunk\src\isolate.h, line 444
>>> # CHECK(isolate != 0) failed
>>> #
>>>
>>> On Oct 6, 2:39 pm, Adrian <adrianbash...@gmail.com> wrote:
>>> > Hi,
>>> >
>>> > As soon as I declare the first v8 variable in my code, my application
>>> > triggers a break point.
>>> >
>>> > Upon debugging, the problem is in i::Isolate::Current(), where the
>>> > assertion ASSERT(isolate != NULL); fails.
>>> >
>>> > This seems to be a linking problem, since it does not happy in another
>>> > project.
>>> >
>>> > Does anybody know what would cause this to happen?
>>> >
>>> > I am working in visual studio 2005, and my project links statically to
>>> > v8.
>>> >
>>> > Thanks a lot,
>>> >
>>> > Adrian.
>>>
>>> --
>>> v8-users mailing list
>>> v8-users@googlegroups.com
>>> http://groups.google.com/group/v8-users
>>>
>>
>>  --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>>
>
>

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to