Skip to content Skip to sidebar Skip to footer

SegFault In V8 On Windows In HandleScope Constructor

I developed a Windows Service in C++ that has V8 embedded. The Debug version is working good. The problem is that the Release version is not working at all. I compiled the V8 engin

Solution 1:

If someone has the same problem, here is the answer:

For some reason, it seems that V8 engine doesn't call its own initialize function. So if you put the line V8::initialize(); as the first line of your program it's gonna be ok.

To create, a new Isolate that is not NULL, you have to call Isolate *isolate=Isolate::New()


Post a Comment for "SegFault In V8 On Windows In HandleScope Constructor"