Project

General

Profile

Actions

Bug #3976

closed

ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation fault

Added by frissony (Fris Sony) about 14 years ago. Updated over 13 years ago.

Status:
Third Party's Issue
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
Backport:
[ruby-core:32881]

Description

=begin
Installed Ruby 1.9.2p0 (from http://rubyforge.org/frs/download.php/72170/rubyinstaller-1.9.2-p0.exe)
on Windows 7 x64.
Create a simple Rails (2.3.8) app using mysql, and debuggin through NetBeans 6.9.
A few times the app worked fine and suddenly on refreshing a page the bug appeared.
Never seen this bug when using JRuby 1.5.1 which comes with NetBeans 6.9.
Bug data:

Processing AboutController#index (for 127.0.0.1 at 2010-10-22 13:18:37) [GET]
Rendering template within layouts/application
Rendering about/index
Completed in 9ms (View: 5, DB: 0) | 200 OK [http://localhost/]
host/]
[4;35;1mSQL (1.0ms)[0m [0mSET NAMES 'utf8'[0m
[4;36;1mSQL (4.9ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m

Processing AboutController#index (for 127.0.0.1 at 2010-10-22 13:18:44) [GET]
Rendering template within layouts/application
Rendering about/index
Completed in 9ms (View: 6, DB: 6) | 200 OK [http://localhost/]
lhost/]
C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

-- control frame ----------
c:0019 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC :select
c:0018 p:0106 s:0076 b:0076 l:00181c d:00237c BLOCK C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:90
c:0017 p:0007 s:0070 b:0070 l:000069 d:000069 METHOD C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:22
c:0016 p:0063 s:0067 b:0067 l:00181c d:00181c METHOD C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:81
c:0015 p:0126 s:0062 b:0062 l:001db0 d:001db0 METHOD C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14
c:0014 p:0806 s:0056 b:0056 l:0007c0 d:0007c0 TOP C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/commands/server.rb:111
c:0013 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0012 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :require
c:0011 p:0013 s:0039 b:0039 l:000038 d:000038 METHOD internal:lib/rubygems/custom_require:29
c:0010 p:0038 s:0034 b:0034 l:000033 d:000033 TOP D:/myapp-src/script/server:3
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0008 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :debug_load
c:0007 p:0166 s:0024 b:0024 l:000023 d:000023 METHOD C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/lib/ruby-debug-ide.rb:119
c:0006 p:0421 s:0019 b:0019 l:00023c d:00023c TOP C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/bin/rdebug-ide:87
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:0022a4 d:002530 EVAL C:/dev/Ruby192/bin/rdebug-ide:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0022a4 d:0022a4 TOP

-- Ruby level backtrace information ----------------------------------------
C:/dev/Ruby192/bin/rdebug-ide:19:in <main>' C:/dev/Ruby192/bin/rdebug-ide:19:in load'
C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/bin/rdebug-ide:87:in <top (required)>' C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/lib/ruby-debug-ide.rb:119:in debug_program'
C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/lib/ruby-debug-ide.rb:119:in debug_load' D:/myapp-src/script/server:3:in <top (required)>'
internal:lib/rubygems/custom_require:29:in require' <internal:lib/rubygems/custom_require>:29:in require'
C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/commands/server.rb:111:in <top (required)>' C:/dev/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:in run'
C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:81:in start' C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:22:in start'
C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:90:in block in start' C:/dev/Ruby192/lib/ruby/1.9.1/webrick/server.rb:90:in select'

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
=end


Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #3784: Seg fault in IO.select from webrickClosednahi (Hiroshi Nakamura)Actions
Is duplicate of Ruby master - Bug #3826: Repeatable SEGV(seg fault) with ruby-debug19/ruby-debug-ideThird Party's Issue09/14/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0