rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Segfault when running multiple isolates on one thread.

Open nitsky opened this issue 3 years ago • 0 comments
trafficstars

I observe that when attempting to use multiple isolates from a single thread, I get frequent segfaults. Here is the LLDB output:

stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
    frame #0: 0x0000aaaaac425080 tg`v8::internal::Isolate::Enter() at isolate.cc:4517:32

I asked about this issue on Discord and @andreubotella mentioned that he believes this is due to an issue with how v8::Isolate::Enter and v8::Isolate::Exit are mapped onto the Rust bindings.

nitsky avatar Oct 12 '22 19:10 nitsky