Project

General

Profile

Actions

Bug #1271

closed

Segfault problem

Added by draginx (Daniel Durante) about 15 years ago. Updated almost 13 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]
Backport:
[ruby-core:22846]

Description

=begin
This happens when I try to save an entry within a model in rails (this is a ruby problem not a rails problem) scroll down all the way to the bottom (gave as much info as I can). Running under Ubuntu 8.04 [hardy] 64bit

Processing ApplicationController#index (for ::ffff:127.0.0.1 at 2009-03-10 23:17:21) [GET]

ActionController::RoutingError (No route matches "/stylesheets/screen.css" with {:method=>:get}): internal:prelude:8:in synchronize' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /usr/lib/ruby/1.9.1/webrick/server.rb:183:inblock in start_thread'

Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0

Processing ApplicationController#index (for ::ffff:127.0.0.1 at 2009-03-10 23:17:21) [GET]

ActionController::RoutingError (No route matches "/images/logo.gif" with {:method=>:get}): internal:prelude:8:in synchronize' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /usr/lib/ruby/1.9.1/webrick/server.rb:183:inblock in start_thread'

Rendering rescues/layout (not_found) SQL (0.2ms) SET NAMES 'utf8' SQL (0.2ms) SET SQL_AUTO_IS_NULL=0

Processing UsersController#new (for ::ffff:127.0.0.1 at 2009-03-10 23:17:22) [GET] Parameters: {"controller"=>"users", "action"=>"new"} User Columns (3.5ms) SHOW FIELDS FROM users Rendering template within layouts/application Rendering users/new Completed in 62ms (View: 39, DB: 4) | 200 OK [http://0.0.0.0/users/new] /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/quoting.rb:19: [BUG] Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]

-- control frame ---------- c:0093 p:0463 s:0438 b:0435 l:000434 d:000434 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/quoting.rb:19 c:0092 p:0147 s:0430 b:0430 l:000429 d:000429 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/mysql_adapter.rb:233 c:0091 p:0109 s:0424 b:0424 l:000423 d:000423 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2393 c:0090 p:0018 s:0420 b:0420 l:000411 d:000419 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2353 c:0089 p:---- s:0418 b:0418 l:000417 d:000417 FINISH c:0088 p:---- s:0416 b:0416 l:000415 d:000415 CFUNC :gsub c:0087 p:0056 s:0412 b:0412 l:000411 d:000411 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2353 c:0086 p:0091 s:0406 b:0406 l:000405 d:000405 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2342 c:0085 p:0075 s:0400 b:0400 l:000399 d:000399 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2235 c:0084 p:0028 s:0396 b:0396 l:000386 d:000395 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1503 c:0083 p:---- s:0392 b:0392 l:000391 d:000391 FINISH c:0082 p:---- s:0390 b:0390 l:000389 d:000389 CFUNC :each c:0081 p:0018 s:0387 b:0387 l:000386 d:000386 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1501 c:0080 p:0083 s:0382 b:0382 l:000381 d:000381 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1811 c:0079 p:0164 s:0375 b:0375 l:000374 d:000374 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1696 c:0078 p:0063 s:0369 b:0368 l:000367 d:000367 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:695 c:0077 p:0020 s:0364 b:0364 l:001968 d:000363 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:758 c:0076 p:0161 s:0362 b:0362 l:000361 d:000361 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2148 c:0075 p:0021 s:0355 b:0355 l:000354 d:000354 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2156 c:0074 p:0455 s:0350 b:0350 l:001968 d:002240 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:757 c:0073 p:0076 s:0337 b:0337 l:001a48 d:000336 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:399 c:0072 p:---- s:0333 b:0333 l:000332 d:000332 FINISH c:0071 p:---- s:0331 b:0331 l:000330 d:000330 CFUNC :each c:0070 p:0011 s:0328 b:0328 l:001a48 d:000327 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:396 c:0069 p:---- s:0325 b:0325 l:000324 d:000324 FINISH c:0068 p:---- s:0323 b:0323 l:000322 d:000322 CFUNC :call c:0067 p:0214 s:0319 b:0319 l:000318 d:000318 METHOD /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:182 c:0066 p:0033 s:0312 b:0312 l:000311 d:000311 METHOD /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:166 c:0065 p:0014 s:0307 b:0307 l:000298 d:000306 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:90 c:0064 p:---- s:0304 b:0304 l:000303 d:000303 FINISH c:0063 p:---- s:0302 b:0302 l:000301 d:000301 CFUNC :each c:0062 p:0056 s:0299 b:0299 l:000298 d:000298 METHOD /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:90 c:0061 p:0041 s:0292 b:0292 l:000291 d:000291 METHOD /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:276 c:0060 p:0029 s:0286 b:0286 l:000285 d:000285 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:1029 c:0059 p:0087 s:0283 b:0283 l:000282 d:000282 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/callbacks.rb:315 c:0058 p:0019 s:0279 b:0279 l:000278 d:000278 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:1008 c:0057 p:0013 s:0275 b:0275 l:000274 d:000274 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/dirty.rb:79 c:0056 p:0015 s:0270 b:0270 l:001050 d:000269 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:229 c:0055 p:0175 s:0268 b:0268 l:000267 d:000267 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/database_statements.rb:136 c:0054 p:0025 s:0260 b:0260 l:000259 d:000259 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:182 c:0053 p:0022 s:0255 b:0255 l:001050 d:001050 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:228 c:0052 p:0014 s:0249 b:0249 l:000240 d:000248 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:196 c:0051 p:0053 s:0247 b:0247 l:000246 d:000246 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:208 c:0050 p:0015 s:0241 b:0241 l:000240 d:000240 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:196 c:0049 p:0039 s:0237 b:0237 l:000236 d:000236 METHOD /home/daniel/work/game/app/controllers/users_controller.rb:24 c:0048 p:0042 s:0234 b:0234 l:000233 d:000233 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:1318 c:0047 p:0047 s:0230 b:0230 l:000229 d:000229 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:617 c:0046 p:0028 s:0223 b:0223 l:000222 d:000222 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:610 c:0045 p:0009 s:0220 b:0220 l:000468 d:000219 BLOCK /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/benchmarking.rb:68 c:0044 p:0005 s:0218 b:0218 l:0020a8 d:000217 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/core_ext/benchmark.rb:17 c:0043 p:0024 s:0216 b:0216 l:000215 d:000215 METHOD /usr/lib/ruby/1.9.1/benchmark.rb:308 c:0042 p:0013 s:0210 b:0209 l:0020a8 d:0020a8 METHOD /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/core_ext/benchmark.rb:17 c:0041 p:0028 s:0206 b:0206 l:000468 d:000468 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/benchmarking.rb:68 c:0040 p:0011 s:0199 b:0199 l:000198 d:000198 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/rescue.rb:160 c:0039 p:0011 s:0195 b:0195 l:000194 d:000194 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/flash.rb:141 c:0038 p:0088 s:0192 b:0192 l:000191 d:000191 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:523 c:0037 p:0029 s:0185 b:0185 l:000184 d:000184 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:606 c:0036 p:0021 s:0178 b:0178 l:000177 d:000177 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:391 c:0035 p:0097 s:0173 b:0173 l:000172 d:000172 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:386 c:0034 p:0054 s:0167 b:0167 l:000166 d:000166 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/routing/route_set.rb:433 c:0033 p:0035 s:0161 b:0161 l:000160 d:000160 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:88 c:0032 p:0017 s:0156 b:0156 l:000155 d:000155 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:111 c:0031 p:0018 s:0152 b:0152 l:001170 d:000151 LAMBDA /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:82 c:0030 p:---- s:0149 b:0149 l:000148 d:000148 FINISH c:0029 p:---- s:0147 b:0147 l:000146 d:000146 CFUNC :call c:0028 p:0013 s:0143 b:0143 l:0000b0 d:000142 BLOCK /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:29 c:0027 p:0038 s:0141 b:0141 l:000140 d:000140 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/query_cache.rb:34 c:0026 p:0051 s:0137 b:0137 l:000136 d:000136 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:9 c:0025 p:0019 s:0133 b:0133 l:0000b0 d:0000b0 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:28 c:0024 p:0014 s:0129 b:0129 l:000128 d:000128 METHOD /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:361 c:0023 p:0014 s:0125 b:0125 l:000124 d:000124 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/head.rb:9 c:0022 p:0150 s:0118 b:0118 l:000117 d:000117 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24 c:0021 p:0045 s:0112 b:0112 l:000111 d:000111 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/params_parser.rb:15 c:0020 p:0045 s:0107 b:0107 l:000106 d:000106 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/rewindable_input.rb:25 c:0019 p:0076 s:0103 b:0103 l:000102 d:000102 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/session/cookie_store.rb:93 c:0018 p:0030 s:0093 b:0093 l:000092 d:000092 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/reloader.rb:9 c:0017 p:0014 s:0089 b:0089 l:000088 d:000088 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/failsafe.rb:11 c:0016 p:0013 s:0084 b:0084 l:000078 d:000083 BLOCK /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11 c:0015 p:0019 s:0082 b:0082 l:000081 d:000081 METHOD internal:prelude:8 c:0014 p:0052 s:0079 b:0079 l:000078 d:000078 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11 c:0013 p:0014 s:0074 b:0074 l:000073 d:000073 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:106 c:0012 p:0171 s:0070 b:0070 l:000069 d:000069 METHOD /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.1/lib/rails/rack/static.rb:27 c:0011 p:0195 s:0063 b:0063 l:000052 d:000062 BLOCK /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:42 c:0010 p:---- s:0058 b:0058 l:000057 d:000057 FINISH c:0009 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC :each c:0008 p:0069 s:0053 b:0053 l:000052 d:000052 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:36 c:0007 p:0014 s:0044 b:0044 l:000043 d:000043 METHOD /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.1/lib/rails/rack/log_tailer.rb:17 c:0006 p:0244 s:0039 b:0039 l:000038 d:000038 METHOD /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb:40 c:0005 p:0256 s:0030 b:0030 l:000029 d:000029 METHOD /usr/lib/ruby/1.9.1/webrick/httpserver.rb:111 c:0004 p:0382 s:0020 b:0020 l:000019 d:000019 METHOD /usr/lib/ruby/1.9.1/webrick/httpserver.rb:70 c:0003 p:0123 s:0009 b:0009 l:0001c8 d:000008 BLOCK /usr/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----------------------------------------- /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/quoting.rb:19:in quote' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/mysql_adapter.rb:233:inquote' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2393:in quote_bound_value' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2353:inblock in replace_bind_variables' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2353:in gsub' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2353:inreplace_bind_variables' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2342:in sanitize_sql_array' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2235:insanitize_sql_for_conditions' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1503:in block in merge_conditions' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1501:ineach' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1501:in merge_conditions' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1811:inadd_conditions!' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:1696:in construct_finder_sql' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:695:inexists?' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:758:in block (2 levels) in validates_uniqueness_of' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2148:inwith_scope' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/base.rb:2156:in with_exclusive_scope' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:757:inblock in validates_uniqueness_of' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:399:in block (2 levels) in validates_each' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:396:ineach' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:396:in block in validates_each' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:182:incall' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:182:in evaluate_method' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:166:incall' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:90:in block in run' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:90:ineach' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:90:in run' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/callbacks.rb:276:inrun_callbacks' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:1029:in valid?' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/callbacks.rb:315:invalid_with_callbacks?' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/validations.rb:1008:in save_with_validation' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/dirty.rb:79:insave_with_dirty' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:229:in block in with_transaction_returning_status' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/database_statements.rb:136:intransaction' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:182:in transaction' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:228:inwith_transaction_returning_status' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:196:in block in save_with_transactions' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:208:inrollback_active_record_state!' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/transactions.rb:196:in save_with_transactions' /home/daniel/work/game/app/controllers/users_controller.rb:24:increate' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:1318:in perform_action' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:617:incall_filters' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:610:in perform_action_with_filters' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/benchmarking.rb:68:inblock in perform_action_with_benchmark' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/core_ext/benchmark.rb:17:in block in ms' /usr/lib/ruby/1.9.1/benchmark.rb:308:inrealtime' /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.1/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/benchmarking.rb:68:inperform_action_with_benchmark' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/rescue.rb:160:in perform_action_with_rescue' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/flash.rb:141:inperform_action_with_flash' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:523:in process' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/filters.rb:606:inprocess_with_filters' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:391:in process' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/base.rb:386:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/routing/route_set.rb:433:in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:88:indispatch' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:111:in _call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:82:inblock in initialize' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:29:in call' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:29:inblock in call' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:9:incache' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/query_cache.rb:28:in call' /usr/lib/ruby/gems/1.9.1/gems/activerecord-2.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/params_parser.rb:15:in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/rewindable_input.rb:25:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/session/cookie_store.rb:93:in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/reloader.rb:9:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/failsafe.rb:11:in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:inblock in call' internal:prelude:8:in synchronize' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/dispatcher.rb:106:in call' /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.1/lib/rails/rack/static.rb:27:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:42:in block in call' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:36:ineach' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:36:in call' /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.1/lib/rails/rack/log_tailer.rb:17:incall' /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.1/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb:40:in service' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /usr/lib/ruby/1.9.1/webrick/server.rb:183:inblock in start_thread'

-- C level backtrace information ------------------------------------------- 0x4d91f1 ruby(rb_vm_bugreport+0x41) [0x4d91f1] 0x503d41 ruby [0x503d41] 0x503eb1 ruby(rb_bug+0xb1) [0x503eb1] 0x48d9ff ruby [0x48d9ff] 0x7f0ad4ccd7d0 /lib/libpthread.so.0 [0x7f0ad4ccd7d0] 0x496b54 ruby(rb_obj_as_string+0x84) [0x496b54] 0x4ce363 ruby [0x4ce363] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d3d24 ruby(rb_yield+0x44) [0x4d3d24] 0x4a1592 ruby [0x4a1592] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d3d24 ruby(rb_yield+0x44) [0x4d3d24] 0x4e2eed ruby(rb_ary_each+0x3d) [0x4e2eed] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d3d24 ruby(rb_yield+0x44) [0x4d3d24] 0x4e2eed ruby(rb_ary_each+0x3d) [0x4e2eed] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d37a2 ruby(rb_vm_invoke_proc+0xb2) [0x4d37a2] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d3d24 ruby(rb_yield+0x44) [0x4d3d24] 0x4e2eed ruby(rb_ary_each+0x3d) [0x4e2eed] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d37a2 ruby(rb_vm_invoke_proc+0xb2) [0x4d37a2] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d3d24 ruby(rb_yield+0x44) [0x4d3d24] 0x4e2eed ruby(rb_ary_each+0x3d) [0x4e2eed] 0x4ccc34 ruby [0x4ccc34] 0x4cdbc0 ruby [0x4cdbc0] 0x4d2d5d ruby [0x4d2d5d] 0x4d3498 ruby [0x4d3498] 0x4d37a2 ruby(rb_vm_invoke_proc+0xb2) [0x4d37a2] 0x4dd682 ruby [0x4dd682] 0x4dd79e ruby [0x4dd79e] 0x7f0ad4cc53f7 /lib/libpthread.so.0 [0x7f0ad4cc53f7] 0x7f0ad416eb3d /lib/libc.so.6(clone+0x6d) [0x7f0ad416eb3d]

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

Aborted
=end


Files

game.tar.gz (374 KB) game.tar.gz draginx (Daniel Durante), 03/16/2009 08:53 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #1414: NameError (undefined method `path' for class `ActionController::UploadedStringIO')Third Party's Issue04/27/2009Actions
Actions #1

Updated by matz (Yukihiro Matsumoto) about 15 years ago

=begin
Hi,

In message "Re: [ruby-core:22846] [Bug #1271] Segfault problem"
on Wed, 11 Mar 2009 22:37:04 +0900, Daniel Durante writes:

|This happens when I try to save an entry within a model in rails (this is a ruby problem not a rails problem) scroll down all the way to the bottom (gave as much info as I can). Running under Ubuntu 8.04 [hardy] 64bit

Although I admit it is a Ruby problem not a Rails problem, it is
difficult to fix without seeing an error reproducing program.

						matz.

=end

Actions #2

Updated by draginx (Daniel Durante) about 15 years ago

=begin
Here is an attachment for my app (it's very basic). I'm using rails edge (2.3 RC2 which supports 1.9.1). I created another rails app and used their save/create methods for when creating a new model (which would cause this error) and it worked fine. I also am using AuthLogic from a gem resource and for creating the new user. Let me know if you need anymore additional information.
=end

Actions #3

Updated by yugui (Yuki Sonoda) over 14 years ago

  • Status changed from Open to Third Party's Issue

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0