|
|
|
C:\Greg\GitHub\ruby\test>ruby -v -rdevkit --disable-gems -I./lib runner.rb --verbose --show-skip ruby/test_jit.rb
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
Run options: --verbose --show-skip
|
|
|
|
# Running tests:
|
|
|
|
[ 1/71] TestJIT#test_attr_reader = 3.91 s
|
|
[ 2/71] TestJIT#test_catching_deep_exception = 6.55 s
|
|
[ 3/71] TestJIT#test_clean_so = 5.18 s
|
|
[ 4/71] TestJIT#test_compile_insn_adjuststack = 2.61 s
|
|
[ 5/71] TestJIT#test_compile_insn_blockparam = 2.64 s
|
|
[ 6/71] TestJIT#test_compile_insn_branchnil = 2.57 s
|
|
[ 7/71] TestJIT#test_compile_insn_branchunless = 2.59 s
|
|
[ 8/71] TestJIT#test_compile_insn_checkkeyword = 2.62 s
|
|
[ 9/71] TestJIT#test_compile_insn_checkmatch_opt_case_dispatch = 2.60 s
|
|
[10/71] TestJIT#test_compile_insn_checktype = 2.57 s
|
|
[11/71] TestJIT#test_compile_insn_classvariable = 2.60 s
|
|
[12/71] TestJIT#test_compile_insn_concatarray = 2.59 s
|
|
[13/71] TestJIT#test_compile_insn_constant = 2.64 s
|
|
[14/71] TestJIT#test_compile_insn_defineclass = 0.00 s
|
|
[15/71] TestJIT#test_compile_insn_defined = 2.56 s
|
|
[16/71] TestJIT#test_compile_insn_dup = 2.59 s
|
|
[17/71] TestJIT#test_compile_insn_dupn = 2.65 s
|
|
[18/71] TestJIT#test_compile_insn_expandarray = 2.61 s
|
|
[19/71] TestJIT#test_compile_insn_freezestring = 2.58 s
|
|
[20/71] TestJIT#test_compile_insn_getblockparamproxy = 0.00 s
|
|
[21/71] TestJIT#test_compile_insn_getspecial = 2.56 s
|
|
[22/71] TestJIT#test_compile_insn_global = 2.59 s
|
|
[23/71] TestJIT#test_compile_insn_inlinecache = 2.61 s
|
|
[24/71] TestJIT#test_compile_insn_instancevariable = 2.55 s
|
|
[25/71] TestJIT#test_compile_insn_intern_duparray = 2.58 s
|
|
[26/71] TestJIT#test_compile_insn_invokeblock_leave = 2.63 s
|
|
[27/71] TestJIT#test_compile_insn_invokesuper = 2.58 s
|
|
[28/71] TestJIT#test_compile_insn_jump_branchif = 2.58 s
|
|
[29/71] TestJIT#test_compile_insn_local = 2.54 s
|
|
[30/71] TestJIT#test_compile_insn_newarray = 2.55 s
|
|
[31/71] TestJIT#test_compile_insn_newhash = 2.60 s
|
|
[32/71] TestJIT#test_compile_insn_newrange = 2.58 s
|
|
[33/71] TestJIT#test_compile_insn_nop = 2.55 s
|
|
[34/71] TestJIT#test_compile_insn_once = 2.60 s
|
|
[35/71] TestJIT#test_compile_insn_opt_aref = 6.49 s
|
|
[36/71] TestJIT#test_compile_insn_opt_aset = 2.65 s
|
|
[37/71] TestJIT#test_compile_insn_opt_calc = 6.05 s
|
|
[38/71] TestJIT#test_compile_insn_opt_call_c_function = 0.00 s
|
|
[39/71] TestJIT#test_compile_insn_opt_cmp = 2.98 s
|
|
[40/71] TestJIT#test_compile_insn_opt_empty_p = 2.96 s
|
|
[41/71] TestJIT#test_compile_insn_opt_length_size = 3.03 s
|
|
[42/71] TestJIT#test_compile_insn_opt_ltlt = 2.91 s
|
|
[43/71] TestJIT#test_compile_insn_opt_newarray_max = 2.97 s
|
|
[44/71] TestJIT#test_compile_insn_opt_newarray_min = 2.95 s
|
|
[45/71] TestJIT#test_compile_insn_opt_not = 2.94 s
|
|
[46/71] TestJIT#test_compile_insn_opt_regexpmatch1 = 2.97 s
|
|
[47/71] TestJIT#test_compile_insn_opt_regexpmatch2 = 2.89 s
|
|
[48/71] TestJIT#test_compile_insn_opt_rel = 3.04 s
|
|
[49/71] TestJIT#test_compile_insn_opt_send_without_block = 2.92 s
|
|
[50/71] TestJIT#test_compile_insn_opt_str_freeze = 2.95 s
|
|
[51/71] TestJIT#test_compile_insn_opt_str_uminus = 2.90 s
|
|
[52/71] TestJIT#test_compile_insn_opt_succ = 2.98 s
|
|
[53/71] TestJIT#test_compile_insn_pop = 2.97 s
|
|
[54/71] TestJIT#test_compile_insn_putnil = 2.98 s
|
|
[55/71] TestJIT#test_compile_insn_putobject = 8.77 s
|
|
[56/71] TestJIT#test_compile_insn_putself = 2.91 s
|
|
[57/71] TestJIT#test_compile_insn_putspecialobject_putiseq = 3.10 s
|
|
[58/71] TestJIT#test_compile_insn_putstring_concatstrings_tostring = 3.06 s
|
|
[59/71] TestJIT#test_compile_insn_reput = 0.00 s
|
|
[60/71] TestJIT#test_compile_insn_reverse = 2.98 s
|
|
[61/71] TestJIT#test_compile_insn_send = 4.41 s
|
|
[62/71] TestJIT#test_compile_insn_setn = 2.96 s
|
|
[63/71] TestJIT#test_compile_insn_setspecial = 2.97 s
|
|
[64/71] TestJIT#test_compile_insn_splatarray = 2.89 s
|
|
[65/71] TestJIT#test_compile_insn_swap_topn = 2.92 s
|
|
[66/71] TestJIT#test_compile_insn_throw = 4.52 s
|
|
[67/71] TestJIT#test_compile_insn_toregexp = 2.92 s
|
|
[68/71] TestJIT#test_compile_insn_tracecoverage = 0.00 s
|
|
[69/71] TestJIT#test_jit_output = 2.94 s
|
|
[70/71] TestJIT#test_local_stack_on_exception = 4.42 s
|
|
[71/71] TestJIT#test_local_stack_with_sp_motion_by_blockargs = 4.48 s
|
|
|
|
1) Skipped:
|
|
TestJIT#test_compile_insn_tracecoverage [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:231]:
|
|
write test
|
|
|
|
2) Skipped:
|
|
TestJIT#test_compile_insn_defineclass [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:235]:
|
|
support this in mjit_compile (low priority)
|
|
|
|
3) Skipped:
|
|
TestJIT#test_compile_insn_getblockparamproxy [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:43]:
|
|
support this in mjit_compile
|
|
|
|
4) Skipped:
|
|
TestJIT#test_compile_insn_opt_call_c_function [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:463]:
|
|
support this in opt_call_c_function (low priority)
|
|
|
|
5) Skipped:
|
|
TestJIT#test_compile_insn_reput [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:200]:
|
|
write test
|
|
|
|
6) Failure:
|
|
TestJIT#test_compile_insn_invokeblock_leave [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:300]:
|
|
Expected 2 times of JIT success, but succeeded 1 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def foo
|
|
yield
|
|
end
|
|
print foo { 2 }
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1267.2ms): foo@-e:2 -> C:/Greg/temp/_ruby_mjit_p12608u0.c
|
|
Successful MJIT finish
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<1>.
|
|
|
|
7) Failure:
|
|
TestJIT#test_compile_insn_opt_aset [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:427]:
|
|
Failed to run script with JIT:
|
|
```
|
|
p proc {
|
|
hash = { '1' => 2 }
|
|
(hash['2'] = 2) + (hash[1.to_s] = 3)
|
|
}.call
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1308.4ms): block in <main>@-e:1 -> C:/Greg/temp/_ruby_mjit_p208u0.c
|
|
-e:1: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0003 p:0000 s:0013 e:000010 BLOCK -e:1
|
|
c:0002 p:0009 s:0007 E:001b70 EVAL -e:4 [FINISH]
|
|
c:0001 p:0000 s:0003 E:001ad0 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:4:in `<main>'
|
|
-e:1:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_notimplement+0x1875) [0x000000006a5c71b5]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_callable_method_entry+0x12) [0x000000006a5cbc82]
|
|
C:\Greg\temp\_ruby_mjit_p208u0.so(mjit0+0x3f1) [0x00000000637ca261]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
8) Failure:
|
|
TestJIT#test_compile_insn_intern_duparray [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:143]:
|
|
Failed to run script with JIT:
|
|
```
|
|
p proc { [:"#{0}"] + [1,2,3] }.call
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1255.2ms): block in <main>@-e:1 -> C:/Greg/temp/_ruby_mjit_p11804u0.c
|
|
-e:1: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0004 p:---- s:0015 e:000014 CFUNC :to_s
|
|
c:0003 p:0000 s:0011 e:000009 BLOCK -e:1
|
|
c:0002 p:0009 s:0007 E:000400 EVAL -e:1 [FINISH]
|
|
c:0001 p:0000 s:0003 E:000e30 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:1:in `<main>'
|
|
-e:1:in `block in <main>'
|
|
-e:1:in `to_s'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_class_real+0x5) [0x000000006a50ea65]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_class_name+0x9) [0x000000006a5c2dd9]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_inspect+0x188) [0x000000006a50edf8]
|
|
[0x00000000001b6618]
|
|
[0x00000000001b739e]
|
|
[0x00000000001b94f8]
|
|
C:\Greg\temp\_ruby_mjit_p11804u0.so(mjit0+0x11e) [0x00000000001b9f5e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
9) Failure:
|
|
TestJIT#test_compile_insn_putspecialobject_putiseq [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:107]:
|
|
Failed to run script with JIT:
|
|
```
|
|
|
|
print proc {
|
|
def method_definition
|
|
'hello'
|
|
end
|
|
method_definition
|
|
}.call
|
|
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1603.9ms): block in <main>@-e:2 -> C:/Greg/temp/_ruby_mjit_p12632u0.c
|
|
-e:2: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0003 p:0000 s:0013 e:000009 BLOCK -e:2
|
|
c:0002 p:0009 s:0007 E:0015e0 EVAL -e:7 [FINISH]
|
|
c:0001 p:0000 s:0003 E:001100 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:7:in `<main>'
|
|
-e:2:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_notimplement+0x1875) [0x000000006a5c71b5]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_callable_method_entry+0x12) [0x000000006a5cbc82]
|
|
C:\Greg\temp\_ruby_mjit_p12632u0.so(mjit0+0x3b0) [0x000000006548a1f0]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
10) Failure:
|
|
TestJIT#test_compile_insn_putstring_concatstrings_tostring [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:119]:
|
|
Failed to run script with JIT:
|
|
```
|
|
p proc { "a#{}b" + "c" }.call
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1468.2ms): block in <main>@-e:1 -> C:/Greg/temp/_ruby_mjit_p6400u0.c
|
|
-e:1: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0003 p:0000 s:0013 e:000009 BLOCK -e:1
|
|
c:0002 p:0009 s:0007 E:0015c0 EVAL -e:1 [FINISH]
|
|
c:0001 p:0000 s:0003 E:000fd0 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:1:in `<main>'
|
|
-e:1:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_id_table_lookup+0x33) [0x000000006a5a2313]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_notimplement+0x1830) [0x000000006a5c7170]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_callable_method_entry+0x12) [0x000000006a5cbc82]
|
|
C:\Greg\temp\_ruby_mjit_p6400u0.so(mjit0+0x392) [0x000000006e20a1d2]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
11) Failure:
|
|
TestJIT#test_compile_insn_once [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:367]:
|
|
Failed to run script with JIT:
|
|
```
|
|
p proc { /#{true}/o =~ "true" && $~.to_a }.call
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1246.7ms): block in <main>@-e:1 -> C:/Greg/temp/_ruby_mjit_p8944u0.c
|
|
-e:1: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0003 p:0000 s:0010 e:000009 BLOCK -e:1
|
|
c:0002 p:0009 s:0007 E:001740 EVAL -e:1 [FINISH]
|
|
c:0001 p:0000 s:0003 E:001d10 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:1:in `<main>'
|
|
-e:1:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_get_ruby_level_next_cfp+0x29) [0x000000006a5cb6b9]
|
|
[0x000000006cf41213]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_ensure+0x16c) [0x000000006a4ade7c]
|
|
C:\Greg\temp\_ruby_mjit_p8944u0.so(mjit0+0x1bb) [0x000000006cf4a08b]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
12) Failure:
|
|
TestJIT#test_compile_insn_invokesuper [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:282]:
|
|
Failed to run script with JIT:
|
|
```
|
|
|
|
mod = Module.new {
|
|
def test
|
|
super + 2
|
|
end
|
|
}
|
|
klass = Class.new {
|
|
prepend mod
|
|
def test
|
|
1
|
|
end
|
|
}
|
|
print klass.new.test
|
|
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1230.6ms): block in <main>@-e:2 -> C:/Greg/temp/_ruby_mjit_p10216u0.c
|
|
-e:2: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0005 p:0000 s:0021 e:000017 BLOCK -e:2 [FINISH]
|
|
c:0004 p:---- s:0015 e:000014 CFUNC :initialize
|
|
c:0003 p:---- s:0012 e:000011 CFUNC :new
|
|
c:0002 p:0011 s:0008 E:000760 EVAL -e:2 [FINISH]
|
|
c:0001 p:0000 s:0003 E:000be0 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:2:in `<main>'
|
|
-e:2:in `new'
|
|
-e:2:in `initialize'
|
|
-e:2:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_notimplement+0x1875) [0x000000006a5c71b5]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_callable_method_entry+0x12) [0x000000006a5cbc82]
|
|
C:\Greg\temp\_ruby_mjit_p10216u0.so(mjit0+0x1c0) [0x000000006c20a000]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x6c4) [0x000000006a5d0ac4]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_yield_splat+0x6d9) [0x000000006a5deb79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_yield_splat+0x867) [0x000000006a5ded07]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_obj_untrusted+0x4b6) [0x000000006a50c186]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_eval+0x3d6) [0x000000006a5d1746]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall_with_hook+0xccb) [0x000000006a5d2fab]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_funcallv+0x36) [0x000000006a5d36e6]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_undefined_alloc+0x104) [0x000000006a50f014]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_error_arity+0x10b) [0x000000006a5c9ddb]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_yield_block+0xce8) [0x000000006a5ddc48]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x1a3d) [0x000000006a5d7b8d]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
13) Failure:
|
|
TestJIT#test_compile_insn_setspecial [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:51]:
|
|
Failed to run script with JIT:
|
|
```
|
|
p proc {
|
|
true if nil.nil?..nil.nil?
|
|
}.call
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1466.9ms): block in <main>@-e:1 -> C:/Greg/temp/_ruby_mjit_p8484u0.c
|
|
-e:1: [BUG] Segmentation fault
|
|
ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0003 p:0000 s:0011 e:000009 BLOCK -e:1
|
|
c:0002 p:0009 s:0007 E:001be0 EVAL -e:3 [FINISH]
|
|
c:0001 p:0000 s:0003 E:000d70 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
-e:3:in `<main>'
|
|
-e:1:in `block in <main>'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff9f6480344]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9f3433b7f]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5e4146]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5e41bd]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x69) [0x000000006a4a6399]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xd60) [0x000000006a5766e0]
|
|
[0x0000000000402397]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9f64713d6]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9f64850bd]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff9f63fd278]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff9f6483fee]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_id_table_lookup+0x33) [0x000000006a5a2313]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_f_notimplement+0x1830) [0x000000006a5c7170]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_callable_method_entry+0x12) [0x000000006a5cbc82]
|
|
[0x00000000643415a4]
|
|
C:\Greg\temp\_ruby_mjit_p8484u0.so(mjit0+0x1d9) [0x000000006434a1f9]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x33f8) [0x000000006a5d9548]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(vm_exec+0x9e) [0x000000006a5d049e]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x189) [0x000000006a4a9b79]
|
|
C:\Greg\ruby26_64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x59) [0x000000006a4ace39]
|
|
[0x0000000000402ccb]
|
|
[0x00000000004013c7]
|
|
[0x00000000004014fb]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9f5d01fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: -e
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
|
|
5 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/Greg/ruby26_64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
|
|
|
|
[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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
14) Failure:
|
|
TestJIT#test_compile_insn_blockparam [C:/Greg/GitHub/ruby/test/ruby/test_jit.rb:30]:
|
|
Failed to run script with JIT:
|
|
```
|
|
|
|
def foo(&b)
|
|
a = b
|
|
b = 2
|
|
a.call + 2
|
|
end
|
|
|
|
print foo { 1 }
|
|
|
|
```
|
|
|
|
|
|
stdout:
|
|
```
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
JIT success (1281.0ms): foo@-e:2 -> C:/Greg/temp/_ruby_mjit_p12236u0.c
|
|
-e:3:in `foo': wrong argument type Binding (expected Class) (TypeError)
|
|
from -e:8:in `<main>'
|
|
Successful MJIT finish
|
|
|
|
```
|
|
|
|
.
|
|
<true> expected but was
|
|
<false>.
|
|
|
|
Finished tests in 209.825084s, 0.3384 tests/s, 1.9540 assertions/s.
|
|
71 tests, 410 assertions, 9 failures, 0 errors, 5 skips
|
|
|
|
ruby -v: ruby 2.6.0dev (2018-05-03 trunk 63333) [x64-mingw32]
|
|
|
|
C:\Greg\GitHub\ruby\test>
|