jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-4007

Rubyspec failures #hash for Array, Hash, Struct with recursive hashes

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: JRuby 1.3.1
  • Fix Version/s: None
  • Component/s: Intro, RubySpec
  • Labels:
    None
  • Environment:
    jruby 1.4.0dev (ruby 1.8.7 patchlevel 174) (2009-09-27 704b415) (Java HotSpot(TM) Client VM 1.6.0_03) [i386-java]
  • Testcase included:
    yes

Description

[java] 1)
[java] Array#hash returns the same hash for recursive arrays FAILED
[java] Expected 2
[java] to equal 0
[java]
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:27
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:4
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:55:in `load'
[java]
[java] 2)
[java] Array#hash returns the same hash for recursive arrays through hashes FAILED
[java] Expected 995
[java] to equal 993
[java]
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:33
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:4
[java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:55:in `load'

[java] 5)
[java] Hash#hash returns the same hash for recursive hashes FAILED
[java] Expected 993
[java] to equal 0
[java]
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:28
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:9
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:55:in `load'
[java]
[java] 6)
[java] Hash#hash returns the same hash for recursive hashes through arrays FAILED
[java] Expected 995
[java] to equal 2
[java]
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:34
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:9
[java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:55:in `load'
[java]

[java] 9)
[java] Struct#hash returns the same hash for recursive structs ERROR
[java] SystemStackError: stack level too deep
[java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:26
[java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:4
[java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:55:in `load'

See "redmine #1852" for the MRI bug.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Nick Sieger added a comment - 05/Jan/10 3:44 PM

Still an issue on trunk. Run

ant spec-short

to retrieve recent specs, then

jruby spec/mspec/bin/mspec spec/ruby/core/array/hash_spec.rb
jruby spec/mspec/bin/mspec spec/ruby/core/hash/hash_spec.rb
jruby spec/mspec/bin/mspec spec/ruby/core/struct/hash_spec.rb

to see the failures.

Show
Nick Sieger added a comment - 05/Jan/10 3:44 PM Still an issue on trunk. Run
ant spec-short
to retrieve recent specs, then
jruby spec/mspec/bin/mspec spec/ruby/core/array/hash_spec.rb
jruby spec/mspec/bin/mspec spec/ruby/core/hash/hash_spec.rb
jruby spec/mspec/bin/mspec spec/ruby/core/struct/hash_spec.rb
to see the failures.

People

  • Assignee:
    Unassigned
    Reporter:
    Vladimir Sizikov
Vote (0)
Watch (0)

Dates

  • Created:
    27/Sep/09 2:09 PM
    Updated:
    05/Jan/10 3:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.