Hi,
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.
I already tried to do as much cleanup as possible before the destructor of
the toplevel Locker, i.e.:
- Remove the last context scope. (However, you can see in the
lineprocessor.cc sample that the context scope will exit after the Locker,
so I'm not sure if that is a bug in lineprocessor.cc [1] or if that is just
not needed.)
- Reset all existing v8::Persistent.
- v8::Debug::DisableAgent().
Maybe I still have forgotten something, but I'm not sure.
The callstack in the main thread:
> inStream.exe!V8_Fatal(const char * file, int line, const char * format,
...) Line 99 C++
inStream.exe!v8::internal::HandleScopeImplementer::Free() Line 577 C++
inStream.exe!v8::internal::HandleScopeImplementer::FreeThreadResources()
Line 7347 C++
inStream.exe!v8::internal::ThreadManager::FreeThreadResources() Line 353
C++
inStream.exe!v8::Locker::~Locker() Line 106 C++
... (my code. that is the toplevel Locker which is destructed now)
And v8:MsgDispHelpr, maybe that is relevant:
inStream.exe!v8::internal::Mutex::Lock() Line 152 C++
inStream.exe!v8::internal::ThreadManager::Lock() Line 198 C++
inStream.exe!v8::Locker::Initialize(v8::Isolate * isolate) Line 57 C++
inStream.exe!v8::Locker::Locker(v8::Isolate * isolate) Line 5334 C++
inStream.exe!v8::internal::MessageDispatchHelperThread::Run() Line 3811
C++
I hope someone can help.
Thanks,
Albert
[1]
https://code.google.com/p/v8/source/browse/trunk/samples/lineprocessor.cc
--
--
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.