[#31647] [Backport #3666] Backport of r26311 (Bug #2587) — Luis Lavena <redmine@...>

Backport #3666: Backport of r26311 (Bug #2587)

13 messages 2010/08/07

[#31666] [Bug #3677] unable to run certain gem binaries' in windows 7 — Roger Pack <redmine@...>

Bug #3677: unable to run certain gem binaries' in windows 7

10 messages 2010/08/10

[#31676] [Backport #3680] Splatting calls to_ary instead of to_a in some cases — Tomas Matousek <redmine@...>

Backport #3680: Splatting calls to_ary instead of to_a in some cases

10 messages 2010/08/11

[#31681] [Bug #3683] getgrnam on computer with NIS group (+)? — Rocky Bernstein <redmine@...>

Bug #3683: getgrnam on computer with NIS group (+)?

13 messages 2010/08/11

[#31843] Garbage Collection Question — Asher <asher@...>

This question is no doubt a function of my own lack of understanding, but I think that asking it will at least help some other folks see what's going on with the internals during garbage collection.

17 messages 2010/08/25
[#31861] Re: Garbage Collection Question — Roger Pack <rogerdpack2@...> 2010/08/26

> The question in short: when an object goes out of scope and has no

[#31862] Re: Garbage Collection Question — Asher <asher@...> 2010/08/26

Right - so how does a pointer ever get off the stack?

[#31873] Re: Garbage Collection Question — Kurt Stephens <ks@...> 2010/08/27

On 8/26/10 11:51 AM, Asher wrote:

[#31894] Re: Garbage Collection Question — Asher <asher@...> 2010/08/27

I very much appreciate the response, and this is helpful in describing the narrative, but it's still a few steps behind my question - but it may very well have clarified some points that help us get there.

[#31896] Re: Garbage Collection Question — Evan Phoenix <evan@...> 2010/08/27

You have introduced something called a "root node" without defining it. What do you mean by this?

[#31885] Avoiding $LOAD_PATH pollution — Eric Hodel <drbrain@...7.net>

Last year Nobu asked me to propose an API for adding an object to

21 messages 2010/08/27

[#31947] not use system for default encoding — Roger Pack <rogerdpack2@...>

It strikes me as a bit "scary" to use system locale settings to

19 messages 2010/08/30

[#31971] Change Ruby's License to BSDL + Ruby's dual license — "NARUSE, Yui" <naruse@...>

Ruby's License will change to BSDL + Ruby's dual license

16 messages 2010/08/31

[ruby-core:31806] 1.9.1 has marshal bugs in everything but p129

From: Ryan Davis <ryand-ruby@...>
Date: 2010-08-20 21:16:45 UTC
List: ruby-core #31806
Is there any chance we can release a 1.9.1 that fixes the current marshal bugs? It is fixed in 1.9.2, so I know the patch exists somewhere and could be merged over. Otherwise I think I'm going to have to drop support for 1.9.1 early.

Summary of output:

1.9.1-p129: no failures
1.9.1-p243: fails test_dump_regexp_bug
1.9.1-p376: fails test_dump_symbol_bug
1.9.1-p378: fails test_dump_symbol_bug
1.9.1-p429: fails test_dump_symbol_bug
1.9.1-p430: fails test_dump_symbol_bug

test_marshal_bugs.rb:

> # -*- ruby -*-
> 
> $: << "../../minitest/dev/lib"
> require 'minitest/autorun'
> 
> class TestMarshalBugs < MiniTest::Unit::TestCase
>   def test_dump_symbol_bug
>     assert_roundtrip [:$!, 42]
>   end
> 
>   def test_dump_regexp_bug
>     assert_roundtrip [:match3, [:lit, /x/], [:str, "blah"]]
>   end
> 
>   def assert_roundtrip obj
>     assert_equal obj, Marshal.load(Marshal.dump(obj))
>   end
> end

outputs:

> % multiruby bug.rb
> 
> ... skipping output from 1.8.x
> 
> VERSION = 1.9.1-p129
> CMD     = ~/.multiruby/install/1.9.1-p129/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> ..
> Finished in 0.000365 seconds.
> 
> 2 tests, 2 assertions, 0 failures, 0 errors, 0 skips
> 
> RESULT = 0
> 
> VERSION = 1.9.1-p243
> CMD     = ~/.multiruby/install/1.9.1-p243/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> E.
> Finished in 0.000472 seconds.
> 
>   1) Error:
> test_dump_regexp_bug(TestMarshalBugs):
> TypeError: can't convert Regexp into String
>     bug.rb:16:in `load'
>     bug.rb:16:in `assert_roundtrip'
>     bug.rb:12:in `test_dump_regexp_bug'
> 
> 2 tests, 1 assertions, 0 failures, 1 errors, 0 skips
> 
> RESULT = 256
> 
> VERSION = 1.9.1-p376
> CMD     = ~/.multiruby/install/1.9.1-p376/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> E.
> Finished in 0.000458 seconds.
> 
>   1) Error:
> test_dump_symbol_bug(TestMarshalBugs):
> ArgumentError: dump format error(0x0)
>     bug.rb:16:in `load'
>     bug.rb:16:in `assert_roundtrip'
>     bug.rb:8:in `test_dump_symbol_bug'
> 
> 2 tests, 1 assertions, 0 failures, 1 errors, 0 skips
> 
> RESULT = 256
> 
> VERSION = 1.9.1-p378
> CMD     = ~/.multiruby/install/1.9.1-p378/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> .E
> Finished in 0.000457 seconds.
> 
>   1) Error:
> test_dump_symbol_bug(TestMarshalBugs):
> ArgumentError: dump format error(0x0)
>     bug.rb:16:in `load'
>     bug.rb:16:in `assert_roundtrip'
>     bug.rb:8:in `test_dump_symbol_bug'
> 
> 2 tests, 1 assertions, 0 failures, 1 errors, 0 skips
> 
> RESULT = 256
> 
> VERSION = 1.9.1-p429
> CMD     = ~/.multiruby/install/1.9.1-p429/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> .E
> Finished in 0.000480 seconds.
> 
>   1) Error:
> test_dump_symbol_bug(TestMarshalBugs):
> ArgumentError: dump format error(0x0)
>     bug.rb:16:in `load'
>     bug.rb:16:in `assert_roundtrip'
>     bug.rb:8:in `test_dump_symbol_bug'
> 
> 2 tests, 1 assertions, 0 failures, 1 errors, 0 skips
> 
> RESULT = 256
> 
> VERSION = 1.9.1-p430
> CMD     = ~/.multiruby/install/1.9.1-p430/bin/ruby bug.rb
> 
> Loaded suite bug
> Started
> .E
> Finished in 0.000447 seconds.
> 
>   1) Error:
> test_dump_symbol_bug(TestMarshalBugs):
> ArgumentError: dump format error(0x0)
>     bug.rb:16:in `load'
>     bug.rb:16:in `assert_roundtrip'
>     bug.rb:8:in `test_dump_symbol_bug'
> 
> 2 tests, 1 assertions, 0 failures, 1 errors, 0 skips
> 
> RESULT = 256
> 
> ... skipping output from 1.9.2
> 
> TOTAL RESULT = 5 failures out of 9
> 
> Passed: 1.9.2-p0, 1.9.1-p129, 1.8.6-p399, 1.8.7-p302
> Failed: 1.9.1-p429, 1.9.1-p430, 1.9.1-p243, 1.9.1-p376, 1.9.1-p378

In This Thread

Prev Next