Actions
Bug #10486
closedCrash running rspec let(:foo){undefinedhash['key']}
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]
Backport:
Description
! Get details about a specific site (FAILED)
Files
Updated by nikgregory (Nik Gregory) over 9 years ago
OS version
uname -a
Darwin nik.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- File bug-10486.log bug-10486.log added
- Description updated (diff)
- Status changed from Open to Feedback
How to reproduce it?
Updated by nikgregory (Nik Gregory) over 9 years ago
I am working on the simplest test case. Mine is currently a lot of code.
Updated by nikgregory (Nik Gregory) over 9 years ago
- File ruby-10486.tar ruby-10486.tar added
- File 10486-rvm-2.1.2.log 10486-rvm-2.1.2.log added
- File ruby_2014-11-08-234055_nik.crash ruby_2014-11-08-234055_nik.crash added
I have a somewhat inconsistent steps to reproduce
-
in my existing terminal, I created the code that is in the attached tarball
tar xzvf ruby-10486.tar
cd rubybug
bundle install --path=vendor
bundle exec rake doc
and I get the crash above
in a different terminal in SAME directory
bundle exec rake doc
produces
bundle exec rake doc
/Users/nik/.rvm/rubies/ruby-2.1.4/bin/ruby -I/Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-core-3.1.7/lib:/Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-support-3.1.2/lib /Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*_spec.rb --format RspecApiDocumentation::ApiFormatter
Generating API Docs
Site
GET api/v1/sites/:site
----> Working...
! Get details about a specific site (FAILED)
Failures:
1) Site GET api/v1/sites/:site Get details about a specific site
Failure/Error: Unable to find matching line from backtrace
SystemStackError:
stack level too deep
# /Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-core-3.1.7/lib/rspec/core/memoized_helpers.rb:242
#
# Showing full backtrace because every line was filtered out.
# See docs for RSpec::Configuration#backtrace_exclusion_patterns and
# RSpec::Configuration#backtrace_inclusion_patterns for more information.
Finished in 0.16372 seconds (files took 0.41338 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/test_spec.rb:18 # Site GET api/v1/sites/:site Get details about a specific site
/Users/nik/.rvm/rubies/ruby-2.1.4/bin/ruby -I/Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-core-3.1.7/lib:/Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-support-3.1.2/lib /Users/nik/sandbox/engineering/gardener/rubybug/vendor/ruby/2.1.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*_spec.rb --format RspecApiDocumentation::ApiFormatter failed
- if I rvm use 2.1.2 I get a different stack trace but still a crash
see the 10486-rvm-2.1.2.log attached
ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Status changed from Feedback to Closed
Actions
Like0
Like0Like0Like0Like0Like0Like0