Project

General

Profile

Activity

From 10/20/2018 to 10/26/2018

10/26/2018

06:04 AM Feature #15251: Hash aset should deduplicate non tainted string
> But I got some spec failures due to singleton class (below). I
> haven't investigated, yet, but I think there ma...
normalperson (Eric Wong)
05:42 AM Feature #15251: Hash aset should deduplicate non tainted string
[email protected] wrote:
> I think so far it looks good, let me know if I did something wrong while running th...
normalperson (Eric Wong)
05:32 AM Feature #15251 (Closed): Hash aset should deduplicate non tainted string
Applied in changeset trunk|r65371.
----------
hash.c: aset deduplicates un-tainted string
We revisit [Bug #9188] si...
normalperson (Eric Wong)
02:54 AM Feature #12490 (Closed): Remove warning on shadowing block params
Applied in changeset trunk|r65367.
----------
parse.y: remove "shadowing outer local variable" warning
You can now ...
mame (Yusuke Endoh)

10/25/2018

10:43 PM Bug #15255 (Rejected): Change in protected handling 2.3 -> 2.4,2.5
It looks like when moving to 2.4 and higher, the access to protected method has changed. In the following case:
~~...
viraptor (Stan Pitucha)
09:56 PM Bug #15254 (Rejected): Array#slice should not treat the index past the last element as a special case
This is per spec.
Here's one way to see the start indices:
```
[ :a, :b, :c ]
# ^ ^ ^ ^
# ...
marcandre (Marc-Andre Lafortune)
09:44 PM Bug #15254 (Rejected): Array#slice should not treat the index past the last element as a special case
Array#slice should not treat the index past the last element as a special case. This causes Array#slice(start, length... Malakai97 (Bryan Hockey)
01:11 PM Bug #15253 (Closed): Arduinoとの接続においてSocket.tcp_server_loop中で$stderr.puts、pなどが使用できない
サーバーにおいて以下のコードを動かしています。
```ruby
require 'socket'
Socket.tcp_server_loop("", 49088) {|sock, client_addrinfo|
...
aants (Makoto HOSHINO)
10:50 AM Misc #15202: Adding Coverity Scan to CI to see the result casually
> Instead of that, It looks good to me that someone could see the result of coverity scan casually anytime to fix tho... jaruga (Jun Aruga)
10:38 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
> Let me close this now. Thank you for the report!
Yeah, thank you for closing. I saw the updated .travis.yaml.
o...
jaruga (Jun Aruga)
05:16 AM Misc #15220 (Closed): Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
Let me close this now. Thank you for the report! shyouhei (Shyouhei Urabe)
07:05 AM Feature #15251: Hash aset should deduplicate non tainted string
@normalperson I also benchmarked so_k_nucleotide mentioned in https://bugs.ruby-lang.org/issues/9188 with following c... chopraanmol1 (Anmol Chopra)

10/24/2018

09:52 PM Feature #15251: Hash aset should deduplicate non tainted string
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15251

> I'm not sure if current behavior is ex...
normalperson (Eric Wong)
01:07 PM Feature #15251 (Closed): Hash aset should deduplicate non tainted string
I'm not sure if current behavior is expected one or a bug. So feel free to change tracker type.
Currently Hash ASE...
chopraanmol1 (Anmol Chopra)
07:12 PM Bug #15252 (Closed): hitting what seems like a gc segfault at random
I apologize as I don't have a reproducible test case but I'm hoping by sharing the trace that others may be able to c... rlgomes (Rodney Gomes)
03:05 PM Bug #15237: Extreme memory/CPU utilization when calculating some exponents
This seems to have been fixed in r65190.
~~~
$ ./ruby --version
ruby 2.6.0dev (2018-10-24 trunk 65355) [x86_64-l...
bannable (Joe Truba)
03:03 PM Bug #15246: Invalid read (SEGV on indeterminate address) in id_table.c
nobu (Nobuyoshi Nakada) wrote:
> Maybe fixed by r65190?
Yes, looks fixed.
~~~
$ ASAN_OPTIONS=detect_leaks=0 ....
bannable (Joe Truba)
09:45 AM Bug #15246: Invalid read (SEGV on indeterminate address) in id_table.c
Maybe fixed by r65190? nobu (Nobuyoshi Nakada)
01:05 PM Bug #15250 (Closed): Concurrent fibers segfault when thread caching is disabled
~~~ ruby
500.times do
Array.new(200) { |n|
Thread.new {
Fiber.new {
readable = open(__FILE__...
qyliss (Alyssa Ross)
12:02 PM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
Yes, 2.4 is ok but 2.5 crashes.
```
$ ruby2.4 -v -e 'i = 0; %w(1) || 2 while (i += 1) < 100; p i'
ruby 2.4.5p335...
nobu (Nobuyoshi Nakada)
11:48 AM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
I think r59892 introduce this bug. I'll fill Backport field according to the changeset timing. I didn't confirm it's ... nagachika (Tomoyuki Chikanaga)
10:38 AM Bug #15245 (Closed): Heap buffer overflow (write of size 8) in vm.inc
Applied in changeset trunk|r65350.
----------
compile.c: fix peephole optimization
* compile.c (iseq_peephole_optim...
nobu (Nobuyoshi Nakada)
10:38 AM Bug #15248 (Closed): Segfault/memory corruption in vm.c:1946
Applied in changeset trunk|r65350.
----------
compile.c: fix peephole optimization
* compile.c (iseq_peephole_optim...
nobu (Nobuyoshi Nakada)
12:03 AM Bug #15248: Segfault/memory corruption in vm.c:1946
I guess this is as same as #15245.
```
$ echo -n "2557 0024 7f54 0020 7c7c 6e54 5a20 7768 696c 6523 4054 456d 652...
wanabe (_ wanabe)

10/23/2018

11:49 PM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
It may be due to peephole_optimization.
I went into an infinite loop without peephole_optimization.
It is an expe...
wanabe (_ wanabe)
04:46 PM Bug #15245 (Closed): Heap buffer overflow (write of size 8) in vm.inc
Reproducer:
~~~
$ xxd repro1_2
00000000: 2557 0030 007c 7c30 7768 696c 650a 30 %W.0.||0while.0
$
~~~
Addr...
bannable (Joe Truba)
10:44 PM Feature #15233: Speeding Up Matrix Powers
Cool. I'll definitely have a look, in a few days probably as I'm travelling right now marcandre (Marc-Andre Lafortune)
09:28 PM Feature #15233: Speeding Up Matrix Powers
The O(ln n) method could be written as follows.
def pow1(m, n)
return m if n == 1
p = pow1(m, n/...
CaryInVictoria (Cary Swoveland)
08:09 PM Misc #15249 (Open): Documentation for attr_accessor and attr_reader should be corrected
The documentation for [Module#attr_accessor](http://ruby-doc.org/core-2.5.1/Module.html#method-i-attr_accessor) (v2.5... CaryInVictoria (Cary Swoveland)
05:28 PM Bug #15248 (Closed): Segfault/memory corruption in vm.c:1946
Reproducer:
~~~
$ xxd ../repro3
00000000: 2557 0024 7f54 0020 7c7c 6e54 5a20 7768 %W.$.T. ||nTZ wh
00000010: 696...
bannable (Joe Truba)
05:02 PM Bug #15247 (Open): Windows - TEMP folder, non 8.3 & drive, fails & errors in test-all (ruby & rdoc)
While working with Azure pipelines, two issues came up related to the TEMP folder.
1\. The standard Windows TEMP f...
MSP-Greg (Greg L)
04:51 PM Bug #15246 (Closed): Invalid read (SEGV on indeterminate address) in id_table.c
This one does not crash a normal ruby build, but results in ASAN SEGVing on an unknown address. Valgrind doesn't seem... bannable (Joe Truba)
02:38 PM Bug #14678: Segmentation fault in pg
masutaka (Takashi Masuda) wrote:
> I avoided this problem by reinstalling vendor/bundle. My OS is macOS High Sierra....
nobu (Nobuyoshi Nakada)
06:32 AM Bug #14678: Segmentation fault in pg
I avoided this problem by reinstalling vendor/bundle. My OS is macOS High Sierra.
I guess vendor/bundle/ruby/2.5.0...
masutaka (Takashi Masuda)
12:42 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
ahorek (Pavel Rosický) wrote:
> IMO
> ```
> File.extname('..jpg')
> ```
> should be
> ```
> => ".jpg"
> ```
...
TiSer (Sergey Ti)
12:31 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
IMO
```
File.extname('..jpg')
```
should be
```
=> ".jpg"
```
proposed
```
=> "."
```
or the current be...
ahorek (Pavel Rosický)
12:19 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
Is this a real problem?
How many people have had entries with more leading '.'?
File.extname('foobar......j...
shevegen (Robert A. Heiler)
11:56 AM Bug #15244: Method #extname return empty string if filename is dot ('.')
add one more example TiSer (Sergey Ti)
11:17 AM Bug #15244 (Closed): Method #extname return empty string if filename is dot ('.')
### Example 1:
Current behaviour:
```
File.extname('..jpg')
=> ""
```
Expected behaviour:
```
File.extname...
TiSer (Sergey Ti)
11:47 AM Bug #15243: Please backport more OpenSSL 1.1.1 compatibility fixes.
This ticket is similar with below ticket.
Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
https://bugs.ruby-lang.or...
jaruga (Jun Aruga)
10:21 AM Bug #15243 (Closed): Please backport more OpenSSL 1.1.1 compatibility fixes.
Some of the fixes are already in Ruby 2.5.2+, but there are others missing, which prevents Ruby from building (passin... vo.x (Vit Ondruch)
04:54 AM Bug #14867: Process.wait can wait for MJIT compiler process
Thank you for your apply.
>Oops :x nobody told me about stackprof and SIGPROF usage :x
sorry I needed to write ...
ko1 (Koichi Sasada)
03:52 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Issue #14867 has been updated by ko1 (Koichi Sasada).
>
>
> "multi-thread-safe" is not ...
normalperson (Eric Wong)
02:59 AM Bug #14867: Process.wait can wait for MJIT compiler process
"multi-thread-safe" is not correct. It was my mistake and it should be "signal handler safe" because this API is used... ko1 (Koichi Sasada)
02:28 AM Bug #14867: Process.wait can wait for MJIT compiler process
The original issue which I mentioned seems to have been fixed by r65312.
> I don't think rb_postponed_job_register...
k0kubun (Takashi Kokubun)
01:22 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Ah, one thing I forgot to note which was found on watching CI is that looping in `st...
normalperson (Eric Wong)
12:10 AM Bug #14867: Process.wait can wait for MJIT compiler process
Ah, one thing I forgot to note which was found on watching CI is that looping in `stop_worker()` (calling `rb_postpon... k0kubun (Takashi Kokubun)
01:22 AM Bug #15130: Nested Timeouts hang on cygwin
> Martin: ping on [ruby-core:89410]

Thanks for the private reply, just wanted to make sure you were
aware of it....
normalperson (Eric Wong)

10/22/2018

11:44 PM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Thanks for your quick response.
> So rb_postponed_job_flush is calling mjit_copy_job_handler? I'm
> not sure how...
k0kubun (Takashi Kokubun)
06:32 PM Bug #14867: Process.wait can wait for MJIT compiler process
```
[email protected] wrote:
> @normalperson You added `RUBY_VM_CHECK_INTS(ec)` in mjit.c's `stop_worker()` on...
normalperson (Eric Wong)
04:37 PM Bug #14867 (Assigned): Process.wait can wait for MJIT compiler process
@normalperson You added `RUBY_VM_CHECK_INTS(ec)` in mjit.c's `stop_worker()` on r63855, but that seems to randomly ca... k0kubun (Takashi Kokubun)
09:53 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
Thanks everyone for the feedback! As suggested, I'll wait a few more days for more feedback, and then come up with an... ivoanjo (Ivo Anjo)
08:19 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
i didn't looked yet how Set is implemented, is it ruby code only or does it has some C coded parts too?
if it has ...
Hanmac (Hans Mackowiak)
04:23 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
Having a patch (using .respond_to?, I'd guess) would probably make acceptance much easier. duerst (Martin Dürst)
09:42 PM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
Just wanted to second this FR as something I'd find useful.
Also, it would be nice to have associated predicate me...
MikeVastola (Mike Vastola)
07:35 PM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
Run this script with a shell to workaround the issue:
~~~ shell
#!/bin/sh
# Copyright:: 2018 Daniel Barrows
# Lic...
daniel-barrows (Daniel Barrows)
06:32 PM Bug #15241: net/pop fix to use mutable strings was too eager
```
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15241
> See
> [[https://github.com/ruby/ruby...
normalperson (Eric Wong)
12:40 PM Bug #15241 (Rejected): net/pop fix to use mutable strings was too eager
See [[https://github.com/ruby/ruby/commit/3993fbb5f6bfdae0bce040988d7e2dd632247cdc#commitcomment-30987842|this thread... eventualbuddha (Brian Donovan)
09:03 AM Bug #15130: Nested Timeouts hang on cygwin
Martin: ping on [ruby-core:89410]

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/89410
normalperson (Eric Wong)
08:54 AM Feature #15236: add support for hash shorthand
matz (Yukihiro Matsumoto) wrote:
> As a conservative old timer who does not use JavaScript at all, I still feel nega...
janfri (Jan Friedrich)
02:07 AM Feature #15236: add support for hash shorthand
Hi guys,
Thanks for the discussions! Sorry I didn't noticed that it was proposed (multiple times) before.. I tried...
ignatiusreza (Ignatius Reza Lesmana)
07:19 AM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I tried to run my test suite (the only thing that I found triggering the crash) with `FIBER_USE_NATIVE=1` and it work... renchap (Renaud Chaput)

10/21/2018

11:27 PM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I think it is related to (or same as) https://bugs.ruby-lang.org/issues/14561.
Because (1) all SEGV is on macOS and ...
wanabe (_ wanabe)
08:51 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
From my own experience there is often a very good chance for extending duck typing
possibilities in ruby if there is...
shevegen (Robert A. Heiler)
07:45 PM Feature #15240 (Assigned): Set operations check for is_a?(Set), rather than allowing duck typing
Hello there 👋
Ruby's `Set`, unlike `Array` or `Hash`, cannot easily interoperate with user-created classes as seve...
ivoanjo (Ivo Anjo)
05:26 PM Feature #15239: [patch] test-spec win32ole
Looking over test logs from today, I noticed `TestWIN32OLE_EVENT_ADO` in `test/win32ole/test_win32ole_event.rb`, whic... MSP-Greg (Greg L)
03:33 PM Bug #14483 (Closed): Enchance Method docs
Applied in changeset trunk|r65283.
----------
Improve docs of Proc / Method
* proc.c: Add descriptions and code exa...
aycabta (aycabta .)
03:24 PM Bug #14436 (Closed): Enchance yield_self docs
Closed by [@65271](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/65271). aycabta (aycabta .)
07:04 AM Bug #13598 (Closed): mutex_m: Missing info in the doc
Applied in changeset trunk|r65270.
----------
Add missing info for Mutex_m to the doc [Bug #13598]
* lib/mutex_m.rb...
aycabta (aycabta .)
06:42 AM Misc #10836 (Closed): Add Documentation to Regexp
Applied in changeset trunk|r65269.
----------
Improve doc of Regexp about "ignore case" behavior [Misc #10836]
* do...
aycabta (aycabta .)

10/20/2018

11:55 PM Bug #13986 (Closed): Integer#fdiv with Complex returns unexpected value
反応が遅くなってすみません。
現行の(修正後の)仕様について、そういうものなのだろう、と納得いたしました。
5.5 (5 5)
07:32 PM Feature #15239 (Assigned): [patch] test-spec win32ole
Some of the current Win32OLE spec tests use the InternetExplorer control. This control is not available on Azure pip... MSP-Greg (Greg L)
12:08 PM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I just tested with 2.5.2 and 2.6.0-preview2 and I can still reproduce this when running my tests.
This still happe...
renchap (Renaud Chaput)
11:47 AM Bug #13972 (Closed): [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
Applied in changeset trunk|r65235.
----------
Document File.{setuid?,setgid?,sticky?} support for IO objects [Bug #1...
aycabta (aycabta .)
11:29 AM Feature #15009 (Closed): Add negotiated SSL protocol and cipher to Net::HTTP debug output
Applied in changeset trunk|r65233.
----------
Add negotiated SSL protocol and cipher to Net::HTTP debug output
From...
naruse (Yui NARUSE)
11:09 AM Bug #15019 (Closed): Documentation for Net::HTTP claims that multipart/form-data is not supported
Applied in changeset trunk|r65230.
----------
Improve doc of multipart/form-data [Bug #15019]
* lib/net/http.rb: Do...
aycabta (aycabta .)
10:57 AM Misc #15109 (Closed): Improve safe navigation operator's docs
Applied in changeset trunk|r65228.
----------
Improve safe navigation operator's docs [Misc #15109]
* doc/syntax/ca...
aycabta (aycabta .)
10:40 AM Bug #7787 (Rejected): ruby 1.9 regexp quantifiers behave unpredictably when stacked
This should be handled on upstream. naruse (Yui NARUSE)
10:38 AM Bug #7156 (Rejected): Invalid byte sequence in US-ASCII when using URI from std lib
The argument of URI need to be escaped.
Maybe Ruby support non escaped URI when browser's URL handling becomes concr...
naruse (Yui NARUSE)
07:57 AM Feature #15233 (Assigned): Speeding Up Matrix Powers
Interesting. The current implementation accumulates the value in LSB-to-MSB order, and SymPy's implementation does i... mame (Yusuke Endoh)
06:58 AM Bug #15234: Running redis on the #all? block returns nil
ありがとうございます!
すでに修正されていたんですね。よかったです。
hazi (yuhei mukoyama)
06:53 AM Bug #15234 (Closed): Running redis on the #all? block returns nil
2.5.3 で再現し、trunk では動きました。#15105 と同じ問題のようで、r64800 で直ったと思われます。バックポートをお待ちください。
(bindex という gem が tracepoint のフックの中で r...
mame (Yusuke Endoh)
06:07 AM Feature #15022: Oneshot coverage
ioquatix (Samuel Williams) wrote:
> Did you take a look at https://github.com/ioquatix/covered - I'd be interested i...
mame (Yusuke Endoh)
05:59 AM Feature #15022: Oneshot coverage
I've committed with modification of API.
At the developers' meeting, some attendees pointed out that `Coverage.cle...
mame (Yusuke Endoh)
05:33 AM Feature #15022 (Closed): Oneshot coverage
Applied in changeset trunk|r65195.
----------
ext/coverage/: add the oneshot mode
This patch introduces "oneshot_li...
mame (Yusuke Endoh)
02:23 AM Feature #15236: add support for hash shorthand
As a conservative old timer who does not use JavaScript at all, I still feel negative. It seems to work best with des... matz (Yukihiro Matsumoto)
01:43 AM Bug #14964: [MJIT] missing builtin methods
Also, note that I added "--disable-install-mjit-header" on r65171, so you should be able to bypass the header build f... k0kubun (Takashi Kokubun)
01:41 AM Bug #14964 (Closed): [MJIT] missing builtin methods
On msys1 environment, I failed to build ruby with no configure options. I think msys1 support could be hard regardles... k0kubun (Takashi Kokubun)
01:21 AM Bug #14964 (Feedback): [MJIT] missing builtin methods
I succeeded to install msys1. I'm trying to reproduce your build error (and it's slowly proceeding), but your configu... k0kubun (Takashi Kokubun)
12:33 AM Bug #14964 (Open): [MJIT] missing builtin methods
Thank you to confirm again. I'll prepare msys1 environment and try to reproduce that. k0kubun (Takashi Kokubun)
01:38 AM Bug #15237 (Rejected): Extreme memory/CPU utilization when calculating some exponents
Note that ruby provides bignum arithmetic.
```ruby
(Math.log(888888888888888, 2)*88888888888888/(8*1024**4)) => 5...
nobu (Nobuyoshi Nakada)
12:50 AM Feature #15231: Remove `Object#=~`
```ruby
"" =~ "" #=> TypeError (type mismatch: String given)
```
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom