Feature #3879

Segfault

Added by Ivan Nastyukhin over 3 years ago. Updated almost 3 years ago.

[ruby-core:32570]
Status:Closed
Priority:Normal
Assignee:Hiroshi Nakamura
Category:core
Target version:1.9.3

Description

=begin
Rails, Webrick
Sample applications after 1 or 2 days at work, raise this, regular:

ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

-- control frame ----------
c:0016 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC :select
c:0015 p:0106 s:0051 b:0051 l:000041 d:000050 BLOCK /Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:90
c:0014 p:0007 s:0045 b:0045 l:000044 d:000044 METHOD /Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:22
c:0013 p:0063 s:0042 b:0042 l:000041 d:000041 METHOD /Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:81
c:0012 p:0118 s:0037 b:0037 l:000036 d:000036 METHOD /Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13
c:0011 p:0259 s:0032 b:0032 l:000708 d:000708 METHOD /Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/server.rb:213
c:0010 p:0200 s:0027 b:0027 l:001228 d:001228 METHOD /Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands/server.rb:65
c:0009 p:0063 s:0024 b:0024 l:000015 d:000023 BLOCK /Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:30
c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :tap
c:0006 p:0468 s:0016 b:0016 l:000015 d:000015 TOP /Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require
c:0003 p:0061 s:0006 b:0006 l:001598 d:0011a8 EVAL script/rails:6
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001598 d:001598 TOP


-- Ruby level backtrace information ----------------------------------------
script/rails:6:in <main>'
script/rails:6:in
require'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in <top (required)>'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in
tap'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:30:in block in <top (required)>'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/railties-3.0.0/lib/rails/commands/server.rb:65:in
start'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/server.rb:213:in start'
/Users/dieinzige/Dropbox/code/projects//front/vendor/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13:in
run'
/Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:81:in start'
/Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:22:in
start'
/Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:90:in block in start'
/Users/dieinzige/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:90:in
select'

-- C level backtrace information -------------------------------------------
=end


Related issues

Related to ruby-trunk - Bug #3784: Seg fault in IO.select from webrick Feedback 09/03/2010

History

#1 Updated by Aaron Patterson over 3 years ago

=begin
Hi,

On Mon, Sep 27, 2010 at 02:28:39AM +0900, Ivan Nastyukhin wrote:

Feature #3879: Segfault
http://redmine.ruby-lang.org/issues/show/3879

Author: Ivan Nastyukhin
Status: Open, Priority: Normal
Category: core

Rails, Webrick
Sample applications after 1 or 2 days at work, raise this, regular:

Can you possibly provide a sample application along with instructions
for reproducing the failure?

--
Aaron Patterson
http://tenderlovemaking.com/

Attachment: (unnamed)
=end

#2 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Feedback

=begin

=end

#3 Updated by Akira Tanaka almost 3 years ago

  • Project changed from Ruby to ruby-trunk
  • Category changed from core to core

#4 Updated by Hiroshi Nakamura almost 3 years ago

  • Status changed from Feedback to Closed
  • Assignee set to Hiroshi Nakamura
  • Target version set to 1.9.3

It looks similar to #3784 in getting SEGV from IO.select called from WEBrick. I close this as duplicated. Please refer #3784. (both needs Feedback though)

Also available in: Atom PDF