Project

General

Profile

Activity

From 04/01/2022 to 04/07/2022

04/07/2022

04:12 PM Bug #18684: Support for out of source build
Please precisely write what you did. The following process works well for me.
```
$ tar xf ruby-3.1.1.tar.gz
$ m...
mame (Yusuke Endoh)
11:47 AM Bug #18684 (Closed): Support for out of source build
Trying out of source build, it fails:
~~~
... snip ...
compiling ../ruby-3.1.1/vm_sync.c
compiling ../ruby-3....
vo.x (Vit Ondruch)
03:49 PM Bug #18680: The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
Yea. The #atime method has "-> time" ... whatever is decided, the four methods: #atime, #ctime, #mtime, and #birthti... pedz (Perry Smith)
07:55 AM Bug #18680: The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
I guess that "aTime" means "a Time" or "an instance of Time". There is no strict rule for writing rdoc AFAIK, but I d... mame (Yusuke Endoh)
11:03 AM Bug #18681: crashes when built with AddressSanitizer (clang build)
mame (Yusuke Endoh) wrote in #note-2:
> I couldn't reproduce the issue. Can you build it with a simple configuration,...
a-shvedov (a-shvedov a-shvedov)
08:20 AM Bug #18681: crashes when built with AddressSanitizer (clang build)
I couldn't reproduce the issue. Can you build it with a simple configuration, i.e., without ASAN and without `-j45`? mame (Yusuke Endoh)
07:21 AM Bug #18679 (Rejected): Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
It seems clear that this isn't a Ruby bug. So I'm closing this issue. But please feel free to continue discussing the... duerst (Martin Dürst)
07:10 AM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
@taf2, in that case it's indeed a `$LANG` problem. byroot (Jean Boussier)
02:15 AM Bug #18487 (Closed): Kernel#binding behaves differently depending on implementation language of items on the stack
Applied in changeset commit:git|0b091fdac6ceb33b7379ceddc9a49a79d0e158b2.
----------
Raise RuntimeError if Kernel#bi...
jeremyevans (Jeremy Evans)

04/06/2022

07:07 PM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
@byroot thank you! that was it on intel: Encoding.default_internal
=> #<Encoding:UTF-8>
On arm:
Encoding.defau...
taf2 (Todd Fisher)
11:54 AM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
My bet would be the locale is not set properly on the arm machine.
`locale` probably shows `C` or `POSIX` and many t...
Eregon (Benoit Daloze)
07:25 AM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
You might want to look at wether `Encoding.default_internal` and `Encoding.default_external` matches on your two plat... byroot (Jean Boussier)
05:45 PM Feature #18683: Allow to create hashes with a specific capacity.
That's a good point.
I suppose it could be worked around with either:
- A positional argument: `Hash.new(nil,...
byroot (Jean Boussier)
04:47 PM Feature #18683: Allow to create hashes with a specific capacity.
This would break backwards compatibility:
```ruby
Hash.new(capacity: 1000)[nil]
# => {:capacity=>1000}
```
jeremyevans0 (Jeremy Evans)
10:55 AM Feature #18683 (Closed): Allow to create hashes with a specific capacity.
Various protocol parsers such as Redis `RESP3` or `msgpack`, have to create hashes, and they know the size in advance... byroot (Jean Boussier)
09:22 AM Bug #18682 (Closed): doc: raise also accepts instances
I think it is the case of "another object that returns an Exception object hen sent an exception message".
In other ...
mame (Yusuke Endoh)
09:03 AM Bug #18682 (Closed): doc: raise also accepts instances
https://ruby-doc.org/core-3.1.1/Kernel.html#method-i-raise says
```
Otherwise, the first parameter should be an E...
akim2 (Akim Demaille)
08:41 AM Bug #18681 (Closed): crashes when built with AddressSanitizer (clang build)
Have the error-message in log then build ruby interpreter:
``` shell
building .ext/include/x86_64-linux/rb_mjit_min...
a-shvedov (a-shvedov a-shvedov)

04/05/2022

11:29 PM Bug #18487: Kernel#binding behaves differently depending on implementation language of items on the stack
The previous commit failed with VM assertion error when compiling with `-DRUBY_DEBUG=1 -DRGENGC_CHECK_MODE=2`. I've ... jeremyevans0 (Jeremy Evans)
10:57 PM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
First, if the error says Encoding::UndefinedConversionError, then I think it's not related to iconv, because iconv on... duerst (Martin Dürst)
08:21 PM Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
I found some additional insight... on Intel we can puts File.read("this-file-contains-utf8") # and no crash
On arm...
taf2 (Todd Fisher)
08:02 PM Bug #18679 (Rejected): Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
We are facing an issue only when running ruby on arm from amazon linux. In some cases when we puts a string we'll r... taf2 (Todd Fisher)
08:08 PM Bug #18680 (Closed): The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
I think it returns Time (not aTime). This is true for three of the four "time" methods.
I would not mind making a...
pedz (Perry Smith)
02:36 PM Bug #18673 (Closed): Anonymous block forwarding fails when combined with keyword arguments
Applied in changeset commit:git|3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6.
----------
Fix using anonymous block in me...
jeremyevans (Jeremy Evans)
09:55 AM Bug #18625 (Closed): ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
Eregon (Benoit Daloze)
09:52 AM Bug #18625: ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
I merged https://github.com/ruby/ruby/pull/5684, which is Jeremy's PR + a needed update of rspec-mocks + [a NEWS entr... Eregon (Benoit Daloze)
01:24 AM Bug #18678 (Closed): Crash on Mac - vm_call0_cfunc_with_frame
Somehow referencing a variable that didn't exist caused a crash. Happened once, I haven't been able to replicate.
...
djberg96 (Daniel Berger)

04/04/2022

11:05 PM Bug #18673: Anonymous block forwarding fails when combined with keyword arguments
I submitted a pull request to fix this issue: https://github.com/ruby/ruby/pull/5761 jeremyevans0 (Jeremy Evans)
09:55 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
vo.x (Vit Ondruch) wrote in #note-27:
> vo.x (Vit Ondruch) wrote in #note-25:
>
> I have put together https://git...
vo.x (Vit Ondruch)
09:27 AM Bug #18677 (Assigned): BigDecimal#power (**) returns FloatDomainError when passing an infinite parameter
Example:
```ruby
> BigDecimal(10) ** BigDecimal("Infinity")
FloatDomainError: Computation results in 'Infinity'
...
dorianmariefr (Dorian Marié)
02:08 AM Bug #18676: Misleading Documentation/Bug: Incorrect File.position on a file opened with "a" mode
Makes sense. apatniv (Vivek Ak)
01:13 AM Bug #18676: Misleading Documentation/Bug: Incorrect File.position on a file opened with "a" mode
apatniv (Vivek Ak) wrote in #note-2:
> Hi Jeremy. Thanks you for your response. Should we update the documentation t...
jeremyevans0 (Jeremy Evans)
01:00 AM Bug #18676: Misleading Documentation/Bug: Incorrect File.position on a file opened with "a" mode
Hi Jeremy. Thanks you for your response. Should we update the documentation to indicate the same so that it help anyo... apatniv (Vivek Ak)
12:38 AM Bug #18676 (Rejected): Misleading Documentation/Bug: Incorrect File.position on a file opened with "a" mode
apatniv (Vivek Ak) wrote:
> Examining the offset in /proc filesytem
> ``` shell
> ->cat /proc/22675/fdinfo/7
> p...
jeremyevans0 (Jeremy Evans)
02:02 AM Bug #18455: `IO#close` has poor performance and difficult to understand semantics.
ioquatix (Samuel Williams) wrote in #note-4:
> @shyouhei what was the point of https://github.com/ioquatix/ruby/comm...
shyouhei (Shyouhei Urabe)

04/03/2022

08:56 PM Bug #18676 (Rejected): Misleading Documentation/Bug: Incorrect File.position on a file opened with "a" mode
Documentation says that whenever a file is opened in "a" mode, the stream is positioned at the end of stream. However... apatniv (Vivek Ak)

04/02/2022

10:34 PM Bug #16672: net/http leaves original content-length header intact after inflating response
That's great, thank you! st0012 (Stan Lo)
09:52 PM Bug #16672 (Open): net/http leaves original content-length header intact after inflating response
I reverted the commit for now. I'll try testing the proposed fix in the coming week. jeremyevans0 (Jeremy Evans)
08:34 PM Bug #16672: net/http leaves original content-length header intact after inflating response
@MSP-Greg I've also noticed this today and reported it in the net/http repo: https://github.com/ruby/net-http/issues/... st0012 (Stan Lo)
07:59 PM Bug #16672: net/http leaves original content-length header intact after inflating response
I posted a comment in the commit, see https://github.com/ruby/ruby/commit/58adb1636be32fb95173f01e448673dbae4511b0#co... MSP-Greg (Greg L)

04/01/2022

11:22 PM Feature #18675: Add new exception class for resolv timeouts
From reviewing the code, `Resolv::ResolvTimeout` is an exception class used for internal control flow, and not expect... jeremyevans0 (Jeremy Evans)
06:33 PM Feature #18675 (Open): Add new exception class for resolv timeouts
I have 2.7.4 but I also checked 3.0, same code in resolv.rb.
to reproduce:
```
irb(main):001:0> require 'resolv'...
geffatpier64 (Geff Hanoain)
05:49 PM Bug #16672 (Closed): net/http leaves original content-length header intact after inflating response
Applied in changeset commit:git|58adb1636be32fb95173f01e448673dbae4511b0.
----------
[ruby/net-http] Update the cont...
jeremyevans (Jeremy Evans)
03:28 PM Bug #18487 (Open): Kernel#binding behaves differently depending on implementation language of items on the stack
jeremyevans0 (Jeremy Evans)
02:46 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
Not sure what `$installed_list` is good for, but the extensions as build currently are very likely not listed there. ... vo.x (Vit Ondruch)
12:46 PM Feature #18619 (Closed): Reverse the order of GC Compaction cursor movement
Applied in changeset commit:git|76572e5a7fc0ffde6501fd9a8c034bb621f11688.
----------
[Feature #18619] Reverse the or...
eightbitraptor (Matt V-H)
11:37 AM Feature #18611: Promote best practice for combining multiple values into a hash code
> Including the class is often (maybe even always?) unnecessary, and does impact performance.
Could you elaborate ...
byroot (Jean Boussier)
11:30 AM Feature #16978: Ruby should not use realpath for __FILE__
In the end RubyGems decided to leave `__FILE__` due to this behaviour at all. If I understand Jeremy's original reaso... retro (Josef Šimánek)
08:51 AM Bug #18674 (Closed): Build failure `make up` with WSL2
When I invoked `make up` on WSL2 environment. It failed when generating `ripper.c`
The error message is here.
`...
hsbt (Hiroshi SHIBATA)
07:52 AM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
Why Ruby depends to `_pioinfo` is
* to associate socket and fd: CRuby creates fd with dummy file handle and set sock...
naruse (Yui NARUSE)
 

Also available in: Atom