Activity
From 08/18/2021 to 08/24/2021
08/24/2021
-
07:59 PM Bug #18131 (Open): addr2line.c: Some inlined functions mistakenly shown
- What is observed in ppc64le CI (pathnames edited for readability):
```
-- C level backtrace information ---------... - 03:36 PM Revision 71662466 (git): * 2021-08-25 [ci skip]
-
03:34 PM Revision 14a9c364 (git): Fix warnings in test_optimization.rb
- These were introduced in the test for tracing optimized methods
added in 48c8df9e0eb295af06d593ce37ce1933c0ee1d90. -
01:48 PM Bug #18117 (Closed): Segmentation fault when yielding values from Ractors during GC sweeping
- Applied in changeset commit:git|bbedd29b6e98ef6e3fc2ce2b358d2b509b7cd1bb.
----------
[Bug #18117] Fix Ractor race co... -
01:47 PM Revision bbedd29b (git): [Bug #18117] Fix Ractor race condition with GC
- rb_objspace_reachable_objects_from requires that the GC not be active.
Since the Ractor barrier is not executed for i... -
01:12 PM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
- What I noticed in the description is that "C level backtrace information" is not shown, which suggests that the funct...
-
11:45 AM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
- Perhaps this issue is relevant with #17052 .
-
12:03 PM Bug #17722: define_method with shareable results in "defined in a different Ractor"
- The reason of the unexpected error is, the block parameter of `define_method` is un-shareable.
I created a patch to ... -
11:55 AM Bug #18062: Ruby with enabled LTO segfaults during build
- I noticed gcc-11 LTO and clang-14 LTO cases are added to the CI. Thanks @nobu!
https://github.com/ruby/ruby/commit/2... -
11:43 AM Bug #18024: Ractor crashes when connections are closed in multiple Ractors
- As a follow-up of this report, I found that the same thing happens when:
* a Ractor accepts connections, then send c... -
10:29 AM Revision b62ed309 (git): [ruby/securerandom] [DOC] fix a code mark up [ci skip]
- https://github.com/ruby/securerandom/commit/de47532707
-
09:08 AM Revision 4a6b5f46 (git): Revert "tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf"
- This reverts commit 22deda43cb98aa3cee48d0bebbff7c4db1d7652a.
It was incomplete. Sorry! -
09:02 AM Revision 80597f25 (git): [ruby/un] gemspec: Explicitly list 0 executables
- This gem exposes no executables, so this makes that clear to the reader.
https://github.com/ruby/un/commit/012c298e12 -
09:02 AM Revision b126a27d (git): [ruby/un] LICENSE
- https://github.com/ruby/un/commit/762c38c176
-
09:02 AM Revision 2eed62fb (git): [ruby/un] Use STDIN if no arguments
- https://github.com/ruby/un/commit/8e0d6f62cb
-
09:02 AM Revision 66abeb03 (git): [ruby/un] Add colorize command
- https://github.com/ruby/un/commit/4d080eeec0
-
09:02 AM Revision d140b030 (git): Added ruby/un entry
- 08:55 AM Revision 2be84afe (git): .github/workflows/compilers.yml: Specify a container running user as root.
- Explicitly specify the root as a user to run tests in the containers.
Coming new ruby/ruby-ci-image images are requi... -
08:43 AM Revision 22deda43 (git): tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf
- Formerly, TypeProf was tested with the latest RBS code during
`make test-bundled-gems`. However, when a new version o... -
08:03 AM Bug #18130 (Closed): Showing exceptions from Ractor on console causes errors
- `ErrorHighlight.formatter` fetches a default (or configured) exception formatter from the module variable, and if it ...
-
07:18 AM Revision bcc5a2b6 (git): [ruby/fiddle] Simplify libc and libm path logics (https://github.com/ruby/fiddle/pull/91)
- * Simplify libc_so and libm_so
If nil, no need to set to nil.
* Get rid of repeating inversions
https://github.com... -
07:18 AM Revision 0f1e8f38 (git): [ruby/fiddle] Improve "offsetof" calculations (https://github.com/ruby/fiddle/pull/90)
- I need to get the offset of members inside sub structures. This patch
adds sub-structure offset support for structs.... - 01:52 AM Revision 8d2af51a (git): netbsd coroutine uses assembly instead and little build fix.
-
01:38 AM Feature #18051 (Closed): Move symbols exported under internal
- Applied in changeset commit:git|c38c2d8ee26c70300e2e0a4eec867273a8520579.
----------
Moved exported symbols in inter... -
01:37 AM Revision d9f084ed (git): Moved rb_deprecate_constant declaration [Feature #18051]
-
01:37 AM Revision 5d99800d (git): Moved rb_int_positive_pow declaration [Feature #18051]
-
01:37 AM Revision c38c2d8e (git): Moved exported symbols in internal/util.h to ruby/util.h
- [Feature #18051]
-
12:23 AM Revision 4794a8a7 (git): Add stat_time function
08/23/2021
-
10:08 PM Bug #18129 (Closed): Ractor-incompatible global variables can be accessed through alias
- Some global variables are not allowed in non-main Ractors. For example, the following code does not run:
``` ruby
R... -
10:05 PM Bug #18128 (Closed): Ractor allows class variables that have been used before
- In order to avoid data races, Ractor is not supposed to allow class variables. For example, the following code does n...
-
09:59 PM Feature #18127 (Closed): Ractor-local version of Singleton
- **Background**
When the Singleton module (from the Singleton library) is included in a class, that class will have o... - 06:58 PM Revision 70abda1a (git): * 2021-08-24 [ci skip]
-
06:57 PM Revision 6648b411 (git): Replace intptr_t with uintptr_t in gc.c
- Pointers may be large to the point where intptr_t would be negative.
This is problematic when doing comparisons of po... -
06:08 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
xtkoba (Tee KOBAYASHI) wrote in #note-31:
> I might have been misleading. The patch in #note-9 is necessary for co...-
05:07 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- I might have been misleading. The patch in #note-9 is necessary for correctly reading `DW_FORM_ref_addr` values in `....
-
04:46 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- xtkoba (Tee KOBAYASHI) wrote in #note-29:
> The behavior seems as if the patch in #note-9
Should it be applied? B... -
04:06 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- The behavior seems as if the patch in #note-9 (https://bugs.ruby-lang.org/attachments/8974) were not applied. If I re...
-
03:41 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- Just FTR, these are the build options:
~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-swit... -
02:20 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- Byte 0x54 of the `.debug_info` is the 3rd byte of
```
<52> DW_AT_abstract_origin: <0x6a6c3a>
```
of the... -
01:55 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- ~~~
(gdb) c
Continuing.
-e:1: [BUG] Segmentation fault at 0x590fb15c00000020
ruby 3.0.2p107 (2021-07-07 revision ... -
02:54 PM Revision eddd369e (git): Revert "[Feature #18045] Implement size classes for GC"
- This reverts commits 48ff7a9f3e47bffb3e4d067a12ba9b936261caa0
and b2e2cf2dedd104acad8610721db5e4d341f135ef because it... -
01:16 PM Feature #18045 (Closed): Variable Width Allocation Phase II
- Applied in changeset commit:git|48ff7a9f3e47bffb3e4d067a12ba9b936261caa0.
----------
[Feature #18045] Remove T_PAYLO... -
01:15 PM Revision b2e2cf2d (git): [Feature #18045] Implement size classes for GC
- This commits implements size classes in the GC for the Variable Width
Allocation feature. Unless `USE_RVARGC` compile... -
01:15 PM Revision 48ff7a9f (git): [Feature #18045] Remove T_PAYLOAD
- This commit removes T_PAYLOAD since the new VWA implementation no longer
requires T_PAYLOAD types.
Co-authored-by: A... -
05:29 AM Bug #18126 (Closed): Process termination three seconds after thread termination dumps core
- The following code occasionally dumps core.
```
3000.times{Thread.new{}}
sleep 2.99
```
```
$ ruby test.rb
... -
05:12 AM Revision 83244b8c (git): [DOC] Match each `Time.now` for comparison [ci skip]
-
01:59 AM Feature #17847 (Closed): `ruby -run -e httpd` displays URL
- > Alternatively this could be part of the default output when starting WEBrick,
That's a good idea. However, since... - 12:59 AM Revision 116e52f3 (git): * 2021-08-23 [ci skip]
- 12:59 AM Revision 689962ea (git): improves message. thanks to eregon
- 12:59 AM Revision f18e1752 (git): Display httpd URLs supporting HTTPS
- 12:59 AM Revision 8361675e (git): Display httpd URLs
08/22/2021
-
01:27 PM Revision d7da5ca5 (git): Fix links [ci skip]
-
11:28 AM Revision 0b9a3371 (git): [ruby/date] Add zontab.list dependency
- https://github.com/ruby/date/commit/7e1ffbf568
-
11:16 AM Revision 877bfd1b (git): Suppress unused-label warnings
-
03:11 AM Revision d574b841 (git): Fix failures on non-UTF-8 environment [Bug #18077]
- Call `IOSpecs.io_fixture` with the default encoding explicitly.
`IOSpecs.closed_io` calls the method without optional... -
01:39 AM Revision 18031f41 (git): Add rb_encoding_check function
-
01:33 AM Bug #18077 (Closed): Marshal.dump(closed_io) raises IOError instead of TypeError
- Applied in changeset commit:git|6594623f623a0982da62cc105094da0701d499da.
----------
Fix Marshal.dump(closed_io) to ... - 01:33 AM Revision 6594623f (git): Fix Marshal.dump(closed_io) to raise TypeError and allow encoding on closed IO
- Mashalling a closed IO object raised "closed stream (IOError)" before instead of TypeError.
This changes IO#(in|ex)te...
08/21/2021
-
09:19 PM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- I should have read the PR first.
Yes, removing the old example and adding the new one with a version guard is perfec... -
09:17 PM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- larskanis (Lars Kanis) wrote in #note-5:
> @eregon This was my first though as well, but the current behavior is alr... -
10:48 AM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- I removed the old example from https://github.com/ruby/ruby/pull/4758 .
-
08:03 AM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- Since this is a bug report, I think that the old example in rubyspec should be removed.
-
05:47 PM Revision c527d278 (git): Bundle RBS 1.5.1 (#4760)
-
05:15 PM Bug #14870 (Closed): Both TracePoint's :call and :c_call filters seem to skip a lot of builtin methods
- Applied in changeset commit:git|48c8df9e0eb295af06d593ce37ce1933c0ee1d90.
----------
Allow tracing of optimized meth... - 05:15 PM Revision ad99edc7 (git): * 2021-08-22 [ci skip]
-
05:15 PM Revision 48c8df9e (git): Allow tracing of optimized methods
- This updates the trace instructions to directly dispatch to
opt_send_without_block. So this should cause no slowdown... -
09:31 AM Misc #18125 (Closed): A strange behavior when same name variable/method coexist issue.
- Local variables are defined when they appear in assignments, thus
```ruby
deploy_to = "#{deploy_to} new place"
... -
08:28 AM Misc #18125: A strange behavior when same name variable/method coexist issue.
- It is excepted because of variable hoisting.
Same reason why `foo = 1 unless foo` works.
-
08:07 AM Misc #18125 (Closed): A strange behavior when same name variable/method coexist issue.
- Following is a example.
## Reproduce
```rb
def deploy_to
"deploy_to"
end
deploy_to = "#{deploy_to} new ... -
07:50 AM Revision f51a6ace (git): [DOC] prefer RUBY_DEFAULT_FREE to a magic number [ci skip]
-
07:48 AM Revision 8f755ad6 (git): [DOC] mention rb_define_alloc_func [ci skip]
-
07:01 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
- > It can affect performance on some cases.
But less than `GC::Profiler`, so for users of this feature it would be ... -
06:27 AM Bug #17643: Ruby 3 embedded - no GC methods?
- I don't want to do either of those things. Instead I would like to embed Ruby into a C++ program and then use it run ...
-
01:54 AM Bug #17643: Ruby 3 embedded - no GC methods?
- No arguments means reading the script from stdin.
You need to give a script name or an `-e` option. - 02:22 AM Revision e2b2b577 (git): * 2021-08-21 [ci skip]
-
02:21 AM Revision 5e7cc0ee (git): [DOC] update extension.ja.rdoc [ci skip]
- `rb_cData` has been deprecated for years.
-
12:52 AM Feature #18083: Capture error in ensure block.
- > A few places, but in relative usages probably 1/1000 of begin/rescue or ensure/end patterns, right?
I scanned top ...
08/20/2021
-
10:09 PM Feature #18083: Capture error in ensure block.
- BTW, deprecating and removing `$!` has another advantage:
a raised Ruby exception wouldn't immediately leak to the c... -
10:03 PM Feature #18083: Capture error in ensure block.
- @matz based on the above discussion, do you agree to deprecate and remove `$!` if possible?
-
10:00 PM Feature #18083: Capture error in ensure block.
- > lots of code does need to make this differentiation.
A few places, but in relative usages probably 1/1000 of beg... -
01:09 AM Feature #18083: Capture error in ensure block.
- > the exception that happens inside is not a proof the resource is at fault, it could be anything, including a NoMemo...
-
09:54 PM Feature #17847: `ruby -run -e httpd` displays URL
- Sounds fine to me.
Alternatively this could be part of the default output when starting WEBrick,
I think that would b... -
05:57 PM Feature #17847: `ruby -run -e httpd` displays URL
- I'd like to merge this PR soon. Let me know if you have any objection.
-
09:48 PM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- mame (Yusuke Endoh) wrote in #note-13:
> Agreed. I think thread-local behavior is more reasonable. So, the current `t... -
06:34 PM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- This was discussed at the August 2021 developer meeting, and it was decided that TracePoint#enable with a block will ...
-
04:14 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- Eregon (Benoit Daloze) wrote in #note-10:
> I do expect:
> ```
> TracePoint.new(:line) {|tp| p tp }.enable do
> ... -
06:52 PM Feature #18124: Hash shorthands (matching constructors functionality in JS)
- osyo (manga osyo) wrote in #note-7:
> mame (Yusuke Endoh) wrote in #note-3:
> > For "Destructuring", you can use on... -
06:46 PM Feature #18124: Hash shorthands (matching constructors functionality in JS)
- mame (Yusuke Endoh) wrote in #note-3:
> For "Destructuring", you can use one-line pattern matching since Ruby 3.0:
> ... -
06:42 PM Feature #18124: Hash shorthands (matching constructors functionality in JS)
- mame (Yusuke Endoh) wrote in #note-3:
> For "Destructuring", you can use one-line pattern matching since Ruby 3.0:
... -
06:26 PM Feature #18124: Hash shorthands (matching constructors functionality in JS)
- For "Destructuring", you can use one-line pattern matching since Ruby 3.0:
```
hash = {a: 'a', b: 'b'}
hash => {... -
06:04 PM Feature #18124 (Closed): Hash shorthands (matching constructors functionality in JS)
- # **Suggestion:**
To implement one shorthand operators that allows you to construct hash into local variables and co... -
06:31 PM Bug #15428: Refactor Proc#>> and #<<
- This was discussed at the August 2021 developer meeting, but no decision was made. @matz is considering whether to c...
-
11:19 AM Bug #18123 (Feedback): addr2line.c: Define `SHF_COMPRESSED`
- Currently, `addr2line.c` defines `SHF_COMPRESSED` as `0` if not defined. This is problematic because this results in ...
-
07:27 AM Revision 5e9598ba (git): [ruby/error_highlight] Fixed the argument for DidYouMean.formatter=
- Looks like this bug was hidden by did_you_mean's rescuing any
exceptions.
https://github.com/ruby/error_highlight/co... -
07:18 AM Revision cad83fa3 (git): ast.c: Rename "save_script_lines" to "keep_script_lines"
- ... as per ko1's preference. He is preparing to extend this feature to
ISeq for his new debugger. He prefers "keep" t... -
06:18 AM Revision 4c93c124 (git): Turned the reminder comment to a compile-time message
-
06:18 AM Revision 371bb4ea (git): Add RBIMPL_TODO
- Make `RUBY_VERSION_SINCE` and `RUBY_VERSION_BEFORE` to take major
and minor numbers so usable also in preprocessor di... -
05:14 AM Misc #18122 (Closed): DevelopersMeeting20210916Japan
- # The next dev meeting
**Date: 2021/09/16 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee... -
05:04 AM Revision b32987a3 (git): Simplify repeated member access macros
-
01:44 AM Bug #14744 (Closed): Refinements modules have a superclass
- Applied in changeset commit:git|754adbee91c2d4a4e84e9271724ca33f630d1916.
----------
Module#ancestors should not ret... -
01:42 AM Revision 754adbee (git): Module#ancestors should not return superclasses of refinements
- [ruby-core:86949] [Bug #14744]
Reported by Eregon (Benoit Daloze). Thanks!
08/19/2021
-
11:58 PM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- At least commit:c0f4e4ca needs to be backported, since `p ObjectSpace::InternalObjectWrapper.new` segfaults.
-
11:56 PM Bug #18007 (Closed): Help developers of C extensions meet requirements in "doc/extension.rdoc"
-
05:32 PM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- Benoit, thanks for helping clarify the language in the description. I've also updated the PR commit log to use this l...
-
02:47 PM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- My confusion was that the description of this issue talks about the *allocate method*, but actually it's about the *a...
-
01:51 PM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- Thank you for your time, Matz, Naruse, and Nobu.
I've made the requested change in the [pull request](https://gith... -
06:26 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- @naruse objects to that warning appearing every time that instance is created.
So I propose to undefine the allocato... -
05:40 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
- In my opinion, it should be merged, and it should cause errors (not warnings) in the future. But we need a migration ...
- 11:30 PM Revision 70510d15 (git): * 2021-08-20 [ci skip]
-
11:30 PM Revision c0f4e4ca (git): undefine alloc functions for C extensions
- per guidance in doc/extension.rdoc, these classes now undefine their
alloc functions:
- ObjectSpace::InternalObjectW... -
11:30 PM Revision e8e3b7a0 (git): Undefine the alloc function for T_DATA classes
- which have not undefined or redefined it.
When a `T_DATA` object is created whose class has not undefined or
redefin... -
05:48 PM Bug #18078 (Closed): rb_fix2uint should avoid method lookup and use FIXNUM_NEGATIVE_P
- Fixed by commit:d668cd188ca91cf08ea7678bad1dd0bc8a997a81
-
05:09 PM Bug #18121 (Feedback): addr2line.c: Endianness
- A patch is attached to partially fix endianness issues in `addr2line.c`.
It would be more desirable if we could ge... -
05:05 PM Bug #18120 (Closed): Deadlock and segfault when using autoload in Ractor
- The following scripts with autoload causes Ractor to report a deadlock and segfault (tested on Ubuntu 20.04 and macOS...
-
04:42 PM Feature #18083: Capture error in ensure block.
- I think use-cases needing separate cleanups whether there is a Ruby exception or "normal execution or non-local contr...
-
09:57 AM Feature #18083: Capture error in ensure block.
- @matz I agree with your general feeling completely. But it's too late: We already have "ugly and against the basic co...
-
08:19 AM Feature #18083: Capture error in ensure block.
- I hesitate to enhance `ensure`. It's ugly and against the basic concept of `ensure`.
The `ensure` behavior was taken... -
08:04 AM Feature #18083: Capture error in ensure block.
- We want to make it easy for people to write robust Ruby programs, even if there is failure. As discussed in <https://...
-
01:00 AM Feature #18083: Capture error in ensure block.
- Your proposed "shorter and easier to understand" implementation is actually incorrect:
```
def transaction1
be... -
12:51 AM Feature #18083: Capture error in ensure block.
- > Ruby already has too many features for exceptional flow control. Adding more stuff that makes this even more compli...
-
12:45 AM Feature #18083: Capture error in ensure block.
- Eregon (Benoit Daloze) wrote in #note-3:
> If you only need to know if there is an `Exception` this seems easier:
>... -
03:00 PM Feature #12075: some container#nonempty?
- I’m not entirely sure we need a new method for this, because we could always use `ary.size.nonzero?` or `ary.size.pos...
-
06:57 AM Feature #12075: some container#nonempty?
- duerst (Martin Dürst) wrote in #note-28:
> I agree with @gotoken that `filled?` is confusing.
Yes, it might be conf... -
12:54 AM Feature #12075: some container#nonempty?
- sawa (Tsuyoshi Sawada) wrote in #note-27:
> I think `filled?` is a perfect method name.
I agree with @gotoken t... -
01:23 PM Bug #18119 (Closed): Ractor crashes when instantiating classes
- The following script crashes with a segfault (tested on Ubuntu 20.04 and macOS 11.5.2):
```ruby
workers = (0...8)... -
01:18 PM Bug #14744: Refinements modules have a superclass
- @matz Should `instance_method` and other methods magically find the method on the refined class, even though `self` i...
-
07:41 AM Bug #14744 (Assigned): Refinements modules have a superclass
-
07:28 AM Bug #14744: Refinements modules have a superclass
- I am so sorry for being late.
I agree with @shugo's opinion in #note-2. We should hide `Array` in the example.
Ma... -
12:52 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- Nothing strange found in `.debug_abbrev`, either.
A patch is attached to help ease debugging. -
04:50 AM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- I have recreated and reuploaded the tarball. Same URL should work.
-
10:08 AM Bug #18118 (Closed): Error compiling ruby 2.7.0: pure_parser.rb:25:in `gets': Can't do inplace edit without backup (fatal)
- Fixed by commit:05485868cbd1e7a59063d5b4be2ee2313ac9fa25.
-
04:26 AM Bug #18118 (Closed): Error compiling ruby 2.7.0: pure_parser.rb:25:in `gets': Can't do inplace edit without backup (fatal)
- I get an error when compiling ruby from https://github.com/ruby/ruby
### Environment
VS2015 x64 x86 compatible tool... -
08:44 AM Revision 6963f8f7 (git): Remove old warning aged nearly 8 years
-
08:39 AM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- @eregon This was my first though as well, but the current behavior is already defined in ruby-spec.
I would prefer... -
08:20 AM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- I don't have any strong opinion but @eregon's approach looks a bit better.
-
08:28 AM Revision f96c1994 (git): Fix test failure on spec/ruby/language/pattern_matching_spec.rb
- https://github.com/ruby/ruby/runs/3369486308
-
08:11 AM Feature #16182 (Closed): Should `expr in a, b, c` be allowed or not?
- Applied in changeset commit:git|ecb6d6a4ef058b5598a7633c3921eeab08ce11c6.
----------
Allow omission of parentheses i... -
07:32 AM Feature #16182: Should `expr in a, b, c` be allowed or not?
- I agree with allowing to omit parentheses in the pattern.
Matz.
-
08:07 AM Revision ecb6d6a4 (git): Allow omission of parentheses in one line pattern matching [Feature #16182]
-
07:26 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
- `GC::Profiler` is not maintained well and it doesn't calculate all of GC time now.
I rework it using `clock_gettime`... -
06:36 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
- I agree. Need to consider performance cost.
Matz.
-
07:18 AM Bug #15404 (Rejected): Endless range has inconsistent chaining behaviour
- I think it's OK to keep the current behavior. `1.. ..2` looks weird, I agree, but don't need to be a syntax error.
... -
07:11 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- Eregon (Benoit Daloze) wrote in #note-11:
> Actually thread-local might not be enough, we'd probably want Fiber loca... -
07:10 AM Revision 00d66f7e (git): Hard-link executable files to mae runnable
- As `$ORIGIN` on Linux is refered from the real path of the
executable file, symbolic linked executable file cannot work. -
07:05 AM Bug #18036: Pthread fibers become invalid on fork - different from normal fibers.
- Thanks @matz. @ko1, on my PC, the following program segfaults. I tried it on 2.7 and 3 (head).
~~~ ruby
require 'fib... -
06:57 AM Bug #18036: Pthread fibers become invalid on fork - different from normal fibers.
- Using fork from within non-main fibers should be prohibited only on architectures where it is unreliable (e.g. OpenBS...
-
06:47 AM Revision 600d0f78 (git): Bump patchlevel.
-
06:46 AM Revision c7587561 (git): Bundle RBS 1.4.0 & typeprof 0.15.2 (#4753)
- * Bundle RBS 1.4.0
* Bundle typeprof 0.15.2 -
06:46 AM Revision 40057630 (git): Update TypeProf to 0.15.1
-
06:46 AM Revision 37f82437 (git): Merge RubyGems 3.2.26 and Bundler 2.2.26
-
06:46 AM Revision 41a28637 (git): Merge RubyGems 3.2.25 and Bundler 2.2.25
-
06:46 AM Revision 679185d6 (git): Merge RubyGems 3.2.24 and Bundler 2.2.24
-
06:46 AM Revision f1039afa (git): Merge RubyGems 3.2.23 and Bundler 2.2.23
- 06:46 AM Revision 4469c4e4 (git): * 2021-08-19 [ci skip]
-
06:45 AM Revision ca8f73ef (git): Revert "merge revision(s) 164f50dea918e7019847f578c3cffb079993d626,1985a3a77fac64cda177c74113a9348e36233630:"
- This reverts commit 09d90c0ed861e74e58a59bc413bc39bcf9775db8.
-
06:08 AM Revision 09d90c0e (git): merge revision(s) 164f50dea918e7019847f578c3cffb079993d626,1985a3a77fac64cda177c74113a9348e36233630:
- Update TypeProf to 0.15.1
---
.github/workflows/ubuntu.yml | 2 +-
gems/bundled_gems ... -
04:35 AM Misc #18039: DevelopersMeeting20210819Japan
- * [Bug #18077] `Marshal.dump(closed_io)` raises `IOError` instead of `TypeError` (nobu)
* `Marshal.dump` is expect... -
04:05 AM Bug #17202: Backport for Apple Silicon
- CI of snapshot-ruby_2_6 failed on macos-11.
It seems this issue is related.
Because nobu says
https://github.com/... - 02:33 AM Revision e20e97b4 (git): * 2021-08-19 [ci skip]
-
02:33 AM Revision 1985a3a7 (git): Bundle RBS 1.4.0 & typeprof 0.15.2 (#4753)
- * Bundle RBS 1.4.0
* Bundle typeprof 0.15.2
08/18/2021
-
11:04 PM Feature #18083: Capture error in ensure block.
- There are lots of ways to achieve this but the reality is there is a lot of code which uses `$!` in the ensure block ...
-
05:09 PM Feature #18083: Capture error in ensure block.
- If you only need to know if there is an `Exception` this seems easier:
Using the example from https://bugs.ruby-lang.... -
05:04 PM Feature #18083: Capture error in ensure block.
- The second snippet seems clear, the first one much less.
In what cases `error` is set? If it's a StandardError? If i... -
03:09 AM Feature #18083: Capture error in ensure block.
- By the way, perhaps we should consider deprecating `$!` since its usage can lead to incorrect behaviour.
-
03:03 AM Feature #18083 (Open): Capture error in ensure block.
- As discussed in https://bugs.ruby-lang.org/issues/15567 there are some tricky edge cases.
As a general model, some... -
09:29 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- vo.x (Vit Ondruch) wrote in #note-22:
> The dumps should be available here: https://vondruch.fedorapeople.org/objdum... -
08:19 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- xtkoba (Tee KOBAYASHI) wrote in #note-21:
> Isn't it possible that either section is broken?
Well, it should be D... -
06:08 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- The message
```
1267: Abbrev Number 106 not found
```
means that `addr2line.c` could not find an abbrev table... -
05:34 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
- The result with the latest patch is significantly different:
~~~
$ gdb --args ./miniruby -e'Process.kill("SIGSEGV... -
09:06 PM Bug #17823: addr2line.c: Interpret `DW_RLE_start_length`
- An edited patch is attached so that it applies cleanly to the current master head.
-
08:44 PM Bug #18117 (Closed): Segmentation fault when yielding values from Ractors during GC sweeping
- [Link for GitHub PR containing the fix](https://github.com/ruby/ruby/pull/4755)
Ractors may invoke `rb_objspace_re... -
04:51 PM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- Why does IO#internal_encoding (and external_encoding) raise if the IO is closed?
They could just return the encoding... -
03:14 PM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
- https://github.com/ruby/ruby/pull/4749 is another fix without the above side effect. Is it OK?
-
02:25 PM Feature #12075: some container#nonempty?
- p8 (Petrik de Heus) wrote in #note-25:
> What about `ary.filled?` ?
> It nicely pairs with empty and is not too long.... -
01:21 PM Feature #12075: some container#nonempty?
- Boolean `size?` looks good to me. I vote for it.
My first choice was `nonempty?` because this is very common word in... -
12:37 PM Revision 0b7969b6 (git): Silence LoadError only if it is for `rubygems` itself
- Co-authored-by: David Rodríguez <[email protected]>
Co-authored-by: Hiroshi SHIBATA <[email protected]> -
09:24 AM Revision d668cd18 (git): rb_fix2uint should use FIXNUM_NEGATIVE_P
- rb_num_negative_int_p is equivalent to calling the "<" method on
Integer (and checking whether it is overridden), whe... -
09:18 AM Bug #18084 (Closed): `JSON.dump` can crash VM.
- Applied in changeset commit:git|574f3af36ea008896419d2e2407f8fce83bdcd2e.
----------
Rewind execution tags more at s... -
05:38 AM Bug #18084: `JSON.dump` can crash VM.
- https://github.com/ruby/ruby/pull/4751
-
04:20 AM Bug #18084: `JSON.dump` can crash VM.
- @nobu suggested the following code could be updated:
~~~ clang
sigill(int sig SIGINFO_ARG)
{
check_reserved... -
04:17 AM Bug #18084: `JSON.dump` can crash VM.
- Minor improvement to formatting.
-
04:17 AM Bug #18084 (Closed): `JSON.dump` can crash VM.
- ~~~ ruby
require 'json'
x = {}; x[:x] = x
JSON.dump(x) # => nil
JSON.dump(x) # => SIGILL
~~~
Results from... -
08:23 AM Revision 95e7aed8 (git): SIGILL can raise at stack overflow on Linux too [Bug #18084]
-
08:23 AM Revision 574f3af3 (git): Rewind execution tags more at stack overflow [Bug #18084]
-
04:18 AM Bug #5808: "a = []; a << a; puts JSON.dump(a)" aborted
- https://bugs.ruby-lang.org/issues/18084 maybe regression.
-
03:08 AM Misc #18039: DevelopersMeeting20210819Japan
- - [Feature #18083] Capture error in ensure block.
- Is it acceptable? -
03:00 AM Feature #15567 (Rejected): Allow ensure to match specific situations
- I will make a more limited proposal.
Also available in: Atom