Created
July 29, 2010 22:43
-
-
Save donnoman/499435 to your computer and use it in GitHub Desktop.
post bundler upgrade with 1.0.0.rc.1 getting seemingly random segfaults, see http://gist.github.com/488261 for config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe Api::ApiController, "base controller" do | |
integrate_views | |
before(:all) do | |
$api_token = User.first.single_access_token | |
end | |
after(:all) do | |
ApplicationGlobals.subscriber = subscriber = Subscriber.find(0) | |
subscriber.create_default_preferences! unless subscriber.preferences_set? | |
end | |
before(:each) do | |
#instance_variable_set(:@controller, Api::ApiController.new) | |
controller.stub!(:disable_api) | |
request.host = "nbb.dev.workingpoint.com" | |
request.env['CONTENT_TYPE'] = 'application/xml' | |
request.env['HTTP_ACCEPT'] = [Mime::XML] | |
end | |
it "should return the version string in XML" do | |
get 'version', :api_token => $api_token | |
response.should be_success | |
h = Hash.from_xml(response.body) | |
version = h['response']['version'] | |
version.should be_a(String) | |
version.should be_starts_with("1.") | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/rails/netbooks/releases/netbooks/vendor/bundle/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/module/introspection.rb:74: [BUG] Segmentation fault | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10 | |
Aborted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/rails/netbooks/releases/netbooks/vendor/bundle/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:189: [BUG] Segmentation fault | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10 | |
Aborted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/rails/netbooks/releases/netbooks/app/views/layouts/application.html.erb:182: [BUG] Segmentation fault | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10 | |
Aborted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Api::ApiController base controller | |
- should return the version string in XML | |
/usr/local/ruby-enterprise/lib/ruby/1.8/erb.rb:551: [BUG] Segmentation fault | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10 | |
Aborted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Increased ubuntu vm to 1000mb RAM | |
using bundler | |
script/spec spec | |
before: | |
Mem: 1011104k total, 366396k used, 644708k free, 13764k buffers | |
Swap: 409616k total, 0k used, 409616k free, 171604k cached | |
during: | |
Mem: 1011104k total, 426692k used, 584412k free, 15404k buffers | |
Swap: 409616k total, 0k used, 409616k free, 179332k cached | |
Mem: 1011104k total, 548104k used, 463000k free, 15732k buffers | |
Swap: 409616k total, 0k used, 409616k free, 196644k cached | |
Mem: 1011104k total, 568296k used, 442808k free, 16120k buffers | |
Swap: 409616k total, 0k used, 409616k free, 201580k cached | |
new failure: | |
/rails/netbooks/releases/netbooks/vendor/bundle/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:195: [BUG] Segmentation fault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using bundler | |
script/spec spec | |
before: | |
Mem: 685988k total, 513300k used, 172688k free, 36752k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259708k cached | |
during: | |
Mem: 685988k total, 676836k used, 9152k free, 36868k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259684k cached | |
Mem: 685988k total, 677272k used, 8716k free, 36900k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259712k cached | |
Mem: 685988k total, 678232k used, 7756k free, 36728k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259300k cached | |
after: | |
Mem: 685988k total, 512776k used, 173212k free, 36756k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259288k cached | |
/usr/local/ruby-enterprise/lib/ruby/1.8/benchmark.rb:306: [BUG] Segmentation fault | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10 | |
Note: I have some debug "puts" in benchmark.rb so line 306 won't match up to your copy. | |
without bundler | |
script/spec spec | |
before: | |
Mem: 685988k total, 542016k used, 143972k free, 37724k buffers | |
Swap: 409616k total, 0k used, 409616k free, 286576k cached | |
during | |
Mem: 685988k total, 667988k used, 18000k free, 37968k buffers | |
Swap: 409616k total, 0k used, 409616k free, 287640k cached | |
Mem: 685988k total, 679072k used, 6916k free, 37036k buffers | |
Swap: 409616k total, 0k used, 409616k free, 273104k cached | |
Mem: 685988k total, 678444k used, 7544k free, 36176k buffers | |
Swap: 409616k total, 0k used, 409616k free, 259688k cached | |
Mem: 685988k total, 678744k used, 7244k free, 35884k buffers | |
Swap: 409616k total, 0k used, 409616k free, 258920k cached | |
Mem: 685988k total, 678524k used, 7464k free, 35200k buffers | |
Swap: 409616k total, 56k used, 409560k free, 255020k cached | |
Mem: 685988k total, 678936k used, 7052k free, 35344k buffers | |
Swap: 409616k total, 56k used, 409560k free, 252516k cached | |
after: | |
Mem: 685988k total, 506240k used, 179748k free, 35720k buffers | |
Swap: 409616k total, 56k used, 409560k free, 252444k cached | |
Finished tests 0 failures. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment