Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Crash - Segmentation fault at 0x000024 #309

Closed
dparnell opened this issue Aug 1, 2014 · 1 comment
Closed

Crash - Segmentation fault at 0x000024 #309

dparnell opened this issue Aug 1, 2014 · 1 comment

Comments

@dparnell
Copy link

dparnell commented Aug 1, 2014

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.

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 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.

@bfosberry
Copy link

I think this issue is preventing any kind of rails asset precompilation for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants