Bug #8441

/Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]

Added by indyarocks (Chandan Kumar) about 4 years ago. Updated about 4 years ago.

Target version:
ruby -v:
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]



I was trying to debug an issue while developing a web-page with RubyMine. At a break-point following crash occurred. I tried to repro the issue, but somehow I'm not able to. Still reporting it here.

Segmentation Fault Log:
/Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]

-- control frame ----------
c:0003 p:0047 s:0007 b:0007 l:0018c8 d:000006 BLOCK /Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH

c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP

-- Ruby level backtrace information ----------------------------------------
/Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132:in `block in initialize'

-- C level backtrace information -------------------------------------------

You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details:

Please find the attached the crash report.


#1 [ruby-core:55150] Updated by zzak (Zachary Scott) about 4 years ago

  • Category set to lib

Can you reproduce this with 1.9.3-p429?

I believe 1.9.2 is no longer maintained, and you should upgrade to 1.9.3

#2 [ruby-core:55152] Updated by zzak (Zachary Scott) about 4 years ago

  • Status changed from Open to Feedback

It would also help to have the code you were testing that produced this segfault.

#3 [ruby-core:56412] Updated by steveklabnik (Steve Klabnik) about 4 years ago

It's been a while. Have you been able to reproduce this on 1.9.3? Can you give us the code?

Also available in: Atom PDF