Project

General

Profile

Actions

Bug #14343

closed

Segfault during generating documentation

Added by vo.x (Vit Ondruch) almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
[ruby-core:84759]

Description

This happens on Fedora Rawhide (see the most recent build.log 1):

$ rm -rf usr/share/gems/doc/webmock-2.3.2/

$ ruby -S gem install -V --local --build-root . --force --document=ri,rdoc /builddir/build/SOURCES/webmock-2.3.2.gem
WARNING:  You build with buildroot.
  Build root: /builddir/build/BUILD/rubygem-webmock-2.3.2
  Bin dir: /builddir/build/BUILD/rubygem-webmock-2.3.2/usr/bin
  Gem home: /builddir/build/BUILD/rubygem-webmock-2.3.2/usr/share/gems
/builddir/build/BUILD/rubygem-webmock-2.3.2/usr/share/gems/gems/webmock-2.3.2/.gemtest

... snip ....

Successfully installed webmock-2.3.2
Parsing documentation for webmock-2.3.2
Parsing sources...
100% [54/54]  lib/webmock/webmock.rb                                    
Installing ri documentation for webmock-2.3.2
Installing darkfish documentation for webmock-2.3.2
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:389: [BUG] Segmentation fault at 0x0000000000000020
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0055 p:---- s:0317 e:000316 CFUNC  :eval
c:0054 p:0029 s:0312 e:000311 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:389
c:0053 p:0026 s:0306 e:000305 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:201
c:0052 p:0006 s:0296 e:000295 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/verbatim.rb:26
c:0051 p:0026 s:0291 e:000290 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb:75 [FINISH]
c:0050 p:---- s:0287 e:000286 CFUNC  :each
c:0049 p:0009 s:0283 e:000282 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb:70
c:0048 p:0012 s:0278 e:000277 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/document.rb:68
c:0047 p:0074 s:0273 e:000272 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/text.rb:105
c:0046 p:0007 s:0266 e:000265 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/markup.rb:28
c:0045 p:0378 s:0262 e:000260 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:152 [FINISH]
c:0044 p:---- s:0257 e:000256 CFUNC  :each
c:0043 p:0197 s:0253 e:000252 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:125 [FINISH]
c:0042 p:---- s:0248 e:000247 CFUNC  :each
c:0041 p:0016 s:0244 e:000243 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:118 [FINISH]
c:0040 p:---- s:0239 e:000238 CFUNC  :each
c:0039 p:0586 s:0235 e:000234 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:116
c:0038 p:0037 s:0229 e:000228 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb:765 [FINISH]
c:0037 p:---- s:0225 e:000224 CFUNC  :each
c:0036 p:0057 s:0221 e:000220 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb:764
c:0035 p:0947 s:0215 e:000214 EVAL   /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:54 [FINISH]
c:0034 p:---- s:0212 e:000211 CFUNC  :eval
c:0033 p:0041 s:0204 e:000203 METHOD /usr/share/ruby/erb.rb:885
c:0032 p:0018 s:0199 e:000198 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:753
c:0031 p:0031 s:0191 e:000190 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:732 [FINISH]
c:0030 p:---- s:0187 e:000186 CFUNC  :open
c:0029 p:---- s:0184 e:000183 CFUNC  :open
c:0028 p:0100 s:0178 e:000177 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:727
c:0027 p:0200 s:0168 E:0001c0 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:356
c:0026 p:0013 s:0156 e:000155 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:382 [FINISH]
c:0025 p:---- s:0152 e:000151 CFUNC  :each
c:0024 p:0074 s:0148 e:000147 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:379
c:0023 p:0019 s:0140 e:000139 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:246
c:0022 p:0023 s:0135 e:000134 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:137 [FINISH]
c:0021 p:---- s:0132 e:000131 CFUNC  :chdir
c:0020 p:0163 s:0127 e:000126 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:134
c:0019 p:0385 s:0119 e:000118 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:196
c:0018 p:0014 s:0111 e:000110 BLOCK  /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:56 [FINISH]
c:0017 p:---- s:0107 e:000106 CFUNC  :each
c:0016 p:0043 s:0103 e:000102 METHOD /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:55 [FINISH]
c:0015 p:---- s:0091 e:000090 IFUNC 
c:0014 p:0010 s:0088 e:000087 BLOCK  /usr/share/rubygems/rubygems/request_set.rb:206 [FINISH]
c:0013 p:---- s:0084 e:000083 CFUNC  :each
c:0012 p:0136 s:0080 e:000079 METHOD /usr/share/rubygems/rubygems/request_set.rb:205
c:0011 p:0149 s:0070 e:000068 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:205
c:0010 p:0028 s:0060 e:000059 BLOCK  /usr/share/rubygems/rubygems/commands/install_command.rb:255 [FINISH]
c:0009 p:---- s:0053 e:000052 CFUNC  :each
c:0008 p:0011 s:0049 e:000048 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:251
c:0007 p:0083 s:0044 e:000043 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:158
c:0006 p:0094 s:0039 e:000038 METHOD /usr/share/rubygems/rubygems/command.rb:313
c:0005 p:0100 s:0031 e:000030 METHOD /usr/share/rubygems/rubygems/command_manager.rb:171
c:0004 p:0011 s:0023 e:000022 METHOD /usr/share/rubygems/rubygems/command_manager.rb:141
c:0003 p:0053 s:0016 e:000015 METHOD /usr/share/rubygems/rubygems/gem_runner.rb:59
c:0002 p:0124 s:0009 E:001168 EVAL   /usr/bin/gem:21 [FINISH]
c:0001 p:0000 s:0003 E:001100 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/usr/bin/gem:21:in `<main>'
/usr/share/rubygems/rubygems/gem_runner.rb:59:in `run'
/usr/share/rubygems/rubygems/command_manager.rb:141:in `run'
/usr/share/rubygems/rubygems/command_manager.rb:171:in `process_args'
/usr/share/rubygems/rubygems/command.rb:313:in `invoke_with_build_args'
/usr/share/rubygems/rubygems/commands/install_command.rb:158:in `execute'
/usr/share/rubygems/rubygems/commands/install_command.rb:251:in `install_gems'
/usr/share/rubygems/rubygems/commands/install_command.rb:251:in `each'
/usr/share/rubygems/rubygems/commands/install_command.rb:255:in `block in install_gems'
/usr/share/rubygems/rubygems/commands/install_command.rb:205:in `install_gem'
/usr/share/rubygems/rubygems/request_set.rb:205:in `install'
/usr/share/rubygems/rubygems/request_set.rb:205:in `each'
/usr/share/rubygems/rubygems/request_set.rb:206:in `block in install'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:55:in `generation_hook'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:55:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:56:in `block in generation_hook'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:196:in `generate'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:134:in `document'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:134:in `chdir'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb:137:in `block in document'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:246:in `generate'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:379:in `generate_class_files'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:379:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:382:in `block in generate_class_files'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:356:in `generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:727:in `render_template'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:727:in `open'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:727:in `open'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:732:in `block in render_template'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb:753:in `template_result'
/usr/share/ruby/erb.rb:885:in `result'
/usr/share/ruby/erb.rb:885:in `eval'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:54:in `block in generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb:764:in `each_section'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb:764:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb:765:in `block in each_section'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:116:in `block (2 levels) in generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:116:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:118:in `block (3 levels) in generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:118:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:125:in `block (4 levels) in generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:125:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/template/darkfish/class.rhtml:152:in `block (5 levels) in generate_class'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/markup.rb:28:in `description'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/text.rb:105:in `markup'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/document.rb:68:in `accept'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb:70:in `accept_document'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb:70:in `each'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb:75:in `block in accept_document'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/verbatim.rb:26:in `accept'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:201:in `accept_verbatim'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:389:in `parseable?'
/usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb:389:in `eval'

-- Machine register context ------------------------------------------------
 RIP: 0x00007ff97587e878 RBP: 0x0000000000000000 RSP: 0x00007ffe3d3e8900
 RAX: 0x0000564780a12220 RBX: 0x0000000000000020 RCX: 0x0000000000000001
 RDX: 0x0000000000010000 RDI: 0x0000564780a12220 RSI: 0x000000000000291b
  R8: 0x0000000000000000  R9: 0x0000000000000000 R10: 0x0000564780a121f0
 R11: 0x0000000000000145 R12: 0x0000564780a121f0 R13: 0x00007ffe3d3e9260
 R14: 0x00007ffe3d3e8a4a R15: 0x00007ffe3d3e8bf8 EFL: 0x0000000000010202

-- C level backtrace information -------------------------------------------
/lib64/libruby.so.2.5(rb_print_backtrace+0x15) [0x7ff97594b715] vm_dump.c:703
/lib64/libruby.so.2.5(rb_vm_bugreport+0x21c) [0x7ff97594b94c] vm_dump.c:973
/lib64/libruby.so.2.5(rb_bug_context+0xd4) [0x7ff975816b34] error.c:580
/lib64/libruby.so.2.5(sigsegv+0x42) [0x7ff9758dc102] signal.c:928
/lib64/libpthread.so.0(0x7ff975579180) [0x7ff975579180]
/lib64/libruby.so.2.5(new_list_gen+0x28) [0x7ff97587e878] parse.y:9539
/lib64/libruby.so.2.5(list_append_gen+0x30) [0x7ff97587eeb0] parse.y:9085
/lib64/libruby.so.2.5(ruby_yyparse+0x50dc) [0x7ff97588a40c] parse.y:1806
/lib64/libruby.so.2.5(yycompile0+0xf3) [0x7ff975895d13] parse.y:5594
/lib64/libruby.so.2.5(rb_suppress_tracing+0xec) [0x7ff97594d5fc] vm_trace.c:397
/lib64/libruby.so.2.5(parser_compile_string+0x7f) [0x7ff97587f6df] parse.y:5705
/lib64/libruby.so.2.5(rb_iseq_compile_with_option+0xda) [0x7ff975853eda] iseq.c:689
/lib64/libruby.so.2.5(eval_string_with_cref+0xd4) [0x7ff97593f214] vm_eval.c:1318
/lib64/libruby.so.2.5(rb_f_eval+0xbd) [0x7ff97593f76d] vm_eval.c:1370
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x22e0) [0x7ff975939340] insns.def:915
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield_values2+0x2f4) [0x7ff9759409e4] vm.c:979
/lib64/libruby.so.2.5(each_pair_i_fast+0x1a) [0x7ff97583500a] hash.c:1837
/lib64/libruby.so.2.5(hash_foreach_iter+0x1b) [0x7ff9758360fb] hash.c:353
/lib64/libruby.so.2.5(st_foreach_check+0x7e) [0x7ff9758e661e] st.c:1490
/lib64/libruby.so.2.5(hash_foreach_call+0x1f) [0x7ff9758360af] hash.c:386
/lib64/libruby.so.2.5(rb_ensure+0xc3) [0x7ff97581cdd3] eval.c:1037
/lib64/libruby.so.2.5(rb_hash_foreach+0x3f) [0x7ff97583742f] hash.c:403
/lib64/libruby.so.2.5(rb_hash_each_pair+0x28) [0x7ff975837aa8] hash.c:1868
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield_values2+0x2f4) [0x7ff9759409e4] vm.c:979
/lib64/libruby.so.2.5(each_pair_i_fast+0x1a) [0x7ff97583500a] hash.c:1837
/lib64/libruby.so.2.5(hash_foreach_iter+0x1b) [0x7ff9758360fb] hash.c:353
/lib64/libruby.so.2.5(st_foreach_check+0x7e) [0x7ff9758e661e] st.c:1490
/lib64/libruby.so.2.5(hash_foreach_call+0x1f) [0x7ff9758360af] hash.c:386
/lib64/libruby.so.2.5(rb_ensure+0xc3) [0x7ff97581cdd3] eval.c:1037
/lib64/libruby.so.2.5(rb_hash_foreach+0x3f) [0x7ff97583742f] hash.c:403
/lib64/libruby.so.2.5(rb_hash_each_pair+0x28) [0x7ff975837aa8] hash.c:1868
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(eval_string_with_cref+0x13f) [0x7ff97593f27f] vm_eval.c:1349
/lib64/libruby.so.2.5(rb_f_eval+0xbd) [0x7ff97593f76d] vm_eval.c:1370
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x22e0) [0x7ff975939340] insns.def:915
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ensure+0xc3) [0x7ff97581cdd3] eval.c:1037
/lib64/libruby.so.2.5(vm_call0_body.constprop.139+0x201) [0x7ff975942e81] vm_eval.c:85
/lib64/libruby.so.2.5(rb_call0+0xfa) [0x7ff975943eba] vm_eval.c:58
/lib64/libruby.so.2.5(iterate_method+0x31) [0x7ff975944c61] vm_eval.c:589
/lib64/libruby.so.2.5(rb_iterate0+0xbe) [0x7ff975934e5e] vm_eval.c:1134
/lib64/libruby.so.2.5(rb_block_call+0x2b) [0x7ff975934ffb] vm_eval.c:1197
/usr/lib64/ruby/pathname.so(path_open+0xff) [0x7ff96a1faf1f] pathname.c:680
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ensure+0xc3) [0x7ff97581cdd3] eval.c:1037
/lib64/libruby.so.2.5(dir_s_chdir+0xc8) [0x7ff975804f38] dir.c:1108
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(vm_call0_body.constprop.139+0x14d) [0x7ff975942dcd] vm_eval.c:127
/lib64/libruby.so.2.5(rb_vm_call+0x30) [0x7ff9759434a0] vm_eval.c:58
/lib64/libruby.so.2.5(vm_yield_with_cfunc.isra.115+0xd9) [0x7ff9759327e9] vm_insnhelper.c:2526
/lib64/libruby.so.2.5(rb_vm_invoke_proc+0x202) [0x7ff975941c12] vm.c:1126
/lib64/libruby.so.2.5(vm_call_opt_call+0xa1) [0x7ff975941df1] vm_insnhelper.c:2065
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x22e0) [0x7ff975939340] insns.def:915
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(rb_yield+0x4cc) [0x7ff97594589c] vm.c:979
/lib64/libruby.so.2.5(rb_ary_each+0x3c) [0x7ff9757b64bc] array.c:1836
/lib64/libruby.so.2.5(vm_call_cfunc+0xf9) [0x7ff975933fb9] vm_insnhelper.c:1918
/lib64/libruby.so.2.5(vm_call_method+0xd3) [0x7ff975942553] vm_insnhelper.c:2381
/lib64/libruby.so.2.5(vm_exec_core+0x18d5) [0x7ff975938935] insns.def:850
/lib64/libruby.so.2.5(vm_exec+0x84) [0x7ff97593e794] vm.c:1778
/lib64/libruby.so.2.5(ruby_exec_internal+0xc4) [0x7ff97581a144] eval.c:246
/lib64/libruby.so.2.5(ruby_exec_node+0x1d) [0x7ff97581bfcd] eval.c:310
/lib64/libruby.so.2.5(ruby_run_node+0x1e) [0x7ff97581e39e] eval.c:302
/usr/bin/ruby-mri(main+0x4b) [0x56477e77c93b] ./main.c:42

-- Other runtime information -----------------------------------------------

* Loaded script: /usr/bin/gem

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /usr/lib64/ruby/enc/encdb.so
    5 /usr/lib64/ruby/enc/trans/transdb.so
    6 /usr/lib64/ruby/rbconfig.rb
    7 /usr/share/rubygems/rubygems/compatibility.rb
    8 /usr/share/rubygems/rubygems/defaults.rb
    9 /usr/share/rubygems/rubygems/deprecate.rb
   10 /usr/share/rubygems/rubygems/errors.rb
   11 /usr/share/rubygems/rubygems/version.rb
   12 /usr/share/rubygems/rubygems/requirement.rb
   13 /usr/share/rubygems/rubygems/platform.rb
   14 /usr/share/rubygems/rubygems/basic_specification.rb
   15 /usr/share/rubygems/rubygems/stub_specification.rb
   16 /usr/share/rubygems/rubygems/util/list.rb
   17 /usr/lib64/ruby/stringio.so
   18 /usr/share/rubygems/rubygems/specification.rb
   19 /usr/share/rubygems/rubygems/exceptions.rb
   20 /usr/share/rubygems/rubygems/defaults/operating_system.rb
   21 /usr/share/rubygems/rubygems/dependency.rb
   22 /usr/share/rubygems/rubygems/core_ext/kernel_gem.rb
   23 /usr/share/ruby/monitor.rb
   24 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb
   25 /usr/share/rubygems/rubygems.rb
   26 /usr/share/rubygems/rubygems/path_support.rb
   27 /usr/share/rubygems/rubygems/bundler_version_finder.rb
   28 /usr/share/ruby/optparse.rb
   29 /usr/share/rubygems/rubygems/util.rb
   30 /usr/share/rubygems/rubygems/user_interaction.rb
   31 /usr/share/rubygems/rubygems/command.rb
   32 /usr/share/rubygems/rubygems/command_manager.rb
   33 /usr/lib64/ruby/etc.so
   34 /usr/share/rubygems/rubygems/config_file.rb
   35 /usr/share/rubygems/rubygems/gem_runner.rb
   36 /usr/share/gems/gems/psych-3.0.2/lib/psych/versions.rb
   37 /usr/share/gems/gems/psych-3.0.2/lib/psych/exception.rb
   38 /usr/share/gems/gems/psych-3.0.2/lib/psych/syntax_error.rb
   39 /usr/lib64/gems/ruby/psych-3.0.2/psych.so
   40 /usr/share/gems/gems/psych-3.0.2/lib/psych/omap.rb
   41 /usr/share/gems/gems/psych-3.0.2/lib/psych/set.rb
   42 /usr/share/gems/gems/psych-3.0.2/lib/psych/class_loader.rb
   43 /usr/lib64/ruby/strscan.so
   44 /usr/share/gems/gems/psych-3.0.2/lib/psych/scalar_scanner.rb
   45 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/node.rb
   46 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/stream.rb
   47 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/document.rb
   48 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/sequence.rb
   49 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/scalar.rb
   50 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/mapping.rb
   51 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes/alias.rb
   52 /usr/share/gems/gems/psych-3.0.2/lib/psych/nodes.rb
   53 /usr/share/gems/gems/psych-3.0.2/lib/psych/streaming.rb
   54 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/visitor.rb
   55 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/to_ruby.rb
   56 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/emitter.rb
   57 /usr/share/gems/gems/psych-3.0.2/lib/psych/handler.rb
   58 /usr/share/gems/gems/psych-3.0.2/lib/psych/tree_builder.rb
   59 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/yaml_tree.rb
   60 /usr/share/gems/gems/psych-3.0.2/lib/psych/json/ruby_events.rb
   61 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/json_tree.rb
   62 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors/depth_first.rb
   63 /usr/share/gems/gems/psych-3.0.2/lib/psych/visitors.rb
   64 /usr/share/gems/gems/psych-3.0.2/lib/psych/parser.rb
   65 /usr/share/gems/gems/psych-3.0.2/lib/psych/coder.rb
   66 /usr/share/gems/gems/psych-3.0.2/lib/psych/core_ext.rb
   67 /usr/share/gems/gems/psych-3.0.2/lib/psych/stream.rb
   68 /usr/share/gems/gems/psych-3.0.2/lib/psych/json/yaml_events.rb
   69 /usr/share/gems/gems/psych-3.0.2/lib/psych/json/tree_builder.rb
   70 /usr/share/gems/gems/psych-3.0.2/lib/psych/json/stream.rb
   71 /usr/share/gems/gems/psych-3.0.2/lib/psych/handlers/document_stream.rb
   72 /usr/share/gems/gems/psych-3.0.2/lib/psych.rb
   73 /usr/share/rubygems/rubygems/psych_additions.rb
   74 /usr/share/rubygems/rubygems/psych_tree.rb
   75 /usr/share/ruby/yaml.rb
   76 /usr/share/rubygems/rubygems/safe_yaml.rb
   77 /usr/share/rubygems/rubygems/syck_hack.rb
   78 /usr/share/ruby/timeout.rb
   79 /usr/share/rubygems/rubygems/security_option.rb
   80 /usr/share/rubygems/rubygems/install_update_options.rb
   81 /usr/share/ruby/tsort.rb
   82 /usr/share/rubygems/rubygems/dependency_list.rb
   83 /usr/share/ruby/fileutils.rb
   84 /usr/lib64/ruby/digest.so
   85 /usr/share/ruby/digest.rb
   86 /usr/lib64/ruby/openssl.so
   87 /usr/share/ruby/openssl/bn.rb
   88 /usr/share/ruby/openssl/pkey.rb
   89 /usr/share/ruby/openssl/cipher.rb
   90 /usr/share/ruby/openssl/config.rb
   91 /usr/share/ruby/openssl/digest.rb
   92 /usr/share/ruby/openssl/x509.rb
   93 /usr/share/ruby/openssl/buffering.rb
   94 /usr/lib64/ruby/io/nonblock.so
   95 /usr/share/ruby/openssl/ssl.rb
   96 /usr/share/ruby/openssl/pkcs5.rb
   97 /usr/share/ruby/openssl.rb
   98 /usr/share/rubygems/rubygems/security/policy.rb
   99 /usr/share/rubygems/rubygems/security/policies.rb
  100 /usr/share/rubygems/rubygems/security/trust_dir.rb
  101 /usr/share/rubygems/rubygems/security/signer.rb
  102 /usr/share/rubygems/rubygems/security.rb
  103 /usr/lib64/ruby/zlib.so
  104 /usr/share/rubygems/rubygems/package/digest_io.rb
  105 /usr/share/rubygems/rubygems/package/source.rb
  106 /usr/share/rubygems/rubygems/package/file_source.rb
  107 /usr/share/rubygems/rubygems/package/io_source.rb
  108 /usr/share/rubygems/rubygems/package/old.rb
  109 /usr/share/rubygems/rubygems/package/tar_header.rb
  110 /usr/share/rubygems/rubygems/package/tar_reader/entry.rb
  111 /usr/share/rubygems/rubygems/package/tar_reader.rb
  112 /usr/share/rubygems/rubygems/package/tar_writer.rb
  113 /usr/share/rubygems/rubygems/package.rb
  114 /usr/share/rubygems/rubygems/ext/build_error.rb
  115 /usr/share/rubygems/rubygems/ext/builder.rb
  116 /usr/share/rubygems/rubygems/ext/configure_builder.rb
  117 /usr/share/ruby/delegate.rb
  118 /usr/share/ruby/tmpdir.rb
  119 /usr/share/ruby/tempfile.rb
  120 /usr/share/rubygems/rubygems/ext/ext_conf_builder.rb
  121 /usr/share/rubygems/rubygems/ext/rake_builder.rb
  122 /usr/share/rubygems/rubygems/ext/cmake_builder.rb
  123 /usr/share/rubygems/rubygems/ext.rb
  124 /usr/share/rubygems/rubygems/installer.rb
  125 /usr/lib64/ruby/socket.so
  126 /usr/lib64/ruby/io/wait.so
  127 /usr/share/ruby/socket.rb
  128 /usr/share/ruby/net/protocol.rb
  129 /usr/share/ruby/uri/rfc2396_parser.rb
  130 /usr/share/ruby/uri/rfc3986_parser.rb
  131 /usr/share/ruby/uri/common.rb
  132 /usr/share/ruby/uri/generic.rb
  133 /usr/share/ruby/uri/ftp.rb
  134 /usr/share/ruby/uri/http.rb
  135 /usr/share/ruby/uri/https.rb
  136 /usr/share/ruby/uri/ldap.rb
  137 /usr/share/ruby/uri/ldaps.rb
  138 /usr/share/ruby/uri/mailto.rb
  139 /usr/share/ruby/uri.rb
  140 /usr/share/ruby/net/http/exceptions.rb
  141 /usr/share/ruby/net/http/header.rb
  142 /usr/lib64/ruby/enc/windows_31j.so
  143 /usr/share/ruby/net/http/generic_request.rb
  144 /usr/share/ruby/net/http/request.rb
  145 /usr/share/ruby/net/http/requests.rb
  146 /usr/share/ruby/net/http/response.rb
  147 /usr/share/ruby/net/http/responses.rb
  148 /usr/share/ruby/net/http/proxy_delta.rb
  149 /usr/share/ruby/net/http/backward.rb
  150 /usr/share/ruby/net/http.rb
  151 /usr/lib64/ruby/date_core.so
  152 /usr/share/ruby/date.rb
  153 /usr/share/ruby/time.rb
  154 /usr/share/rubygems/rubygems/request/http_pool.rb
  155 /usr/share/rubygems/rubygems/request/https_pool.rb
  156 /usr/share/rubygems/rubygems/request/connection_pools.rb
  157 /usr/share/rubygems/rubygems/request.rb
  158 /usr/share/ruby/cgi/core.rb
  159 /usr/lib64/ruby/cgi/escape.so
  160 /usr/share/ruby/cgi/util.rb
  161 /usr/share/ruby/cgi/cookie.rb
  162 /usr/share/ruby/cgi.rb
  163 /usr/share/rubygems/rubygems/uri_formatter.rb
  164 /usr/share/ruby/securerandom.rb
  165 /usr/share/ruby/resolv.rb
  166 /usr/share/rubygems/rubygems/remote_fetcher.rb
  167 /usr/share/rubygems/rubygems/text.rb
  168 /usr/share/rubygems/rubygems/name_tuple.rb
  169 /usr/share/rubygems/rubygems/spec_fetcher.rb
  170 /usr/share/rubygems/rubygems/source/git.rb
  171 /usr/share/rubygems/rubygems/source/installed.rb
  172 /usr/share/rubygems/rubygems/source/specific_file.rb
  173 /usr/share/rubygems/rubygems/source/local.rb
  174 /usr/share/rubygems/rubygems/source/lock.rb
  175 /usr/share/rubygems/rubygems/source/vendor.rb
  176 /usr/share/rubygems/rubygems/source.rb
  177 /usr/share/rubygems/rubygems/available_set.rb
  178 /usr/share/rubygems/rubygems/dependency_installer.rb
  179 /usr/share/rubygems/rubygems/local_remote_options.rb
  180 /usr/share/rubygems/rubygems/validator.rb
  181 /usr/share/rubygems/rubygems/version_option.rb
  182 /usr/share/rubygems/rubygems/commands/install_command.rb
  183 /usr/share/rubygems/rubygems/install_message.rb
  184 /usr/share/rubygems/rubygems/request_set/gem_dependency_api.rb
  185 /usr/share/rubygems/rubygems/request_set/lockfile/parser.rb
  186 /usr/share/rubygems/rubygems/request_set/lockfile/tokenizer.rb
  187 /usr/share/rubygems/rubygems/request_set/lockfile.rb
  188 /usr/share/rubygems/rubygems/request_set.rb
  189 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
  190 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/errors.rb
  191 /usr/share/ruby/set.rb
  192 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
  193 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
  194 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
  195 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
  196 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
  197 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
  198 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
  199 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
  200 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
  201 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
  202 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/state.rb
  203 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
  204 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
  205 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
  206 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
  207 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
  208 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
  209 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo.rb
  210 /usr/share/rubygems/rubygems/resolver/molinillo.rb
  211 /usr/share/rubygems/rubygems/resolver/activation_request.rb
  212 /usr/share/rubygems/rubygems/resolver/conflict.rb
  213 /usr/share/rubygems/rubygems/resolver/dependency_request.rb
  214 /usr/share/rubygems/rubygems/resolver/requirement_list.rb
  215 /usr/share/rubygems/rubygems/resolver/stats.rb
  216 /usr/share/rubygems/rubygems/resolver/set.rb
  217 /usr/share/rubygems/rubygems/resolver/api_set.rb
  218 /usr/share/rubygems/rubygems/resolver/composed_set.rb
  219 /usr/share/rubygems/rubygems/resolver/best_set.rb
  220 /usr/share/rubygems/rubygems/resolver/current_set.rb
  221 /usr/share/rubygems/rubygems/resolver/git_set.rb
  222 /usr/share/rubygems/rubygems/resolver/index_set.rb
  223 /usr/share/rubygems/rubygems/resolver/installer_set.rb
  224 /usr/share/rubygems/rubygems/resolver/lock_set.rb
  225 /usr/share/rubygems/rubygems/resolver/vendor_set.rb
  226 /usr/share/rubygems/rubygems/resolver/source_set.rb
  227 /usr/share/rubygems/rubygems/resolver/specification.rb
  228 /usr/share/rubygems/rubygems/resolver/spec_specification.rb
  229 /usr/share/rubygems/rubygems/resolver/api_specification.rb
  230 /usr/share/rubygems/rubygems/resolver/git_specification.rb
  231 /usr/share/rubygems/rubygems/resolver/index_specification.rb
  232 /usr/share/rubygems/rubygems/resolver/installed_specification.rb
  233 /usr/share/rubygems/rubygems/resolver/local_specification.rb
  234 /usr/share/rubygems/rubygems/resolver/lock_specification.rb
  235 /usr/share/rubygems/rubygems/resolver/vendor_specification.rb
  236 /usr/share/rubygems/rubygems/resolver.rb
  237 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc.rb
  238 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rubygems_hook.rb
  239 /usr/share/rubygems/rubygems/rdoc.rb
  240 /usr/share/rubygems/rubygems/source_list.rb
  241 /usr/lib64/ruby/enc/utf_16le.so
  242 /usr/lib64/ruby/enc/utf_16be.so
  243 /usr/lib64/ruby/pathname.so
  244 /usr/share/ruby/pathname.rb
  245 /usr/share/ruby/find.rb
  246 /usr/share/ruby/erb.rb
  247 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator.rb
  248 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup.rb
  249 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/formatter.rb
  250 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_joined_paragraph.rb
  251 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markdown/entities.rb
  252 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markdown/literals.rb
  253 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markdown.rb
  254 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rd.rb
  255 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/parser.rb
  256 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/pre_process.rb
  257 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/tom_doc.rb
  258 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/text.rb
  259 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/code_object.rb
  260 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/method_attr.rb
  261 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context.rb
  262 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/class_module.rb
  263 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/context/section.rb
  264 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/top_level.rb
  265 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/markup.rb
  266 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/darkfish.rb
  267 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/ri.rb
  268 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/pot.rb
  269 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/rdoc.rb
  270 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/options.rb
  271 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/text.rb
  272 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/simple.rb
  273 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/c.rb
  274 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/changelog.rb
  275 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/markdown.rb
  276 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/rd.rb
  277 /usr/lib64/ruby/ripper.so
  278 /usr/share/ruby/ripper/core.rb
  279 /usr/share/ruby/ripper/lexer.rb
  280 /usr/share/ruby/ripper/filter.rb
  281 /usr/share/ruby/ripper/sexp.rb
  282 /usr/share/ruby/ripper.rb
  283 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/token_stream.rb
  284 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/ruby_tools.rb
  285 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/ruby.rb
  286 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser.rb
  287 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/store.rb
  288 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/stats.rb
  289 /usr/lib64/ruby/io/console.so
  290 /usr/share/ruby/io/console/size.rb
  291 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/stats/quiet.rb
  292 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/stats/normal.rb
  293 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/encoding.rb
  294 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/comment.rb
  295 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/parser/ripper_state_lex.rb
  296 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/require.rb
  297 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/document.rb
  298 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/normal_module.rb
  299 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/mixin.rb
  300 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/extend.rb
  301 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/any_method.rb
  302 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/alias.rb
  303 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/normal_class.rb
  304 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/attr.rb
  305 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/include.rb
  306 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/constant.rb
  307 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/raw.rb
  308 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/paragraph.rb
  309 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/blank_line.rb
  310 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/verbatim.rb
  311 /usr/share/ruby/json/version.rb
  312 /usr/share/ruby/ostruct.rb
  313 /usr/share/ruby/json/generic_object.rb
  314 /usr/share/ruby/json/common.rb
  315 /usr/lib64/ruby/json/ext/parser.so
  316 /usr/lib64/ruby/json/ext/generator.so
  317 /usr/share/ruby/json/ext.rb
  318 /usr/share/ruby/json.rb
  319 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/generator/json_index.rb
  320 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/erbio.rb
  321 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/erb_partial.rb
  322 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_table_of_contents.rb
  323 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/attribute_manager.rb
  324 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/attributes.rb
  325 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html.rb
  326 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/cross_reference.rb
  327 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/to_html_crossref.rb
  328 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/hard_break.rb
  329 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/attr_span.rb
  330 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/attr_changer.rb
  331 /usr/share/gems/gems/rdoc-6.0.1/lib/rdoc/markup/special.rb

* Process memory map:

56477e77c000-56477e77d000 r-xp 00000000 fd:0b 400307                     /usr/bin/ruby-mri
56477e97c000-56477e97d000 r--p 00000000 fd:0b 400307                     /usr/bin/ruby-mri
56477e97d000-56477e97e000 rw-p 00001000 fd:0b 400307                     /usr/bin/ruby-mri
56477eb88000-56478101f000 rw-p 00000000 00:00 0                          [heap]
7ff96882e000-7ff968a31000 r--s 00000000 fd:0b 396014                     /usr/lib64/libc-2.26.9000.so
7ff968a31000-7ff968a48000 r--s 00000000 fd:0b 400510                     /usr/lib/debug/usr/lib64/ruby/pathname.so-2.5.0-86.fc28.x86_64.debug
7ff968a48000-7ff968a6e000 r--s 00000000 fd:0b 396032                     /usr/lib64/libpthread-2.26.9000.so
7ff968a6e000-7ff96938d000 r--s 00000000 fd:0b 400488                     /usr/lib/debug/usr/lib64/libruby.so.2.5.0-2.5.0-86.fc28.x86_64.debug
7ff96938d000-7ff969648000 r--s 00000000 fd:0b 399973                     /usr/lib64/libruby.so.2.5.0
7ff969648000-7ff96965e000 r-xp 00000000 fd:0b 393235                     /usr/lib64/libgcc_s-7-20180104.so.1
7ff96965e000-7ff96985d000 ---p 00016000 fd:0b 393235                     /usr/lib64/libgcc_s-7-20180104.so.1
7ff96985d000-7ff96985e000 r--p 00015000 fd:0b 393235                     /usr/lib64/libgcc_s-7-20180104.so.1
7ff96985e000-7ff96985f000 rw-p 00016000 fd:0b 393235                     /usr/lib64/libgcc_s-7-20180104.so.1
7ff96985f000-7ff969860000 ---p 00000000 00:00 0 
7ff969860000-7ff9698df000 rw-p 00000000 00:00 0 
7ff9698df000-7ff9698e6000 r-xp 00000000 fd:0b 790136                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/generator.so
7ff9698e6000-7ff969ae6000 ---p 00007000 fd:0b 790136                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/generator.so
7ff969ae6000-7ff969ae7000 r--p 00007000 fd:0b 790136                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/generator.so
7ff969ae7000-7ff969ae8000 rw-p 00000000 00:00 0 
7ff969ae8000-7ff969aee000 r-xp 00000000 fd:0b 790137                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/parser.so
7ff969aee000-7ff969ced000 ---p 00006000 fd:0b 790137                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/parser.so
7ff969ced000-7ff969cee000 r--p 00005000 fd:0b 790137                     /usr/lib64/gems/ruby/json-2.1.0/json/ext/parser.so
7ff969cee000-7ff969cef000 rw-p 00000000 00:00 0 
7ff969cef000-7ff969cf3000 r-xp 00000000 fd:0b 790300                     /usr/lib64/gems/ruby/io-console-0.4.6/io/console.so
7ff969cf3000-7ff969ef2000 ---p 00004000 fd:0b 790300                     /usr/lib64/gems/ruby/io-console-0.4.6/io/console.so
7ff969ef2000-7ff969ef3000 r--p 00003000 fd:0b 790300                     /usr/lib64/gems/ruby/io-console-0.4.6/io/console.so
7ff969ef3000-7ff969fb5000 rw-p 00000000 00:00 0 
7ff969fc5000-7ff969ff5000 r-xp 00000000 fd:0b 400067                     /usr/lib64/ruby/ripper.so
7ff969ff5000-7ff96a1f4000 ---p 00030000 fd:0b 400067                     /usr/lib64/ruby/ripper.so
7ff96a1f4000-7ff96a1f6000 r--p 0002f000 fd:0b 400067                     /usr/lib64/ruby/ripper.so
7ff96a1f6000-7ff96a1f7000 rw-p 00000000 00:00 0 
7ff96a1f7000-7ff96a1fe000 r-xp 00000000 fd:0b 400059                     /usr/lib64/ruby/pathname.so
7ff96a1fe000-7ff96a3fd000 ---p 00007000 fd:0b 400059                     /usr/lib64/ruby/pathname.so
7ff96a3fd000-7ff96a3fe000 r--p 00006000 fd:0b 400059                     /usr/lib64/ruby/pathname.so
7ff96a3fe000-7ff96a3ff000 rw-p 00000000 00:00 0 
7ff96a3ff000-7ff96a400000 r-xp 00000000 fd:0b 400038                     /usr/lib64/ruby/enc/utf_16be.so
7ff96a400000-7ff96a600000 ---p 00001000 fd:0b 400038                     /usr/lib64/ruby/enc/utf_16be.so
7ff96a600000-7ff96a601000 r--p 00001000 fd:0b 400038                     /usr/lib64/ruby/enc/utf_16be.so
7ff96a601000-7ff96a602000 rw-p 00000000 00:00 0 
7ff96a602000-7ff96a603000 r-xp 00000000 fd:0b 400039                     /usr/lib64/ruby/enc/utf_16le.so
7ff96a603000-7ff96a803000 ---p 00001000 fd:0b 400039                     /usr/lib64/ruby/enc/utf_16le.so
7ff96a803000-7ff96a804000 r--p 00001000 fd:0b 400039                     /usr/lib64/ruby/enc/utf_16le.so
7ff96a804000-7ff96a805000 rw-p 00000000 00:00 0 
7ff96a805000-7ff96a808000 r-xp 00000000 fd:0b 399976                     /usr/lib64/ruby/cgi/escape.so
7ff96a808000-7ff96aa07000 ---p 00003000 fd:0b 399976                     /usr/lib64/ruby/cgi/escape.so
7ff96aa07000-7ff96aa08000 r--p 00002000 fd:0b 399976                     /usr/lib64/ruby/cgi/escape.so
7ff96aa08000-7ff96aa09000 rw-p 00000000 00:00 0 
7ff96aa09000-7ff96aa38000 r-xp 00000000 fd:0b 399979                     /usr/lib64/ruby/date_core.so
7ff96aa38000-7ff96ac37000 ---p 0002f000 fd:0b 399979                     /usr/lib64/ruby/date_core.so
7ff96ac37000-7ff96ac38000 r--p 0002e000 fd:0b 399979                     /usr/lib64/ruby/date_core.so
7ff96ac38000-7ff96ac39000 rw-p 0002f000 fd:0b 399979                     /usr/lib64/ruby/date_core.so
7ff96ac39000-7ff96ac3a000 rw-p 00000000 00:00 0 
7ff96ac3a000-7ff96ac3d000 r-xp 00000000 fd:0b 400048                     /usr/lib64/ruby/enc/windows_31j.so
7ff96ac3d000-7ff96ae3c000 ---p 00003000 fd:0b 400048                     /usr/lib64/ruby/enc/windows_31j.so
7ff96ae3c000-7ff96ae3d000 r--p 00002000 fd:0b 400048                     /usr/lib64/ruby/enc/windows_31j.so
7ff96ae3d000-7ff96ae3e000 rw-p 00000000 00:00 0 
7ff96ae3e000-7ff96ae40000 r-xp 00000000 fd:0b 400056                     /usr/lib64/ruby/io/wait.so
7ff96ae40000-7ff96b03f000 ---p 00002000 fd:0b 400056                     /usr/lib64/ruby/io/wait.so
7ff96b03f000-7ff96b040000 r--p 00001000 fd:0b 400056                     /usr/lib64/ruby/io/wait.so
7ff96b040000-7ff96b041000 rw-p 00000000 00:00 0 
7ff96b041000-7ff96b06b000 r-xp 00000000 fd:0b 400069                     /usr/lib64/ruby/socket.so
7ff96b06b000-7ff96b26b000 ---p 0002a000 fd:0b 400069                     /usr/lib64/ruby/socket.so
7ff96b26b000-7ff96b26c000 r--p 0002a000 fd:0b 400069                     /usr/lib64/ruby/socket.so
7ff96b26c000-7ff96b26d000 rw-p 0002b000 fd:0b 400069                     /usr/lib64/ruby/socket.so
7ff96b26d000-7ff96b27b000 r-xp 00000000 fd:0b 400074                     /usr/lib64/ruby/zlib.so
7ff96b27b000-7ff96b47b000 ---p 0000e000 fd:0b 400074                     /usr/lib64/ruby/zlib.so
7ff96b47b000-7ff96b47c000 r--p 0000e000 fd:0b 400074                     /usr/lib64/ruby/zlib.so
7ff96b47c000-7ff96b47d000 rw-p 00000000 00:00 0 
7ff96b47d000-7ff96b47e000 r-xp 00000000 fd:0b 400055                     /usr/lib64/ruby/io/nonblock.so
7ff96b47e000-7ff96b67e000 ---p 00001000 fd:0b 400055                     /usr/lib64/ruby/io/nonblock.so
7ff96b67e000-7ff96b67f000 r--p 00001000 fd:0b 400055                     /usr/lib64/ruby/io/nonblock.so
7ff96b67f000-7ff96b680000 rw-p 00000000 00:00 0 
7ff96b680000-7ff96b683000 r-xp 00000000 fd:0b 399982                     /usr/lib64/ruby/digest.so
7ff96b683000-7ff96b882000 ---p 00003000 fd:0b 399982                     /usr/lib64/ruby/digest.so
7ff96b882000-7ff96b883000 r--p 00002000 fd:0b 399982                     /usr/lib64/ruby/digest.so
7ff96b883000-7ff96b884000 rw-p 00000000 00:00 0 
7ff96b884000-7ff96b89a000 r-xp 00000000 fd:0b 396465                     /usr/lib64/libz.so.1.2.11
7ff96b89a000-7ff96ba99000 ---p 00016000 fd:0b 396465                     /usr/lib64/libz.so.1.2.11
7ff96ba99000-7ff96ba9a000 r--p 00015000 fd:0b 396465                     /usr/lib64/libz.so.1.2.11
7ff96ba9a000-7ff96ba9b000 rw-p 00000000 00:00 0 
7ff96ba9b000-7ff96bcf7000 r-xp 00000000 fd:0b 397792                     /usr/lib64/libcrypto.so.1.1.0g
7ff96bcf7000-7ff96bef7000 ---p 0025c000 fd:0b 397792                     /usr/lib64/libcrypto.so.1.1.0g
7ff96bef7000-7ff96bf14000 r--p 0025c000 fd:0b 397792                     /usr/lib64/libcrypto.so.1.1.0g
7ff96bf14000-7ff96bf20000 rw-p 00279000 fd:0b 397792                     /usr/lib64/libcrypto.so.1.1.0g
7ff96bf20000-7ff96bf23000 rw-p 00000000 00:00 0 
7ff96bf23000-7ff96bf85000 r-xp 00000000 fd:0b 397794                     /usr/lib64/libssl.so.1.1.0g
7ff96bf85000-7ff96c185000 ---p 00062000 fd:0b 397794                     /usr/lib64/libssl.so.1.1.0g
7ff96c185000-7ff96c189000 r--p 00062000 fd:0b 397794                     /usr/lib64/libssl.so.1.1.0g
7ff96c189000-7ff96c18f000 rw-p 00066000 fd:0b 397794                     /usr/lib64/libssl.so.1.1.0g
7ff96c18f000-7ff96c1e2000 r-xp 00000000 fd:0b 659094                     /usr/lib64/gems/ruby/openssl-2.1.0/openssl.so
7ff96c1e2000-7ff96c3e2000 ---p 00053000 fd:0b 659094                     /usr/lib64/gems/ruby/openssl-2.1.0/openssl.so
7ff96c3e2000-7ff96c3e6000 r--p 00053000 fd:0b 659094                     /usr/lib64/gems/ruby/openssl-2.1.0/openssl.so
7ff96c3e6000-7ff96c3e7000 rw-p 00000000 00:00 0 
7ff96c3e7000-7ff96c3ec000 r-xp 00000000 fd:0b 400071                     /usr/lib64/ruby/strscan.so
7ff96c3ec000-7ff96c5eb000 ---p 00005000 fd:0b 400071                     /usr/lib64/ruby/strscan.so
7ff96c5eb000-7ff96c5ec000 r--p 00004000 fd:0b 400071                     /usr/lib64/ruby/strscan.so
7ff96c5ec000-7ff96c5ed000 rw-p 00000000 00:00 0 
7ff96c5ed000-7ff96c60a000 r-xp 00000000 fd:0b 400314                     /usr/lib64/libyaml-0.so.2.0.5
7ff96c60a000-7ff96c809000 ---p 0001d000 fd:0b 400314                     /usr/lib64/libyaml-0.so.2.0.5
7ff96c809000-7ff96c80a000 r--p 0001c000 fd:0b 400314                     /usr/lib64/libyaml-0.so.2.0.5
7ff96c80a000-7ff96c80b000 rw-p 00000000 00:00 0 
7ff96c80b000-7ff96c811000 r-xp 00000000 fd:0b 789822                     /usr/lib64/gems/ruby/psych-3.0.2/psych.so
7ff96c811000-7ff96ca11000 ---p 00006000 fd:0b 789822                     /usr/lib64/gems/ruby/psych-3.0.2/psych.so
7ff96ca11000-7ff96ca12000 r--p 00006000 fd:0b 789822                     /usr/lib64/gems/ruby/psych-3.0.2/psych.so
7ff96ca12000-7ff96ca13000 rw-p 00000000 00:00 0 
7ff96ca13000-7ff96ca19000 r-xp 00000000 fd:0b 400049                     /usr/lib64/ruby/etc.so
7ff96ca19000-7ff96cc18000 ---p 00006000 fd:0b 400049                     /usr/lib64/ruby/etc.so
7ff96cc18000-7ff96cc19000 r--p 00005000 fd:0b 400049                     /usr/lib64/ruby/etc.so
7ff96cc19000-7ff96cc1a000 rw-p 00000000 00:00 0 
7ff96cc1a000-7ff96cc21000 r-xp 00000000 fd:0b 400070                     /usr/lib64/ruby/stringio.so
7ff96cc21000-7ff96ce21000 ---p 00007000 fd:0b 400070                     /usr/lib64/ruby/stringio.so
7ff96ce21000-7ff96ce22000 r--p 00007000 fd:0b 400070                     /usr/lib64/ruby/stringio.so
7ff96ce22000-7ff96ce23000 rw-p 00000000 00:00 0 
7ff96ce23000-7ff96ce25000 r-xp 00000000 fd:0b 400035                     /usr/lib64/ruby/enc/trans/transdb.so
7ff96ce25000-7ff96d025000 ---p 00002000 fd:0b 400035                     /usr/lib64/ruby/enc/trans/transdb.so
7ff96d025000-7ff96d026000 r--p 00002000 fd:0b 400035                     /usr/lib64/ruby/enc/trans/transdb.so
7ff96d026000-7ff96d027000 rw-p 00000000 00:00 0 
7ff96d027000-7ff96d029000 r-xp 00000000 fd:0b 399992                     /usr/lib64/ruby/enc/encdb.so
7ff96d029000-7ff96d228000 ---p 00002000 fd:0b 399992                     /usr/lib64/ruby/enc/encdb.so
7ff96d228000-7ff96d229000 r--p 00001000 fd:0b 399992                     /usr/lib64/ruby/enc/encdb.so
7ff96d229000-7ff96d22a000 rw-p 00000000 00:00 0 
7ff96d22a000-7ff9749dc000 r--p 00000000 fd:0b 393354                     /usr/lib/locale/locale-archive
7ff9749dc000-7ff974b8e000 r-xp 00000000 fd:0b 396014                     /usr/lib64/libc-2.26.9000.so
7ff974b8e000-7ff974d8e000 ---p 001b2000 fd:0b 396014                     /usr/lib64/libc-2.26.9000.so
7ff974d8e000-7ff974d92000 r--p 001b2000 fd:0b 396014                     /usr/lib64/libc-2.26.9000.so
7ff974d92000-7ff974d94000 rw-p 001b6000 fd:0b 396014                     /usr/lib64/libc-2.26.9000.so
7ff974d94000-7ff974d98000 rw-p 00000000 00:00 0 
7ff974d98000-7ff974f2a000 r-xp 00000000 fd:0b 396020                     /usr/lib64/libm-2.26.9000.so
7ff974f2a000-7ff975129000 ---p 00192000 fd:0b 396020                     /usr/lib64/libm-2.26.9000.so
7ff975129000-7ff97512a000 r--p 00191000 fd:0b 396020                     /usr/lib64/libm-2.26.9000.so
7ff97512a000-7ff97512b000 rw-p 00192000 fd:0b 396020                     /usr/lib64/libm-2.26.9000.so
7ff97512b000-7ff975134000 r-xp 00000000 fd:0b 396298                     /usr/lib64/libcrypt-2.26.9000.so
7ff975134000-7ff975333000 ---p 00009000 fd:0b 396298                     /usr/lib64/libcrypt-2.26.9000.so
7ff975333000-7ff975334000 r--p 00008000 fd:0b 396298                     /usr/lib64/libcrypt-2.26.9000.so
7ff975334000-7ff975335000 rw-

As far as I know, I observe such core dump while generating documentation for webmock and ffi gems. Here is the GDB backtrace:

(gdb) where 
#0  new_list_gen (parser=<optimized out>, item=item@entry=0x0, location=0x20) at parse.y:9540
#1  0x00007ffff7a15eb0 in list_append_gen (parser=<optimized out>, list=0x5555574a3b80, item=0x0) at parse.y:9085
#2  0x00007ffff7a2140c in ruby_yyparse (parser=parser@entry=0x5555574e0780) at parse.y:1806
#3  0x00007ffff7a2cd13 in yycompile0 (arg=arg@entry=93825025312640) at parse.y:5594
#4  0x00007ffff7ae45fc in rb_suppress_tracing (func=func@entry=0x7ffff7a2cc20 <yycompile0>, arg=arg@entry=93825025312640) at vm_trace.c:397
#5  0x00007ffff7a1664e in yycompile (parser=parser@entry=0x5555574e0780, fname=fname@entry=93825020740680, line=line@entry=1) at parse.y:5636
#6  0x00007ffff7a166df in parser_compile_string (vparser=<optimized out>, fname=93825020740680, s=93825020740760, line=1) at parse.y:5705
#7  0x00007ffff79eaeda in rb_iseq_compile_with_option (src=<optimized out>, src@entry=93825020740760, file=<optimized out>, realpath=realpath@entry=8, line=3, base_block=base_block@entry=0x7fffffff65e0, 
    opt=opt@entry=8) at iseq.c:689
#8  0x00007ffff7ad6214 in eval_string_with_cref (self=self@entry=93825021620920, src=93825020740760, scope=8, cref_arg=cref_arg@entry=0x0, filename=<optimized out>, lineno=<optimized out>) at vm_eval.c:1318
#9  0x00007ffff7ad676d in eval_string (line=<optimized out>, file=<optimized out>, scope=<optimized out>, src=<optimized out>, self=93825021620920) at vm_eval.c:1370
#10 rb_f_eval (argc=1, argv=<optimized out>, self=93825021620920) at vm_eval.c:1409
#11 0x00007ffff7acafb9 in vm_call_cfunc_with_frame (ci=0x555556d1a500, cc=<optimized out>, calling=<optimized out>, reg_cfp=0x7ffff7feb5f0, ec=0x555555758218) at vm_insnhelper.c:1918
#12 vm_call_cfunc (ec=0x555555758218, reg_cfp=0x7ffff7feb5f0, calling=<optimized out>, ci=0x555556d1a500, cc=<optimized out>) at vm_insnhelper.c:1934
#13 0x00007ffff7ad0340 in vm_exec_core (ec=0x5555574a3bb0, ec@entry=0x555555758218, initial=10523, initial@entry=0) at insns.def:915
#14 0x00007ffff7ad5794 in vm_exec (ec=ec@entry=0x555555758218) at vm.c:1778
#15 0x00007ffff7adc89c in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=<optimized out>, self=<optimized out>, iseq=<optimized out>, ec=<optimized out>) at vm.c:979
#16 invoke_iseq_block_from_c (is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, argv=<optimized out>, argc=<optimized out>, self=<optimized out>, captured=<optimized out>, 
    ec=<optimized out>) at vm.c:1031
#17 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, argv=<optimized out>, argc=<optimized out>, 
    block_handler=<optimized out>, ec=<optimized out>) at vm.c:1049
#18 vm_yield (argv=<optimized out>, argc=<optimized out>, ec=<optimized out>) at vm.c:1094
#19 rb_yield_0 (argv=<optimized out>, argc=<optimized out>) at vm_eval.c:970
#20 rb_yield_1 (val=<optimized out>) at vm_eval.c:976
#21 rb_yield (val=<optimized out>) at vm_eval.c:986
#22 0x00007ffff794d4bc in rb_ary_each (ary=93825028425640) at array.c:1836
#23 0x00007ffff7acafb9 in vm_call_cfunc_with_frame (ci=0x55555668fa20, cc=<optimized out>, calling=<optimized out>, reg_cfp=0x7ffff7feb6e0, ec=0x555555758218) at vm_insnhelper.c:1918
#24 vm_call_cfunc (ec=0x555555758218, reg_cfp=0x7ffff7feb6e0, calling=<optimized out>, ci=0x55555668fa20, cc=<optimized out>) at vm_insnhelper.c:1934
#25 0x00007ffff7acf935 in vm_exec_core (ec=0x5555574a3bb0, ec@entry=0x555555758218, initial=10523, initial@entry=0) at insns.def:850
#26 0x00007ffff7ad5794 in vm_exec (ec=ec@entry=0x555555758218) at vm.c:1778
#27 0x00007ffff7adc89c in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=<optimized out>, self=<optimized out>, iseq=<optimized out>, ec=<optimized out>) at vm.c:979
#28 invoke_iseq_block_from_c (is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, argv=<optimized out>, argc=<optimized out>, self=<optimized out>, captured=<optimized out>, 
    ec=<optimized out>) at vm.c:1031
#29 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, argv=<optimized out>, argc=<optimized out>, 
    block_handler=<optimized out>, ec=<optimized out>) at vm.c:1049
#30 vm_yield (argv=<optimized out>, argc=<optimized out>, ec=<optimized out>) at vm.c:1094
#31 rb_yield_0 (argv=<optimized out>, argc=<optimized out>) at vm_eval.c:970
#32 rb_yield_1 (val=<optimized out>) at vm_eval.c:976
#33 rb_yield (val=<optimized out>) at vm_eval.c:986
#34 0x00007ffff794d4bc in rb_ary_each (ary=93825024660520) at array.c:1836
#35 0x00007ffff7acafb9 in vm_call_cfunc_with_frame (ci=0x5555579f17e0, cc=<optimized out>, calling=<optimized out>, reg_cfp=0x7ffff7feb800, ec=0x555555758218) at vm_insnhelper.c:1918
#36 vm_call_cfunc (ec=0x555555758218, reg_cfp=0x7ffff7feb800, calling=<optimized out>, ci=0x5555579f17e0, cc=<optimized out>) at vm_insnhelper.c:1934
#37 0x00007ffff7acf935 in vm_exec_core (ec=0x5555574a3bb0, ec@entry=0x555555758218, initial=10523, initial@entry=0) at insns.def:850
#38 0x00007ffff7ad5794 in vm_exec (ec=ec@entry=0x555555758218) at vm.c:1778
#39 0x00007ffff7ad79e4 in invoke_block (captured=0x7ffff7feb878, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=93825020187720, iseq=0x5555574652b0, ec=0x555555758218) at vm.c:979
#40 invoke_iseq_block_from_c (is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, argv=0x7fffffff7d60, argc=2, self=93825020187720, captured=0x7ffff7feb878, ec=0x555555758218) at vm.c:1031
#41 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, argv=<optimized out>, argc=<optimized out>, 
    block_handler=<optimized out>, ec=<optimized out>) at vm.c:1049
#42 vm_yield (argv=0x7fffffff7d60, argc=2, ec=0x555555758218) at vm.c:1094
#43 rb_yield_0 (argv=0x7fffffff7d60, argc=2) at vm_eval.c:970
#44 rb_yield_values2 (argc=argc@entry=2, argv=argv@entry=0x7fffffff7e00) at vm_eval.c:1016
#45 0x00007ffff79cc00a in each_pair_i_fast (key=<optimized out>, value=<optimized out>) at hash.c:1837
#46 0x00007ffff79cd0fb in hash_foreach_iter (key=key@entry=2318604, value=<optimized out>, argp=argp@entry=140737488322640, error=error@entry=0) at hash.c:353
#47 0x00007ffff7a7d61e in st_general_foreach (check_p=1, arg=140737488322640, func=func@entry=0x7ffff79cd0e0 <hash_foreach_iter>, tab=0x555557693b00) at st.c:1490
---Type <return> to continue, or q <return> to quit---q

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #14831: [BUG] Segmentation fault at 0x0000000000000020 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]ClosedActions
Actions #1

Updated by vo.x (Vit Ondruch) almost 7 years ago

  • Subject changed from SefFault during generating documentation to Segfault during generating documentation

Updated by mame (Yusuke Endoh) almost 7 years ago

  • Status changed from Open to Closed

This is the same issue as #14261, which has been already fixed at r61523. Thanks.

Updated by vo.x (Vit Ondruch) almost 7 years ago

Thanks. Unfortunately, I cannot easily apply the patch into the tarball :/

Updated by vo.x (Vit Ondruch) almost 7 years ago

Ok, this is the patch I'm going to use for Fedora:

https://src.fedoraproject.org/rpms/ruby/blob/master/f/ruby-2.5.0-parse.y-assignable_error.patch

It fixed the issues with webmock and ffi documentation according to my tests.

Anyway, I would appreciate if Ruby was not needed to apply patches to ruby tarball.

Actions #5

Updated by hsbt (Hiroshi SHIBATA) over 6 years ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED

Updated by naruse (Yui NARUSE) over 6 years ago

  • Backport changed from 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE

ruby_2_5 r62509 merged revision(s) 61523.

Actions #7

Updated by vo.x (Vit Ondruch) over 6 years ago

  • Has duplicate Bug #14831: [BUG] Segmentation fault at 0x0000000000000020 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17] added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0