Upon launching my app, if the script has an error, my application will fail
with the stack crawl below. Within freeing the ThreadLocalTop, the ASSERT
for !has_pending_message_ fails. Why is that? In my code that compiles
and executes the script, it uses a TryCatch and asks whether is "HasCaught"
an exception. In this case, "HasCaught" returns false. If I force it to
report the message and get the TryCatch's exception, it still fails with
the ASSERT for !has_pending_message_. Any ideas?
#0 0x0000000000000000 in 0x00000000 ()
#1 0x00000001008d6977 in V8_Fatal at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/src/checks.cc:88
#2 0x0000000100d6d2f3 in v8::internal::ThreadLocalTop::Free() at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/tools/gyp/../../src/isolate.h:237
#3 0x0000000100d6d26c in v8::internal::Isolate::FreeThreadResources() at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/tools/gyp/../../src/isolate.h:654
#4 0x0000000100d6c465 in v8::internal::ThreadManager::FreeThreadResources()
at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/src/v8threads.cc:311
#5 0x0000000100d6c3f7 in v8::Locker::~Locker() at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/src/v8threads.cc:75
#6 0x0000000100d6c365 in v8::Locker::~Locker() at
/Users/jacquave/dev/apd/animal/v1/shared/third_party/v8/src/v8threads.cc:71
#7 0x000000010002022a in void
boost::checked_delete<v8::Locker>(v8::Locker*) at
/Users/jacquave/dev/apd/animal/v1/beaker/project/mac/../../../shared/third_party/boost_libraries/boost/checked_delete.hpp:34
#8 0x00000001000201f8 in boost::scoped_ptr<v8::Locker>::~scoped_ptr() at
/Users/jacquave/dev/apd/animal/v1/beaker/project/mac/../../../shared/third_party/boost_libraries/boost/smart_ptr/scoped_ptr.hpp:82
#9 0x000000010001f455 in boost::scoped_ptr<v8::Locker>::~scoped_ptr() at
/Users/jacquave/dev/apd/animal/v1/beaker/project/mac/../../../shared/third_party/boost_libraries/boost/smart_ptr/scoped_ptr.hpp:78
#10 0x000000010001f3fb in boost::scoped_ptr<v8::Locker>::reset(v8::Locker*)
at
/Users/jacquave/dev/apd/animal/v1/beaker/project/mac/../../../shared/third_party/boost_libraries/boost/smart_ptr/scoped_ptr.hpp:88
void Free() {
ASSERT(!has_pending_message_);
ASSERT(!external_caught_exception_);
ASSERT(try_catch_handler_ == NULL);
}
-Jim
--
--
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.