Project

General

Profile

Activity

From 08/03/2017 to 08/09/2017

08/09/2017

11:56 PM Bug #13794: Infinite loop of sched_yield
>> How about checking owner_process before incrementing?
> I'm afraid this fix doesn't quite match up in my mind. ...
catphish (Charlie Smurthwaite)
11:49 PM Bug #13794: Infinite loop of sched_yield
> Can you also check the value of timer_thread_pipe.owner_process?
I don't have any broken processes available rig...
catphish (Charlie Smurthwaite)
11:41 PM Bug #13794: Infinite loop of sched_yield
Eric Wong wrote:
> https://80x24.org/spew/[email protected]/raw

Also, a disclaimer: I've bee...
normalperson (Eric Wong)
11:41 PM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> Bug #13794: Infinite loop of sched_yield
> https://bugs.ruby-lang.org/issues/13794
>...
normalperson (Eric Wong)
05:09 PM Bug #13794: Infinite loop of sched_yield
Thanks for the report. I'll take a look at it in a few hours. normalperson (Eric Wong)
03:21 PM Bug #13794 (Closed): Infinite loop of sched_yield
I have been encountering an issue with processes hanging in an infinite loop of calling sched_yield(). The looping co... catphish (Charlie Smurthwaite)
08:37 PM Feature #13795: Hash#select return type does not match Hash#find_all
> I would like to suggest a third possible option: if Hash#select returning a Hash is useful, why not expand on this ... davidarnold (David Arnold)
06:30 PM Feature #13795: Hash#select return type does not match Hash#find_all
davidarnold (David Arnold) wrote:
> Ruby has been not backwards-compatible in several releases, so I don't see that ...
adp90 (Alexander Patrick)
05:47 PM Feature #13795: Hash#select return type does not match Hash#find_all
> This might make the next version of Ruby not backwards-compatible in some instances. It might be better to leave th... davidarnold (David Arnold)
04:25 PM Feature #13795: Hash#select return type does not match Hash#find_all
This might make the next version of Ruby not backwards-compatible in some instances. It might be better to leave the ... adp90 (Alexander Patrick)
04:08 PM Feature #13795 (Open): Hash#select return type does not match Hash#find_all
Enumerable#select and Enumerable#find_all are aliases. Hash is_a Enumerable, yet only Hash#select was overridden to ... davidarnold (David Arnold)
06:00 PM Bug #13793: Compatible issue with keyword args behavior
Minimal example:
```
def test(options={})
puts options
end
test **{foo: :bar}
```
lugray (Lisa Ugray)
06:09 AM Bug #13793 (Closed): Compatible issue with keyword args behavior
I found breaking changes for keyword args with Ruby 2.5.1
Reproduction instructions:
* git clone [email protected]...
hsbt (Hiroshi SHIBATA)
02:52 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> I decided to update the pull request so that 'filter' and 'filter!' would work like 'select' and 'select!' for Arra... davidarnold (David Arnold)
02:49 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> No, please fix your bug. Your proposal and its title are explicitly to make filter an alias of select.
Not sure ...
davidarnold (David Arnold)
06:51 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
davidarnold (David Arnold) wrote:
> For the purpose of this feature request, I would leave the filter == find_all be...
adp90 (Alexander Patrick)
04:52 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I think adding `filter` as an alias of `select` is a good idea, because indeed many languages use that name.
As fo...
duerst (Martin Dürst)
03:25 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> On another note, there is a small difference between 'find_all' and 'select', due to 'select' being overridden for ... davidarnold (David Arnold)
02:12 PM Bug #13791: `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Opened https://github.com/rails/rails/issues/30160 to ask wider information at Rails side. yahonda (Yasuo Honda)
08:15 AM Bug #13791 (Assigned): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
nobu (Nobuyoshi Nakada)
01:29 PM Bug #13690: next in once causes [BUG]
ruby_2_3 r59553 merged revision(s) 59202. usa (Usaku NAKAMURA)
11:04 AM Bug #13788 (Closed): libruby.so cannot be loaded by another program when --enable-load-relative is used
Applied in changeset trunk|r59549.
----------
ruby.c: origarg
* ruby.c (dladdr_path, ruby_set_argv): add guards for...
nobu (Nobuyoshi Nakada)
10:45 AM Bug #13380: [PATCH] Remove unused Init_frozen_strings declaration
ruby_2_3 r59548 merged revision(s) 58205. usa (Usaku NAKAMURA)
10:44 AM Bug #13369: TracePoint gives incorrect `return_value` after rescuing error when using `return`
ruby_2_3 r59547 merged revision(s) 58262,58263. usa (Usaku NAKAMURA)
10:32 AM Bug #13753: Segfault when calling `Random::DEFAULT.rand` in forked child
ruby_2_3 r59546 merged revision(s) 59368. usa (Usaku NAKAMURA)
10:31 AM Bug #13759: SEGV in StringScanner
ruby_2_3 r59545 merged revision(s) 59384. usa (Usaku NAKAMURA)
10:28 AM Bug #13411: Need to add OPTDIR to rpath earlier in configure
ruby_2_3 r59544 merged revision(s) 58287. usa (Usaku NAKAMURA)
10:14 AM Bug #13680: break in once causes [BUG]
ruby_2_3 r59543 merged revision(s) 59181. usa (Usaku NAKAMURA)
10:09 AM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
ruby_2_3 r59541 merged revision(s) 58503. usa (Usaku NAKAMURA)
08:57 AM Bug #13766: Ruby 2.3.4 build problem with "-fstack-check"
r57971の単純なバックポートでいければよかったんですが、世の中はそんなに甘くありませんでした :-P usa (Usaku NAKAMURA)
08:31 AM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
ruby_2_3 r59538 merged revision(s) 57415,57474. usa (Usaku NAKAMURA)
08:24 AM Bug #13284: IA64 ruby 2.4 miniruby segfault
ruby_2_3 r59537 merged revision(s) 59307. usa (Usaku NAKAMURA)
08:19 AM Bug #13429: Net::SMTP has no read timeout when connexion over TLS
ruby_2_3 r59533 merged revision(s) 56576,56623. usa (Usaku NAKAMURA)
08:10 AM Bug #12678: No way to set a timeout for TLS handshake when using Net::SMTP
ruby_2_3 r59533 merged revision(s) 56576,56623. usa (Usaku NAKAMURA)
08:08 AM Bug #13616: Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file
ruby_2_3 r59532 merged revision(s) 59333,59337. usa (Usaku NAKAMURA)
08:03 AM Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
ruby_2_3 r59531 merged revision(s) 59322,59325. usa (Usaku NAKAMURA)
07:56 AM Bug #13739: Backport r59312
ruby_2_3 r59530 merged revision(s) 59312. usa (Usaku NAKAMURA)
02:15 AM Misc #13792 (Closed): Rename spec/rubyspec to spec/ruby
This is consistency issue for ruby/spec.
Other ruby implementations use `spec/ruby` directory name.
* https://...
hsbt (Hiroshi SHIBATA)

08/08/2017

11:57 PM Bug #13791 (Third Party's Issue): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
caller: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/associations/builder/has_and_belong... shyouhei (Shyouhei Urabe)
03:12 PM Bug #13791 (Closed): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Since Revision 59519, Rails ActiveRecord unit test fails with this error.
> /home/yahonda/git/rails/activerecord/l...
yahonda (Yasuo Honda)
09:34 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
A potential concern could be language bloat. Having too many aliases for the same methods could be confusing.
I was ...
adp90 (Alexander Patrick)
04:22 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
+1 to "filter". Martin Fowler refers to this method as "filter" in his articles about collection pipelines (https://m... zornme (Matt Zorn)
03:31 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> I understand that it is beneficial for people familiar with other languages that have a "filter" function like this... davidarnold (David Arnold)
03:01 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I prefer not adding this alias. I understand that it is beneficial for people familiar with other languages that have... mikegee (Michael Gee)
04:32 PM Bug #13788: libruby.so cannot be loaded by another program when --enable-load-relative is used
It appears from the comment on `ruby_sysinit` that programs embedding ruby should NOT be calling it under normal usag... branan (Branan Riley)
01:26 AM Bug #13788 (Feedback): libruby.so cannot be loaded by another program when --enable-load-relative is used
To initialize a library properly is a responsibility of programs which use it, isn't it? nobu (Nobuyoshi Nakada)
03:09 PM Bug #13790 (Closed): rubyspec.org domain seems to be expired
## Summary
Ruby codebase has http links to rubyspec.org, but the domain is likely owned by different person, and t...
ujihisa (Tatsuhiro Ujihisa)
11:33 AM Bug #13720 (Rejected): appveyor.yml nmake arguments - not *nix style
usa (Usaku NAKAMURA)
11:27 AM Bug #13745 (Rejected): How to download latest build package for Windows 32/64?
usa (Usaku NAKAMURA)
08:34 AM Bug #13785 (Closed): trunk fails on Travis
Applied in changeset trunk|r59527.
----------
dir.c: fix up r59481 for old kernels
* dir.c (glob_helper): fix up r5...
nobu (Nobuyoshi Nakada)
08:29 AM Misc #13787: The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
Just use this Redmine project.
The most important feature of bug tracker is people can check info at only one plac...
naruse (Yui NARUSE)
06:53 AM Bug #13786: Unexpected behavior handling shebang
Ruby tries to parse options after "ruby" in a shebang line, and assumes there are only options.
So the last "ruby" i...
nobu (Nobuyoshi Nakada)
06:07 AM Bug #13786: Unexpected behavior handling shebang
shevegen (Robert A. Heiler) wrote:
> May I ask, what is the scl program doing with the shebang line?
Ok, lets use...
vo.x (Vit Ondruch)

08/07/2017

09:31 PM Feature #13789 (Rejected): Dir - methods
If having (new) Dir.entries, Dir.chidren, I would also add:
Dir.entries (includes all),
Dir.files Dir.dirs Dir.syml...
opti (Andreas Opti)
09:30 PM Bug #13788 (Closed): libruby.so cannot be loaded by another program when --enable-load-relative is used
--enable-load-relative causes `dladdr_path` in ruby.c to be called. This function assumes that `origarg` is set, but ... branan (Branan Riley)
09:14 PM Bug #13783: Memory allocation / GC does not free unused memory
I didn't manage to compile Ruby v250 (because of other errrors), nice to see that this bug is fixed now.
(I mentione...
opti (Andreas Opti)
09:09 PM Misc #13787 (Rejected): The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
Hello everyone but especially so the whole ruby-core team,
This is very long, so if you just want the short gist, ...
shevegen (Robert A. Heiler)
05:54 PM Bug #13786: Unexpected behavior handling shebang
May I ask, what is the scl program doing with the shebang line?
shevegen (Robert A. Heiler)
05:17 PM Bug #13786 (Closed): Unexpected behavior handling shebang
Ruby exhibits unexpected behavior handling this shebang:
~~~
$ cat <<EOF > foo
> #!/usr/bin/scl enable rh-ruby22...
vo.x (Vit Ondruch)
11:15 AM Bug #13785 (Closed): trunk fails on Travis
I noticed that travis-ci (https://travis-ci.org/ruby/ruby/builds) was red after I checked in r59521. I thought about ... duerst (Martin Dürst)
01:22 AM Bug #13537 (Closed): ruby crash in rb_gc_mark
:tada: ko1 (Koichi Sasada)

08/06/2017

10:23 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> > However the usual industry terms for these are map, filter, and reduce.
>
> I do not know whether these are "i...
davidarnold (David Arnold)
05:28 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> However the usual industry terms for these are map, filter, and reduce.
I do not know whether these are "industr...
shevegen (Robert A. Heiler)
03:10 AM Bug #13647: Some weird behaviour with keyword arguments
Just an idea to keep the original argument, if something left.
https://github.com/nobu/ruby/tree/bug/13647-non-has...
nobu (Nobuyoshi Nakada)
03:06 AM Bug #13647: Some weird behaviour with keyword arguments
After the previous developers' meeting, Matz said an idea to restrict it to only `T_HASH` and not to call `to_hash` m... nobu (Nobuyoshi Nakada)

08/05/2017

07:54 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I made a pull request: https://github.com/ruby/ruby/pull/1672. adp90 (Alexander Patrick)
03:18 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
+1. I don't always agree with new aliases but for this one. I actually wanted Enumerable#filter several times before. shyouhei (Shyouhei Urabe)
04:21 PM Bug #13537: ruby crash in rb_gc_mark
I see r59063 went into ruby_2_4 yesterday.
I've been running the Pry rspec suite repeatedly with
ruby 2.5.0de...
djellemah (John Anderson)
10:50 AM Feature #13780: String#each_grapheme
shan (Shannon Skipper) wrote:
> shevegen (Robert A. Heiler) wrote:
> > My only concern is about the name "grapheme"...
naruse (Yui NARUSE)
07:00 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
ruby_2_4 r59520 merged revision(s) 59457. nagachika (Tomoyuki Chikanaga)
06:58 AM Bug #10856 (Closed): Splat with empty keyword args gives unexpected results
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:58 AM Misc #11131 (Closed): Unexpected splatting of empty kwargs
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:58 AM Bug #13717 (Closed): Calling lambda with keyword arguments inconsistent behavior
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:46 AM Bug #13753: Segfault when calling `Random::DEFAULT.rand` in forked child
ruby_2_4 r59517 merged revision(s) 59368. nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
ruby_2_4 r59516 merged revision(s) 59462,59474. nagachika (Tomoyuki Chikanaga)
03:24 AM Bug #13669: Enumerable#uniq is ignoring second and following block arguments
ruby_2_4 r59515 merged revision(s) 59128. nagachika (Tomoyuki Chikanaga)
02:43 AM Bug #13578: Another iseq_set_sequence: adjust bug
ruby_2_4 r59514 merged revision(s) 58810,58894. nagachika (Tomoyuki Chikanaga)
02:22 AM Bug #13540: can't set length of shared string (RuntimeError) when interpolating __FILE__ in a heredoc
ruby_2_4 r59513 merged revision(s) 58561. nagachika (Tomoyuki Chikanaga)
01:56 AM Bug #13380: [PATCH] Remove unused Init_frozen_strings declaration
ruby_2_4 r59512 merged revision(s) 58205. nagachika (Tomoyuki Chikanaga)
01:53 AM Bug #13539: uninitialized class variable @@accept_charset in #<Class:CGI> when calling CGI.unescape
ruby_2_4 r59511 merged revision(s) 57501,58576. nagachika (Tomoyuki Chikanaga)
01:45 AM Bug #13528: Calling #denominator on a whole number floating point number causes segfault with mathn loaded.
ruby_2_4 r59510 merged revision(s) 58523. nagachika (Tomoyuki Chikanaga)

08/04/2017

05:21 PM Bug #13781: Should the safe navigation operator invoke `nil?`
> is there an actual use case? I very much doubt there is one
This is what some filed issues appear to be - a most...
shevegen (Robert A. Heiler)
04:59 AM Bug #13781: Should the safe navigation operator invoke `nil?`
Short answer is "no".
Longer answer is:
- is there an actual use case? I very much doubt there is one
- BasicObj...
marcandre (Marc-Andre Lafortune)
03:18 AM Bug #13781 (Closed): Should the safe navigation operator invoke `nil?`
In the following example:
~~~
class Later < BasicObject
def initialize(&block)
raise ::ArgumentError, "Block...
ioquatix (Samuel Williams)
04:20 PM Feature #13784 (Closed): Add Enumerable#filter as an alias of Enumerable#select
Ruby has a full set of functional tools in the Enumerable module under the "-ect" methods (viz. collect, select, inje... davidarnold (David Arnold)
04:13 PM Bug #13755: Null pointer dereference in hash_table_index()
ruby_2_4 r59507 merged revision(s) 59374. nagachika (Tomoyuki Chikanaga)
03:55 PM Bug #13759: SEGV in StringScanner
ruby_2_4 r59506 merged revision(s) 59384. nagachika (Tomoyuki Chikanaga)
03:29 PM Bug #13599: Float#ceil(n) doesn't work for small floats
ruby_2_4 r59505 merged revision(s) 58913. nagachika (Tomoyuki Chikanaga)
03:06 PM Bug #13605: GC bug calling `ObjectSpace.each_object`
ruby_2_4 r59503 merged revision(s) 59063. nagachika (Tomoyuki Chikanaga)
02:39 PM Bug #13411: Need to add OPTDIR to rpath earlier in configure
ruby_2_4 r59501 merged revision(s) 58287. nagachika (Tomoyuki Chikanaga)
02:31 PM Bug #13391: wrong number of arguments error for Hash#map when lambda given
ruby_2_4 r59500 merged revision(s) 59357,59358. nagachika (Tomoyuki Chikanaga)
01:57 PM Feature #13780 (Assigned): String#each_grapheme
Accepted.
I'll introduce this in Ruby 2.5.
naruse (Yui NARUSE)
12:10 PM Bug #13783 (Feedback): Memory allocation / GC does not free unused memory
Hmm, I don't know exactly why so this might not fork for you but at least on my machine, the situation seems fixed in... shyouhei (Shyouhei Urabe)
10:30 AM Bug #13783 (Closed): Memory allocation / GC does not free unused memory
100.times {x=[]; 1000000.times {|i| x.push [i,i*3]} }
100.times should use (more or less) the same memory as 3.times...
opti (Andreas Opti)
05:55 AM Bug #13782 (Closed): Backport r57733: kwrest arg name in --dump=parsetree
Please backport r57733.
kwrest arg name

* compile.c (iseq_set_arguments_keywords): make keyword res...
nobu (Nobuyoshi Nakada)

08/03/2017

09:11 PM Feature #13780: String#each_grapheme
shevegen (Robert A. Heiler) wrote:
> My only concern is about the name "grapheme".
>
> I don't know how it is for...
shan (Shannon Skipper)
07:09 PM Feature #13780: String#each_grapheme
My only concern is about the name "grapheme".
I don't know how it is for others but ... this is the first time tha...
shevegen (Robert A. Heiler)
06:35 PM Feature #13780 (Closed): String#each_grapheme
Ruby's regex engine has support for graphemes via `\X`:
https://github.com/k-takata/Onigmo/blob/791140951eefcf17db...
rbjl (Jan Lelis)
04:00 PM Bug #13682: return inside of ensure causes [BUG]
ruby_2_4 r59493 merged revision(s) 59183,59184. nagachika (Tomoyuki Chikanaga)
03:41 PM Bug #13690: next in once causes [BUG]
ruby_2_4 r59492 merged revision(s) 59202. nagachika (Tomoyuki Chikanaga)
03:40 PM Bug #13680: break in once causes [BUG]
ruby_2_4 r59491 merged revision(s) 59181. nagachika (Tomoyuki Chikanaga)
02:00 PM Bug #13678: toplevel return causes [BUG]
ruby_2_4 r59490 merged revision(s) 59169. nagachika (Tomoyuki Chikanaga)
01:43 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
ruby_2_4 r59489 merged revision(s) 58742,59081. nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
ruby_2_4 r59488 merged revision(s) 58503. nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom