> > >> >> >>> and the second one is when setting field to prototype >>> template(Template->PrototypeTemplate()->Set()). >>> >>> 07-15 13:42:24.488 23217 23318 E v8 : # >>> 07-15 13:42:24.488 23217 23318 E v8 : # Fatal error in >>> ../../src/api.cc, line 1350 >>> 07-15 13:42:24.488 23217 23318 E v8 : # >>> 07-15 13:42:24.488 23217 23318 E v8 : Check failed: >>> !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). >>> 07-15 13:42:24.488 23217 23318 E v8 : >>> 07-15 13:42:24.488 23217 23318 E v8 : # >>> 07-15 13:42:24.488 23217 23318 E v8 : # >>> 07-15 13:42:24.488 23217 23318 E v8 : # >>> 07-15 13:42:24.488 23217 23318 E v8 : #FailureMessage Object: >>> 0x74f95f90e0 >>> >> >> This looks like you're passing an invalid value to the function. It must >> be a v8::Object or a v8::ObjectTemplate or a v8::FunctionTemplate. >> >> > According to code and stack dump, value_obj should be v8::ObjectTemplate > or v8::FunctionTemplate. I am going to investigate which type of the object > is. > >
My mistake, I checked out which value type makes check failure and it was v8::External, not template ones. But I don't know why this code works on windows platform -- -- 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/0d8c426b-9498-405e-a25c-500b443f379d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.