On Thursday, March 20, 2014 11:18:14 AM UTC+1, Sven Panne wrote:
>
> On Thu, Mar 20, 2014 at 10:41 AM, Albert Zeyer 
> <[email protected]<javascript:>
> > wrote:
>
>> In the destructor of my toplevel Locker, I get this fatal error:
>>
>> #
>> # Fatal error in ...\v8\src\api.h, line 577
>> # CHECK(blocks_.length() == 0) failed
>> #
>>
>> Apparently, some block still exists. I'm not sure what a block is, 
>> though. [...]
>>
>
> It is basically an area where a HandleScope keeps its associated Handles. 
> Somehow you managed to destroy a locker while some Handles are still in use 
> when they shouldn't be. As for almost all bugs (especially when threading 
> is involved), this is impossible to analyse further without seeing an 
> actual complete+tiny program demonstrating the problem.
>

Thanks a lot, that was indeed the issue.

Note that in the official lineprocessor.cc, there is also a HandleScope 
outside of the Locker. I had it pretty similar to that, except that I 
created my own new Isolate.

 

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to