[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66153] [ruby-trunk - Bug #10486] Crash running rspec let(:foo){undefinedhash['key']}
From:
nikgregory@...
Date:
2014-11-09 04:50:29 UTC
List:
ruby-core #66153
Issue #10486 has been updated by Nik Gregory.
File ruby-10486.tar added
File 10486-rvm-2.1.2.log added
File ruby_2014-11-08-234055_nik.crash added
I have a somewhat inconsistent steps to reproduce
1) in my existing terminal, I created the code that is in the attached tarball
2)
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
~~~
3) 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]
----------------------------------------
Bug #10486: Crash running rspec let(:foo){undefinedhash['key']}
https://bugs.ruby-lang.org/issues/10486#change-49855
* Author: Nik Gregory
* Status: Feedback
* Priority: Normal
* Assignee:
* Category:
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
! Get details about a specific site (FAILED)
---Files--------------------------------
ruby_2014-11-07-160619_nik.crash (17.8 KB)
bug-10486.log (56 KB)
ruby-10486.tar (15 KB)
10486-rvm-2.1.2.log (39.1 KB)
ruby_2014-11-08-234055_nik.crash (13.8 KB)
--
https://bugs.ruby-lang.org/