Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

jruby 1.7.0 segfault where 1.6.5 doesn't

View gist:3007004
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
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
Something went wrong with that request. Please try again.