Activity
From 02/24/2021 to 03/02/2021
03/02/2021
-
10:01 PM Bug #16672: net/http leaves original content-length header intact after inflating response
- Looks good to me.
I think it's important to still remove the `Content-Encoding` headers, otherwise a caller of net/h... -
09:41 PM Bug #17669: An exception still breaks monitor state and causes deadlock in 2.6.7
- This is the same bug that @headius reported in https://github.com/ruby/monitor/issues/2.
I'd like to ask to make t... -
09:51 AM Bug #17669 (Closed): An exception still breaks monitor state and causes deadlock in 2.6.7
- `lib/monitor.rb` provides Monitor.
However, its state handling is weak for interrupts caused by Thread.kill for ex... -
08:24 PM Bug #13654: irb save-history extension is not concurrency-safe
- I've submitted a pull request that makes the irb save-history extension safe for concurrent use: https://github.com/r...
- 06:05 PM Revision 68f515cf (git): * 2021-03-03 [ci skip]
-
06:04 PM Revision 0bd1bc55 (git): Don't use mmap on platforms that have large OS page sizes
-
06:04 PM Revision 6d834371 (git): Fix typo
-
05:48 PM Feature #17663: Enumerator#with, an alternative to Enumerator#with_object
- Hanmac (Hans Mackowiak) wrote in #note-4:
> i had a similar problem when i wanted to make Symbol to_proc use paramete... -
04:17 PM Feature #17663: Enumerator#with, an alternative to Enumerator#with_object
- i had a similar problem when i wanted to make Symbol to_proc use parameters, i would have done something like `:to_s....
-
05:43 PM Bug #17585: DWARF5 support?
- xtkoba (Tee KOBAYASHI) wrote in #note-13:
> A (revised) patch is attached to avoid segfaults with GCC's DWARF 5.
... -
03:44 PM Bug #17665: Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
- Thanks for reporting the issue in cygwin. I've [proposed a patch](https://github.com/ruby/ruby/pull/4235) that should...
-
03:44 PM Bug #17652: GC compaction crash on mprotect
- Thanks for reporting the issue in cygwin. I've [proposed a patch](https://github.com/ruby/ruby/pull/4235) that should...
-
03:31 PM Feature #17660: Expose information about which basic methods have been redefined
- Does this work with refinements?
```ruby
module X
refine Integer do
def +(x); x ** self; end
end
end
... -
02:00 PM Feature #16113: Partial application
- I like the idea. I made a [similar proposal](https://bugs.ruby-lang.org/issues/15302), but admittedly it wasn't as in...
-
01:14 PM Feature #17670 (Closed): Improve performance Float#to_i
Improve performance `Float#to_i` and `Float#to_int` methods(write in Ruby)
benchmark:
```yml
prelude: |
flo...-
01:00 PM Revision b49264ab (git): merge revision(s) 969b824a0c7605e0e570631d967ad0de0c37d0bf,100e464bee46ae71ef048ed85a9bdd012935a3f7: [Backport #17599]
- sync GC rest if needed
marking requires a barrier (stop all Ractors) and gc_enter() does it.
However... -
12:50 PM Bug #17581: Ruby 3.0 backtrace sometimes returns empty array
- ruby_3_0 4328f93f1bf08296115172a279e2d85a0ed80122 merged revision(s) 87437326214e4587a41946c8937e11418d983acd.
-
12:50 PM Revision 4328f93f (git): merge revision(s) 87437326214e4587a41946c8937e11418d983acd: [Backport #17581]
- Fix backtrace to not skip frames with iseq without pc
Previously, frames with iseq but no pc were skipped (e... -
12:00 PM Bug #16760: backport #67305 / e39f7e64 to 2.6?
- ruby_2_6 r67912 merged revision(s) e39f7e64.
- 12:00 PM Revision f56a213a (git): merge revision(s) e39f7e64: [Backport #16760]
- parse.y: fix segv with Ripper#yydebug
* parse.y (parser_token_value_print): in ripper, ID values are
... -
11:44 AM Bug #17024: Times with timezones return incorrect wday and yday
- backport into ruby_2_6 at r67911.
- 11:44 AM Revision 0fe5d0f6 (git): merge revision(s) 99a9c3fe: [Backport #17024]
- Fixed yday and wday with timezone [Bug #17024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67911 ... -
11:38 AM Bug #16918: Dir.mktmpdir should yield a copy of the dir to protect cleanup
- backported into ruby_2_6 at r67910.
- 11:37 AM Revision 34768ea9 (git): merge revision(s) 2ecfb88e: [Backport #16918]
- Correctly remove temporary directory if path yielded is mutated
Another approach would be to freeze the stri... -
11:27 AM Bug #16925: Backport request: net/http raises in ensure and replaces the original error
- ruby_2_6 r67909 merged revision(s) 5a79d8e0,160511d8.
- 11:26 AM Revision a175a30a (git): merge revision(s) 5a79d8e0,160511d8: [Backport #16925]
- Fix error raised by Net::HTTPResponse#inflater if the block raises
* See https://bugs.ruby-lang.org/issues/1... -
11:25 AM Bug #16940: Backport 0ba27259d390e902139c0e2e94b9d18ef227748e
- ruby_2_6 r67908 merged revision(s) 0ba27259.
- 11:25 AM Revision efd499b2 (git): merge revision(s) 0ba27259: [Backport #16940]
- Fix crashes in the peephole optimizer on OpenBSD/sparc64
These crashes are due to alignment issues, casting ... -
11:23 AM Bug #16979: FileUtils#cp_r with preserve, lchmod fails with ENOTSUPP
- ruby_2_6 r67907 merged revision(s) a19228f8.
- 11:23 AM Revision 82019f27 (git): merge revision(s) a19228f8: [Backport #16979]
- brace the fact that lchmod(2) can EOPNOTSUPP
Musl libc has this function as a tiny wrapper of fchmodat(3posi... -
11:22 AM Bug #16981: [ripper] mismatched indentations warning has disappeared since 2.6
- backported into ruby_2_6 at r67906.
- 11:21 AM Revision dad70fa6 (git): merge revision(s) 263b9413: [Backport #16981]
- [ripper] fix mismatched indentations warning [Bug #16981]
The scanner location has to be set from lex.ptok b... -
09:29 AM Revision 3e67bfe2 (git): merge revision(s) b94b7965c420661ed621c146a4efaf43bc3cf50b: [Backport #17639]
- Fixed fallback ENABLE_VIRTUAL_TERMINAL_PROCESSING value [Bug #17639]
---
ruby.c | 2 +-
... -
09:28 AM Bug #17644: Ripper.lex fails with syntax error and heredoc
- ruby_3_0 a6dec2e144d65011d49f272e494bf62daf3d7531 merged revision(s) 5de38c41ae7bf17ae599fdfa9f8face87f16d8bb.
-
09:28 AM Revision a6dec2e1 (git): merge revision(s) 5de38c41ae7bf17ae599fdfa9f8face87f16d8bb: [Backport #17644]
- ripper: fix a bug of Ripper::Lexer with syntax error and heredoc [Bug
#17644]
---
ext/ripp... -
09:27 AM Bug #17622: Segfault in new Rails app
- ruby_3_0 5816725ccc9642101d447b0f3b03c14d232aec6a merged revision(s) 15dbaa0b54f10e43976d594ef987da5f51e0c7c1.
-
09:27 AM Bug #17653: SEGFAULT in ossl_ssl_read_internal
- ruby_3_0 713d6d5eb05de06a0de25feef801ff8c72c65754 merged revision(s) 265c0022390e3dcd4ff692fc77d29b94e652c877.
-
09:15 AM Bug #17653: SEGFAULT in ossl_ssl_read_internal
- Thx for pouting out the patch. With the patch applied, I have run the excon test suite a hundred times without failur...
-
09:27 AM Revision 713d6d5e (git): merge revision(s) 265c0022390e3dcd4ff692fc77d29b94e652c877: [Backport #17653]
- Do not allocate ractor-local storage in dfree function during GC
---
random.c | 3 ++-
1 fi... -
09:18 AM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
- Bug #17668 seems to be a duplicate of this bug.
As I wrote in #note-5, this issue seems to be caused by running GC d... -
08:47 AM Bug #17540 (Closed): A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- Applied in changeset commit:git|33dc0a070a515811e71fccbdc8cf0cd5a5dd784c.
----------
RBASIC_SET_CLASS_RAW: follow st... -
06:49 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- user:shyouhei Thanks, it works. I have no objection to avoiding compiler-specific keywords, as long as things go well...
-
06:30 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- This is my take:
```patch
From 7fb39b1138dfaa3a1502673ac82d6b75401e8f39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q... -
03:13 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- Compilation with `-fno-strict-aliasing` seems to resolve the main issue of the `ruby` crash. It would be nice if this...
-
01:08 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- I suspect commit:d0e0c884bb4277e529adbd8d82aae0a651f7edf2 could be the cause of this issue.
-
08:47 AM Revision 33dc0a07 (git): RBASIC_SET_CLASS_RAW: follow strict aliasing rule
- Instead of rather euphemistic struct cast, just reomve the const
qualifier and assign directly. According to ISO/IEC... -
08:39 AM Revision 5816725c (git): merge revision(s) 15dbaa0b54f10e43976d594ef987da5f51e0c7c1: [Backport #17622]
- [Fixes #17622] Mark and move the previous ep
---
vm.c | 10 ++++++++++
1 file changed, 10 i... -
07:35 AM Bug #17668: Large RUBY_THREAD_VM_STACK_SIZE causes segmentation fault (again)
- I suppose this is a duplicate of Bug #17583.
-
07:32 AM Bug #17668 (Closed): Large RUBY_THREAD_VM_STACK_SIZE causes segmentation fault (again)
- - How to reproduce: `RUBY_THREAD_VM_STACK_SIZE=100000000 ./ruby --disable-gems -e 'p 1'`
- Expected: only `1` is sho... -
07:31 AM Bug #17667 (Closed): Module#name needs synchronization
- ```ruby
class C; @iv = 1; end
Ractor.new{
loop{C.name}
}
class C
0.step{|i| instance_variable_set("@iv#{i}"... -
06:26 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- user:arjunmdas I just searched the git log with the keyword "fiber". The PR number comes from the commit message.
-
06:18 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- Thanks again.
Just curious, how did you identify the right PR that fixed this? -
05:56 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- This issue seems fixed in commit:5f69a7f60467fa58c2f998daffab43e118bff36c. I'm not sure if there is a ticket here. Th...
-
05:07 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- Thanks a lot for confirming.
I will check the latest development version as well. Are you aware of any other trackin... -
03:42 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- This issue seems already resolved in the latest development version. (I confirmed that it reproduces in 3.0.0p0 relea...
-
01:25 AM Bug #17666: Thread#join hangs when Fiber.set_scheduler is set
- ```ruby
class MockScheduler
def block(blocker, timeout = nil)
byebug
end
def close
byebug
en... -
12:55 AM Bug #17666 (Closed): Thread#join hangs when Fiber.set_scheduler is set
``` ruby
class MockScheduler
def block(blocker, timeout = nil)
byebug
end
def close
byebug
...-
06:19 AM Feature #17610: [PATCH] Reduce RubyVM::InstructionSequence.load_from_binary allocations
- > I tried measuring the same thing on popular open source applications like Redmine or Discourse, unfortunately I cou...
-
12:24 AM Bug #17600: lib/benchmark should use `$stdout` instead of `STDOUT`
- Thanks for the reminder @jeremyevans0. Done.
-
12:24 AM Bug #17600 (Closed): lib/benchmark should use `$stdout` instead of `STDOUT`
- Applied in changeset commit:git|61f417ac7dbcb5df096edb95a743fff45a5313c8.
----------
[lib/benchmark] Use $stdout ins... - 12:23 AM Revision f7c342f8 (git): * 2021-03-02 [ci skip]
- 12:23 AM Revision 61f417ac (git): [lib/benchmark] Use $stdout instead of STDOUT [Bug #17600]
03/01/2021
-
11:54 PM Bug #11335: `ruby -r debug` catchpoint problem
- I was able to reproduce this issue and confirm that the catch support is broken and has been broken since Ruby 2.0, s...
-
11:34 PM Bug #17207 (Closed): message/disposition-notification: unexpected token LPAR (expected QUOTED or LITERAL)
-
11:26 PM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- If this fixes the Ruby crash too, maybe we should put `-fno-strict-aliasing` as a default compilation option like the...
-
11:14 PM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- user:alanwu Ah yes, it seems to fix the issue, at least for the MWE code. Thanks for the suggestion!
-
10:47 PM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- This seems like a strict aliasing issue. I'm curious if compiling with `-fno-strict-aliasing` fixes it.
-
10:32 PM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- A ticket in LLVM Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=49384
-
02:16 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- MWE:
``` c
#include <stdarg.h>
#include <assert.h>
#ifndef WORKAROUND
#define WORKAROUND 0
#endif
typedef ... -
11:08 PM Bug #17492: Breakpoints in debug.rb only work when program invoked with absolute filename
- I've tested this patch and it does appear to fix the issue. The upstream repository (https://github.com/ruby/debug) ...
-
10:06 PM Bug #17600: lib/benchmark should use `$stdout` instead of `STDOUT`
- No other committer has expressed objection, and I'm also in favor (in addition to you and @duerst). benchmark is lis...
-
09:59 PM Bug #16672 (Assigned): net/http leaves original content-length header intact after inflating response
- After some time to think about this, I agree with @jmreid that updating the Content-Length is the simplest way to add...
-
09:20 PM Bug #14972 (Assigned): Net::HTTP inconsistently raises EOFError when peer closes the connection
- I added a pull request that offers a way to support this in a backwards compatible manner: https://github.com/ruby/ne...
-
07:33 PM Bug #17664 (Assigned): Behavior of sockets changed in Ruby 3.0 to non-blocking
- I believe this is expected, even if not mentioned in the release notes. I think the Ruby-level API remains the same,...
-
02:29 PM Bug #17665: Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
- > Would you please try the patch in #17652#note-5 ?
Applying the patch, I have confirmed that segmentation fault d... -
01:23 PM Bug #16998: [Backport] support for Bison 3 to 2.6 and 2.7
- ruby_2_6 r67905 merged revision(s) e9bb30d4,a064e467,4d753461.
- 01:23 PM Revision e5bc1fea (git): merge revision(s) e9bb30d4,a064e467,4d753461: [Backport #16998]
- Expect no conflict in the parser
---
parse.y | 1 +
1 file changed, 1 insertion(+)
... -
12:36 AM Misc #17662 (Assigned): The heredoc pattern used in tests does not syntax highlight correctly in many editors
- My vim works great with the code :-) But breaking syntax highligt in GitHub is not so great.
AFAIK the style is ma...
02/28/2021
-
11:20 PM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
- It's a really complex formulation: a double HEREDOC inside string interpolatiosn, with a delimiter of the HEREDOC usi...
-
07:33 PM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
- Emacs Ruby Mode behaves well with the current pattern. I wonder why the other editors do not simulate it.
-
11:19 AM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
- I'm not an Emacs user, so I don't know.
I think indentation doesn't matter much, it could be this too:
```ruby
as... -
08:04 PM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
- Is this issue related to #17607 and/or #15356 ?
-
10:42 AM Bug #17664 (Closed): Behavior of sockets changed in Ruby 3.0 to non-blocking
- I'm not sure this is a bug, but apparently a change was introduced in Ruby 3.0 that makes sockets non-blocking by def...
-
07:40 PM Bug #17665: Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
- Not using `mmap(2)` may be a workaround, but there is a drawback of GC compaction being not usable.
-
07:20 PM Bug #17665: Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
- user:fd0 Would you please try the patch in #17652#note-5 ?
-
10:59 AM Bug #17665 (Closed): Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
- Make failed on x86_64-cygwin (miniruby.exe segmentation fault)
```
$ git clone https://github.com/ruby/ruby.git
... -
03:06 PM Bug #16813: Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
- ruby_2_6 r67904 merged revision(s) ac2106ac,cf90df22.
- 03:06 PM Revision a7133b05 (git): merge revision(s) ac2106ac,cf90df22: [Backport #16813]
- [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
---
proc.c | 4 ++--
1 file ch... -
03:05 PM Bug #15932: wrong "void value expression" error for 'next' or 'break' statements inside an 'if' assignment
- Backported into ruby_2_6 at r67903.
-
03:04 PM Bug #11143: it should always be possible to return from an if
- Backported into ruby_2_6 at r67903.
- 03:04 PM Revision f279c3a3 (git): merge revision(s) 01b3a380: [Backport #11143][Backport #15932]
- Fix wrong "void value expression" error
* parse.y (value_expr_check): if either of then or else statements i... -
02:53 PM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
- Backported into ruby_2_6 at r67902.
- 02:53 PM Revision 4be089c0 (git): merge revision(s) e02bd0e7: [Backport #15608]
- Don't display singleton class in Method#inspect unless method defined there
Previously, if an object has a s... -
02:45 PM Bug #16649: Object with [] method doesn't work as String#encode's fallback
- backported into ruby_2_6 at r67901.
- 02:44 PM Revision e31ab1a2 (git): merge revision(s) 8b6e2685: [Backport #16649]
- Fixed symbol misused as ID
rb_funcallv_public and rb_respond_to require an ID, not a
Symbol. [Bug #1... -
02:37 PM Bug #16514: Documentation mistake for method syntax (splat/array parameter)
- ruby_2_6 r67900 merged revision(s) 3c93ed59.
- 02:37 PM Revision aa19f11d (git): merge revision(s) 3c93ed59: [Backport #16514]
- Update documentation for Array/Hash Argument section of methods.rdoc
[Bug #16514]
---
doc/s... -
02:33 PM Bug #16950 (Closed): Stop nonsense keyword argument warnings in 2.6
- patched to ruby_2_6 at r67899.
-
02:32 PM Bug #16632: Remove verbose warning on treating keyword splat as positional argument in Ruby 2.6
- patched to ruby_2_6 at r67899.
- 02:31 PM Revision 348a909a (git): * vm_args.c (setup_parameters_complex): no longer need to warn splat
- hash in a pattern.
[Backport #16632][Bacport #16950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/r... -
02:16 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- ruby_2_6 r67898 merged revision(s) f9e5c74c.
- 02:16 PM Revision 3f4f5fdf (git): merge revision(s) f9e5c74c: [Backport #15980]
- compile.c: stop wrong peephole optimization when covearge is enabled
jump-jump optimization ignores the even... - 02:14 PM Revision c64fbfae (git): merge revision(s) a7b9f085ff952fcb18f82de39b3bf9ab7e5ba3e7,9165fcdfa309052a2adc3c6100ab24204de6c2d1,e42d9d8df87f58b9bfa65647249822df25851375: [Backport #16401]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 PM Bug #16297: calling undefined allocator by `Class.instance_method(:allocate)`
- usa (Usaku NAKAMURA) wrote in #note-1:
> ruby_2_6 r67896 merged revision(s) f72dc407.
note that ruby_2_6 does not... -
02:01 PM Bug #16297: calling undefined allocator by `Class.instance_method(:allocate)`
- ruby_2_6 r67896 merged revision(s) f72dc407.
- 02:01 PM Revision aa3dda8b (git): merge revision(s) f72dc407: [Backport #16297]
- Prohibit calling undefined allocator [Bug #16297]
---
object.c | 31 ++++++++++++++++... -
01:56 PM Bug #16268: Consistent segfault with ObjectSpace.count_imemo_objects
- ruby_2_6 r67895 merged revision(s) 74b19e330adbdae2d8e53b58f1a2a7b725e69c8d.
- 01:56 PM Revision 5c74f95f (git): merge revision(s) 74b19e330adbdae2d8e53b58f1a2a7b725e69c8d: [Backport #16268]
- fix imemo entry description.
* ext/objspace/objspace.c (count_imemo_objects): `imemo_type_ids`
sho... -
01:47 PM Bug #16269: Every 4 bytes the Integer.sqrt(n) method closes abruptly
- ruby_2_6 r67894 merged revision(s) f364564e66d1db1de8e80d669287386595c8bc46.
- 01:47 PM Revision b64876ae (git): merge revision(s) f364564e66d1db1de8e80d669287386595c8bc46: [Backport #16269]
- bignum.c (estimate_initial_sqrt): prevent integer overflow
`Integer.sqrt(0xffff_ffff_ffff_ffff ** 2)` caused... -
11:24 AM Revision 80e2c45f (git): Skip spec which does not work on mingw
- * https://github.com/ruby/ruby/runs/1994688198
ruby 3.1.0dev (2021-02-27T16:42:17Z master 8305a48413) [x64-mingw32]... -
11:05 AM Feature #17660: Expose information about which basic methods have been redefined
- tenderlovemaking (Aaron Patterson) wrote in #note-6:
> this is CRuby specific and only for basic operations like `In... -
04:17 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- Here is an alternative workaround which inserts a memory barrier into the function `rb_str_vcatf` from `sprintf.c`:
... -
02:14 AM Misc #17635: DevelopersMeeting20210317Japan
- * [Misc #17641] pocke should have a commit bit (mame)
* He has passionately contributed to Ruby, mainly RBS but al...
02/27/2021
-
11:07 PM Feature #17638: Support backtracing with the libbacktrace library
- The patch attached here is to be applied after the main patch and the patch in #note-1, and is for an experiment of b...
-
10:47 PM Feature #17638: Support backtracing with the libbacktrace library
- The patch attached here presents an alternative way of using libbacktrace, in which the return addresses are retrieve...
-
06:58 PM Feature #17660: Expose information about which basic methods have been redefined
- Eregon (Benoit Daloze) wrote in #note-2:
> It sounds useful, +1 from me.
> I think we should clarify in the name th... -
06:52 PM Feature #17660: Expose information about which basic methods have been redefined
- Oh, IIUC, knowing if a particular method (basic or not) has been redefined is available in pure Ruby, but not the inf...
-
04:36 PM Feature #17660: Expose information about which basic methods have been redefined
- @marcandre the information about redefined basic methods is not available to Ruby or C extensions AFAIK (since it is ...
-
04:28 PM Feature #17660: Expose information about which basic methods have been redefined
- I don't object (actually I needed that method for tests in `backports` gem), but I wonder why a C method is preferabl...
-
03:51 PM Feature #17660: Expose information about which basic methods have been redefined
- It sounds useful, +1 from me.
I think we should clarify in the name that only redefined basic methods are reported, ... -
12:32 AM Feature #17660: Expose information about which basic methods have been redefined
- I forgot to attach the patch, so here it is 😄
-
12:30 AM Feature #17660 (Open): Expose information about which basic methods have been redefined
- I would like to tell if code is redefining methods that can impact
MRI's optimizations. This commit exposes which b... -
06:16 PM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
- In the suggested pattern, the here document seems not highlighted nor auto-indented by Emacs Ruby Mode. Would you ple...
-
04:22 PM Misc #17662 (Assigned): The heredoc pattern used in tests does not syntax highlight correctly in many editors
- This heredoc pattern
```ruby
assert_ruby_status([], "#{<<-"begin;"}\n#{<<-'end;'}", bug)
begin;
exi... -
05:23 PM Feature #17663 (Open): Enumerator#with, an alternative to Enumerator#with_object
- **Enumerator#with** yields each element along with the arguments
``` ruby
class Enumerator
def with(*options)
... - 04:42 PM Revision 5c907975 (git): * 2021-02-28 [ci skip]
-
04:42 PM Revision 8305a484 (git): Add --timeout to try to find hanging spec
-
04:30 PM Misc #17635: DevelopersMeeting20210317Japan
- * [Feature #15752] A dedicated module for experimental features (eregon)
* I'd like to finish this discussion and ... -
04:23 PM Misc #17635: DevelopersMeeting20210317Japan
- * [Misc #17662] The heredoc pattern used in tests does not syntax highlight correctly in many editors (eregon)
* C... -
12:00 PM Revision 36dde35e (git): Update to ruby/spec@37e52e5
-
08:54 AM Bug #17643: Ruby 3 embedded - no GC methods?
- Just following up. nobu any thoughts? I don't see any way of working around this currently when embedding Ruby.
-
06:01 AM Bug #17504: Allow UTC offset without colons per ISO-8601
- ruby_2_7 commit:190ffd8761bec206582095028e5752ae5ccd7587 merged revision(s) commit:f4be7a510eebbe6507ba41d138d7d252f4...
-
04:49 AM Revision bad62355 (git): .github/workflows/macos.yml: Remove pre-installed gems before test on macos Actions.
-
04:46 AM Revision 190ffd87 (git): merge revision(s) f4be7a510eebbe6507ba41d138d7d252f4a68e90,9441f3f97087a4325ee80911859d37da41fa5050: [Backport #17504]
- Added tests for Time#getlocal with UTC offset
---
test/ruby/test_time.rb | 8 ++++++++
1 fi... -
02:46 AM Bug #17661: IO#each will segfault when if file is closed inside an `each_byte` block
- Probably `'s|http://||'` to the reproducer?
-
12:45 AM Bug #17661 (Closed): IO#each will segfault when if file is closed inside an `each_byte` block
- As reported here: https://twitter.com/asterite/status/1363487990203506689 when iterating through a file's contents wi...
-
12:32 AM Bug #17585: DWARF5 support?
- A minor mod to the patch in #note-13 (due to an issue similar to Bug #17645):
```
--- a/addr2line.c
+++ b/addr2lin... -
12:15 AM Bug #17652: GC compaction crash on mprotect
- It seems that the `addr` argument for Cygwin's `munmap(2)` must be aligned to 64KB boundaries. A patch is attached to...
02/26/2021
-
11:07 PM Bug #4405 (Closed): WIN32OLE & Threads incompatible
- From my testing, this was fixed between Ruby 1.9.3 and Ruby 2.0, printing WIN32OLE object instead of raising an excep...
-
10:55 PM Bug #5771 (Closed): WIN32OLERuntimeError using 1.9.2
- I tried the example code in Ruby 2.6, Ruby 2.7, and Ruby 3.0. on Windows 10, and got the expected output each time (I...
-
10:50 PM Bug #7758 (Closed): Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
- I cannot reproduce this bug on Windows 10 using Ruby 1.9.3, Ruby 2.0, Ruby 2.1, or Ruby 3.0. Windows 7 is now out of ...
-
10:21 PM Bug #9016 (Closed): String#encoding is lying?
- As Ruby 3.0 uses UTF-8 for ARGV, this is fixed.
With modified example:
```ruby
puts "Encoding of argument is r... -
10:12 PM Bug #9930 (Closed): unicode filenames somehow don't work
- As of Ruby 3.0, ARGV values are in UTF-8 encoding by default on Windows.
-
10:09 PM Bug #9715 (Closed): ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- As of Ruby 3.0, ENV values are now UTF-8 encoded on Windows.
-
10:07 PM Bug #9877 (Rejected): IRB::OutputMethod defines "pp", but it's actually "p"
- This definitely isn't a bug, and I don't think it's worth breaking backwards compatibility for this consistency, so I...
-
09:59 PM Bug #9931 (Closed): irb: Really weird behavior for x = "#{x\"}" (ex: irb(main:009:-4))
- As of Ruby 3.0, I think this is fixed:
```
$ irb30
irb(main):001:0" x = "#{x\"}"
irb(main):002:0"
irb(main):00... -
09:51 PM Revision dbea0be1 (git): [ruby/irb] Update help message for next context-mode of 4
- While here, fixing tab/space issues in help message, and sync
rdoc for IRB class to match the help message.
https://... -
09:38 PM Bug #13094 (Closed): Zlib::GzipReader eof?がfalseなのにgetsでnilが返ってくる
-
09:21 PM Bug #14094 (Closed): IRB does not obey frame-level visibility modifiers
- This was fixed in Ruby 3.0, with the change of the default irb context mode from 3 to 4.
-
09:03 PM Bug #15433 (Closed): OpenStruct NameError vs NoMethodError spec fails for method_missing
-
08:55 PM Bug #15465: Tests failed on i386-cygwin
- fd0 (Daisuke Fujimura) wrote in #note-2:
> In case of `make btest`, test_massign.rb and test_thread.rb succeeded.
... -
08:42 PM Bug #15579 (Closed): make step when building ruby 2.4.5 on AIX 7.1 results in a Segmentation fault : ruby-2.4.5/lib/rdoc/markup/parser.rb:325
-
08:31 PM Bug #16685 (Closed): IRB auto indent does not work for single-line method definitions
- This behavior seems to have been fixed after the release of Ruby 3.0. I'm guessing this fix has already been backpor...
-
08:22 PM Bug #16679 (Closed): Test of Ruby fails under multiple OS user userland installations
-
08:20 PM Bug #16814 (Closed): Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
-
08:16 PM Bug #16849 (Closed): ObjectSpace.trace_object_allocations_stop fails if called before ObjectSpace.trace_object_allocations_start
- This fix was merged at commit:a74df67244199d1fd1f7a20b49dd5a096d2a13a2.
-
06:23 PM Bug #17659 (Closed): Ractor: can't call io/wait methods
- It seems that I can use IO.select inside a ractor, but not call IO.wait_writable, which seems odd.
```ruby
requir... -
06:06 PM Revision d45466dc (git): Oops! Add another test and fix to_proc implementation
- 05:59 PM Revision 3d8e373a (git): * 2021-02-27 [ci skip]
-
05:57 PM Revision 0590e9b6 (git): Fiddle::Function responds to to_proc
- This lets us cast a Fiddle::Function to a block, allowing is to write
things like:
```ruby
f = Fiddle::Function.new(... -
03:47 PM Bug #17658 (Closed): DNS resolution failure with multiple named resolvers
-
10:04 AM Bug #17658: DNS resolution failure with multiple named resolvers
- Fixing commit is below.
#12838 states that the problem is intermittent and due to duplicate responses. That's not ... -
09:38 AM Bug #17658: DNS resolution failure with multiple named resolvers
- I tested ruby 3.0.0 and it works fine so I guess something got fixed:
```ruby
Resolv::DNS.new({nameserver: ['dns.... -
09:32 AM Bug #17658 (Closed): DNS resolution failure with multiple named resolvers
- ## Description
I created a `Resolv::DNS` resolver with two nameservers described using their domain names. Calling... -
11:48 AM Bug #17657 (Rejected): Starting from ruby 2.3.0, LoadLibraryExA called in extension won't use PATH or current directory to find library and/or it's dependencies
-
11:13 AM Bug #17657: Starting from ruby 2.3.0, LoadLibraryExA called in extension won't use PATH or current directory to find library and/or it's dependencies
- Well, it turns out I did miss one thing
https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#-dll-load... -
05:43 AM Bug #16842: `inspect` prints the UTF-8 character U+0085 (NEXT LINE) verbatim even though it is not printable
- Why U+0085 is categorized as `Print` in Ruby is historically Oniguruma treats as that.
https://moriyoshi.hatenablog.... - 01:32 AM Revision 5c31a4b1 (git): * 2021-02-26 [ci skip]
-
01:32 AM Revision 46825a74 (git): Backport lib/reline, and lib/irb for 3.0.1 3rd (#4228)
- * [ruby/irb] Suppress error when File::ALT_SEPARATOR is nil
https://github.com/ruby/irb/commit/96accf3b95
* [ruby/i... -
01:23 AM Bug #17652: GC compaction crash on mprotect
- Changes made for this issue seem to break the Cygwin builds (for both i686 and x86_64). A backtrace for `miniruby` (w...
-
12:31 AM Revision cfc23903 (git): Revert "Add tests for bug 17652"
- This reverts commit a9920e7782f225b97e173a88640fe9e116b9964f.
02/25/2021
-
11:54 PM Bug #16842 (Assigned): `inspect` prints the UTF-8 character U+0085 (NEXT LINE) verbatim even though it is not printable
- Behavior here seems to be dependent on the encoding:
```
$ LC_ALL=C ruby -e "p 0x85.chr(Encoding::UTF_8).inspect.... -
11:20 PM Bug #17027 (Closed): Connection leak possibility in Net::FTP#transfercmd
- The original pull request was closed, but I committed a similar fix: https://github.com/ruby/net-ftp/pull/6
-
10:27 PM Bug #16950: Stop nonsense keyword argument warnings in 2.6
- @usa It looks like this hasn't yet been fixed in Ruby 2.6. Is it possible to fix this in Ruby 2.6 before Ruby 2.6 go...
-
10:16 PM Bug #16623 (Closed): Windows ENV encoding
-
10:16 PM Bug #16970 (Closed): Encoding of ENV value returns ASCII-8BIT in Ruby2.6 or later
- Ruby 3.0 uses UTF-8 for ENV values on Windows by default, even if the code page is not UTF-8. So I think this and #1...
-
09:18 PM Bug #17585: DWARF5 support?
- A (revised) patch is attached to avoid segfaults with GCC's DWARF 5.
In summary, there are three changes:
(1) c... -
08:24 PM Revision f0743dd2 (git): [ruby/reline] Version 0.2.4
- https://github.com/ruby/reline/commit/462f971bd3
-
08:18 PM Bug #17003 (Closed): Segfault during bundler specs on Windows
-
07:32 PM Bug #17657 (Rejected): Starting from ruby 2.3.0, LoadLibraryExA called in extension won't use PATH or current directory to find library and/or it's dependencies
- I'm on windows 10 pro. The sample code runs successfully on ruby up to 2.2.5.
On newer versions I get "cannot load ... - 07:02 PM Revision 04154b65 (git): * 2021-02-26 [ci skip]
-
07:01 PM Revision a9920e77 (git): Add tests for bug 17652
-
07:01 PM Revision 1c0e79e8 (git): Disable auto compaction on platforms that do not support it
-
07:01 PM Revision 1e135489 (git): Use mmap for allocating heap pages
-
05:35 PM Bug #17057 (Closed): CGI different behaviour with C vs Ruby version
- I've merged the patch in the pull request after adding a test for it: https://github.com/ruby/cgi/pull/4
-
05:08 PM Bug #17102 (Closed): openssl/buffering.rb:182: [BUG] Segmentation fault at 0x00001fa0fd774000
-
05:05 PM Bug #17655 (Feedback): Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
- Can you please test with the master branch to see if this issue has been resolved? If it still is present in the mas...
-
07:48 AM Bug #17655: Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
- This reminds me #17536
-
01:11 PM Revision fda162c7 (git): [ruby/irb] Version 1.3.4
- https://github.com/ruby/irb/commit/ab9852ccc5
-
07:26 AM Revision 294c244a (git): rb_random_int: ended before it begins
- It existed since f3d022543ef2afde3d53e7f6b3028eafe39d0ef4 until
96760236079b15674a6322a2ca41b1528b51afbd. No officia... -
07:10 AM Bug #17653 (Closed): SEGFAULT in ossl_ssl_read_internal
- vo.x (Vit Ondruch) wrote:
> ~~~
> (gdb)
> #0 0x00007f8bedde5292 in raise () from target:/lib64/libc.so.6
> #1 ... -
02:22 AM Bug #17105: A single `return` can return to two different places in a proc inside a lambda inside a method
- I added a pull request to fix this: https://github.com/ruby/ruby/pull/4223
02/24/2021
-
11:23 PM Bug #17656 (Feedback): Improper functions shown in C level backtrace information
- The following is an example of C backtrace output on aarch64-linux, where `sig_do_nothing` is shown in spite of segfa...
-
10:53 PM Bug #17655: Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
- This looks like the method which caused the seg fault on line 317
``` ruby
# ~/.rvm/gems/ruby-3.0.0/gems/actionpa... -
10:50 PM Bug #17655: Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
- Rails -v 6.1.2.1
-
10:07 PM Bug #17655 (Closed): Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
- Issue occurred with Puma and Ruby 3.0.0. I've attached the text scrollback from Puma, it's quite long.
-
09:44 PM Revision 08d5db40 (git): Reverting PR #4221
- It seems this breaks tests on Solaris, so I'm reverting it until we
figure out the right fix.
http://rubyci.s3.ama... - 08:25 PM Revision f3c8e477 (git): * 2021-02-25 [ci skip]
-
08:25 PM Revision 59fb5d4f (git): Add tests for bug 17652
-
08:25 PM Revision a80366c9 (git): Disable auto compaction on platforms that do not support it
-
08:25 PM Revision 785f5eb8 (git): Use mmap for allocating heap pages
-
06:37 PM Bug #17486: Build fails on darwin due to libtool being removed
- charlesbjohnson (Charles Johnson) wrote in #note-8:
> nobu (Nobuyoshi Nakada) wrote in #note-7:
> > Could you show ... -
06:40 AM Bug #17486: Build fails on darwin due to libtool being removed
- nobu (Nobuyoshi Nakada) wrote in #note-7:
> Could you show mkmf.log file for a failed extension?
Here's what I ha... -
05:12 PM Feature #17592 (Assigned): Ractor should allowing reading shareable class instance variables
- This has been accepted 🎉
Follow-up question: could we introduce this change in 3.0.x line? Otherwise we have to wait... -
03:49 PM Bug #17654 (Third Party's Issue): doc: trailing comments
- ruby-doc.org is not an official Ruby site. They may need to update their version of rdoc, as this is related to a bu...
-
02:04 PM Bug #17654 (Third Party's Issue): doc: trailing comments
- Several doc pages show bits that should clearly not be there. For instance :
In https://ruby-doc.org/stdlib-3.0.0... -
12:22 PM Bug #17653: SEGFAULT in ossl_ssl_read_internal
- I should also mention, that the failure typically happens [here](https://github.com/excon/excon/blob/master/tests/tes...
-
11:39 AM Bug #17653 (Closed): SEGFAULT in ossl_ssl_read_internal
- Trying to run [excon] test suite agains Ruby 3.0, it mysteriously [fails] from time to time. Digging deeper and execu...
-
11:01 AM Revision 09f284c0 (git): Update bundled_gems
Also available in: Atom