Project

General

Profile

Activity

From 06/11/2021 to 06/17/2021

06/17/2021

10:29 PM Bug #17993 (Third Party's Issue): Ruby process stuck in rb_sigwait_sleep
jeremyevans0 (Jeremy Evans)
10:17 PM Bug #17993: Ruby process stuck in rb_sigwait_sleep
I think I have tracked the problem to libev. Kudu uses libev for its reactor, and libev installs a signal handler fo... cout (Paul Brannan)
02:07 AM Bug #17993: Ruby process stuck in rb_sigwait_sleep
As far as I can tell looking at the kudu source, none of the threads created by the kudu library installs a SIGCHLD h... cout (Paul Brannan)
01:30 AM Bug #17993: Ruby process stuck in rb_sigwait_sleep
I doubt if installation of `SIGCHLD` handler is relevant. It is true that the handler for `SIGCHLD` is changed in `We... xtkoba (Tee KOBAYASHI)
12:02 AM Bug #17993: Ruby process stuck in rb_sigwait_sleep
Is the `build_client` function installing a SIGCLD handler? The code path in the backtrace is what is taken when #sys... jeremyevans0 (Jeremy Evans)
07:39 PM Bug #14391: Integer#digitsが遅い
This issue still exists in the master branch. I've submitted a pull request for @tompng's patch: https://github.com/... jeremyevans0 (Jeremy Evans)
07:29 PM Bug #14137 (Closed): Windows / MinGW - Regexp - Character Properties - General Category
I tested this using RubyInstaller versions on Windows. This appears related to regexp encoding, and not a bug, with ... jeremyevans0 (Jeremy Evans)
07:14 PM Bug #17998: ractor: process hanging (with ractors initialized, but not being used)
This reproduces for me on x86_64-linux using HoneyryderChuck/minitest issue-872 873ffd8.
In addition to hanging, t...
xtkoba (Tee KOBAYASHI)
01:45 PM Bug #17998 (Closed): ractor: process hanging (with ractors initialized, but not being used)
I couldn't figure out how to reproduce this in a more contained way, so I'll share what I'm doing [in this minitest b... chucke (Tiago Cardoso)
07:12 PM Bug #14456: Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
This is still an issue in the master branch. The problem can be solved by actually ignoring `File::FNM_CASEFOLD`, whi... jeremyevans0 (Jeremy Evans)
06:35 PM Revision 0a36cab1 (git): Enable USE_ISEQ_NODE_ID by default
... which is formally called EXPERIMENTAL_ISEQ_NODE_ID.
See also ff69ef27b06eed1ba750e7d9cab8322f351ed245.
https://...
mame (Yusuke Endoh)
06:35 PM Revision dfba87cd (git): Make it possible to get AST::Node from Thread::Backtrace::Location
RubyVM::AST.of(Thread::Backtrace::Location) returns a node that
corresponds to the location. Typically, the node is a...
mame (Yusuke Endoh)
06:35 PM Revision ea606289 (git): Remove LOCATION_TYPE_ISEQ_CALCED state from Backtrace::Location
Previously Backtrace::Location had two possible states:
LOCATION_TYPE_ISEQ and LOCATION_TYPE_ISEQ_CALCED. The former ...
mame (Yusuke Endoh)
05:44 PM Feature #17994: Clarify `IO.read` behavior and add `File.read` method
mame (Yusuke Endoh) wrote in #note-2:
> BTW, do you have any concern against merging my current PR? It just clarifie...
jeremyevans0 (Jeremy Evans)
05:29 PM Feature #17994: Clarify `IO.read` behavior and add `File.read` method
Jeremy, thanks you for your comment.
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Honestly, I don't think `rea...
mame (Yusuke Endoh)
07:06 AM Feature #17994: Clarify `IO.read` behavior and add `File.read` method
My only concern is that File isn't the only subclasses of IO. There are also:
```
UNIXServer
UNIXSocket
UDPSoc...
jeremyevans0 (Jeremy Evans)
03:01 AM Feature #17994 (Open): Clarify `IO.read` behavior and add `File.read` method
`IO.read` creates a subprocess when a given file name starts with a `|` character.
```
irb(main):001:0> IO.read("...
mame (Yusuke Endoh)
05:40 PM Bug #14409: インストール手順の改善
I believe this is asking for a section on build requirements to be added to the README, which seems useful for me. I... jeremyevans0 (Jeremy Evans)
05:34 PM Revision ed3e30fc (git): * 2021-06-18 [ci skip]
git[bot]
05:34 PM Revision fb01411a (git): node.h: Reduce struct size to fit with Ruby object size (five VALUEs)
by merging `rb_ast_body_t#line_count` and `#script_lines`.
Fortunately `line_count == RARRAY_LEN(script_lines)` was ...
mame (Yusuke Endoh)
05:34 PM Revision acae5f36 (git): ast.rb: RubyVM::AST.parse and .of accepts `save_script_lines: true`
This option makes the parser keep the original source as an array of
the original code lines. This feature exploits t...
mame (Yusuke Endoh)
05:33 PM Misc #17997: DevelopersMeeting20210715Japan
* [Feature #17994] Clarify `IO.read` behavior and add `File.read` method (mame)
* Jeremy pointed that `Socket.read...
mame (Yusuke Endoh)
09:30 AM Misc #17997 (Closed): DevelopersMeeting20210715Japan
# The next dev meeting
**Date: 2021/07/15 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee...
mame (Yusuke Endoh)
04:14 PM Bug #14591 (Assigned): Files with invalid multi-byte characters will cause Find::find() to raise EINVAL exception
After giving this some more thought, I agree that find should ignore EINVAL errors, just as it ignores similar errors... jeremyevans0 (Jeremy Evans)
04:05 PM Feature #17992: Upstreaming the htmlentities gem into CGI#.(un)escape_html
I don't know anything about anything, but having a basic-but-fast operation that only does the bare minimum for secur... AMomchilov (Alexander Momchilov)
03:58 PM Bug #14716 (Closed): SecureRandom throwing an error in Ruby 2.5.1
jeremyevans0 (Jeremy Evans)
03:02 PM Bug #17098 (Rejected): Float#negative? reports negative zero as not negative
jeremyevans0 (Jeremy Evans)
05:47 AM Bug #17098: Float#negative? reports negative zero as not negative
Unless there's any particular (real-world) reason to distinguish floating positive zero and negative zero, I'd like t... matz (Yukihiro Matsumoto)
02:58 PM Revision c639b588 (git): Refactor heap_set_increment
heap_set_increment essentially only calls heap_allocatable_pages_set.
They only differ in behaviour when `additional_...
peterzhu2118 (Peter Zhu)
02:51 PM Feature #12913: A way to configure the default maximum width of pp
mame (Yusuke Endoh) wrote in #note-12:
> We discussed this issue in today's dev-meeting. @akr suggested that
>
> ...
jeremyevans0 (Jeremy Evans)
09:25 AM Feature #12913: A way to configure the default maximum width of pp
We discussed this issue in today's dev-meeting. @akr suggested that
1. To make the default size to be io/console's...
mame (Yusuke Endoh)
02:37 PM Bug #16835 (Rejected): SIGCHLD + system new behavior on 2.6
We discussed this ticket at today's dev-meeting. We agreed that we should change nothing for this.
Indeed it looke...
mame (Yusuke Endoh)
02:24 PM Feature #17930: Add column information into error backtrace
I brought this ticket to the agenda of today's dev-meeting, and confirmed that matz has already accepted this.
The...
mame (Yusuke Endoh)
02:10 PM Misc #17888 (Closed): "What's Here" section for class and module documentation
We discussed this ticket in today's dev-meeting.
Many committers agreed that the categorized method list with one-...
mame (Yusuke Endoh)
01:33 PM Feature #13396: Net::HTTP has no write timeout
There's an open issue on `Net::HTTP#write_timeout` not working when `body_stream` is used: https://bugs.ruby-lang.org... miguelfteixeira (Miguel Teixeira)
09:58 AM Bug #11779: Module#using does not make sense as a method
`Module#using` has a granularity of "constant lexical scope", i.e., a scope that is only changed by `module` or `clas... Eregon (Benoit Daloze)
07:19 AM Feature #17763: Implement cache for cvars
It seems great. The code complexity is my concern. But I agree with trying it.
Matz.
matz (Yukihiro Matsumoto)
06:54 AM Feature #16962 (Feedback): Make IO.for_fd autoclose option default to false
akr (Akira Tanaka)
06:53 AM Feature #16962: Make IO.for_fd autoclose option default to false
We don't close 0 (stdin), 1 (stdout), 2 (stderr) because
they can be used from various library.
If we close 2, ne...
akr (Akira Tanaka)
06:15 AM Bug #16951 (Assigned): Consistently referer dependencies
hsbt (Hiroshi SHIBATA)
05:46 AM Bug #17561: The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
About 2.7, to make raise `ArgumentError` (or other exception) is not acceptable because it's **stable* branch.
I str...
usa (Usaku NAKAMURA)
05:30 AM Bug #17887: Missed constant lookup after prepend
I agree it should be a bug. @nobu, could you review @jeremyevans's patch? I'd like to see if the fix causes any compa... matz (Yukihiro Matsumoto)
03:59 AM Bug #17996 (Closed): Cygwin: thread + pipe behavior since Ruby 2.6
The following one-liner is the repro named `thread-pipe-read-close.rb` the aim of which is essentially the same as th... xtkoba (Tee KOBAYASHI)
03:28 AM Bug #17995 (Closed): Slow down when mjit and Ractor are being used at same time

When using --jit and Ractor at same time, benchmark would be slow down with recursion function such like Tarai func...
nekoyama32767 (Jinsong Yu)
03:28 AM Revision 95ef5459 (git): [rubygems/rubygems] Close then unlink tempfiles on Windows
In ruby/ruby test actions, number of "leaked tempfile" messages
are shown on Windows.
As Windows disallows removing ...
nobu (Nobuyoshi Nakada)
01:13 AM Revision e4f891ce (git): Adjust styles [ci skip]
* --braces-after-func-def-line
* --dont-cuddle-else
* --procnames-start-lines
* --space-after-for
* --space-after-if
...
nobu (Nobuyoshi Nakada)

06/16/2021

11:37 PM Bug #14479: Exceptions raised from a :call tracepoint can sometimes be "rescued" inside the method
This is still an issue in the master branch. I've submitted a pull request that should fix the problem: https://gith... jeremyevans0 (Jeremy Evans)
09:09 PM Revision 4e097226 (git): * 2021-06-17 [ci skip]
git[bot]
09:09 PM Revision c1a7e86f (git): * expand tabs. [ci skip]
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor con...
git[bot]
09:09 PM Revision c10d5085 (git): Enable frozen_string_literal in builtin_iseq_load
Currently this has a fairly minor effect as strings are not used heavily
inside the builtins (outside of warnings, re...
jhawthorn (John Hawthorn)
08:18 PM Bug #17993 (Third Party's Issue): Ruby process stuck in rb_sigwait_sleep
I have a very simple client for kudu (https://kudu.apache.org/) implement as a wrapper that I invoke with FFI. After... cout (Paul Brannan)
08:12 PM Bug #15779: After NoMemoryError, ruby freezes and takes 100% CPU
This is still an issue in the master branch. I've submitted a pull request for it: https://github.com/ruby/ruby/pull... jeremyevans0 (Jeremy Evans)
07:46 PM Feature #14835: Support TracePoint#raised_exception on non-:raise events
I looked into this, and with the current TracePoint design, it does not appear possible. For `:raise` events, the `r... jeremyevans0 (Jeremy Evans)
06:48 PM Bug #15465 (Closed): Tests failed on i386-cygwin
jeremyevans0 (Jeremy Evans)
06:47 PM Bug #15587 (Closed): Thread tests failing
Ruby 2.6 is in security maintenance mode, and this does not appear to be a security issue. CI testing on AppVeyor sho... jeremyevans0 (Jeremy Evans)
05:53 PM Bug #15993 (Closed): 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
This appears to be fixed starting in Ruby 2.7 (also works in 3.0):
```
D:\Евгений>C:\Ruby26-x64\bin\ruby -I D:\Ев...
jeremyevans0 (Jeremy Evans)
05:41 PM Bug #15655 (Closed): Unable to handle Russian dirname on Windows
This appears to be fixed starting in Ruby 2.5 (also works in 2.6, 2.7, and 3.0):
```
C:\>C:\Ruby24-x64\bin\gem li...
jeremyevans0 (Jeremy Evans)
05:32 PM Bug #15674 (Closed): Regression: ObjectSpace.allocation_sourceline produces the wrong location for allocations, it shows the end of the method instead of the line where the object was created
This is fixed in Ruby 2.7.3 (and also works in 3.0.1 and master). As Ruby 2.6 is in security maintenance mode, the c... jeremyevans0 (Jeremy Evans)
05:00 PM Bug #16368 (Closed): Error in `YAML.load(symbolize_names: true)` with null column YAML
https://github.com/ruby/psych/pull/480 was merged, which fixed this issue. jeremyevans0 (Jeremy Evans)
04:57 PM Bug #16475 (Closed): [Installation process - compiling ruby 2.7.0 from source} "make install" step oddity for ruby 2.7.0 on linux mint (debian base)
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #16608: ConditionVariable#wait should return false when timeout exceeded
I submitted a pull request to rbs to fix the failure (https://github.com/ruby/rbs/pull/683) I also updated the ruby p... jeremyevans0 (Jeremy Evans)
03:41 PM Bug #16674 (Closed): Build issue of FreeBSD 12
commit:78677f105df79e45dec451b56947509fc71c6f57 fixed this issue for the master branch. It was backported to 3.0 in c... jeremyevans0 (Jeremy Evans)
03:26 PM Bug #17212 (Closed): FreeBSDで3.0.0-preview1のビルドが失敗する
I believe this was fixed by commit:78677f105df79e45dec451b56947509fc71c6f57, which disabled dtrace by default when bu... jeremyevans0 (Jeremy Evans)
03:02 PM Feature #17845: Windows Ruby - ucrt build?
@larkanis
> Do you want to switch your ruby-logo build to UCRT as well or add it as another architecture?
I thi...
MSP-Greg (Greg L)
02:08 PM Feature #17845: Windows Ruby - ucrt build?
The [rubyinstaller-head nightly build](https://github.com/oneclick/rubyinstaller2/releases/tag/rubyinstaller-head) is... larskanis (Lars Kanis)
12:16 PM Feature #17845: Windows Ruby - ucrt build?
On Mingw-w64 `_CrtSetReportMode` is defined in `crtdbg.h` as
```
#define _CrtSetReportMode(t,f) ((int)0)
```
th...
xtkoba (Tee KOBAYASHI)
09:36 AM Feature #17845: Windows Ruby - ucrt build?
Thank you @xtkoba for working on this! I replaced my previous patches by the above patches [in rubyinstaller2-package... larskanis (Lars Kanis)
02:52 PM Bug #16840 (Closed): Decrease in Hash#[]= performance with object keys
Apparently this case was optimized in Ruby 3.0. Using the benchmark code provided:
```
$ for x in 25 26 27 30; d...
jeremyevans0 (Jeremy Evans)
02:28 PM Bug #17945 (Closed): Date::Infinity comparison <=> with Float::INFINITY not symmetric
jeremyevans0 (Jeremy Evans)
01:23 PM Revision 2b17d2f2 (git): [ruby/net-protocol] Get rid of `__send__`
Mitigate the security risk:
https://devcraft.io/2021/01/07/universal-deserialisation-gadget-for-ruby-2-x-3-x.html
ht...
nobu (Nobuyoshi Nakada)
09:16 AM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
One potential issue with caching the non-blocking state in Ruby is that a C extension might call fcntl() directly on ... Eregon (Benoit Daloze)
07:10 AM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
> In the uring backend, for read/write operations, set the IO to blocking and then revert it afterwards.
Why would...
ciconia (Sharon Rosner)
05:06 AM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
Thanks @normalperson - I understand you aren't interested much in Ruby but wish you the best. Thanks for chiming in p... ioquatix (Samuel Williams)
12:57 AM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
[email protected] wrote:
> I welcome discussion on this point, but for certain, I believe
> Ruby being non-...
normalperson (Eric Wong)
09:15 AM Bug #16921: s390x: random test failures for timeout or segmentation fault
If someone will still see the issue, please let us know.
jaruga (Jun Aruga)
09:12 AM Bug #16921 (Closed): s390x: random test failures for timeout or segmentation fault
I have not seen this issue for a while on the Fedora s390x build server. I also have not seen it on Travis s390x pipe... jaruga (Jun Aruga)
05:31 AM Revision f4640f64 (git): Fixed comments in cmd.exe script [ci skip]
nobu (Nobuyoshi Nakada)
04:33 AM Revision f136c1ec (git): Removed redundant NUM2IOCTLREQ definition [Bug #17759]
Fix up c2d9967f78d2e6f93f8d9876c2b3ab25aa6b86e7. nobu (Nobuyoshi Nakada)
04:17 AM Bug #17759 (Closed): Correct `ioctl_req_t` for musl
Applied in changeset commit:git|c2d9967f78d2e6f93f8d9876c2b3ab25aa6b86e7.
----------
Configure ioctl request argumen...
nobu (Nobuyoshi Nakada)
04:17 AM Revision c2d9967f (git): Configure ioctl request argument type [Bug #17759]
nobu (Nobuyoshi Nakada)
03:57 AM Feature #17992: Upstreaming the htmlentities gem into CGI#.(un)escape_html
Note that escaping and unescaping are not symmetric. There may be a point in keeping escaping to the minimum for perf... sawa (Tsuyoshi Sawada)
02:30 AM Bug #17986: Ractor is stdlib Socket unfriendly
This hack has a limitation which i faced with specs.
For socket testing purposes i have i small [class](https://gi...
kvokka (Mike Beliakov)
12:27 AM Bug #15621 (Closed): system({}, ...) breaks nonascii ENV["PATH"] on Windows
Starting in Ruby 3.0, it appears `ENV["PATH"]` is unmodified after the call to `system`. In prior versions of Ruby, ... jeremyevans0 (Jeremy Evans)
12:18 AM Bug #16186 (Closed): Calling Net::HTTP from within an #inspect implementation hang when invoked from p
I tested this and it appears fixed by commit:63a5412db7138297a2e7513067ef80dad7a3b4b4. It may be worthwhile to backp... jeremyevans0 (Jeremy Evans)
12:11 AM Bug #16759 (Closed): MinGW 2.5 - SEGV bug with Binding#local_variable_set
As this appears fixed in Ruby 2.6+, and Ruby 2.5 is out of support, I'm going to close this. jeremyevans0 (Jeremy Evans)

06/15/2021

11:46 PM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
This change was originally proposed and implemented by @normalperson.
The outward interface does not change, but you...
ioquatix (Samuel Williams)
11:19 PM Bug #17618 (Closed): Exceptions in Fiber Scheduler causes a segv
jeremyevans0 (Jeremy Evans)
11:16 PM Bug #17655 (Closed): Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
jeremyevans0 (Jeremy Evans)
11:06 PM Bug #17726 (Closed): `respond_to_missing?` doesn't raise when called from `defined?`
jeremyevans0 (Jeremy Evans)
10:37 PM Bug #17803: Segmentation fault during deflate
I've submitted a pull request to fix this issue using a mutex: https://github.com/ruby/zlib/pull/27
It passes the ...
jeremyevans0 (Jeremy Evans)
10:04 PM Bug #17986: Ractor is stdlib Socket unfriendly
> I don't think the behavior you are showing is a bug, so I think this should be closed. However, I'll wait for a wh... kvokka (Mike Beliakov)
04:13 AM Bug #17986: Ractor is stdlib Socket unfriendly
The code you are showing (`make_shareable` with a socket) is broken because in order to be shareable, an object must ... jeremyevans0 (Jeremy Evans)
01:37 AM Bug #17986 (Closed): Ractor is stdlib Socket unfriendly
**Description**
In the process of playing with Ractors was found, that there is no way to use stdlib Sockets.
M...
kvokka (Mike Beliakov)
09:48 PM Feature #17992: Upstreaming the htmlentities gem into CGI#.(un)escape_html
k0kubun (Takashi Kokubun) wrote in #note-1:
> Could you clarify a bit more context about why you'd like to escape th...
AMomchilov (Alexander Momchilov)
08:50 PM Feature #17992 (Feedback): Upstreaming the htmlentities gem into CGI#.(un)escape_html
Could you clarify a bit more context about why you'd like to escape these characters not supported in `CGI.escapeHTML... k0kubun (Takashi Kokubun)
08:17 PM Feature #17992 (Feedback): Upstreaming the htmlentities gem into CGI#.(un)escape_html
Hi there,
I was looking to unescape some HTML entities in a String, and I discovered that `CGI#.(un)escape_html` i...
AMomchilov (Alexander Momchilov)
07:36 PM Bug #17946: win32/win32.c: `&` has lower precedence than `==`
Thank you for pointing this out. I agree that parentheses must have been intended in this case. I submitted a pull ... jeremyevans0 (Jeremy Evans)
06:26 PM Bug #17824 (Closed): Gem::Deprecate#deprecate doesn't work with method with keyword arguments
jeremyevans0 (Jeremy Evans)
06:13 PM Feature #17838 (Assigned): `Set#intersect?` and enumerables
This makes sense to me. However, there is a explicit test currently that array arguments are not accepted. So this mu... jeremyevans0 (Jeremy Evans)
06:00 PM Bug #17951: Collisions in Proc#hash values for blocks defined at the same line
I have submitted a pull request with @xtkoba's fix: https://github.com/ruby/ruby/pull/4574 jeremyevans0 (Jeremy Evans)
05:59 PM Bug #17839 (Closed): Windows CI failures with net/http - fix at ruby/net-http
jeremyevans0 (Jeremy Evans)
05:58 PM Bug #17875 (Closed): Segfault when reusing a closed Fiber scheduler inside a Thread
jeremyevans0 (Jeremy Evans)
05:57 PM Bug #17864 (Closed): [BUG] try to mark T_NONE object (in Ractors)
jeremyevans0 (Jeremy Evans)
05:57 PM Bug #17855 (Closed): [BUG] object allocation during garbage collection phase
jeremyevans0 (Jeremy Evans)
05:42 PM Bug #17945: Date::Infinity comparison <=> with Float::INFINITY not symmetric
I've submitted a pull request upstream to fix this: https://github.com/ruby/date/pull/34 jeremyevans0 (Jeremy Evans)
05:18 PM Misc #17886: DevelopersMeeting20210617Japan
* [Feature #17763] Add an inline cache for class variables
* This seems to speed up Rails applications at the cost...
tenderlovemaking (Aaron Patterson)
03:30 PM Bug #17991: [TEST, CRASH] TestBugReporter#test_bug_reporter_add
Patch for add2line somehow helped:
```
fedora-rawhide gcc 11.1.1 now ok
voidlinux 10.2.1 still ok
```
4 crashes are g...
tankf33der (Mike P)
02:55 PM Bug #17991: [TEST, CRASH] TestBugReporter#test_bug_reporter_add
Current summary:
```
all gcc below:
fedora-rawhide 11.1.1 - crash
archlinux 11.1.0 - ok
voidlinux 10.2.1 - ok
alpine...
tankf33der (Mike P)
01:34 PM Bug #17991: [TEST, CRASH] TestBugReporter#test_bug_reporter_add
This reminds me of #17794. Could you try the patch in #17794 (https://bugs.ruby-lang.org/attachments/8822) and see if... xtkoba (Tee KOBAYASHI)
01:26 PM Bug #17991 (Closed): [TEST, CRASH] TestBugReporter#test_bug_reporter_add
Testing host is latest Fedora Rawhide.
I see 4 tests which crashed by `double free or corruption (out)`. This is one...
tankf33der (Mike P)
03:09 PM Revision d4db18d6 (git): * 2021-06-16 [ci skip]
git[bot]
03:08 PM Revision 43ed1e68 (git): Make ext directory before extinit.c when out-of-place build
nobu (Nobuyoshi Nakada)
03:01 PM Bug #17987 (Feedback): Ruby报错
Ruby 2.6 is in security maintenance mode and this does not appear to be a security issue. Can you reproduce this cra... jeremyevans0 (Jeremy Evans)
10:46 AM Bug #17987: Ruby报错
Isn't this yet another instance of TPI?
```
Code Type: ARM-64 (Native)
(...)
6 libsystem_platform...
xtkoba (Tee KOBAYASHI)
07:13 AM Bug #17987 (Closed): Ruby报错
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details...
liuyan (岩 刘)
02:43 PM Bug #17949 (Closed): [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
jeremyevans0 (Jeremy Evans)
01:18 PM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
I believe this issue could be closed.
Fix already in the tree:
https://github.com/ruby/ruby/commit/90cad6e14745d812...
tankf33der (Mike P)
12:42 PM Revision d09f097e (git): Time#getlocal tests for [Feature #17544]
nobu (Nobuyoshi Nakada)
11:59 AM Bug #17990 (Open): Inconsistent behavior of Regexp quantifiers over characters with complex case foldings
With case insensitive Regexps, the string `"ff"` is considered equal to the string `"\ufb00"` with a single ligature ... jirkamarsik (Jirka Marsik)
11:43 AM Bug #17989 (Open): Case insensitive Regexps do not handle characters with overlapping case foldings
When a Regexp uses the case-insensitive flag, strings are compared by first case folding them and then comparing the ... jirkamarsik (Jirka Marsik)
11:42 AM Feature #17950: Unable to pattern-match against a String key
> Switching to feature request.
Makes sense. Hopefully the example of matching HTTP headers makes it a compelling ...
chucke (Tiago Cardoso)
08:58 AM Bug #17988 (Third Party's Issue): pod update on Mac mini M1 with Big Sur after moving project from iMac. Xcode 12.4
I believe that this is the same issue as #17862, #17922, and https://github.com/typhoeus/ethon/issues/193. mame (Yusuke Endoh)
08:47 AM Bug #17988 (Third Party's Issue): pod update on Mac mini M1 with Big Sur after moving project from iMac. Xcode 12.4
The pod update fails.
davidrussell@Mac-mini NowBoarding_1701 % pod update
/System/Library/Frameworks/Ruby.framework...
aardsoft (David Russell)
06:55 AM Revision b32e6c16 (git): Convert initial contents before allocating queue buffer
nobu (Nobuyoshi Nakada)
05:51 AM Bug #17561: The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
Although I can't reproduce the issue on my machine (I tried several times), I agree that this should be removed from ... Glass_saga (Masaki Matsushita)
04:50 AM Bug #17561 (Assigned): The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
@Glass_saga Could you handle this? mame (Yusuke Endoh)
04:47 AM Bug #17561: The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
confirmed on my machine:
```
$ ruby -ve "require 'resolv'; 10000.times { |i| p [i, Addrinfo.getaddrinfo('21307064...
ko1 (Koichi Sasada)
05:05 AM Bug #17098: Float#negative? reports negative zero as not negative
If you have pragmatic demands that need to distinguish `-0.0` and `+0.0`, what do you think to propose the introducti... mrkn (Kenta Murata)
04:58 AM Bug #17098: Float#negative? reports negative zero as not negative
The current behavior is consistent with the behavior of the integer zero:
```
irb(main):001:0> 0.negative?
=> fa...
mrkn (Kenta Murata)
03:04 AM Revision f0818982 (git): [ruby/ostruct] v0.4.0
https://github.com/ruby/ostruct/commit/8534f69e4e Marc-Andre Lafortune
12:35 AM Bug #17880 (Closed): [BUG] We are killing the stack canary set by `opt_setinlinecache`
Applied in changeset commit:git|2088a457981b0f71a3bfd14871ed5b6f0d090e6a.
----------
[Bug #17880] Set leaf false on ...
Anonymous
12:34 AM Revision 2088a457 (git): [Bug #17880] Set leaf false on opt_setinlinecache (#4565)
This change fixes the bug described in https://bugs.ruby-lang.org/issues/17880.
Checking `ractor_shareable_p` will c...
Eileen M. Uchitelle

06/14/2021

11:21 PM Feature #17950: Unable to pattern-match against a String key
The fact that only symbol keys are supported is documented (https://docs.ruby-lang.org/en/master/doc/syntax/pattern_m... jeremyevans0 (Jeremy Evans)
09:17 PM Bug #17984: [BUG] try to mark T_NONE object
Can you send me a core file and I can take a look? tenderlovemaking (Aaron Patterson)
09:50 AM Bug #17984 (Closed): [BUG] try to mark T_NONE object
About 1% of our CI jobs fail with this error.
If necessary I can try to find a repro, but these GC issues are hard...
byroot (Jean Boussier)
06:11 PM Bug #17985 (Closed): Ractor + GC: [BUG] not single ractor mode
The attached script (named `bug17882-gcmod.rb`) is a modification of `bootstraptest/test_ractor.rb:224` that reads:
...
xtkoba (Tee KOBAYASHI)
04:28 PM Revision a09ddfc4 (git): [lib/ostruct] Fix YAML test
Marc-Andre Lafortune
04:28 PM Revision 52369fc5 (git): [lib/ostruct] Allow overriding of `block_given?`
Marc-Andre Lafortune
03:04 PM Revision fc98602e (git): * 2021-06-15 [ci skip]
git[bot]
03:03 PM Revision edbe0e22 (git): Suppress exception report in inner thread
nobu (Nobuyoshi Nakada)
03:02 PM Revision 57eaa07b (git): Close leaked file descriptors
nobu (Nobuyoshi Nakada)
02:31 PM Revision 5dde13e5 (git): [ruby/ostruct] bump up
https://github.com/ruby/ostruct/commit/bb253be3e9 nobu (Nobuyoshi Nakada)
02:24 PM Revision 70833fab (git): Suppress gcc11 clobbered warning
nobu (Nobuyoshi Nakada)
01:53 PM Revision 931ea7cf (git): Add fallback block to `OpenStruct#delete_field` (#1409)
jfrazx
01:37 PM Revision 90cad6e1 (git): prefer cc/gcc over clang on solaris
requested by tankf33der at https://bugs.ruby-lang.org/issues/17949#change-92430 shyouhei (Shyouhei Urabe)
12:16 PM Revision b513fc2f (git): Fixed method names in exception messages
These methods are not !-suffixed, and the messages were very
confusing.
nobu (Nobuyoshi Nakada)
10:09 AM Revision 1ab71a5b (git): Fix fiber scheduler address resolve solaris tests
Bruno Sutic
10:07 AM Revision 25921fe1 (git): Revert "Suppress gcc11 clobbered warning"
This reverts commit f0f9e77b65990001bd2acb42e1c6b673f6324425. Samuel Williams
08:35 AM Bug #17951: Collisions in Proc#hash values for blocks defined at the same line
It was there since 1.9 as far as I can see https://github.com/ruby/ruby/commit/a3e1b1ce7ed7e7ffac23015fc2fde56511b306... decuplet (Nikita Shilnikov)
01:24 AM Bug #17951: Collisions in Proc#hash values for blocks defined at the same line
A possible fix:
```diff
--- a/proc.c
+++ b/proc.c
@@ -1451,7 +1451,7 @@ rb_hash_proc(st_index_t hash, VALUE prc...
xtkoba (Tee KOBAYASHI)
05:56 AM Revision 050a8954 (git): Wake up join list within thread EC context. (#4471)
* Wake up join list within thread EC context.
* Consume items from join list so that they are not re-executed.
If `...
Samuel Williams
05:11 AM Revision 626427c2 (git): Removed no longer used variables
nobu (Nobuyoshi Nakada)
05:10 AM Revision 635e1c52 (git): Pack values to preserve
nobu (Nobuyoshi Nakada)
05:09 AM Revision f0f9e77b (git): Suppress gcc11 clobbered warning
nobu (Nobuyoshi Nakada)
04:21 AM Revision 2792acc8 (git): Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)
Co-authored-by: Bruno Sutic <[email protected]> Samuel Williams
01:42 AM Bug #17947 (Closed): [SOLARIS11, SPARC] time.c compilation failed
Applied in changeset commit:git|688b217706546c2bc9a0926de246dc29d0935261.
----------
time.c: Check if defined(RUBY_M...
mame (Yusuke Endoh)
01:40 AM Revision 688b2177 (git): time.c: Check if defined(RUBY_MSVCRT_VERSION) to build on Solaris
Fixes [Bug #17947] mame (Yusuke Endoh)
01:09 AM Revision 09ea2bb0 (git): * 2021-06-14 [ci skip]
git[bot]
01:02 AM Revision 70313ec0 (git): parse.y: Fix the location of a target constant of OP_CDECL
```
p RubyVM::AbstractSyntaxTree.parse("::Foo += 1").children
#=> before: [[], nil, (OP_CDECL@1:0-1:10 (COLON3@1:0-1...
mame (Yusuke Endoh)

06/13/2021

06:40 PM Feature #17845: Windows Ruby - ucrt build?
A separate ticket for `-Wparentheses` warning issue: #17946 xtkoba (Tee KOBAYASHI)
06:26 PM Feature #17845: Windows Ruby - ucrt build?
Or should `extconf.rb` be improved to notice deprecation?
```
../../../ext/date/date_core.c:7803:17: warning: 'ti...
xtkoba (Tee KOBAYASHI)
06:18 PM Feature #17845: Windows Ruby - ucrt build?
`_WIN64` is not defined on i386-mingw32 + ucrt. xtkoba (Tee KOBAYASHI)
07:49 AM Feature #17370: Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
Here is PR.
https://github.com/ruby/ruby/pull/4375
ioquatix (Samuel Williams)
07:09 AM Bug #17880: [BUG] We are killing the stack canary set by `opt_setinlinecache`
I ran that patch on our CI, and confirm that the crash is entirely gone. Thank you! byroot (Jean Boussier)
06:38 AM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
Please disable default clang-llvm selection by default on Solaris.
All tests above passed with `CC=gcc ./configure -...
tankf33der (Mike P)
06:36 AM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
You were right, this is llvm's issue.
Ruby successfully passed all tests under GCC on Solaris SPARC.
```
...
...
...
tankf33der (Mike P)
06:12 AM Revision 32b18fe9 (git): Suppress array-parameter warnings by gcc 11
nobu (Nobuyoshi Nakada)
06:12 AM Revision 9ab6d39a (git): Added parentheses to silence sizeof-array-div warnings
As well as 2366c681166a1dab95de6b9ca8ffcaae18aadd39. nobu (Nobuyoshi Nakada)
06:12 AM Revision 9ec6c83c (git): Removed duplicate include
nobu (Nobuyoshi Nakada)
06:12 AM Revision 122ce52e (git): Check if alternative malloc header can work in C++
jemalloc (5.2.1 at least) cannot compile in C++ on macOS SDK, due
to conflicts on exception specification.
nobu (Nobuyoshi Nakada)
05:09 AM Bug #17948: Backport d74e5d5b4fba41a9120b3ed2762cf765478605ad (Crash more nicely when the VM isn't fully set up)
ruby_3_0 f0a1c063490d69f0868876deed74ad52db63cf4b merged revision(s) d74e5d5b4fba41a9120b3ed2762cf765478605ad. nagachika (Tomoyuki Chikanaga)
05:07 AM Revision f0a1c063 (git): merge revision(s) d74e5d5b4fba41a9120b3ed2762cf765478605ad: [Backport #17948]
Crash more nicely when the VM isn't fully set up
If we crash but the VM isn't fully alive, we can get an inf...
nagachika (Tomoyuki Chikanaga)
04:45 AM Revision cba92b32 (git): * 2021-06-13 [ci skip]
git[bot]
04:44 AM Revision d54f74a4 (git): Refactor rb_block_call function
rb_block_call and rb_block_call_kw have similar code.
So, using rb_block_kw function in rb_block_call function for re...
S_H_ (Shun Hiraoka)

06/12/2021

11:59 PM Bug #17951 (Closed): Collisions in Proc#hash values for blocks defined at the same line
```ruby
require 'set'
def capture(&block)
block
end
# it creates 1k of same blocks
blocks = Array.new(100...
decuplet (Nikita Shilnikov)
04:21 PM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
From #17947 I guess that Clang/LLVM is used as the compiler. There are some possible workarounds that I can think of,... xtkoba (Tee KOBAYASHI)
01:34 PM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
The simplest way to crash miniruby is exec and press Ctrl-D inside it as input.
tankf33der (Mike P)
01:32 PM Bug #17949 (Closed): [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
The same latest Solaris 11 and ruby, next crash while compiling:
```
$ gmake
...
...
compiling time.c
compiling...
tankf33der (Mike P)
03:36 PM Feature #17950 (Open): Unable to pattern-match against a String key
I'm unable to parse against an internal hash, when the internal hash contains strings as keys:
```ruby
case {stat...
chucke (Tiago Cardoso)
12:56 PM Bug #17947: [SOLARIS11, SPARC] time.c compilation failed
Confirmed. Fixed.
tankf33der (Mike P)
10:52 AM Bug #17947: [SOLARIS11, SPARC] time.c compilation failed
Can you confirm that the following patch fixes the issue?
```diff
diff --git a/time.c b/time.c
index a5c00e2aa2....
mame (Yusuke Endoh)
10:19 AM Bug #17947: [SOLARIS11, SPARC] time.c compilation failed
I can not imagine how llvm-clang ecosystem can mess define values as subject of this report. tankf33der (Mike P)
07:46 AM Bug #17947: [SOLARIS11, SPARC] time.c compilation failed
I suppose that the Ruby build system is not maintained for the combination of Solaris + Clang/LLVM. You may want to u... xtkoba (Tee KOBAYASHI)
05:18 AM Bug #17947 (Closed): [SOLARIS11, SPARC] time.c compilation failed
Compilation failed on file time.c, added line to skip error helped to see later compilation progress.
`miniruby` co...
tankf33der (Mike P)
11:17 AM Revision 146721ef (git): * 2021-06-12 [ci skip]
git[bot]
11:15 AM Revision 8366506d (git): cont.c: Replace "iff" with "if and only if"
nagachika (Tomoyuki Chikanaga)
09:15 AM Bug #17948 (Closed): Backport d74e5d5b4fba41a9120b3ed2762cf765478605ad (Crash more nicely when the VM isn't fully set up)
d74e5d5b4fba41a9120b3ed2762cf765478605ad should be backported into ruby_2_7/ruby_3_0 branches.
nagachika (Tomoyuki Chikanaga)

06/11/2021

06:49 PM Bug #17880: [BUG] We are killing the stack canary set by `opt_setinlinecache`
Aaron and I worked on a fix today: https://github.com/ruby/ruby/pull/4565
We simplified the script and were able t...
eileencodes (Eileen Uchitelle)
05:27 PM Feature #17763: Implement cache for cvars
I re-ran the benchmarks. I accidentally switched them when I pasted them into here.
Before: Rails 6.1 / Ruby maste...
eileencodes (Eileen Uchitelle)
03:41 PM Bug #17933: `Net::HTTP#write_timeout` doesn't work with `body_stream`
I've created a pull request in the [Ruby Net::HTTP Github project](https://github.com/ruby/net-http) with the propose... miguelfteixeira (Miguel Teixeira)
10:01 AM Feature #17930: Add column information into error backtrace
mame (Yusuke Endoh) wrote in #note-14:
> If needed, we can implement `Thread::Backtrace::Location#code_location` by ...
Eregon (Benoit Daloze)
01:28 AM Feature #17845: Windows Ruby - ucrt build?
Pattern matching for `target_os` in configure script should be permissive if we consider suffixing something onto "mi... xtkoba (Tee KOBAYASHI)
12:26 AM Bug #17946 (Closed): win32/win32.c: `&` has lower precedence than `==`
A warning in [win32/win32.c:2600](https://github.com/ruby/ruby/blob/9210f8df7ff23f06c03dedf9f89fd8ab902043e3/win32/wi... xtkoba (Tee KOBAYASHI)
 

Also available in: Atom