|
irb(main):006:0> File.file?("#{File.expand_path("~")}/OneDrive/test.txt")
|
|
(irb):6: [BUG] Segmentation fault
|
|
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0020 p:---- s:0100 e:000099 CFUNC :file?
|
|
c:0019 p:0029 s:0095 e:000094 EVAL (irb):6 [FINISH]
|
|
c:0018 p:---- s:0092 e:000091 CFUNC :eval
|
|
c:0017 p:0025 s:0084 e:000083 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb/workspace.rb:87
|
|
c:0016 p:0027 s:0076 e:000074 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb/context.rb:381
|
|
c:0015 p:0024 s:0069 e:000068 BLOCK C:/apps/ruby/lib/ruby/2.4.0/irb.rb:493
|
|
c:0014 p:0041 s:0060 e:000059 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb.rb:627
|
|
c:0013 p:0011 s:0054 e:000053 BLOCK C:/apps/ruby/lib/ruby/2.4.0/irb.rb:490
|
|
c:0012 p:0128 s:0049 e:000048 BLOCK C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:246 [FINISH]
|
|
c:0011 p:---- s:0045 e:000044 CFUNC :loop
|
|
c:0010 p:0009 s:0041 e:000040 BLOCK C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:232 [FINISH]
|
|
c:0009 p:---- s:0038 e:000037 CFUNC :catch
|
|
c:0008 p:0018 s:0033 e:000032 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:231
|
|
c:0007 p:0037 s:0029 E:002090 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb.rb:489
|
|
c:0006 p:0008 s:0025 e:000024 BLOCK C:/apps/ruby/lib/ruby/2.4.0/irb.rb:430 [FINISH]
|
|
c:0005 p:---- s:0022 e:000021 CFUNC :catch
|
|
c:0004 p:0075 s:0017 E:001678 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb.rb:429
|
|
c:0003 p:0118 s:0012 e:000011 METHOD C:/apps/ruby/lib/ruby/2.4.0/irb.rb:385
|
|
c:0002 p:0030 s:0006 e:000005 EVAL C:/apps/Ruby/bin/irb.cmd:19 [FINISH]
|
|
c:0001 p:0000 s:0003 E:0009f0 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
C:/apps/Ruby/bin/irb.cmd:19:in `<main>'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:385:in `start'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:429:in `run'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:429:in `catch'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:430:in `block in run'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:489:in `eval_input'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:231:in `each_top_level_statement'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:231:in `catch'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:232:in `block in each_top_level_statement'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:232:in `loop'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb:246:in `block (2 levels) in each_top_level_statement'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:490:in `block in eval_input'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:627:in `signal_status'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb.rb:493:in `block (2 levels) in eval_input'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/context.rb:381:in `evaluate'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/workspace.rb:87:in `evaluate'
|
|
C:/apps/ruby/lib/ruby/2.4.0/irb/workspace.rb:87:in `eval'
|
|
(irb):6:in `irb_binding'
|
|
(irb):6:in `file?'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ffe2a9bfec4]
|
|
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ffe26d33b2f]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_print_backtrace+0x36) [0x0000000067b029e6]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_bugreport+0x65) [0x0000000067b02a55]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_bug_context+0x69) [0x00000000679dce29]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_check_safe_obj+0x6ac) [0x0000000067a988ec]
|
|
[0x0000000000402467]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ffe2a9b0f56]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ffe2a9c4c3d]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ffe2a93d1b8]
|
|
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ffe2a9c3b6e]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_read_reparse_point+0x111) [0x0000000067b11261]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x37) [0x0000000067b11377]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x18d) [0x0000000067b114cd]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x477) [0x0000000067b117b7]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x57c) [0x0000000067b118bc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x643) [0x0000000067b11983]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_str_encode_ospath+0x107) [0x00000000679e6297]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_file_directory_p+0x441) [0x00000000679e66e1]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8cfc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6d88]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x4b1) [0x0000000067aee2a1]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af44b3]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x7284) [0x0000000067af5074]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_f_eval+0xc8) [0x0000000067af5308]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8cfc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x4b1) [0x0000000067aee2a1]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af44b3]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_get_insns_address_table+0x2cc) [0x0000000067afc54c]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_rescue2+0x9b) [0x00000000679e322b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_f_block_given_p+0x661) [0x0000000067ae5c61]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8cfc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6d88]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x63b) [0x0000000067aee42b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af44b3]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_yield_1+0x61c) [0x0000000067afd82c]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_lambda_call+0x113) [0x0000000067aeb263]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_catch_obj+0x1b) [0x0000000067aeb35b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8cfc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6d88]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x63b) [0x0000000067aee42b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af44b3]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_yield_1+0x61c) [0x0000000067afd82c]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_lambda_call+0x113) [0x0000000067aeb263]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_catch_obj+0x1b) [0x0000000067aeb35b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8cfc]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6d88]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x63b) [0x0000000067aee42b]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af44b3]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(rb_call_end_proc+0x17e) [0x00000000679dfdde]
|
|
C:\apps\ruby\bin\x64-msvcrt-ruby240.dll(ruby_run_node+0x59) [0x00000000679e2a09]
|
|
[0x0000000000402d57]
|
|
[0x00000000004013f7]
|
|
[0x000000000040152b]
|
|
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ffe284e1fe4]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: irb.cmd
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/encdb.so
|
|
5 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/trans/transdb.so
|
|
6 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/windows_1252.so
|
|
7 C:/apps/ruby/lib/ruby/2.4.0/unicode_normalize.rb
|
|
8 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/rbconfig.rb
|
|
9 C:/apps/ruby/lib/ruby/2.4.0/rubygems/compatibility.rb
|
|
10 C:/apps/ruby/lib/ruby/2.4.0/rubygems/defaults.rb
|
|
11 C:/apps/ruby/lib/ruby/2.4.0/rubygems/deprecate.rb
|
|
12 C:/apps/ruby/lib/ruby/2.4.0/rubygems/errors.rb
|
|
13 C:/apps/ruby/lib/ruby/2.4.0/rubygems/version.rb
|
|
14 C:/apps/ruby/lib/ruby/2.4.0/rubygems/requirement.rb
|
|
15 C:/apps/ruby/lib/ruby/2.4.0/rubygems/platform.rb
|
|
16 C:/apps/ruby/lib/ruby/2.4.0/rubygems/basic_specification.rb
|
|
17 C:/apps/ruby/lib/ruby/2.4.0/rubygems/stub_specification.rb
|
|
18 C:/apps/ruby/lib/ruby/2.4.0/rubygems/util/list.rb
|
|
19 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/stringio.so
|
|
20 C:/apps/ruby/lib/ruby/2.4.0/rubygems/specification.rb
|
|
21 C:/apps/ruby/lib/ruby/2.4.0/rubygems/exceptions.rb
|
|
22 C:/apps/ruby/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/singleton.rb
|
|
23 C:/apps/ruby/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime.rb
|
|
24 C:/apps/ruby/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb
|
|
25 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/fiddle.so
|
|
26 C:/apps/ruby/lib/ruby/2.4.0/fiddle/function.rb
|
|
27 C:/apps/ruby/lib/ruby/2.4.0/fiddle/closure.rb
|
|
28 C:/apps/ruby/lib/ruby/2.4.0/fiddle.rb
|
|
29 C:/apps/ruby/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/dll_directory.rb
|
|
30 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/utf_16le.so
|
|
31 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/trans/utf_16_32.so
|
|
32 C:/apps/ruby/lib/ruby/2.4.0/rubygems/defaults/operating_system.rb
|
|
33 C:/apps/ruby/lib/ruby/2.4.0/rubygems/dependency.rb
|
|
34 C:/apps/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
|
|
35 C:/apps/ruby/lib/ruby/2.4.0/monitor.rb
|
|
36 C:/apps/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
|
|
37 C:/apps/ruby/lib/ruby/2.4.0/rubygems.rb
|
|
38 C:/apps/ruby/lib/ruby/2.4.0/rubygems/path_support.rb
|
|
39 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/version.rb
|
|
40 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/core_ext/name_error.rb
|
|
41 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/levenshtein.rb
|
|
42 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/jaro_winkler.rb
|
|
43 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checker.rb
|
|
44 C:/apps/ruby/lib/ruby/2.4.0/delegate.rb
|
|
45 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
|
|
46 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
|
|
47 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
|
|
48 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
|
|
49 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/null_checker.rb
|
|
50 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/formatter.rb
|
|
51 C:/apps/Ruby/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean.rb
|
|
52 C:/apps/ruby/lib/ruby/2.4.0/e2mmap.rb
|
|
53 C:/apps/ruby/lib/ruby/2.4.0/irb/init.rb
|
|
54 C:/apps/ruby/lib/ruby/2.4.0/irb/workspace.rb
|
|
55 C:/apps/ruby/lib/ruby/2.4.0/irb/inspector.rb
|
|
56 C:/apps/ruby/lib/ruby/2.4.0/irb/output-method.rb
|
|
57 C:/apps/ruby/lib/ruby/2.4.0/irb/context.rb
|
|
58 C:/apps/ruby/lib/ruby/2.4.0/irb/extend-command.rb
|
|
59 C:/apps/ruby/lib/ruby/2.4.0/irb/notifier.rb
|
|
60 C:/apps/ruby/lib/ruby/2.4.0/irb/slex.rb
|
|
61 C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-token.rb
|
|
62 C:/apps/ruby/lib/ruby/2.4.0/irb/ruby-lex.rb
|
|
63 C:/apps/ruby/lib/ruby/2.4.0/irb/src_encoding.rb
|
|
64 C:/apps/ruby/lib/ruby/2.4.0/irb/magic-file.rb
|
|
65 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/euc_jp.so
|
|
66 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/enc/windows_31j.so
|
|
67 C:/apps/ruby/lib/ruby/site_ruby/rbreadline/version.rb
|
|
68 C:/apps/ruby/lib/ruby/2.4.0/x64-mingw32/etc.so
|
|
69 C:/apps/ruby/lib/ruby/site_ruby/rbreadline.rb
|
|
70 C:/apps/ruby/lib/ruby/site_ruby/readline.rb
|
|
71 C:/apps/ruby/lib/ruby/2.4.0/irb/input-method.rb
|
|
72 C:/apps/ruby/lib/ruby/2.4.0/irb/locale.rb
|
|
73 C:/apps/ruby/lib/ruby/2.4.0/irb.rb
|
|
74 C:/apps/ruby/lib/ruby/site_ruby/2.4.0/irbrc_predefiner.rb
|
|
75 C:/apps/ruby/lib/ruby/2.4.0/irb/ext/save-history.rb
|
|
76 C:/apps/ruby/lib/ruby/2.4.0/irb/completion.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
|
|
|
|
|
|
This application has requested the Runtime to terminate it in an unusual way.
|
|
Please contact the application's support team for more information.
|
|
|
|
C:\Users\Hunters\Videos\scripts>ruby -v
|
|
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
|