Skip to content

Instantly share code, notes, and snippets.

@rdp
Created June 27, 2012 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdp/3007004 to your computer and use it in GitHub Desktop.
Save rdp/3007004 to your computer and use it in GitHub Desktop.
jruby 1.7.0 segfault where 1.6.5 doesn't
j -S mspec -t j language\predefined_spec.rb -S "Predefined globals"
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]
..........got1agotnil.............SyntaxError: -e:1: syntax error, unexpected tDOT
p $:.include?(.)
^
F............(eval):1 warning: global variable `$-v' not initialized
F(eval):1 warning: global variable `$-w' not initialized
F......................F......F........
Process aborted!
Terminate batch job (Y/N)?
^C
c:\dev\ruby\rubyspec>
c:\dev\ruby\rubyspec>
c:\dev\ruby\rubyspec>set PATH=c:\dev\ruby\downloads\jruby\bin;%PATH%
c:\dev\ruby\rubyspec>j -v
jruby 1.7.0.preview2.dev (ruby-1.9.3-p203) (2012-06-14 fb4c77f) (Java HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]
c:\dev\ruby\rubyspec>j -S mspec -t j language\predefined_spec.rb -S "Predefined globals"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x004a9c04, pid=6816, tid=3924
#
# JRE version: 6.0_32-b05
# Java VM: Java HotSpot(TM) Client VM (20.7-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x004a9c04
#
# An error report file with more information is saved as:
# c:\dev\ruby\rubyspec\hs_err_pid6816.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
c:\dev\ruby\rubyspec>jruby 1.7.0.preview2.dev (ruby-1.9.3-p203) (2012-06-14 fb4c77f) (Java HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]
c:/dev/ruby/downloads/jruby/lib/ruby/gems/shared/gems/mspec-1.5.17/lib/mspec/helpers/ruby_exe.rb:85: Use RbConfig instead of obsolete and deprecated Config.
..........got1agotnil.............SyntaxError: -e:1: syntax error, unexpected tDOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment