rubyjs / therubyracer

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

With install Ruby 2.5.0 and Passenger 5.1.12 ALL sites will fail to open #444

Closed Sega100500 closed 10 months ago

Sega100500 commented 6 years ago

With install Ruby 2.5.0 and Passenger 5.1.12 ALL sites will fail to open

application out: Incomplete response received from application

passenger.log

Sega100500 commented 6 years ago

same problem:

https://github.com/cowboyd/therubyracer/issues/443

Sega100500 commented 6 years ago

more debug log-file passenger.log.debug-7.log

Sega100500 commented 6 years ago

more info: https://github.com/rails/rails/issues/31573

Sega100500 commented 6 years ago

In log-file:

App 31519 stderr: /home/ruby/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/therubyracer-0.12.3/lib/v8/context.rb:99: [BUG] Segmentation fau
lt at 0x0000000000000000
App 31519 stderr: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
App 31519 stderr:
App 31519 stderr: -- Control frame information -----------------------------------------------
App 31519 stderr: c:0161 p:---- s:1007 e:001006 CFUNC  :Run
App 31519 stderr: c:0160 p:0006 s:1003 e:001002 BLOCK  /home/ruby/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/therubyracer-0.12.3/lib/v8/
context.rb:99

Without gem 'therubyracer', platforms: :ruby in Gemfile no one application not working (even in development mode - without Apache+Passenger - rails -s)!

more debug info: passenger.level7.log.therubyracer.bug.log

Sega100500 commented 6 years ago

Ok. Because therubyracer is a PART of Ruby on Rails, and therubyracer is died (Latest commit 466a1f0 on 5 Jan) then Ruby on Rails also will die with newest version of Ruby 2.3.6, 2.4.3, 2.5.0.

Or any one may correct the gem therubyracer?

khelal commented 6 years ago

Is this gem not being maintained anymore?

Sega100500 commented 6 years ago

@khelal No. Only on all web-applications in Gemfile. But I could not wait that long - comment therubyracer and install NodeJS on system.

lloeki commented 10 months ago

Sorry but this gem is unmaintained, so I will close this issue.

We recommend going with mini_racer + libv8-node. If you feel the issue is still relevant to either of those, please open an issue over there!