Closed superandrew closed 10 months ago
@superandrew thanks for reporting, and I can confirm the problem. Let me try to get a minimal testcase that reproduces it.
than you, @cowboyd
as a side note, I can confirm the problem is happening in v 0.10.2, 0.11.1, 0.11.3 on 2 OSX 10.8.2 systems and on 0.11.3 on a linux box, for I've tried to understand if it was to blame some broken install or weird configurations
bizarre, but it has to do with the way that the global object receives arguments in its initializer
If in the JavaScript::Doc I change the initializer from:
def initialize(engine, pdf)
super(engine)
@pdf = pdf
@disclosed = false
@hidden = false
@info = Info.new(@engine, pdf)
end
to
def initialize(*args)#engine, pdf)
engine, pdf = *args
super(engine)
@pdf = pdf
@disclosed = false
@hidden = false
@info = Info.new(@engine, pdf)
end
Then it works. Definitely a bug in therubyracer, but a puzzling one.
Here is a minimal script that reproduces the problem:
class Global
def initialize(one, two)
end
end
V8::Context.new(:with => Global.new(1,2))
let me know if you find something, otherwise I'll patch origami. It is weird, but after all it shouldn't change a thing in origami itself.
I have tried to patch the origami framework. I have no more segmentation faults, however when I run the js.rb sample, or any script in the pdfsh console, I've got
>>> pdf.eval_js 'console.println("hello")'
V8::Error: console is not defined
from at <eval>:1:1
from /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:579:in `exec'
from /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:680:in `eval_js'
I'm not sure this is related to this bug or even to therubyracer itself, however maybe it's useful
Not sure if it is the same issue, but I've just had segfault in V8::Context when I try to use therubyracer with uglify gem.
Here what I've got:
** [out :: tulp.li] Compiling all CoffeeScripts to their JavaScript equivalent.
** [out :: tulp.li] /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:87: [BUG] Segmentation fault
** [out :: tulp.li] ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
** [out :: tulp.li]
** [out :: tulp.li] -- Control frame information -----------------------------------------------
** [out :: tulp.li] c:0052 p:---- s:0190 e:000189 CFUNC :Run
** [out :: tulp.li] c:0051 p:0008 s:0187 e:000186 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:87
** [out :: tulp.li] c:0050 p:0006 s:0185 e:000184 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:84 [FINISH]
** [out :: tulp.li] c:0049 p:---- s:0181 e:000180 CFUNC :call
** [out :: tulp.li] c:0048 p:---- s:0179 e:000178 CFUNC :TryCatch
** [out :: tulp.li] c:0047 p:0015 s:0176 E:001138 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:83
** [out :: tulp.li] c:0046 p:0015 s:0173 E:001070 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:87
** [out :: tulp.li] c:0045 p:0021 s:0169 e:000168 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:235 [FINISH]
** [out :: tulp.li] c:0044 p:---- s:0167 e:000166 CFUNC :call
** [out :: tulp.li] c:0043 p:---- s:0165 e:000164 CFUNC :HandleScope
** [out :: tulp.li] c:0042 p:0015 s:0162 E:0023f8 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:232 [FINISH]
** [out :: tulp.li] c:0041 p:---- s:0160 e:000159 CFUNC :call
** [out :: tulp.li] c:0040 p:---- s:0158 e:000157 CFUNC :Locker
** [out :: tulp.li] c:0039 p:0041 s:0155 E:001a50 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:231
** [out :: tulp.li] c:0038 p:0018 s:0151 e:000150 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:191
** [out :: tulp.li] c:0037 p:0050 s:0147 E:002030 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:85
** [out :: tulp.li] c:0036 p:0014 s:0141 e:000139 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:44
** [out :: tulp.li] c:0035 p:0008 s:0137 e:000136 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:80 [FINISH]
** [out :: tulp.li] c:0034 p:---- s:0134 e:000133 CFUNC :call
** [out :: tulp.li] c:0033 p:---- s:0132 e:000131 CFUNC :Locker
** [out :: tulp.li] c:0032 p:0023 s:0129 E:000af8 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:78
** [out :: tulp.li] c:0031 p:0007 s:0124 E:001108 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:42
** [out :: tulp.li] c:0030 p:0087 s:0119 e:000118 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/coffee-script-2.2.0/lib/coffee_script.rb:57
** [out :: tulp.li] c:0029 p:0065 s:0114 e:000113 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/barista-1.3.0/lib/barista/compiler.rb:132
** [out :: tulp.li] c:0028 p:0025 s:0106 e:000105 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/barista-1.3.0/lib/barista/compiler.rb:113
** [out :: tulp.li] c:0027 p:0022 s:0102 e:000101 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/barista-1.3.0/lib/barista/compiler.rb:119
** [out :: tulp.li] c:0026 p:0234 s:0099 e:000098 METHOD /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/barista-1.3.0/lib/barista/compiler.rb:75
** [out :: tulp.li] c:0025 p:0019 s:0088 e:000087 BLOCK /srv/tulp-application/shared/bundle/ruby/2.0.0/gems/barista-1.3.0/lib/barista.rb:199 [FINISH]
Is this failure intermittent or always reproducible?
It is regularly reproducible on the staging machine, on my development environment I have not experienced it yet. That's strange since I do development in a vagrant box which is managed by Chef in the same way as our staging box (amazon ec2 node).
I've got an intermittent failure that looks just like's @ehlyzov's:
/storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/class.rb:46: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0088 p:---- s:0327 e:000326 CFUNC :This
c:0087 p:0034 s:0324 e:000321 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/class.rb:46
c:0086 p:0016 s:0318 e:000317 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/class.rb:30
c:0085 p:0006 s:0316 e:000315 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:96
c:0084 p:0021 s:0311 e:000310 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/class.rb:28 [FINISH]
c:0083 p:---- s:0307 e:000306 CFUNC :NewInstance
c:0082 p:0052 s:0303 e:000302 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/reference.rb:7
c:0081 p:0014 s:0296 e:000295 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/object.rb:4
c:0080 p:0008 s:0293 e:000292 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/fundamental.rb:8
c:0079 p:0062 s:0289 e:000288 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/indentity.rb:15
c:0078 p:0010 s:0285 e:000284 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion.rb:11
c:0077 p:0011 s:0281 e:000280 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:155
c:0076 p:0011 s:0277 e:000276 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:13 [FINISH]
c:0075 p:---- s:0274 e:000273 CFUNC :map
c:0074 p:0020 s:0271 e:000268 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:13
c:0073 p:0006 s:0267 e:000266 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:84 [FINISH]
c:0072 p:---- s:0263 e:000262 CFUNC :call
c:0071 p:---- s:0261 e:000260 CFUNC :TryCatch
c:0070 p:0015 s:0258 E:001dd8 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:83
c:0069 p:0033 s:0255 E:001ac8 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:13
c:0068 p:0024 s:0252 e:000251 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:193
c:0067 p:0009 s:0248 E:000018 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:11
c:0066 p:0016 s:0243 e:000242 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:19
c:0065 p:0024 s:0241 e:000240 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:193
c:0064 p:0009 s:0237 E:001d70 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:18
c:0063 p:0122 s:0233 e:000232 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/commonjs-0.2.6/lib/commonjs/environment.rb:18
c:0062 p:0045 s:0226 e:000225 LAMBDA /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/commonjs-0.2.6/lib/commonjs/module.rb:18 [FINISH]
c:0061 p:---- s:0221 e:000220 CFUNC :call
c:0060 p:0018 s:0216 e:000215 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/access/invocation.rb:16
c:0059 p:0012 s:0211 e:000210 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/access/invocation.rb:4
c:0058 p:0085 s:0205 e:000203 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/code.rb:33
c:0057 p:0006 s:0198 e:000197 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:96
c:0056 p:0007 s:0193 e:000192 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/conversion/code.rb:23 [FINISH]
c:0055 p:---- s:0189 e:000188 CFUNC :Call
c:0054 p:0022 s:0184 e:000183 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:13
c:0053 p:0006 s:0182 e:000181 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:84 [FINISH]
c:0052 p:---- s:0178 e:000177 CFUNC :call
c:0051 p:---- s:0176 e:000175 CFUNC :TryCatch
c:0050 p:0015 s:0173 E:000418 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/error.rb:83
c:0049 p:0033 s:0170 E:002488 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:13
c:0048 p:0024 s:0167 e:000166 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:193
c:0047 p:0009 s:0163 E:0009e8 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:11
c:0046 p:0016 s:0158 e:000157 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:19
c:0045 p:0021 s:0156 e:000155 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:235 [FINISH]
c:0044 p:---- s:0154 e:000153 CFUNC :call
c:0043 p:---- s:0152 e:000151 CFUNC :HandleScope
c:0042 p:0015 s:0149 E:0008e8 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:232 [FINISH]
c:0041 p:---- s:0147 e:000146 CFUNC :call
c:0040 p:---- s:0145 e:000144 CFUNC :Locker
c:0039 p:0041 s:0142 E:001fb0 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:231
c:0038 p:0018 s:0138 e:000137 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/context.rb:191
c:0037 p:0009 s:0134 E:0025b0 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.11.4/lib/v8/function.rb:18
c:0036 p:0122 s:0130 e:000129 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/commonjs-0.2.6/lib/commonjs/environment.rb:18
c:0035 p:0011 s:0123 e:000122 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/less-2.2.2/lib/less/loader.rb:22
c:0034 p:0042 s:0119 e:000118 CLASS /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/less-2.2.2/lib/less.rb:15
c:0033 p:0057 s:0117 e:000116 TOP /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/less-2.2.2/lib/less.rb:9 [FINISH]
c:0032 p:---- s:0115 e:000114 CFUNC :require
c:0031 p:0010 s:0111 e:000110 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:25
c:0030 p:0054 s:0109 e:000108 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:23
c:0029 p:0015 s:0104 e:000103 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:25
c:0028 p:0017 s:0099 e:000098 TOP /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/less-rails-2.2.6/lib/less/rails.rb:6 [FINISH]
c:0027 p:---- s:0097 e:000096 CFUNC :require
c:0026 p:0010 s:0093 e:000092 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:25
c:0025 p:0054 s:0091 e:000090 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:23
c:0024 p:0015 s:0086 e:000085 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:25
c:0023 p:0007 s:0081 e:000080 TOP /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/less-rails-2.2.6/lib/less-rails.rb:1 [FINISH]
c:0022 p:---- s:0079 e:000078 CFUNC :require
c:0021 p:0021 s:0075 e:000074 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:72 [FINISH]
c:0020 p:---- s:0072 e:000071 CFUNC :each
c:0019 p:0055 s:0069 e:000068 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:70 [FINISH]
c:0018 p:---- s:0062 e:000061 CFUNC :each
c:0017 p:0030 s:0059 e:000058 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:59
c:0016 p:0013 s:0055 e:000054 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler.rb:132
c:0015 p:0145 s:0051 e:000050 TOP /storage/jenkins/workspace/DevelopCore/config/application.rb:14 [FINISH]
c:0014 p:---- s:0048 e:000047 CFUNC :require
c:0013 p:0018 s:0044 e:000043 TOP /storage/jenkins/workspace/DevelopCore/config/environment.rb:2 [FINISH]
c:0012 p:---- s:0042 e:000041 CFUNC :require
c:0011 p:0061 s:0038 e:000037 TOP /storage/jenkins/workspace/DevelopCore/spec/spec_helper.rb:4 [FINISH]
c:0010 p:---- s:0036 e:000035 CFUNC :require
c:0009 p:0007 s:0032 e:000031 TOP /storage/jenkins/workspace/DevelopCore/spec/aaa/aaa_we_are_running_all_tests_spec.rb:1 [FINISH]
c:0008 p:---- s:0030 e:000029 CFUNC :load
c:0007 p:0018 s:0026 e:000025 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819 [FINISH]
c:0006 p:---- s:0023 e:000022 CFUNC :each
c:0005 p:0011 s:0020 e:000019 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819
c:0004 p:0054 s:0017 e:000016 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22
c:0003 p:0101 s:0012 e:000011 METHOD /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80
c:0002 p:0044 s:0005 e:000004 BLOCK /storage/jenkins/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17 [FINISH]
c:0001 p:0000 s:0002 E:001e18 TOP [FINISH]
therubyracer crashes here
I am not sure if this is related to origami-pdf, however the steps to reproduce are
here's the full stack