v8学习备忘录

2024-09-26  本文已影响0人  taiyosen

Disposing the isolate that is entered by a thread

如图,如果把花括号注释掉,运行会报错:
Fatal error in v8::Isolate::Dispose() Disposing the isolate that is entered by a thread.

企业微信截图_17271687337294.png
企业微信截图_17271687875695.png
原因和作用域有关,看下图:
v8::Isolate::Scope
image.png

void Isolate::Enter

image.png
Isolate::Dispose
image.png

Fatal signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0x7472705dfd00 in tid xxx

如图,函数定义了返回值类型void*,但是没有返回值,导致报错:
Fatal signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0x7472705dfd00 in tid xxx

image.png
上一篇下一篇

猜你喜欢

热点阅读