You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
Hi, when I use a global object via the :with option to V8::Context.new, after a while V8 crashes Ruby with a seg fault. I have created a gist with an example that reproduces the problem in Ruby 1.9.3 and 2.1.2 on a 32 bit Ubuntu 12.04.3 VM.
The time it takes to crash varies, but it usually fails within a minute and sometimes as long as 2 minutes. I've also had it crash a couple of times almost immediately.
If I change the code to not use the :with option and set things via the context['thing'] = ... style then everything seems to be stable.
Hopefully it's something silly I'm doing, but just in case I thought I'd bring it to your attention.
The text was updated successfully, but these errors were encountered:
Hi, when I use a global object via the
:with
option toV8::Context.new
, after a while V8 crashes Ruby with a seg fault. I have created a gist with an example that reproduces the problem in Ruby 1.9.3 and 2.1.2 on a 32 bit Ubuntu 12.04.3 VM.https://gist.github.com/dparnell/dde5f9ae5345634f0a9e
The time it takes to crash varies, but it usually fails within a minute and sometimes as long as 2 minutes. I've also had it crash a couple of times almost immediately.
If I change the code to not use the
:with
option and set things via thecontext['thing'] = ...
style then everything seems to be stable.Hopefully it's something silly I'm doing, but just in case I thought I'd bring it to your attention.
The text was updated successfully, but these errors were encountered: