Project

General

Profile

Actions

Bug #4820

closed

EXC_CRASH (SIGABRT)

Added by threadhead (Karl Smith) almost 13 years ago. Updated about 12 years ago.

Status:
Rejected
Target version:
ruby -v:
1.9.2-p180
Backport:
[ruby-core:36710]

Description

Ruby is crashing sporadically during rails development.

See crash logs: https://gist.github.com/982118

Have completely removed and reinstalled Xcode (3.2.6), ruby (via RPM), all gems. Still crashes.

Updated by sorah (Sorah Fukumori) almost 13 years ago

  • Status changed from Open to Feedback

We need to the following additional information for fixing:

  • What did you do to reproduce? what is "rails development"?
  • we need raw output of ruby -v. Not only version number. (We need like platform str... like [x86_64-darwin10.7.0] )

See also: http://redmine.ruby-lang.org/projects/ruby/wiki/HowToReport

Updated by threadhead (Karl Smith) almost 13 years ago

$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

Rails development is Ruby on Rails in development mode.

Environment: MacBook Pro, 2.26GHz, 4G ram, OS X 10.6.7 (all updates applied), XCode 3.2.6

STEPS TO REPRODUCE:
$ gem install rake
$ gem install rails
$ rails new crash_test
$ cd crash_test
$ gem install bundler
$ rm public/index.html
$ nano Gemfile

Gemfile

source 'http://rubygems.org'

gem 'rails', '3.0.7'

gem 'sqlite3'
gem 'compass'
gem 'haml'
gem 'devise'
gem 'cancan'
gem 'prawn'
gem 'prawn_rails'

group :development, :test do
gem 'awesome_print'
gem 'itslog'
end

save Gemfile

install all gems and dependencies

$ bundle install

create a model, view, and controller

$ rails g scaffold user name:string occupation:string

create database and schema

$ rake db:migrate

insert some data

$ rails c

User.create(:name => "mickey mouse", :occupation => "programmer")
User.create(:name => "donald duck", :occupation => "gamer")
User.create(:name => "goofy", :occupation => "president")
exit

start rails server (webkit)

$ rails s

IN ANOTHER TERMINAL WINDOW

$ ab -n 1000 -c 2 http://localhost:3000/users

When I run apache bench (above), ruby will crash with the following (sometimes, read below):

ruby(89829,0x104a81000) malloc: *** error for object 0x100000000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Some times, ruby will crash with the following:

10:28:42 active_record User Load (0.7ms) SELECT "users".* FROM "users"
10:28:42 action_view Rendered users/index.html.erb within layouts/application (17.0ms)
10:28:42 action_controller Completed 200 OK in 44ms (Views: 29.5ms | ActiveRecord: 0.7ms)
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/awesome_print-0.4.0/lib/ap/core_ext/class.rb:14: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

-- control frame ----------
c:0068 p:---- s:0346 b:0346 l:000345 d:000345 CFUNC :<=>
c:0067 p:---- s:0344 b:0344 l:000343 d:000343 CFUNC :sort!
c:0066 p:0050 s:0341 b:0341 l:001498 d:000340 LAMBDA /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/awesome_print-0.4.0/lib/ap/core_ext/class.rb:14
c:0065 p:---- s:0337 b:0337 l:000336 d:000336 FINISH
c:0064 p:0029 s:0335 b:0335 l:000334 d:000334 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:64
c:0063 p:0031 s:0331 b:0330 l:000329 d:000329 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/hide_actions.rb:44
c:0062 p:0026 s:0327 b:0327 l:000326 d:000326 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/url_for.rb:23
c:0061 p:0017 s:0324 b:0324 l:000323 d:000323 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:143
c:0060 p:0013 s:0320 b:0320 l:000319 d:000319 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:191
c:0059 p:0031 s:0316 b:0316 l:000315 d:000315 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/hide_actions.rb:19
c:0058 p:0012 s:0312 b:0312 l:000311 d:000311 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/implicit_render.rb:18
c:0057 p:0012 s:0308 b:0308 l:000307 d:000307 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/compatibility.rb:63
c:0056 p:0029 s:0304 b:0304 l:000303 d:000303 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:113
c:0055 p:0084 s:0298 b:0298 l:000297 d:000297 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41
c:0054 p:0048 s:0293 b:0293 l:000292 d:000292 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138
c:0053 p:0086 s:0288 b:0288 l:000287 d:000287 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14
c:0052 p:0030 s:0282 b:0282 l:000488 d:000281 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178
c:0051 p:---- s:0279 b:0279 l:000278 d:000278 FINISH
c:0050 p:---- s:0277 b:0277 l:000276 d:000276 CFUNC :call
c:0049 p:0022 s:0273 b:0273 l:000272 d:000272 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62
c:0048 p:0094 s:0267 b:0267 l:000266 d:000266 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27
c:0047 p:0097 s:0261 b:0261 l:000233 d:000260 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148
c:0046 p:0014 s:0255 b:0255 l:000239 d:000254 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93
c:0045 p:0189 s:0250 b:0250 l:000249 d:000249 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:68
c:0044 p:0198 s:0240 b:0240 l:000239 d:000239 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92
c:0043 p:0092 s:0234 b:0234 l:000233 d:000233 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139
c:0042 p:0025 s:0228 b:0228 l:000227 d:000227 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493
c:0041 p:0106 s:0224 b:0224 l:000223 d:000223 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/sass-3.1.2/lib/sass/plugin/rack.rb:54
c:0040 p:0014 s:0220 b:0220 l:000211 d:000219 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/warden-1.0.4/lib/warden/manager.rb:35
c:0039 p:---- s:0218 b:0218 l:000217 d:000217 FINISH
c:0038 p:---- s:0216 b:0216 l:000215 d:000215 CFUNC :catch
c:0037 p:0086 s:0212 b:0212 l:000211 d:000211 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/warden-1.0.4/lib/warden/manager.rb:34
c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:1
c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14
c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/methodoverride.rb:24
c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21
c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182
c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:1
c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302
c:0029 p:0014 s:0156 b:0156 l:001eb0 d:000155 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32
c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cac
c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12
c:0026 p:0019 s:0146 b:0146 l:001eb0 d:001eb0 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connectio
c:0024 p:0029 s:0138 b:0138 l:0015a0 d:000137 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416
c:0022 p:0011 s:0126 b:0126 l:0015a0 d:0015a0 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/sendfile.rb:107
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48
c:0019 p:0017 s:0108 b:0108 l:000107 d:000107 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/lock.rb:11
c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD internal:prelude:10
c:0013 p:0054 s:0078 b:0078 l:000077 d:000077 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/lock.rb:11
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/application.rb:77
c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0008 p:0015 s:0055 b:0055 l:000054 d:000054 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/karl/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/karl/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:000618 d:000008 BLOCK /Users/karl/.rvm/rubies/ruby-1.9.2-p180/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 ----------------------------------------
/Users/karl/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread' /Users/karl/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run'
/Users/karl/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52:in service'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/content_length.rb:13:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/application.rb:77:in method_missing' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/application.rb:168:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/lock.rb:11:in call'
internal:prelude:10:in synchronize' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/lock.rb:11:in block in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/runtime.rb:17:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/sendfile.rb:107:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416:in _run_call_callbacks'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46:in block in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12:in cache'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in cache' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32:in block in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-1.2.3/lib/rack/methodoverride.rb:24:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/warden-1.0.4/lib/warden/manager.rb:34:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/warden-1.0.4/lib/warden/manager.rb:34:in catch' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/warden-1.0.4/lib/warden/manager.rb:35:in block in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/sass-3.1.2/lib/sass/plugin/rack.rb:54:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in recognize'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:68:in optimized_each' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in block in recognize'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in block in call' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in dispatch' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in call'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178:in block in action' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14:in dispatch'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138:in dispatch' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41:in process'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:113:in process' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/compatibility.rb:63:in method_for_action'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/implicit_render.rb:18:in method_for_action' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/hide_actions.rb:19:in method_for_action'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:191:in method_for_action' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:143:in action_method?'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/url_for.rb:23:in action_methods' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/action_controller/metal/hide_actions.rb:44:in action_methods'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:64:in action_methods' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/awesome_print-0.4.0/lib/ap/core_ext/class.rb:14:in block (2 levels) in class:Class'
/Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/awesome_print-0.4.0/lib/ap/core_ext/class.rb:14:in sort!' /Users/karl/.rvm/gems/ruby-1.9.2-p180@r_sqlite/gems/awesome_print-0.4.0/lib/ap/core_ext/class.rb:14:in <=>'

-- C level backtrace information -------------------------------------------

[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

Abort trap

IMPORTANT: ruby will not crash every time I run apache bench! But I can eventually get it to crash. You may need to exit (crtl-c) rails server and restart it (rails s), then run apache bench again. Sometimes, it takes 4-10 times of restarting rails server and then hitting it with apache bench for it to crash. But I can reproduce the crash.

I believe there is some interaction with the 'awesome print' gem or the 'itslog' gem that is causing the ruby crash, because if I eliminate one or both of those gems, ruby does not crash (in my limited testing). Which ever the case, RUBY is crashing with an exception type of EXC_CRASH (SIGABRT).

Updated by naruse (Yui NARUSE) almost 13 years ago

  • Assignee set to sorah (Sorah Fukumori)

Updated by sorah (Sorah Fukumori) about 12 years ago

  • Status changed from Feedback to Rejected

Rejecting because we have no feedback.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0