On Thu, Mar 13, 2014 at 6:55 PM, Jane Chen <[email protected]> wrote: > I'm getting intermittent abortion when calling > context->SetAlignedPointerInEmbedderData(): > > # > # Fatal error in ../src/api.h, line 401 > # CHECK(allow_empty_handle || that != __null) failed > # > > ==== C stack trace =============================== > > 1: V8_Fatal > 2: v8::Utils::OpenHandle(v8::Context const*, bool) > 3: ?? > 4: v8::Context::SetAlignedPointerInEmbedderData(int, void*) > 5: ?? > > What does the above failure mean and how do I avoid it? > > Thanks!
Looks like the context is empty, i.e. context->IsEmpty() == true. When you run into things like this in the future, hook up gdb and select the appropriate stack frame. In this case, you would run `frame 4; print this` - I'll bet good money it prints 0x0. -- -- 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.
