Closed kojix2 closed 3 years ago
GKS: file open error (/mingw64\FONTS\GKSFONT.DAT) open: No such file or directory GKS: could not open font file: /mingw64\FONTS\CMUSerif-Math.ttf GKS: could not open font file: /mingw64\FONTS\CMUSerif-Math.ttf GKS: glyph missing from current font: 73 GKS: could not load glyph: 0 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/try_extern.rb:16: [BUG] Segmentation fault ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32] -- Control frame information ----------------------------------------------- c:0008 p:---- s:0041 e:000040 CFUNC :call c:0007 p:0016 s:0034 e:000033 METHOD C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/try_extern.rb:16 [FINISH] c:0006 p:---- s:0028 e:000027 CFUNC :public_send c:0005 p:0019 s:0020 E:000828 BLOCK C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/define_methods.rb:26 [FINISH] c:0004 p:0047 s:0016 e:000015 BLOCK examples/fonts.rb:17 [FINISH] c:0003 p:---- s:0011 e:000010 CFUNC :each c:0002 p:0112 s:0007 E:001c88 EVAL examples/fonts.rb:15 [FINISH] c:0001 p:0000 s:0003 E:001f80 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- examples/fonts.rb:15:in `<main>' examples/fonts.rb:15:in `each' examples/fonts.rb:17:in `block in <main>' C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/define_methods.rb:26:in `block (2 levels) in define_ffi_methods' C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/define_methods.rb:26:in `public_send' C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/try_extern.rb:16:in `gr_text' C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/try_extern.rb:16:in `call' -- C level backtrace information ------------------------------------------- C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007fffc41ecea4] C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x8e) [0x00007fffc1c019ce] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_bugreport+0x593) [0x00007fff76e79de3] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_bug_for_fatal_signal+0x88) [0x00007fff76c7e048] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_scheduler_io_write+0x2ee) [0x00007fff76dcbbfe] [0x00007ff6c44e1e82] C:\WINDOWS\System32\msvcrt.dll(_C_specific_handler+0x98) [0x00007fffc3667ff8] C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11f) [0x00007fffc41f217f] C:\WINDOWS\SYSTEM32\ntdll.dll(RtlRaiseException+0x434) [0x00007fffc41a1454] C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007fffc41f0cae] C:\Ruby30-x64\msys64\mingw64\bin\libGR.dll(gks_ft_load_user_font+0x55d) [0x00007fffaf8800fd] C:\Ruby30-x64\msys64\mingw64\bin\libGR.dll(gks_ft_load_user_font+0x751) [0x00007fffaf8802f1] C:\Ruby30-x64\msys64\mingw64\bin\libGR.dll(gks_ft_get_kerning+0x268d) [0x00007fffaf88433d] C:\Ruby30-x64\msys64\mingw64\bin\libGR.dll(gks_strdup+0xfe7) [0x00007fffaf88a747] C:\Ruby30-x64\msys64\mingw64\bin\libGR.dll(gr_text+0x352) [0x00007fffaf835ab2] C:\Ruby30-x64\bin\ruby_builtin_dlls\libffi-7.dll(ffi_call_win64+0x41) [0x00007fffb6484851] C:\Ruby30-x64\bin\ruby_builtin_dlls\libffi-7.dll(ffi_closure_free+0xe3b) [0x00007fffb648449b] C:\Ruby30-x64\bin\ruby_builtin_dlls\libffi-7.dll(ffi_call+0x12) [0x00007fffb6484662] C:\Ruby30-x64\lib\ruby\3.0.0\x64-mingw32\fiddle.so(Init_fiddle+0x7e8) [0x00007fffb6163598] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_nogvl+0xbd) [0x00007fff76e1768d] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_thread_call_without_gvl+0x11) [0x00007fff76e178e1] C:\Ruby30-x64\lib\ruby\3.0.0\x64-mingw32\fiddle.so(Init_fiddle+0x1516) [0x00007fffb61642c6] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_error_arity+0x269) [0x00007fff76e506c9] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_search_method_slowpath+0x597) [0x00007fff76e53827] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_add_method+0x253) [0x00007fff76e66533] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_exec+0x237) [0x00007fff76e5bc77] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_check_funcall_with_hook+0x72f) [0x00007fff76e63d6f] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_check_funcall_with_hook+0xbd2) [0x00007fff76e64212] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_error_arity+0x269) [0x00007fff76e506c9] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_add_method+0x1fb) [0x00007fff76e664db] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_exec+0x237) [0x00007fff76e5bc77] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_f_eval+0x45f) [0x00007fff76e5cd4f] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_invoke_bmethod+0x59d) [0x00007fff76e5d4ed] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_add_method+0x1fb) [0x00007fff76e664db] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_exec+0x237) [0x00007fff76e5bc77] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_hash_compare_by_id_p+0x3a8) [0x00007fff76cada78] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_hash_values+0xa3c) [0x00007fff76cae97c] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_st_foreach_check+0x77) [0x00007fff76dd91c7] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_hash_rassoc+0xd29) [0x00007fff76cb1b09] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_ensure+0x18f) [0x00007fff76c8919f] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_hash_foreach+0xb3) [0x00007fff76cb9103] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_hash_assoc+0x62f) [0x00007fff76cb9c4f] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_error_arity+0x269) [0x00007fff76e506c9] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_search_method_slowpath+0x597) [0x00007fff76e53827] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_add_method+0x253) [0x00007fff76e66533] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_vm_exec+0xa82) [0x00007fff76e5c4c2] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(rb_call_end_proc+0x3484) [0x00007fff76c85b54] C:\Ruby30-x64\bin\x64-msvcrt-ruby300.dll(ruby_run_node+0xa5) [0x00007fff76c87dc5] [0x00007ff6c44e2739] [0x00007ff6c44e13b1] [0x00007ff6c44e14e6] C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007fffc2c27034] -- Other runtime information ----------------------------------------------- * Loaded script: examples/fonts.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 rational.so 3 complex.so 4 ruby2_keywords.rb 5 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/enc/encdb.so 6 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/enc/trans/transdb.so 7 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/enc/windows_31j.so 8 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/rbconfig.rb 9 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/compatibility.rb 10 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/defaults.rb 11 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/deprecate.rb 12 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/errors.rb 13 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/exceptions.rb 14 C:/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/singleton.rb 15 C:/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime.rb 16 C:/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb 17 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/fiddle.so 18 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/closure.rb 19 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/function.rb 20 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/version.rb 21 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle.rb 22 C:/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/dll_directory.rb 23 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/enc/utf_16le.so 24 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/enc/trans/utf_16_32.so 25 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/defaults/operating_system.rb 26 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/basic_specification.rb 27 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/stub_specification.rb 28 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/text.rb 29 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/user_interaction.rb 30 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/specification_policy.rb 31 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/util/list.rb 32 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/platform.rb 33 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/version.rb 34 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/requirement.rb 35 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/specification.rb 36 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/util.rb 37 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/dependency.rb 38 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb 39 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/monitor.so 40 C:/Ruby30-x64/lib/ruby/3.0.0/monitor.rb 41 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb 42 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_warn.rb 43 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems.rb 44 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/path_support.rb 45 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/version.rb 46 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/core_ext/name_error.rb 47 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/levenshtein.rb 48 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/jaro_winkler.rb 49 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checker.rb 50 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb 51 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb 52 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers.rb 53 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/method_name_checker.rb 54 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/key_error_checker.rb 55 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/null_checker.rb 56 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/tree_spell_checker.rb 57 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/spell_checkers/require_path_checker.rb 58 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean/formatters/plain_formatter.rb 59 C:/Ruby30-x64/lib/ruby/3.0.0/did_you_mean.rb 60 C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/bundler_version_finder.rb 61 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pkg-config-1.4.6/lib/pkg-config/version.rb 62 C:/Ruby30-x64/lib/ruby/3.0.0/English.rb 63 C:/Ruby30-x64/lib/ruby/3.0.0/x64-mingw32/pathname.so 64 C:/Ruby30-x64/lib/ruby/3.0.0/pathname.rb 65 C:/Ruby30-x64/lib/ruby/3.0.0/shellwords.rb 66 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pkg-config-1.4.6/lib/pkg-config.rb 67 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/gr_lib.rb 68 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/try_extern.rb 69 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/define_methods.rb 70 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/value.rb 71 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/pack.rb 72 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/struct.rb 73 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/cparser.rb 74 C:/Ruby30-x64/lib/ruby/3.0.0/fiddle/import.rb 75 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/fiddley.rb 76 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/gr_common_utils.rb 77 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/jupyter_support.rb 78 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/version.rb 79 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr_commons/gr_commons.rb 80 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr/version.rb 81 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr/ffi.rb 82 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr/grbase.rb 83 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr.rb 84 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/numo-narray-0.9.2.0/lib/numo/narray.so 85 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/numo-narray-0.9.2.0/lib/numo/narray/extra.rb 86 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/numo-narray-0.9.2.0/lib/numo/narray.rb 87 C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-gr-0.0.26/lib/gr/plot.rb