object(V8Function)#4 (0) {
}
object(V8Function)#4 (0) {
}
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff43f94fb in v8::internal::Builtin_HandleApiCallAsFunction(int, v8::internal::Object**, v8::internal::Isolate*) ()
from /usr/local/v8/lib/libv8.so
(gdb) bt
#0 0x00007ffff43f94fb in v8::internal::Builtin_HandleApiCallAsFunction(int, v8::internal::Object**, v8::internal::Isolate*) ()
from /usr/local/v8/lib/libv8.so
#1 0x00001c94a52072ae in ?? ()
#2 0x00001c94a5207201 in ?? ()
#3 0x00007fffffffa0d0 in ?? ()
#4 0x00007fffffffa118 in ?? ()
#5 0x00001c94a525c03c in ?? ()
#6 0x0000125074081ba1 in ?? ()
#7 0x000017f03a861fb9 in ?? ()
#8 0x00001c94a525bf81 in ?? ()
#9 0x0000000800000000 in ?? ()
#10 0x0000000000000000 in ?? ()
If we have to V8Js instances, and A provides a callback function to PHP, and in PHP we forward the callback function to V8Js instance B like so:
... when V8Js B tries to call, then segfault: