This is how I debug SystemStackError when there is no stack trace.
My first attempt was:
begin
a_method_that_causes_infinite_recursion_in_a_not_obvious_way
rescue SystemStackError
puts caller
end| case $(uname -s) in | |
| Linux) | |
| install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-unknown-linux-gnu.tar.gz" artichoke | |
| ;; | |
| Darwin) | |
| case $(uname -m) in | |
| arm64) | |
| install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-aarch64-apple-darwin.tar.gz" artichoke | |
| ;; | |
| x86_64) |
| # frozen_string_literal: true | |
| require 'async/io' | |
| require 'async/io/stream' | |
| require 'async/pool/controller' | |
| require 'async/await' | |
| module Async | |
| module NATS | |
| def self.local_endpoint |
| $ NIO4R_PURE=true bundle exec rspec | |
| ~/.gem/truffleruby/2.4.4/gems/async-io-1.16.3/lib/async/io/socket.rb:97: warning: shadowing outer local variable - task | |
| ~/.gem/truffleruby/2.4.4/gems/async-io-1.16.3/lib/async/io/socket.rb:180: warning: shadowing outer local variable - task | |
| ~/dev/bugs/truffleruby/falcon/lib/falcon/verbose.rb:52: warning: shadowing outer local variable - statistics | |
| ~/.gem/truffleruby/2.4.4/gems/async-io-1.16.3/lib/async/io/shared_endpoint.rb:29: warning: shadowing outer local variable - endpoint | |
| ~/.gem/truffleruby/2.4.4/gems/async-io-1.16.3/lib/async/io/shared_endpoint.rb:70: warning: shadowing outer local variable - task | |
| ~/.gem/truffleruby/2.4.4/gems/async-io-1.16.3/lib/async/io/shared_endpoint.rb:88: warning: shadowing outer local variable - task | |
| ~/.gem/truffleruby/2.4.4/gems/samovar-1.9.1/lib/samovar/command.rb:97: warning: shadowing outer local variable - rows | |
| ~/dev/bugs/truffleruby/falcon/lib/falcon/hosts.rb:223: warning: shadowing outer local variable - task | |
| ~/dev/bugs/truffleruby/falc |
| Homebrew build logs for go on Mac OS X 10.12 | |
| Build date: 2016-08-18 19:38:00 |
| Homebrew build logs for liblwgeom on Mac OS X 10.12 | |
| Build date: 2016-08-02 17:36:01 |
| $ rake spec | |
| /Users/deepj/.rubies/ruby-2.3.0/bin/ruby -I/Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/lib:/Users/deepj/.gem/ruby/2.3.0/gems/rspec-support-3.4.1/lib /Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/exe/rspec --pattern ./\*/spec/\*\*/\*_spec.rb | |
| -- create_table(:refinery_crud_dummies, {:force=>true}) | |
| -> 0.0351s | |
| Run options: include {:focus=>true} | |
| All examples were filtered out; ignoring {:focus=>true} | |
| Randomized with seed 56356 | |
| ....***....***........../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter |
This is how I debug SystemStackError when there is no stack trace.
My first attempt was:
begin
a_method_that_causes_infinite_recursion_in_a_not_obvious_way
rescue SystemStackError
puts caller
endCharacteristics of a lean startup:
Uses "platforms enabled by open source and free software."
Agile development
| =begin | |
| Notes | |
| ===== | |
| Labels: On the label you should put a "for" attribute if you're not using something like simple_form | |
| This helps capybara to find your field | |
| e.g. <label for="my_field_id">Some label</label> | |
| =end | |
| field = "Label on my field" | |
| value = "existing option in list" |
| # Source accepts the protocol region:// with the host as the bucket | |
| # access_key_id and secret_access_key are just that | |
| # for the eu-west-1 region: | |
| s3_file "/var/bulk/the_file.tar.gz" do | |
| source "s3-eu-west-1://your.bucket/the_file.tar.gz" | |
| access_key_id your_key | |
| secret_access_key your_secret | |
| owner "root" | |
| group "root" |