This project is archived and is in readonly mode.
Rails beta3 - server segfault
Reported by dr_vlat | May 10th, 2010 @ 10:38 AM
Hi !
Just installed the latest RoR beta, and after creating a simple model - server crashes with segfault.
There's the information:
System: MacPro dual Xeon 2.8ghz / 16GB ram. OSX Leopard 10.5.8
Database backend: sqlite3
$ gem list sq
LOCAL GEMS
sqlite3-ruby (1.2.5)
$ rails -v
Rails 3.0.0.beta3
$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin9.8.0]
$ rails testapp
$ cd testapp
$ rails generate scaffold article title:string content:text published_at:timestamp
$ rake db:migrate
$ rails server
... server starts up w/o any error, browsing to http://localhost/articles
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-10 11:27:52] INFO WEBrick 1.3.1 [2010-05-10 11:27:52] INFO ruby 1.9.1 (2010-01-10) [i386-darwin9.8.0] [2010-05-10 11:27:52] INFO WEBrick::HTTPServer#start: pid=85239 port=3000
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/module/delegation.rb:118: [BUG] Segmentation fault ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin9.8.0]
-- control frame ---------- c:0074 p:---- s:0382 b:0382 l:000381
d:000381 CFUNC :caller
c:0073 p:0159 s:0379 b:0379 l:000378 d:000378 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/module/delegation.rb:118
c:0072 p:0123 s:0370 b:0370 l:000369 d:000369 CLASS
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/relation.rb:12
c:0071 p:0011 s:0368 b:0368 l:000367 d:000367 CLASS
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/relation.rb:4
c:0070 p:0021 s:0366 b:0366 l:000365 d:000365 TOP
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/relation.rb:3
c:0069 p:---- s:0364 b:0364 l:000363 d:000363 FINISH
c:0068 p:0022 s:0362 b:0362 l:000361 d:000361 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/base.rb:1027
c:0067 p:0121 s:0359 b:0359 l:000358 d:000358 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/named_scope.rb:30
c:0066 p:0011 s:0353 b:0353 l:000352 d:000352 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/base.rb:403
c:0065 p:0017 s:0348 b:0348 l:000347 d:000347 METHOD
/Users/vladimir/astra/app/controllers/articles_controller.rb:5
c:0064 p:---- s:0345 b:0345 l:000344 d:000344 FINISH
c:0063 p:---- s:0343 b:0343 l:000342 d:000342 CFUNC :send
c:0062 p:0012 s:0339 b:0339 l:000338 d:000338 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/implicit_render.rb:4
c:0061 p:0015 s:0334 b:0334 l:000333 d:000333 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/abstract_controller/base.rb:153
c:0060 p:0041 s:0329 b:0329 l:000328 d:000328 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/rendering.rb:11
c:0059 p:0012 s:0325 b:0325 l:001890 d:000324 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/instrumentation.rb:29
c:0058 p:0039 s:0321 b:0321 l:000320 d:000320 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/notifications/instrumenter.rb:18
c:0057 p:0023 s:0314 b:0314 l:000313 d:000313 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/notifications.rb:48
c:0056 p:0152 s:0309 b:0309 l:001890 d:001890 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/instrumentation.rb:28
c:0055 p:0010 s:0303 b:0303 l:0015c8 d:000302 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/abstract_controller/callbacks.rb:18
c:0054 p:0063 s:0301 b:0301 l:000300 d:000300 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:433
c:0053 p:0168 s:0295 b:0295 l:000294 d:000294 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:404
c:0052 p:0024 s:0286 b:0286 l:000285 d:000285 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88
c:0051 p:0015 s:0280 b:0280 l:0015c8 d:0015c8 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/abstract_controller/callbacks.rb:17
c:0050 p:0012 s:0276 b:0276 l:000275 d:000275 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/rescue.rb:8
c:0049 p:0077 s:0271 b:0271 l:000270 d:000270 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/abstract_controller/base.rb:123
c:0048 p:0084 s:0265 b:0265 l:000264 d:000264 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/abstract_controller/rendering.rb:39
c:0047 p:0045 s:0260 b:0260 l:000259 d:000259 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal.rb:84
c:0046 p:0046 s:0255 b:0255 l:000254 d:000254 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal/rack_delegation.rb:14
c:0045 p:0030 s:0250 b:0250 l:00233c d:000249 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_controller/metal.rb:124
c:0044 p:---- s:0247 b:0247 l:000246 d:000246 FINISH
c:0043 p:---- s:0245 b:0245 l:000244 d:000244 CFUNC :call
c:0042 p:0096 s:0241 b:0241 l:000240 d:000240 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:29
c:0041 p:0095 s:0235 b:0235 l:000207 d:000234 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:148
c:0040 p:0014 s:0229 b:0229 l:000213 d:000228 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:89
c:0039 p:0188 s:0224 b:0224 l:000223 d:000223 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:66
c:0038 p:0193 s:0214 b:0214 l:000213 d:000213 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:88
c:0037 p:0089 s:0208 b:0208 l:000207 d:000207 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:139
c:0036 p:0024 s:0202 b:0202 l:000201 d:000201 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:458
c:0035 p:0013 s:0198 b:0198 l:0014d8 d:000197 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:31
c:0034 p:0017 s:0196 b:0196 l:000195 d:000195 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/query_ca
c:0033 p:0051 s:0192 b:0192 l:000191 d:000191 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:11
c:0032 p:0019 s:0188 b:0188 l:0014d8 d:0014d8 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:30
c:0031 p:0014 s:0184 b:0184 l:000183 d:000183 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/connecti
c:0030 p:0090 s:0180 b:0180 l:000179 d:000179 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/head.rb:14
c:0029 p:0150 s:0173 b:0173 l:000172 d:000172 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/methodoverride.rb:24
c:0028 p:0045 s:0167 b:0167 l:000166 d:000166 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/params_parser.rb:19
c:0027 p:0051 s:0162 b:0162 l:000161 d:000161 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/flash.rb:167
c:0026 p:0086 s:0156 b:0156 l:000155 d:000155 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/session/cookie_store.rb:10
c:0025 p:0014 s:0146 b:0146 l:000145 d:000145 METHOD
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/cookies.rb:202
c:0024 p:0029 s:0137 b:0137 l:001118 d:000136 BLOCK
/Users/vladimir/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:46
Killed
Comments and changes to this ticket
-
Santiago Pastorino May 10th, 2010 @ 04:18 PM
- State changed from new to invalid
There are several SEGFAULT errors related to Ruby 1.9.1 on Rails 3 try Ruby 1.9.2
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>