rubyjs / therubyracer

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

using origami-pdf, crash at line 62 of context.rb #238

Closed superandrew closed 10 months ago

superandrew commented 11 years ago

therubyracer crashes here

@native = V8::C::Context::New(nil, global_template)

I am not sure if this is related to origami-pdf, however the steps to reproduce are

gem install origami

<cd into origami's samples/javascript>

ruby js.rb

here's the full stack

/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:63: [BUG] Segmentation fault
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.0]

-- Control frame information -----------------------------------------------
c:0022 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC  :New
c:0021 p:0061 s:0067 b:0067 l:000308 d:000066 BLOCK  /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:63
c:0020 p:0028 s:0064 b:0064 l:000430 d:000063 BLOCK  /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:237
c:0019 p:---- s:0062 b:0062 l:000061 d:000061 FINISH
c:0018 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC  :call
c:0017 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC  :HandleScope
c:0016 p:0017 s:0055 b:0055 l:000430 d:002458 BLOCK  /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:234
c:0015 p:---- s:0053 b:0053 l:000052 d:000052 FINISH
c:0014 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC  :call
c:0013 p:---- s:0049 b:0049 l:000048 d:000048 CFUNC  :Locker
c:0012 p:0053 s:0046 b:0046 l:000430 d:000430 METHOD /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:233
c:0011 p:0026 s:0042 b:0042 l:000041 d:000041 METHOD /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:193
c:0010 p:0076 s:0038 b:0038 l:000308 d:000308 METHOD /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:60
c:0009 p:---- s:0033 b:0033 l:000032 d:000032 FINISH
c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC  :new
c:0007 p:0212 s:0027 b:0027 l:000026 d:000026 METHOD /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:563
c:0006 p:---- s:0018 b:0018 l:000017 d:000017 FINISH
c:0005 p:---- s:0016 b:0016 l:000015 d:000015 CFUNC  :new
c:0004 p:0036 s:0012 b:0012 l:000011 d:000011 METHOD /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:686
c:0003 p:0189 s:0009 b:0008 l:001858 d:0021a8 EVAL   ./js.rb:37
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001858 d:001858 TOP   

-- Ruby level backtrace information ----------------------------------------
./js.rb:37:in `<main>'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:686:in `js_engine'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:686:in `new'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:563:in `initialize'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb:563:in `new'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:60:in `initialize'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:193:in `enter'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:233:in `lock_scope_and_enter'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:233:in `Locker'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:233:in `call'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:234:in `block in lock_scope_and_enter'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:234:in `HandleScope'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:234:in `call'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:237:in `block (2 levels) in lock_scope_and_enter'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:63:in `block in initialize'
/usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb:63:in `New'

-- C level backtrace information -------------------------------------------

   See Crash Report log file under ~/Library/Logs/CrashReporter or
   /Library/Logs/CrashReporter, for the more detail of.

-- Other runtime information -----------------------------------------------

* Loaded script: ./js.rb

* Loaded features:

    0 enumerator.so
    1 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/enc/encdb.bundle
    2 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/enc/trans/transdb.bundle
    3 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/rbconfig.rb
    5 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/custom_require.rb
    8 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems.rb
    9 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/version.rb
   10 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/requirement.rb
   11 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/platform.rb
   12 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/specification.rb
   13 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/path_support.rb
   14 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rubygems/dependency.rb
   15 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/object.rb
   16 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/null.rb
   17 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/name.rb
   18 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/dictionary.rb
   19 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/reference.rb
   20 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/boolean.rb
   21 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/delegate.rb
   22 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/numeric.rb
   23 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/string.rb
   24 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/array.rb
   25 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/strscan.bundle
   26 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/stream.rb
   27 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/ascii.rb
   28 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/predictors.rb
   29 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/lzw.rb
   30 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/zlib.bundle
   31 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/flate.rb
   32 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/runlength.rb
   33 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/ccitt.rb
   34 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/dct.rb
   35 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/jbig2.rb
   36 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/jpx.rb
   37 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters/crypt.rb
   38 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/filters.rb
   39 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/digest.bundle
   40 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/digest.rb
   41 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/digest/md5.bundle
   42 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/trailer.rb
   43 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/xreftable.rb
   44 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/header.rb
   45 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/functions.rb
   46 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/catalog.rb
   47 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/font.rb
   48 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/page.rb
   49 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/instruction.rb
   50 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/colors.rb
   51 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/path.rb
   52 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/xobject.rb
   53 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/patterns.rb
   54 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/text.rb
   55 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/e2mmap.rb
   56 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/matrix.rb
   57 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/state.rb
   58 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics/render.rb
   59 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/graphics.rb
   60 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/destinations.rb
   61 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/outline.rb
   62 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/actions.rb
   63 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/file.rb
   64 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/acroform.rb
   65 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/annotations.rb
   66 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/3d.rb
   67 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/openssl.bundle
   68 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/bn.rb
   69 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/cipher.rb
   70 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/stringio.bundle
   71 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/config.rb
   72 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/digest.rb
   73 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/buffering.rb
   74 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/fcntl.bundle
   75 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/ssl-internal.rb
   76 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl/x509-internal.rb
   77 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/openssl.rb
   78 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/digest/sha1.bundle
   79 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/signature.rb
   80 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/webcapture.rb
   81 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parseexception.rb
   82 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/formatters/default.rb
   83 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/formatters/pretty.rb
   84 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/node.rb
   85 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/child.rb
   86 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parent.rb
   87 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/xmltokens.rb
   88 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/namespace.rb
   89 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/encoding.rb
   90 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/source.rb
   91 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/entity.rb
   92 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/attlistdecl.rb
   93 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/doctype.rb
   94 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/text.rb
   95 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/attribute.rb
   96 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/cdata.rb
   97 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/functions.rb
   98 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/syncenumerator.rb
   99 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parsers/xpathparser.rb
  100 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/xpath_parser.rb
  101 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/xpath.rb
  102 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/element.rb
  103 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/xmldecl.rb
  104 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/comment.rb
  105 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/instruction.rb
  106 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/rexml.rb
  107 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/output.rb
  108 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/undefinednamespaceexception.rb
  109 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/set.rb
  110 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parsers/baseparser.rb
  111 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parsers/streamparser.rb
  112 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/validation/validationexception.rb
  113 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/parsers/treeparser.rb
  114 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/rexml/document.rb
  115 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/metadata.rb
  116 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/export.rb
  117 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/x86_64-darwin12.2.0/digest/sha2.bundle
  118 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/digest/sha2.rb
  119 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/encryption.rb
  120 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/linearization.rb
  121 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/obfuscation.rb
  122 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/xfa.rb
  123 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/version.rb
  124 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref.rb
  125 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref/reference.rb
  126 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/1.9.1/thread.rb
  127 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref/safe_monitor.rb
  128 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref/weak_reference/pure_ruby.rb
  129 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref/abstract_reference_value_map.rb
  130 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/ref-1.0.2/lib/ref/weak_value_map.rb
  131 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/weak.rb
  132 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/init.bundle
  133 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/error.rb
  134 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/stack.rb
  135 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/fundamental.rb
  136 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/indentity.rb
  137 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/reference.rb
  138 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/primitive.rb
  139 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/code.rb
  140 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/class.rb
  141 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/object.rb
  142 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/time.rb
  143 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/hash.rb
  144 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/array.rb
  145 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/proc.rb
  146 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/method.rb
  147 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/symbol.rb
  148 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/string.rb
  149 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion/fixnum.rb
  150 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/conversion.rb
  151 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/access/names.rb
  152 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/access/indices.rb
  153 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/access/invocation.rb
  154 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/access.rb
  155 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/context.rb
  156 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/object.rb
  157 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/array.rb
  158 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8/function.rb
  159 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/therubyracer-0.11.3/lib/v8.rb
  160 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/javascript.rb
  161 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/outputintents.rb
  162 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/parser.rb
  163 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/parsers/pdf/linear.rb
  164 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/parsers/pdf.rb
  165 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/pdf.rb
  166 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/parsers/fdf.rb
  167 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/extensions/fdf.rb
  168 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/parsers/ppklite.rb
  169 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami/extensions/ppklite.rb
  170 /usr/local/Cellar/ruby/1.9.3-p362/lib/ruby/gems/1.9.1/gems/origami-1.2.5/lib/origami.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6
cowboyd commented 11 years ago

@superandrew thanks for reporting, and I can confirm the problem. Let me try to get a minimal testcase that reproduces it.

superandrew commented 11 years ago

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

cowboyd commented 11 years ago

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.

cowboyd commented 11 years ago

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))
superandrew commented 11 years ago

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.

superandrew commented 11 years ago

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

ehlyzov commented 11 years ago

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]
cowboyd commented 11 years ago

Is this failure intermittent or always reproducible?

ehlyzov commented 11 years ago

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

EamonNerbonne commented 11 years ago

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]