On Fri, Aug 9, 2024 at 9:02 AM Sam Saffron <sam.saff...@gmail.com> wrote:
> 4. For some reason if I build with `is_debug` as soon as I kick off an 
> isolate I get warned about stack smashing, is this normal? Do "is_debug" 
> builds work for people?

For posterity, this turned out to be a mismatch between the V8 build
and the consumer of V8's API headers. Both need to be compiled with
V8_ENABLE_CHECKS defined; it affects object layouts.

(Nitty gritty: v8::HandleScope has an extra field in debug mode that
its constructor initializes. The consumer didn't allocate enough stack
space.)

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/CAHQurc80jkbQ1Q%3D12xUTPL%2Bw5WPhxUc357fQDfA7A8CD-DkOsg%40mail.gmail.com.

Reply via email to