On 26 March 2014 13:35, Kevin Ingwersen <[email protected]> wrote: > I was going to want to use --harmony, due to some weird crasht hat happens in > my application. I am letting a v8 instance go into a new thread, so that my > GUI app can handle stuff in the front, main thread. Everything works as > expected - but when I am using a REPL (the v8 app i am talking about is > nodejs) and wait a while, then I get a crash. But if I do the --harmony > switch, everything works as expected. I have given the crash in my first > email I think. But just in case I did not: > > Ingwie@Ingwies-Air ~/Work/deskshell/mod_nodejs/out/Debug $ ./node > ... > Args: ./node > Meep from contextify. >> process.exit(); > > # > # Fatal error in ../../deps/v8/src/global-handles.cc, line 274 > # CHECK(state() != NEAR_DEATH) failed > # > > ==== C stack trace =============================== > > 1: ?? > 2: ?? > 3: ?? > 4: ?? > 5: ?? > 6: ?? > 7: ?? > 8: ?? > 9: ?? > 10: ?? > Trace/BPT trap: 5
The function process.exit is part of Node, not V8, so I cannot really help you there. Maybe something is wrong with the way Node tears down V8. That the Harmony flag fixes this is very weird, though -- I would think it's more of a coincidental consequence. (You could try to narrow it down to an individual feature using various --harmony-* flags, but I'm not sure if that's the right way to go about this crash.) /Andreas -- -- 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.
