Here is a full, stand-alone reproduction case and stack trace for my 
problem:  https://gist.github.com/xaxxon/d45ba2bd11675735b4fa

When I throw a normal c++ exception from a FunctionTemplate callback 
function, my process immediately goes into pthread_kill.   

It feels a lot like something down the stack is marked noexcept, but I 
don't know what - or if it is even frames 13-16 in my stack trace in the 
above link which I'm guessing are v8-generated calls.  Nothing in the 
include/ or src/ directories seems to be marked noexcept, but there are a 
very large number of things in third_party with "noexcept".

In the process of working through this I learned about 
Isolate::ThrowException and that seems to work for what I need, but I'm 
wondering if this is intended behavior (maybe even documented somewhere?) 
or if I've hit some edge case.

Thank you.

--Zac

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to