[#111472] [Ruby master Bug#19274] Error installing ruby 3.2.0 on RH 8 — "aalllop (Alberto Allegue) via ruby-core" <ruby-core@...>
Issue #19274 has been reported by aalllop (Alberto Allegue).
5 messages
2022/12/28
[#111508] Data support for versions before 3.2.0 — Eustáquio Rangel via ruby-core <ruby-core@...>
I was wondering that every piece of code (gems, etc) that use the new Data =
3 messages
2022/12/29
[ruby-core:111324] [Ruby master Bug#13485] MinGW TestEnumerable#test_callcc SEGV info
From:
"MSP-Greg (Greg L) via ruby-core" <ruby-core@...>
Date:
2022-12-17 22:30:30 UTC
List:
ruby-core #111324
Issue #13485 has been updated by MSP-Greg (Greg L).
Not sure about what/when/where, but this test is passing and there is no longer a patch in ruby-loco.
Hence, ok to close. Sorry.
----------------------------------------
Bug #13485: MinGW TestEnumerable#test_callcc SEGV info
https://bugs.ruby-lang.org/issues/13485#change-100701
* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.5.0dev (2017-04-18 trunk 58397) [x64-mingw32]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Re the patch needed in MinGW builds for [TestEnumerable#test_callcc](https://github.com/ruby/ruby/blob/d6873af4bdc99914f20f6184966fa840c91bdf10/test/ruby/test_enum.rb#L559-L570) (file `test/ruby/test_enum.rb`), I ran the following code with `--disable-gems`:
```ruby
require_relative '<path to ruby>/lib/ruby/2.5.0/x64-mingw32/continuation.so'
1000.times {
c = nil
o = Object.new
class << o; self; end.class_eval do
define_method(:<=>) do |x|
callcc {|c2| c ||= c2 }
0
end
end
ary = [o,o]
begin
ary.sort_by {|x| x }
c.to_s ; c.call
rescue
end
}
```
Attached is a file with the code and the SEGV output when running. I removed the ruby path to shorten it.
Note that if the line -
```ruby
c.to_s ; c.call
```
is replaced with -
```ruby
c.call
```
my system hangs/stops. No output, no response; have to force the command window closed...
---Files--------------------------------
TestEnumerable#call_cc_SEGV.txt (4.01 KB)
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/