Ruby Issue Tracking System: Issues
https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2010-05-14T06:27:54Z
Ruby Issue Tracking System
Redmine
Backport191 - Backport #3288 (Closed): Segmentation fault - activesupport-3.0.0.beta3/lib/active_...
https://bugs.ruby-lang.org/issues/3288
2010-05-14T06:27:54Z
jeznet (Szymon Jeż)
szymon@jez.net.pl
<p>=begin</p>
<pre>
rails server
=> Booting WEBrick
=> Rails 3.0.0.beta3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-05-13 23:16:04] INFO WEBrick 1.3.1
[2010-05-13 23:16:04] INFO ruby 1.9.1 (2010-01-10) [x86_64-linux]
[2010-05-13 23:16:09] INFO WEBrick::HTTPServer#start: pid=9678 port=3000
# Now I request any databese using Rails action
(eval):1: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]
-- control frame ----------
c:0023 p:-3803124 s:0136 b:0135 l:000134 d:000134 METHOD (eval):1
c:0022 p:0024 s:0125 b:0125 l:000124 d:000124 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88
c:0021 p:0013 s:0119 b:0119 l:001b80 d:001b80 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:44
c:0020 p:0014 s:0115 b:0115 l:000114 d:000114 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/sendfile.rb:105
c:0019 p:0046 s:0105 b:0105 l:000104 d:000104 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/remote_ip.rb:48
c:0018 p:0014 s:0101 b:0101 l:000100 d:000100 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/show_exceptions.rb:48
c:0017 p:0026 s:0096 b:0096 l:000095 d:000095 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/rack/logger.rb:13
c:0016 p:0031 s:0092 b:0092 l:000091 d:000091 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/runtime.rb:17
c:0015 p:0013 s:0083 b:0083 l:000077 d:000082 BLOCK /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11
c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD :8
c:0013 p:0052 s:0078 b:0078 l:000077 d:000077 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11
c:0012 p:0189 s:0073 b:0073 l:000072 d:000072 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/application.rb:132
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/application.rb:81
c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0008 p:0014 s:0055 b:0055 l:000054 d:000054 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/rack/log_tailer.rb:15
c:0007 p:0014 s:0050 b:0050 l:000049 d:000049 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/content_length.rb:13
c:0006 p:0320 s:0042 b:0042 l:000041 d:000041 METHOD /home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48
c:0005 p:0256 s:0030 b:0030 l:000029 d:000029 METHOD /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0382 s:0020 b:0020 l:000019 d:000019 METHOD /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0123 s:0009 b:0009 l:000ac8 d:000008 BLOCK /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183
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-----------------------------------------
(eval):1:in `api_delegate'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/sendfile.rb:105:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/rack/logger.rb:13:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/runtime.rb:17:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11:in `block in call'
:8:in `synchronize'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/application.rb:132:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/application.rb:81:in `method_missing'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/rack/log_tailer.rb:15:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
/home/jeznet/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48:in `service'
/home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/jeznet/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
-- C level backtrace information -------------------------------------------
0x4e26c1 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby(rb_vm_bugreport+0x41) [0x4e26c1]
0x50f258 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x50f258]
0x50f3c1 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby(rb_bug+0xb1) [0x50f3c1]
0x48ff68 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x48ff68]
0x7f01c3442190 /lib/libpthread.so.0 [0x7f01c3442190]
0x4d44e0 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4d44e0]
0x4d9b92 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4d9b92]
0x4dcbbb /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4dcbbb]
0x4ddd37 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby(rb_funcall2+0x107) [0x4ddd37]
0x4ddf65 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4ddf65]
0x4d4232 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4d4232]
0x4d6bdc /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4d6bdc]
0x4d9b92 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4d9b92]
0x4dc74f /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby(rb_vm_invoke_proc+0x27f) [0x4dc74f]
0x4e6852 /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4e6852]
0x4e698e /home/jeznet/.rvm/rubies/ruby-1.9.1-p378/bin/ruby [0x4e698e]
0x7f01c3439a04 /lib/libpthread.so.0 [0x7f01c3439a04]
0x7f01c28da80d /lib/libc.so.6(clone+0x6d) [0x7f01c28da80d]
Aborted
</pre>
<p>=end</p>