Bug #14874
closedSegmentation fault under Cygwin
Description
I failed to build Ruby 2.5.1 under Cygwin environment.
Steps:
mkdir ruby-build
cd ruby-build
../ruby-2.5.1/configure --prefix=/usr --enable-shared
make
A "Segmentation fault" occurred during the "generating RDoc documentation" phase.
`/cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/parser/ripper_state_lex.rb:308: [BUG] Segmentation fault at 0x7feeffec
ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-cygwin]
-- Control frame information -----------------------------------------------
c:0013 p:---- s:0091 E:000180 CFUNC :next
c:0012 p:0014 s:0087 e:000086 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/parser/ripper_state_lex.rb:308
c:0011 p:0031 s:0082 e:000081 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/parser/ripper_state_lex.rb:594
c:0010 p:0071 s:0074 e:000073 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/parser/ruby.rb:180 [FINISH]
c:0009 p:---- s:0064 e:000063 CFUNC :new
c:0008 p:0110 s:0055 e:000054 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/parser.rb:191
c:0007 p:0174 s:0043 e:000042 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/rdoc.rb:363
c:0006 p:0012 s:0031 e:000030 BLOCK /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/rdoc.rb:419 [FINISH]
c:0005 p:---- s:0027 e:000026 CFUNC :map
c:0004 p:0068 s:0023 e:000022 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/rdoc.rb:417
c:0003 p:0212 s:0015 e:000014 METHOD /cygdrive/e/Repository/ruby-2.5.1/lib/rdoc/rdoc.rb:488
c:0002 p:0041 s:0008 E:001090 EVAL ../ruby-2.5.1/bin/rdoc:20 [FINISH]
c:0001 p:0000 s:0003 E:002590 (none) [FINISH]`
Files
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Status changed from Open to Closed