Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Segmentation fault #1667
I am getting the following error while requesting some urls
The url is localhost:3000/flag
scope "(:locale)", :locale => /en/ do
This looks like /cowboyd/therubyracer/issues/79 the problem crops up when using a multithreaded webserver, and the sporadic crashes occur when a GC runs that frees V8 object in a thread that doesn't have the v8 lock.
At the moment, I am working on making therubyracer's GC routines play nice with multiple threads.
It may help to downgrade to 0.8.2 but this probably because we fixed several memory leaks with 0.9 that now run afoul of multithreading because it's actually freeing more objects. In any case, we'll get a fix out as soon as we can.
For those curious, I've done a write up of the issue here: