rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.66k stars 192 forks source link

Segmentation fault with libv8 3.16.14.5 on Travis / Codeship / Docker #316

Closed tagliala closed 9 months ago

tagliala commented 10 years ago

Hi,

I don't know if this is the right place to report the issue that I ran into.

Please take a look at these jobs: https://travis-ci.org/diowa/twbs_less_rails/builds/35053004 https://travis-ci.org/diowa/twbs_less_rails/builds/35054020

The only things that change is the libv8 version, from 3.16.14.3 to 3.16.14.5.

I'm opening an issue on rubyracer because libv8's build passed on heroku while there is no recent build of therubyracer ran against libv8 3.16.14.5

You can check the datails of the failure in any of the jobs' builds:

/home/travis/.rvm/gems/ruby-1.9.3-p547/gems/therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault
ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-linux]

Let me know if I should report this to travis

Everything is fine on my local machine (OSX 10.9.4)

thogg4 commented 10 years ago

I am having this exact same issue on codeship.

rubenfonseca commented 10 years ago

I'm having the exact same issue with my docker builds.

ignisf commented 10 years ago

Can you retry with libv8 3.16.14.7?

tagliala commented 10 years ago

https://travis-ci.org/diowa/twbs_less_rails/builds/35202104

It works on travis, thanks!

I'm not closing this one so @thogg4 and @rubenfonseca can provide their feedback on Codeship and Docker

ignisf commented 10 years ago

It seems that the binaries being produced with GCC 4.9.1/glibc 2.19 was to blame

rubenfonseca commented 10 years ago

Forcing libv8 3.16.14.7 solved the problem for me! Thanks!

tagliala commented 9 years ago

@thogg4 is this still an issue for you?

lnikkila commented 9 years ago

I’m getting this on OS X 10.10.3 even with libv8 3.16.14.7.

Crash logs and Gemfile.lock on Gist.

cowboyd commented 9 years ago

@ignisf What would you recommend, compiling with GCC 4.8?

ignisf commented 9 years ago

I could not manage to get to the bottom of this, I just compiled the binary on an Ubuntu 12.04 LTS and had no issues

cowboyd commented 9 years ago

Hmmmm, is there any way to track down which version of GCC 3.16.14.5 was compiled on?

ignisf commented 9 years ago

GCC 4.9.1/glibc 2.19 which was the current version for arch linux on September 8, 2014