Bug #3138: Segmentation fault
http://redmine.ruby-lang.org/issues/show/3138

Author: Benedikt Eickhoff
Status: Open, Priority: Normal
Category: build
ruby -v: 1.9.1p378

<pre>
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/info.rb:87: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]

-- control frame ----------
c:0035 p:-1305230 s:0147 b:0147 l:000146 d:000146 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/info.rb:87
c:0034 p:0024 s:0137 b:0137 l:000136 d:000136 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:88
c:0033 p:0013 s:0131 b:0131 l:001f08 d:001f08 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/callbacks.rb:44
c:0032 p:0014 s:0127 b:0127 l:000126 d:000126 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/sendfile.rb:105
c:0031 p:0046 s:0117 b:0117 l:000116 d:000116 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/remote_ip.rb:48
c:0030 p:0014 s:0113 b:0113 l:000112 d:000112 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/show_exceptions.rb:48
c:0029 p:0026 s:0108 b:0108 l:000107 d:000107 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/rack/logger.rb:13
c:0028 p:0031 s:0104 b:0104 l:000103 d:000103 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/runtime.rb:17
c:0027 p:0013 s:0095 b:0095 l:000089 d:000094 BLOCK  /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/lock.rb:11
c:0026 p:0019 s:0093 b:0093 l:000092 d:000092 METHOD <internal:prelude>:8
c:0025 p:0052 s:0090 b:0090 l:000089 d:000089 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/lock.rb:11
c:0024 p:0189 s:0085 b:0085 l:000084 d:000084 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/static.rb:30
c:0023 p:0045 s:0078 b:0078 l:000077 d:000077 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/application.rb:132
c:0022 p:0021 s:0074 b:0074 l:000073 d:000073 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/application.rb:80
c:0021 p:---- s:0069 b:0069 l:000068 d:000068 FINISH
c:0020 p:0018 s:0067 b:0067 l:000058 d:000066 BLOCK  /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:76
c:0019 p:---- s:0065 b:0065 l:000064 d:000064 FINISH
c:0018 p:---- s:0063 b:0063 l:000062 d:000062 CFUNC  :catch
c:0017 p:0062 s:0059 b:0059 l:000058 d:000058 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:74
c:0016 p:0086 s:0055 b:0054 l:000053 d:000053 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:57
c:0015 p:0035 s:0051 b:0051 l:000050 d:000050 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:42
c:0014 p:---- s:0046 b:0046 l:000045 d:000045 FINISH
c:0013 p:---- s:0044 b:0044 l:000043 d:000043 CFUNC  :run_machine
c:0012 p:0235 s:0041 b:0041 l:000040 d:000040 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256
c:0011 p:0065 s:0034 b:0034 l:0011d0 d:0011d0 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/backends/base.rb:57
c:0010 p:0139 s:0030 b:0030 l:000029 d:000029 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/server.rb:156
c:0009 p:0435 s:0027 b:0027 l:0022d0 d:0022d0 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/controllers/controller.rb:80
c:0008 p:0267 s:0023 b:0023 l:000022 d:000022 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:177
c:0007 p:0036 s:0018 b:0018 l:000017 d:000017 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:143
c:0006 p:0042 s:0015 b:0015 l:000014 d:000014 TOP    /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/bin/thin:6
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:001284 d:002380 EVAL   /usr/local/bin/thin:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001284 d:001284 TOP   
---------------------------
-- Ruby level backtrace information-----------------------------------------
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/info.rb:87:in `block in git_info'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:88:in `run_callbacks'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/sendfile.rb:105:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/rack/logger.rb:13:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/runtime.rb:17:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:8:in `synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/static.rb:30:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/application.rb:132:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/application.rb:80:in `method_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:76:in `block in pre_process'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/server.rb:156:in `start'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/controllers/controller.rb:80:in `start'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:177:in `run_command'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:143:in `run!'
/usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/bin/thin:6:in `<top (required)>'
/usr/local/bin/thin:19:in `load'
/usr/local/bin/thin:19:in `<main>'

-- C level backtrace information -------------------------------------------
0xb7f86fb8 /usr/local/lib/libruby.so.1.9(rb_vm_bugreport+0x48) [0xb7f86fb8]
0xb7eb67b9 /usr/local/lib/libruby.so.1.9 [0xb7eb67b9]
0xb7eb684b /usr/local/lib/libruby.so.1.9(rb_bug+0x2b) [0xb7eb684b]
0xb7f37376 /usr/local/lib/libruby.so.1.9 [0xb7f37376]
0xb7e296e0 /lib/libpthread.so.0 [0xb7e296e0]
0xb7f80ba0 /usr/local/lib/libruby.so.1.9 [0xb7f80ba0]
0xb7f82b78 /usr/local/lib/libruby.so.1.9 [0xb7f82b78]
0xb7f79cfa /usr/local/lib/libruby.so.1.9(rb_funcall2+0xfa) [0xb7f79cfa]
0xb7f79ffa /usr/local/lib/libruby.so.1.9 [0xb7f79ffa]
0xb7f7a2c7 /usr/local/lib/libruby.so.1.9 [0xb7f7a2c7]
0xb7f7c28f /usr/local/lib/libruby.so.1.9 [0xb7f7c28f]
0xb7f80ba0 /usr/local/lib/libruby.so.1.9 [0xb7f80ba0]
0xb7f81126 /usr/local/lib/libruby.so.1.9 [0xb7f81126]
0xb7f8170d /usr/local/lib/libruby.so.1.9 [0xb7f8170d]
0xb7f77c94 /usr/local/lib/libruby.so.1.9 [0xb7f77c94]
0xb7f793e8 /usr/local/lib/libruby.so.1.9 [0xb7f793e8]
0xb7f7a337 /usr/local/lib/libruby.so.1.9 [0xb7f7a337]
0xb7f7c28f /usr/local/lib/libruby.so.1.9 [0xb7f7c28f]
0xb7f80ba0 /usr/local/lib/libruby.so.1.9 [0xb7f80ba0]
0xb7f82b78 /usr/local/lib/libruby.so.1.9 [0xb7f82b78]
0xb7f83052 /usr/local/lib/libruby.so.1.9(rb_funcall+0x152) [0xb7f83052]
0xb79bde6b /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so [0xb79bde6b]
0xb79be1f1 /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so [0xb79be1f1]
0xb79ab39e /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN19EventableDescriptor23_GenericInboundDispatchEPKci+0x5e) [0xb79ab39e]
0xb79af93b /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN20ConnectionDescriptor20_DispatchInboundDataEPKci+0xeb) [0xb79af93b]
0xb79afa0b /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN20ConnectionDescriptor4ReadEv+0xbb) [0xb79afa0b]
0xb79b5157 /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN14EventMachine_t13_RunEpollOnceEv+0x157) [0xb79b5157]
0xb79b5638 /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN14EventMachine_t8_RunOnceEv+0x58) [0xb79b5638]
0xb79b56b0 /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN14EventMachine_t3RunEv+0x60) [0xb79b56b0]
0xb79a93ee /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(evma_run_machine+0x2e) [0xb79a93ee]
0xb79bd0f7 /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.so [0xb79bd0f7]
0xb7f793e8 /usr/local/lib/libruby.so.1.9 [0xb7f793e8]
0xb7f7a337 /usr/local/lib/libruby.so.1.9 [0xb7f7a337]
0xb7f7c28f /usr/local/lib/libruby.so.1.9 [0xb7f7c28f]
0xb7f80ba0 /usr/local/lib/libruby.so.1.9 [0xb7f80ba0]
0xb7f80e65 /usr/local/lib/libruby.so.1.9(rb_iseq_eval+0xf5) [0xb7f80e65]
0xb7eba548 /usr/local/lib/libruby.so.1.9(rb_load+0x168) [0xb7eba548]
0xb7eba649 /usr/local/lib/libruby.so.1.9 [0xb7eba649]
0xb7f77c94 /usr/local/lib/libruby.so.1.9 [0xb7f77c94]
0xb7f793e8 /usr/local/lib/libruby.so.1.9 [0xb7f793e8]
0xb7f7a337 /usr/local/lib/libruby.so.1.9 [0xb7f7a337]
0xb7f7c28f /usr/local/lib/libruby.so.1.9 [0xb7f7c28f]
0xb7f80ba0 /usr/local/lib/libruby.so.1.9 [0xb7f80ba0]
0xb7f80d45 /usr/local/lib/libruby.so.1.9(rb_iseq_eval_main+0x95) [0xb7f80d45]
0xb7eb894f /usr/local/lib/libruby.so.1.9(ruby_exec_node+0x9f) [0xb7eb894f]
0xb7eb99b2 /usr/local/lib/libruby.so.1.9(ruby_run_node+0x42) [0xb7eb99b2]
0x8048760 /usr/local/bin/ruby(main+0x60) [0x8048760]
0xb7c94450 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7c94450]
0x8048691 /usr/local/bin/ruby [0x8048691]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

</pre>


----------------------------------------
http://redmine.ruby-lang.org