Project

General

Profile

Activity

From 06/22/2018 to 06/28/2018

06/28/2018

11:47 PM Revision c4236d83 (git): * 2018-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:46 PM Revision c69b33c4 (git): rb_enc_alias
`rb_encdb`-prefixed functions are only for internal use.
use rb_enc_alias instead.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
06:40 PM Feature #14878: Add command line argument to deactivate JIT
Agreed!
I guess it may have already been on Takashi's todo list but he is like doing
lots of changes as-is.
A...
shevegen (Robert A. Heiler)
05:09 PM Feature #14878 (Closed): Add command line argument to deactivate JIT
For Ruby 2.6, JIT is off by default. But if a particular application can't use JIT for some reason, it may want to ex... noahgibbs (Noah Gibbs)
04:36 PM Bug #14842 (Closed): [ANN] ftp service is sunset in Jun 2018.
Hi all.
I changed DNS entry of ftp.ruby-lang.org to CDN from our dedicated server.
And I also changed origin serv...
hsbt (Hiroshi SHIBATA)
04:34 PM Bug #14842: [ANN] ftp service is sunset in Jun 2018.
>I am just asking so that I can update all old URLs that I have towards non-ftp then.
Yes. Please use https:// ins...
hsbt (Hiroshi SHIBATA)
04:22 PM Feature #14877: Calculate age in Date class
I actually opened a pull request in Rails to add this to ActiveSupport, but they told me to come here!
https://githu...
derosm2 (Mike DeRosa)
11:40 AM Feature #14877: Calculate age in Date class
I am not sure if .age() is a "proper name" or not, so I can't really decide
on that. But I specifically wanted to ad...
shevegen (Robert A. Heiler)
11:27 AM Feature #14877 (Rejected): Calculate age in Date class
Seems like there's enough complexity in determining the right values and it's something a ton of apps have to address... derosm2 (Mike DeRosa)
03:42 PM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Since r63758, `rb_waitpid()` hangs up frequently (not always) on macOS (darwin17).
> S...
normalperson (Eric Wong)
11:06 AM Bug #14867: Process.wait can wait for MJIT compiler process
Would it be simpler to track a set of pids created by MJIT, ignore those in waitpid() and synchronize around both cre... Eregon (Benoit Daloze)
02:33 PM Revision 63e72a58 (git): ast.c: Fix defs
* ast.c (node_children): Add mid to children
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63782 b2dd03c8-39d4-4...
yui-knk (Kaneko Yuichiro)
02:25 PM Bug #14873: Compile failure - MinGW build as of 63768
@normalperson
Do you SIGCHLD on that platform?
Really, not sure. But, I don't believe so. For instance, Puma ...
MSP-Greg (Greg L)
02:12 PM Bug #14873: Compile failure - MinGW build as of 63768
[email protected] wrote:
> verconf.h updated
> ../ruby/tool/transform_mjit_header.rb:118:in `block in check_code...
normalperson (Eric Wong)
02:18 PM Revision 4aaceb29 (git): Revert "rb_enc_alias"
This reverts commit r63779 which made test-spec fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63781 b2dd03...
mame (Yusuke Endoh)
01:22 PM Revision 7c9fa8f9 (git): Use nd_X shorthand for annotation
[Fix GH-1901]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63780 b2dd03c8...
nobu (Nobuyoshi Nakada)
01:18 PM Revision 7b3878e1 (git): rb_enc_alias
`rb_encdb`-prefixed functions are only for internal use.
use rb_enc_alias instead.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:02 PM Bug #14876: /bin/sh: bad substitution since r63679 on Solaris
r63232 で追加された `${arch%=*}` が "bad substitution" の原因でした。
前後の部分を引用します。
~~~
$${archs:+echo} $${archs:+'#if 0...
ngoto (Naohisa Goto)
03:05 AM Bug #14876 (Closed): /bin/sh: bad substitution since r63679 on Solaris
r63679以降、Solaris 上にて 64ビットでコンパイルすると、
mjit_config.h 作成中に以下のように "/bin/sh: bad substitution" エラーになります。
32ビットコンパイルでは発...
ngoto (Naohisa Goto)
09:59 AM Revision efd36e71 (git): fix feature name and removed a duplicate condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:35 AM Revision d0fb73a0 (git): check enc_capable.
* encoding.c (rb_enc_capable): make it extern to check enc_capable.
enc_index can be set to limited types such as T...
ko1 (Koichi Sasada)
08:15 AM Bug #14872 (Closed): Compile failure - mswin build as of 63768
nobu (Nobuyoshi Nakada)
07:34 AM Revision 40efaab3 (git): symbol.c: dsymbol initial encoding
* symbol.c (dsymbol_alloc): set encoding directly. no need to
check existing encoding in rb_enc_associate.
git-sv...
nobu (Nobuyoshi Nakada)
03:48 AM Revision c6d5b617 (git): Fix typo of file path [ci skip]
Patch by: yuuji.yaginuma <[email protected]>
https://github.com/ruby/ruby/pull/1900
[Fix GH-1900]
git-svn-id...
matsuda (Akira Matsuda)
02:53 AM Bug #14875 (Closed): /bin/sh: bad substitution
ngoto (Naohisa Goto)

06/27/2018

06:27 PM Revision 6c74c73f (git): tests: increase timeouts and speedup some slow tests
I'm still using the computer from 2005, so enabling MJIT makes
some tests take longer. For test_deadlock_by_signal_a...
Eric Wong
04:07 PM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson,
Eric,
Thanks for all the work on this and elsewhere. Some issues with Windows, both MSWin & Min...
MSP-Greg (Greg L)
03:32 PM Bug #14867: Process.wait can wait for MJIT compiler process
> Up to 14 patches, now, but I think most problems are solved,
> at least on Linux. FreeBSD 11.1 is close

Seems...
normalperson (Eric Wong)
01:33 PM Bug #14867: Process.wait can wait for MJIT compiler process
Since r63758, `rb_waitpid()` hangs up frequently (not always) on macOS (darwin17).
Seems `SIGCHLD` is not delivered.
nobu (Nobuyoshi Nakada)
01:13 PM Bug #14867: Process.wait can wait for MJIT compiler process
Since r63758, mswin builds are failing like https://ci.appveyor.com/project/ruby/ruby/build/1.0.8700, and the build e... k0kubun (Takashi Kokubun)
10:18 AM Bug #14867: Process.wait can wait for MJIT compiler process
r63764 probably fixes the specs better. At least my misguided attempt to
set ECHILD is removed.
Feel free to add...
normalperson (Eric Wong)
04:17 AM Bug #14867: Process.wait can wait for MJIT compiler process
Hi Eric. After you committed r63758 and r63760, 2 tests for Process.wait2 failed in ko1's CI server:
http://ci.rvm.j...
k0kubun (Takashi Kokubun)
03:56 PM Revision ddb301b6 (git): * 2018-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:56 PM Revision 114fec04 (git): Added guard condition for old ruby about RubyVM::MJIT.
Test libraries under the test/lib is used with default gems in
their repositories. default gems may support old rub...
hsbt (Hiroshi SHIBATA)
02:33 PM Bug #14874 (Closed): Segmentation fault under Cygwin
I failed to build Ruby 2.5.1 under Cygwin environment.
Steps:
mkdir ruby-build
cd ruby-build
../ruby-2.5.1/conf...
longda (long Lee)
02:00 PM Revision 8f6b3ef1 (git): use the prefixed macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:42 PM Revision 797fb39f (git): use rb_pid_t instead of pid_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Revision 636ae897 (git): Update to ruby/spec@98c7d74
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
01:14 PM Bug #14873 (Closed): Compile failure - MinGW build as of 63768
normalperson (Eric Wong),
The MinGW build (ruby-loco) on 63768 had the following error:
```
building .ext/incl...
MSP-Greg (Greg L)
01:11 PM Bug #14872 (Closed): Compile failure - mswin build as of 63768
@normalperson
The mswin build on 63768 had the following error:
```
compiling ../process.c
process.c
../pro...
MSP-Greg (Greg L)
12:30 PM Revision 9dc121cc (git): Update to ruby/spec@a454137
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:37 AM Revision fc1f3f14 (git): Update to ruby/spec@41068a6
* Only small fixes to specs from CRuby to review the diff more easily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eregon (Benoit Daloze)
11:37 AM Revision 80fdfbf8 (git): Update to ruby/mspec@7074b56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
10:56 AM Feature #14105 (Feedback): Introduce xor as alias for Set#^
knu (Akinori MUSHA)
10:36 AM Revision cbbe2fab (git): remove assertion for hidden objects.
* vm_insnhelper.h (PUSH): r63763 increase "PUSH()" op and it reveals that
there are hidden objects (at least T_IMEM...
ko1 (Koichi Sasada)
10:09 AM Revision 92f5653f (git): process.c (waitpid_wait): do not set ECHILD prematurely
It is possible to have both MJIT and normal child processes
alive, so we cannot set ECHILD based on such a guess. We...
Eric Wong
09:28 AM Bug #14834 (Closed): rb_profile_frames SEGV when PC adjusted on IFUNC
Applied in changeset trunk|r63763.
----------
give up insn attr handles_frame
I introduced this mechanism in r62051...
shyouhei (Shyouhei Urabe)
12:16 AM Bug #14834: rb_profile_frames SEGV when PC adjusted on IFUNC
This issue and #14809 are caused by the same problem. shyouhei (Shyouhei Urabe)
09:28 AM Bug #14809 (Closed): calc_lineno() returns wrong location
Applied in changeset trunk|r63763.
----------
give up insn attr handles_frame
I introduced this mechanism in r62051...
shyouhei (Shyouhei Urabe)
09:28 AM Revision 6b534134 (git): give up insn attr handles_frame
I introduced this mechanism in r62051 to speed things up. Later it
was reported that the change causes problems. I s...
shyouhei (Shyouhei Urabe)
08:24 AM Bug #14871 (Closed): MinGW Compile Error 63758
Applied in changeset trunk|r63762.
----------
signal.c: fix braino in fake_grantfd
[Bug #14871]
Is neon down? I m...
normalperson (Eric Wong)
04:02 AM Bug #14871 (Closed): MinGW Compile Error 63758
Just had a compile error running ruby-loco, probably due to 63758
```
compiling ../ruby/signal.c
../ruby/signa...
MSP-Greg (Greg L)
08:24 AM Revision 8222d794 (git): signal.c: fix braino in fake_grantfd
[Bug #14871]
Is neon down? I missed ruby-core notifications on this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eric Wong
08:18 AM Feature #14709: Proper pattern matching
zverok wrote an add-on in regards to "syntax proposal" here:
https://zverok.github.io/blog/2018-06-26-pattern-matc...
shevegen (Robert A. Heiler)
07:32 AM Bug #14659: segfault in ConditionVariable#broadcast and ConditionVariable#signal
Backport request for 2.5.2 is here, sorry for the breakage:
https://bugs.ruby-lang.org/issues/14852
normalperson (Eric Wong)
06:01 AM Revision ea5efa11 (git): s/pid_t/rb_pid_t/
Some platforms do not have pid_t :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63761 b2dd03c8-39d4-4d8f-98ff-...
Eric Wong
03:24 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
This is possibly one of the most irritating changes to Ruby recently. Now, every time I read back trace, I have to ch... ioquatix (Samuel Williams)
03:16 AM Revision 910418fc (git): Revert "spec: skip Process wait specs on MJIT"
This reverts r63731 (commit 359dd59db2512d801bb983f98bede4fc598f139a).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eric Wong
03:16 AM Revision fd14dcdd (git): Revert "test_process.rb: skip tests for Bug 14867"
This reverts r63740 (commit 042395a7f7262464265ce70cdffbe1812aa145d3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eric Wong
03:14 AM Revision 054a412d (git): hijack SIGCHLD handler for internal use
Use a global SIGCHLD handler to guard all callers of rb_waitpid.
To work safely with multi-threaded programs, we intr...
Eric Wong
02:37 AM Revision e3e22c55 (git): Revert "bootstraptest/runner: speed up assert_finish by avoiding sleep"
This reverts commit r63754.
Many CI servers still use old ruby as base ruby which does not support
read_nonblock.
ht...
mame (Yusuke Endoh)
01:10 AM Revision 529af9c8 (git): refactor move logics out of insns.def
This is a pure refactoring. I see no difference in this change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
shyouhei (Shyouhei Urabe)
12:57 AM Revision 22444ae9 (git): move function declarations from insns.def to internal.h
Just avoid being loose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)

06/26/2018

11:44 PM Revision a1ba5b6a (git): bootstraptest/runner: speed up assert_finish by avoiding sleep
We may use IO.select to watch for process exit. This speeds up
"make test" by 2 seconds for me.
git-svn-id: svn+ssh...
Eric Wong
03:56 PM Revision 8ae5c935 (git): * 2018-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:56 PM Revision 648254d5 (git): test: skip 2 major unstable tests with MJIT
for CI with cppflags=-DMJIT_FORCE_ENABLE.
Since I have no idea to fix this immediately, let me skip this for now
and...
k0kubun (Takashi Kokubun)
02:26 PM Bug #14870: Both TracePoint's :call and :c_call filters seem to skip a lot of builtin methods
Mmm, that's indeed a bug that should be fixed imo.
This indeed happens because of optimizations for basic operator...
marcandre (Marc-Andre Lafortune)
05:39 AM Bug #14870 (Closed): Both TracePoint's :call and :c_call filters seem to skip a lot of builtin methods
It looks like a lot of builtin methods (`Array#<<` and `Integer#+`, for example) aren't hooked when using the :call o... yarmiganosca (Chris Hoffman)
02:14 PM Bug #14852 (Closed): please backport thread sync fixes to 2.5
I will move this ticket to Bugs and fill Backport field to manage backport requests.
thanks.
nagachika (Tomoyuki Chikanaga)
02:13 PM Feature #14869: Proposal to add Hash#===
返信ありがとうございます!!
>> レシーバのキーの要素と引数のハッシュのキーの要素を #=== で比較して、全てが真なら true を返し、そうでないなら false を返す。
> キーに対応する値同士を比較するというこ...
osyo (manga osyo)
09:39 AM Feature #14869: Proposal to add Hash#===
osyo (manga osyo) wrote:
> ## 仕様
>
> レシーバのキーの要素と引数のハッシュのキーの要素を `#===` で比較して、全てが真なら `true` を返し、そうでないなら `false` を返す...
nobu (Nobuyoshi Nakada)
01:42 PM Bug #14867: Process.wait can wait for MJIT compiler process
```
Up to 14 patches, now, but I think most problems are solved,
at least on Linux. FreeBSD 11.1 is close

Link...
normalperson (Eric Wong)
01:42 AM Bug #14867: Process.wait can wait for MJIT compiler process
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > Thanks to work on this. The skipped te...
normalperson (Eric Wong)
01:28 PM Bug #14659: segfault in ConditionVariable#broadcast and ConditionVariable#signal
I had the exact the same situation as Nathan.
Segfaults happen in https://github.com/codegram/futuroscope gem whi...
jmgarnier (Jean-Michel Garnier)
01:26 PM Bug #14634 (Open): Queue#push seems to crash after fork
I also encountered segfaults when upgrading from ruby 2.4 to 2.5.1
they happen in https://github.com/codegram/futur...
jmgarnier (Jean-Michel Garnier)

06/25/2018

11:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Thanks to work on this. The skipped tests you reverted was for running with "./confi...
normalperson (Eric Wong)
01:14 PM Bug #14867: Process.wait can wait for MJIT compiler process
Thanks to work on this. The skipped tests you reverted was for running with "./configure cppflags=-DMJIT_FORCE_ENABLE... k0kubun (Takashi Kokubun)
02:03 AM Bug #14867: Process.wait can wait for MJIT compiler process
> Shall I commit?

Well, it works well only for good C extensions and programs
which avoids NFS or slow HDD in th...
normalperson (Eric Wong)
12:33 AM Bug #14867: Process.wait can wait for MJIT compiler process
I'm pretty sure this series is sorted (at least on Linux +
FreeBSD) And with [PATCH 3/5] probably won't break on Wi...
normalperson (Eric Wong)
09:15 PM Misc #14861: DevelopersMeeting20180718Japan
* [Feature #14111] ArgumentErrorが発生した時メソッドのプロトタイプをメッセージに含む (esjee)
* Suggestion: include method parameters when ge...
esjee (SJ Stoker)
09:10 PM Feature #14111: ArgumentErrorが発生した時メソッドのプロトタイプをメッセージに含む
返事ありがとうございます。<https://github.com/nobu/ruby/tree/feature/14111-ArgumentError-attributes>のパッチで大体の問題は解決されるようです。
今まだ苦戦...
esjee (SJ Stoker)
08:43 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
I agree Rails' `secure_compare` name is not great. 'Secure' is a result of the fact it's a constant-time comparison. ... bdewater (Bart de Water)
02:48 PM Feature #14869 (Open): Proposal to add Hash#===
## 概要
`Hash#===` を追加する提案になります。
## 仕様
レシーバのキーの要素と引数のハッシュのキーの要素を `#===` で比較して、全てが真なら `true` を返し、そうでないなら `fal...
osyo (manga osyo)
02:15 PM Revision 4444025d (git): mjit_compile.inc.erb: drop unnecessary variable
It never becomes `dispatched: true` with the current code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63751 b...
k0kubun (Takashi Kokubun)
01:18 PM Revision 7e7d804e (git): test_range.rb: add tests to improve coverage
This patch will improve the result of line coverage from 91.3% to 95.0%.
[Fix GH-1899]
git-svn-id: svn+ssh://ci.ruby...
watson1978 (Shizuo Fujita)
01:13 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
`[1].join.encoding` is `#<Encoding:US-ASCII>`.
So I think current behavior is consistent too.
znz (Kazuhiro NISHIYAMA)
12:11 PM Revision 86072291 (git): increase body size
To try to block writing on travis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63749 b2dd03c8-39d4-4d8f-98ff-8...
naruse (Yui NARUSE)
09:29 AM Bug #14862: Time.parse does not handle the time zone
Like i said, TimeZone is heavly OS depend and even DateTime.strptime might not return useful result!
you probably ...
Hanmac (Hans Mackowiak)
07:57 AM Revision e85693fc (git): mjit.c: hide path search error behind verbose()
Before r63744, we let execvp(3) fail instead and it was quiet.
The verbosity was causing test_search to fail in
test/...
Eric Wong
05:47 AM Bug #14834: rb_profile_frames SEGV when PC adjusted on IFUNC
Here's an easy way to reproduce the segfault on current trunk:
`Gemfile`
~~~ ruby
source "https://rubygems.org...
kivikakk (Asherah Connor)
03:14 AM Revision 33d0be15 (git): comma at the end of enum is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
02:52 AM Revision faba0ee1 (git): mjit.c: avoid signed pointer comparisons (fix for 32-bit)
ptrdiff_t is a signed type, use uintptr_t instead for unsigned
comparisons. This is needed to allow MJIT tests to pa...
Eric Wong
02:52 AM Revision 65ab2ab1 (git): mjit.c: set PIC flags on clang for FreeBSD and glibc
This seems required on FreeBSD 11.1 (clang 4.0.0) and
Debian stretch (clang 3.8.1) for shared libraries.
Note: Not c...
Eric Wong
01:06 AM Revision d3e8d4f3 (git): mjit.c: avoid execvp PATH lookup in vfork-ed child
execvp(3) is not async-signal-safe and may alter libc internal
states (e.g. those used by malloc). However execv(3) ...
Eric Wong
12:36 AM Feature #14718: Use jemalloc by default?
vo.x (Vit Ondruch) wrote:
> We are always against bundling. You make great disservice to almost every Linux distribu...
nobu (Nobuyoshi Nakada)

06/24/2018

10:08 PM Revision 8c8247c6 (git): * 2018-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:08 PM Revision 8b590c46 (git): UNIXSocket#recv_io: trigger GC when out of FDs
Make this behavior is consistent with our other FD-allocating
methods.
EMFILE and ENFILE are not documented nor can ...
Eric Wong
09:51 PM Bug #14846: Backport fixes for Kernel#warn(uplevel:)
I think those changes related to uplevel: should also be backported, unless they are already part of 2.5 of course:
...
Eregon (Benoit Daloze)
12:42 PM Bug #14867: Process.wait can wait for MJIT compiler process
> ```diff
> +++ b/process.c
> @@ -1348,6 +1348,9 @@ after_exec_non_async_signal_safe(void)
> {
> rb_th...
normalperson (Eric Wong)
12:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
> > File 0001-hijack-SIGCHLD-handler-for-internal-use.patch added
>
> Scratch that, slightly buggy. Will fix in a...
normalperson (Eric Wong)
04:04 AM Bug #14867: Process.wait can wait for MJIT compiler process
> File 0001-hijack-SIGCHLD-handler-for-internal-use.patch added

Scratch that, slightly buggy. Will fix in a bit.
normalperson (Eric Wong)
12:36 PM Bug #14868 (Closed): [PATCH] process.c (ruby_fork_ruby): fix race in signal handling
Applied in changeset trunk|r63741.
----------
process.c (ruby_fork_ruby): fix race in signal handling
We must block...
normalperson (Eric Wong)
12:34 PM Bug #14868 (Closed): [PATCH] process.c (ruby_fork_ruby): fix race in signal handling
process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherw...
normalperson (Eric Wong)
12:36 PM Revision 4bbdb9ea (git): process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another si...
Eric Wong
11:07 AM Revision 042395a7 (git): test_process.rb: skip tests for Bug 14867
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:30 AM Revision 57671621 (git): process.c (after_fork_ruby): make it a proper function
Improves readability to me, and there's no point in using
macros for this with decent compilers.
git-svn-id: svn+ssh...
Eric Wong
09:31 AM Revision be850d7b (git): test/net/http/test_httpresponse.rb: add testcases for net/httpresponse
This change adds testcases for Response#inspect and #code_type, and
improves line coverage of lib/net/http/response.r...
mame (Yusuke Endoh)
09:31 AM Revision 103b5063 (git): lib/prime.rb: remove unused methods
This change removes TrialDivision#cache, TrialDivision#primes, and
TrialDivision#primes_so_far.
TrialDivision class ...
mame (Yusuke Endoh)
09:31 AM Revision dc4ab636 (git): * 2018-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:31 AM Revision fdf2322d (git): test/test_prime.rb: add testcases of prime library
This change improves line coverage of prime.rb from 86% to 99%.
A patch from @shio-phys. https://github.com/ruby/pri...
mame (Yusuke Endoh)
05:18 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi,
Sorry to reply late.
Thank you for your quick help and fix.
I have tried the same code more than 1,000,000...
hirura (Hiroyuki URANISHI)
01:04 AM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> * Support String (most important)

I expect this will be difficult, too.

Too many place...
normalperson (Eric Wong)

06/23/2018

07:12 PM Bug #14831 (Closed): [BUG] Segmentation fault at 0x0000000000000020 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
vo.x (Vit Ondruch)
07:07 PM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
Just FTR, Ruby in Fedora/RHEL has built in support for SystemTap.
Not sure what r63581 really does, but you might ...
vo.x (Vit Ondruch)
06:39 PM Feature #14718: Use jemalloc by default?
Fedora and RHEL Ruby maintainer here. Just a few remarks.
mperham (Mike Perham) wrote:
> ~~~
> Bundle jemalloc a...
vo.x (Vit Ondruch)
05:55 PM Misc #14769: DevelopersMeeting20180621Japan
Thanks again shyouhei! shevegen (Robert A. Heiler)
04:02 PM Bug #14867: Process.wait can wait for MJIT compiler process
Tested on FreeBSD 11.1 and Linux
https://80x24.org/spew/[email protected]/raw
normalperson (Eric Wong)
02:29 PM Bug #14867 (Open): Process.wait can wait for MJIT compiler process
k0kubun (Takashi Kokubun)
01:42 PM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Applied in changeset commit:ruby-git|359dd59db2512d801bb983f98bede4fc598f139a.
----------
spec: skip Process wait sp...
k0kubun (Takashi Kokubun)
10:26 AM Bug #14867: Process.wait can wait for MJIT compiler process
I think Process.wait can simply ignore pids of MJIT-workers and just keep waiting, that seems the easiest solution to... Eregon (Benoit Daloze)
09:23 AM Bug #14867: Process.wait can wait for MJIT compiler process
> We can implement Process.wait with a global SIGCHLD handler and mask out PIDs used by MJIT
If it's portable enou...
k0kubun (Takashi Kokubun)
09:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Deprecate Process.wait.

Please don't.

We can implement Process.wait with a global SIGCH...
normalperson (Eric Wong)
09:03 AM Bug #14867: Process.wait can wait for MJIT compiler process
> One idea that MJIT invokes compiler via a invoker process
I prefer the idea in general, rather than deprecating ...
k0kubun (Takashi Kokubun)
08:43 AM Bug #14867 (Open): Process.wait can wait for MJIT compiler process
k0kubun (Takashi Kokubun)
08:29 AM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Applied in changeset trunk|r63731.
----------
spec: skip Process wait specs on MJIT
until [Bug #14867] is fixed. I ...
k0kubun (Takashi Kokubun)
08:14 AM Bug #14867: Process.wait can wait for MJIT compiler process
I think it is bit difficult to solve.
It seems Solaris have good feature: POSIX_SPAWN_WAITPID_NP for posix_spawn.
...
akr (Akira Tanaka)
07:39 AM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not co... k0kubun (Takashi Kokubun)
02:11 PM Revision e1be4488 (git): mjit.c: disable calling JIT-ed code
when TracePoint is enabled. We're cancelling JIT-ed code execution AFTER
each instruction, but there is no guard befo...
k0kubun (Takashi Kokubun)
01:58 PM Revision a62a776d (git): gc.c (ruby_mimmalloc): add initialize code for USE_GC_MALLOC_OBJ_INFO_DETAILS
We often had SEGV in ruby_xfree when USE_GC_MALLOC_OBJ_INFO_DETAILS is 1
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
Masaya Tarui
01:41 PM Revision 06f54f03 (git): mjit.c: unify the variable name with method name
`RubyVM::MJIT.enabled?`.
It's set to be TRUE even before initialization is finished.
So it was actually not "mjit in...
k0kubun (Takashi Kokubun)
09:03 AM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
[email protected] wrote:
> @normalperson, could you handle this ticket?
> https://bugs.ruby-lang.org/issues/5778#...
normalperson (Eric Wong)
08:29 AM Revision 359dd59d (git): spec: skip Process wait specs on MJIT
until [Bug #14867] is fixed. I want to start running CI with MJIT
enabled before fixing the problem.
git-svn-id: svn...
k0kubun (Takashi Kokubun)
08:22 AM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
[email protected] wrote:
> Looks to me we don't have to keep this ticket open, but just in case, I reassign this t...
normalperson (Eric Wong)
08:05 AM Bug #14866: [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Thanks. I will pick your patch from ruby/webrick repository. hsbt (Hiroshi SHIBATA)
07:35 AM Bug #14866: [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Merged this in GitHub: https://github.com/ruby/webrick/pull/10 make_now_just (Hiroya Fujinami)
07:31 AM Bug #14866 (Closed): [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
I found a test for WEBrick::HTTPAuth::Htgroup is missing. This patch adds the test. Thank you. make_now_just (Hiroya Fujinami)
07:31 AM Bug #14862: Time.parse does not handle the time zone
@Hanmac
Yeah, we can use strptime, but we still have problem, because the results is still the same, in details:
...
mifrill (Aleksey Strizhak)
07:21 AM Misc #14854 (Closed): mjit (2.6.0-preview2) enabled on cygwin
Applied in changeset trunk|r63730.
----------
mjit.c: initial cygwin support
thread_pthread.c: Drop pthread_attr_se...
k0kubun (Takashi Kokubun)
07:21 AM Revision ea0cede5 (git): mjit.c: initial cygwin support
thread_pthread.c: Drop pthread_attr_setscope usage. It seems that,
at least on Linux and macOS, PTHREAD_SCOPE_PROCESS...
k0kubun (Takashi Kokubun)
04:57 AM Revision d62b7e13 (git): [DOC] Add call signature for {Array,Hash}#any?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:56 AM Revision c7ab4f6d (git): test/ruby/test_settracefunc.rb: fix NoMethodError
* test/ruby/test_settracefunc.rb (test_trace_point_raising_exception_in_bmethod_call):
this test run in separate pr...
ktsj (Kazuki Tsujimoto)
04:54 AM Bug #14865 (Closed): Raising exception in c_return event hook causes infinite loop
Applied in changeset trunk|r63727.
----------
vm.c: fix infinite loop
* vm.c: use EXEC_EVENT_HOOK_AND_POP_FRAME. Wh...
ktsj (Kazuki Tsujimoto)
04:51 AM Bug #14865 (Closed): Raising exception in c_return event hook causes infinite loop
c_returnのイベントフックの中で例外を起こすと無限ループになるケースがあります。
例外発生時にフレームがポップされずスタックに残り続けてしまうのが原因です。
~~~
$ cat t.rb
TracePoint.new...
ktsj (Kazuki Tsujimoto)
04:52 AM Revision 289dcb30 (git): vm.c: fix infinite loop
* vm.c: use EXEC_EVENT_HOOK_AND_POP_FRAME. While exception handling, if an exception
is raised in hooks, need to po...
ktsj (Kazuki Tsujimoto)
04:45 AM Revision 3b51b2fa (git): vm.c: fix typo in function name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:47 AM Revision 31d7e56b (git): * 2018-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 AM Revision b4455439 (git): thread_pthread.c (native_sleep): do not clear unblock.arg
It is unnecessary to clear unblock.arg once unblock.func is
cleared, and unblock_function_clear in thread.c doesn't
t...
Eric Wong
01:23 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
nobu (Nobuyoshi Nakada) wrote:
> I don't think that it is consistent enough.
Correction:
I *think* that it is co...
nobu (Nobuyoshi Nakada)
01:22 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
The result encoding is determined by the encodings of the array's contents, and the locale is not related to it.
US-...
nobu (Nobuyoshi Nakada)

06/22/2018

10:12 PM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > [email protected] wrote:
> > > Something els...
normalperson (Eric Wong)
10:20 AM Feature #14859: [PATCH] implement Timeout in VM
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Something else, I would consider Timeout to be fun...
Eregon (Benoit Daloze)
01:04 AM Feature #14859: [PATCH] implement Timeout in VM
> stop providing it.

I meant: stop using rb_provide("timeout.rb")
normalperson (Eric Wong)
12:42 AM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> Should lib/timeout.rb be removed then?

Also, I might keep compatibility code in time...
normalperson (Eric Wong)
11:57 AM Revision 10485be8 (git): remove debug print
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:10 AM Revision fab030c2 (git): check net.core.wmem_default and max instead of tcp
https://travis-ci.org/ruby/ruby/jobs/395416137
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63722 b2dd03c8-39d4...
naruse (Yui NARUSE)
10:53 AM Revision 38d0219a (git): show net.ipv4.tcp_wmem to debug failure on travis
https://travis-ci.org/ruby/ruby/builds/395318841
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63721 b2dd03c8-39...
naruse (Yui NARUSE)
08:47 AM Bug #14864 (Closed): some old linux has no O_CLOEXEC
Applied in changeset trunk|r63720.
----------
dir.c: define O_CLOEXEC for older systems
SuSE 10 has openat(), but n...
normalperson (Eric Wong)
06:03 AM Bug #14864 (Closed): some old linux has no O_CLOEXEC
I get some error when building ruby on suse 10,
~~~
compiling dir.c
dir.c: In function ‘nogvl_opendir_at’:
dir.c...
wangpeiwen (沛文 王)
08:47 AM Revision 45765e94 (git): dir.c: define O_CLOEXEC for older systems
SuSE 10 has openat(), but not O_CLOEXEC
Reported-by: wangpeiwen
[ruby-core:87591] [Bug #14864]
git-svn-id: svn+ssh...
Eric Wong
08:33 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
Koichi Sasada <[email protected]> wrote:
> Sorry for late response.

No problem.

> On 2018/06/13 18:59, Eric Wong ...
normalperson (Eric Wong)
07:22 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
Sorry for late response.

On 2018/06/13 18:59, Eric Wong wrote:
> Unfortunately, adding lazy sweep steps (gc_swee...
ko1 (Koichi Sasada)
08:28 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
Thanks for the clarification. What I try to solve with this proposal is the empty array #join returning a string whic... xsimov (Xavier Simó)
06:18 AM Bug #14863 (Feedback): Array#join with empty array returns empty string always in US-ASCII encoding
nobu (Nobuyoshi Nakada)
06:17 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
xsimov (Xavier Simó) wrote:
> My proposal to return the string in the locale encoding of the running ruby is so that...
nobu (Nobuyoshi Nakada)
08:12 AM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> Thank you. It should be fixed.
> (I'll use `posix_memalign` for `blocks_alloc_header_to_blo...
normalperson (Eric Wong)
06:49 AM Bug #14858: Introduce 2nd GC heap named Transient heap
> Thanks, I can confirm a good result with this. However, 32k
> is too small to be worth using mmap on.
> And maybe...
ko1 (Koichi Sasada)
06:17 AM Revision 3839734b (git): thread.c (sleep_timespec): avoid needless update w/o spuriuos check
No point in wasting cycles updating the timespec when not
checking on spurious wakeups.
git-svn-id: svn+ssh://ci.rub...
Eric Wong
04:13 AM Revision 64a189d2 (git): remove DISABLE_RUBYGEMS from config files
* configure.ac: removed DISABLE_RUBYGEMS macro from config.h, not
to rebuild everything when the flag changed.
* c...
nobu (Nobuyoshi Nakada)
03:07 AM Revision 0ad9c005 (git): test/ruby/test_range.rb: add a test for endless range's min with comparison
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:58 AM Bug #14699 (Closed): Subtle behaviors with endless range
Applied in changeset trunk|r63715.
----------
range.c: Range#size now returns Float::INFINITY if it is endless
Fixe...
mame (Yusuke Endoh)
02:58 AM Bug #14845 (Closed): Endless Range with nil
Applied in changeset trunk|r63714.
----------
range.c: Range#to_a now raises RangeError if it is endless
Fixes [Bug...
mame (Yusuke Endoh)
02:58 AM Revision cae45174 (git): range.c: Range#last and #max raises a RangeError if it is endless
Also, Range#min raises an error if it is endless and a comparison method
is specified.
git-svn-id: svn+ssh://ci.ruby...
mame (Yusuke Endoh)
02:58 AM Revision 34261930 (git): range.c: Range#size now returns Float::INFINITY if it is endless
Fixes [Bug #14699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:58 AM Revision c19ecf05 (git): range.c: Range#to_a now raises RangeError if it is endless
Fixes [Bug #14845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:43 AM Bug #14841 (Closed): Very rarely IO#readpartial does not raise EOFError
Applied in changeset commit:ruby-git|501069b8a4013f2e3fdde35c50e9527ef0061963.
----------
thread_sync.c (rb_mutex_lo...
Anonymous
02:42 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
This affects all versions, but is most easily triggered in 2.5+
normalperson (Eric Wong)
02:41 AM Bug #14841 (Open): Very rarely IO#readpartial does not raise EOFError
normalperson (Eric Wong)
02:32 AM Bug #14841 (Closed): Very rarely IO#readpartial does not raise EOFError
Applied in changeset trunk|r63711.
----------
thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex...
normalperson (Eric Wong)
02:43 AM Revision 3afb7733 (git): vm_core.h (rb_vm_t): make sleeper non-volatile
vm->sleeper is never modified in signal handlers or without GVL,
so there's no need for volatile hocus-pocus.
git-sv...
Eric Wong
02:35 AM Feature #14781: Enumerator.generate
I'm not very fond of `generate` because it's not the only way to generate an Enumerator. There could be more to come. knu (Akinori MUSHA)
02:32 AM Revision 97fcb450 (git): * 2018-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:32 AM Revision 501069b8 (git): thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex_lock): fix deadlock
[ruby-core:87467] [Bug #14841]
git-svn-id: svn+ssh://ci.ruby-lang.or...
Eric Wong
12:01 AM Misc #14769: DevelopersMeeting20180621Japan
shevegen (Robert A. Heiler) wrote:
> Has someone managed to note down a short summary, like in previous meetings?
...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom