Project

General

Profile

Activity

From 06/29/2018 to 07/05/2018

07/05/2018

09:54 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> They have their own IO scheduler because ruby had just native threads, which are bad as IO scheduler.
Thanks so ...
ioquatix (Samuel Williams)
06:12 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> It's also going to be more useful for existing code bases like ActionCable, Puma, Async, etc which use their own IO... funny_falcon (Yura Sokolov)
09:35 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Thanks for your feedback.
> About "extendable api" vs "implicit behavior" (ie between your proposal
> for "Thread...
ioquatix (Samuel Williams)
08:43 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
@ioquatix About "extendable api" vs "implicit behavior" (ie between your proposal
for "Thread.scheduler=' and replac...
funny_falcon (Yura Sokolov)
07:19 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Looks like I was not exactly right: typical iteration over Enumerator doesn't use Fiber.yield.
But usage of Enumerat...
funny_falcon (Yura Sokolov)
09:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> @normalperson
>
> Thanks for the patch, I added it, and a build with r63859 locked/...
normalperson (Eric Wong)
02:02 PM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
Thanks for the patch, I added it, and a build with r63859 locked/froze on test-all. I’m going to se...
MSP-Greg (Greg L)
05:42 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
>
> Importantly, mswin (ruby's vc12) passed r63856.

Good to know. I saw your messa...
normalperson (Eric Wong)
04:47 AM Bug #14867: Process.wait can wait for MJIT compiler process
Importantly, mswin (ruby's vc12) passed r63856.
Unfortunately, ruby-loco locked up on test-all. So, before the re...
MSP-Greg (Greg L)
03:32 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> As it was reverted on r63852 by @naruse, assigning this back
> to Eric. I'm guessin...
normalperson (Eric Wong)
03:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> I'm not sure what you look at on the web (GitHub, Appveyor), so briefly:

> 1. The m...
normalperson (Eric Wong)
01:48 AM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
I'm not sure what you look at on the web (GitHub, Appveyor), so briefly:
1. The mswin builds do n...
MSP-Greg (Greg L)
09:10 PM Bug #14895: Inconsistent constant names when using const_set on a singleton class
This looks like a bug to me.
Here's a simplified example:
```
s = Object.new.singleton_class
a = s.const_set...
marcandre (Marc-Andre Lafortune)
05:35 PM Bug #14895: Inconsistent constant names when using const_set on a singleton class
So, what you're saying is that the singleton class is being assigned to a constant when it creates module `A`, so mod... silver_phoenix (Pedro Pinto)
03:38 PM Bug #14895: Inconsistent constant names when using const_set on a singleton class
silver_phoenix (Pedro Pinto) wrote:
> Yes, I understand that, but why isn't `Z` named like `B` is?
>
> `Z` is `#<...
nobu (Nobuyoshi Nakada)
02:29 PM Bug #14895: Inconsistent constant names when using const_set on a singleton class
Yes, I understand that, but why isn't `Z` named like `B` is?
`Z` is `#<Module:...>` (unnamed)
`B` is `#<...>::B` ...
silver_phoenix (Pedro Pinto)
10:54 AM Bug #14895: Inconsistent constant names when using const_set on a singleton class
The names of `A`, `B`, and `Z` are temporary names at the moments of assignment.
Once you assign `x.singleton_class`...
nobu (Nobuyoshi Nakada)
06:32 PM Feature #14887: Array#delete_if does not use #delete
marcandre (Marc-Andre Lafortune) wrote:
> You probably meant "... call #delete_at in the background".
Yes, Marc-A...
sdaubert (Sylvain Daubert)
07:28 AM Feature #14887: Array#delete_if does not use #delete
@shevegen : the problem is that:
* `delete_if` can't call `delete` for the given reason of duplicates. the example w...
Hanmac (Hans Mackowiak)
07:05 AM Feature #14887: Array#delete_if does not use #delete
This is actually a (to me) quite interesting discussion. I want to comment on
a very few things but of course I'll k...
shevegen (Robert A. Heiler)
03:56 PM Revision 7a0a5854 (git): revert r62655 for r63763
r63655 was tightly coupled to handle_frames and some assumptions seems
to have been broken by r63763.
To partially r...
k0kubun (Takashi Kokubun)
03:20 PM Revision 96f1c663 (git): * 2018-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision 0860921a (git): Make a prototype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:48 PM Revision 1d74de37 (git): ruby tool/update-deps --fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:22 PM Revision 61d5939c (git): Add missing prototype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:53 AM Revision 7c87ee8a (git): Add missing file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:43 AM Revision 6538f67d (git): Re-apply r63848 (Optimize Time.utc)
* Both timegmw and gmtimew ignores leap second if the timezone doesn't
have leap seconds on the first call of init_...
naruse (Yui NARUSE)
10:59 AM Bug #14863 (Rejected): Array#join with empty array returns empty string always in US-ASCII encoding
duerst (Martin Dürst) wrote:
> On the other hand, if we change it to the source encoding, then the implementation ge...
nobu (Nobuyoshi Nakada)
08:36 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
Yes, I agree with what you say, and I agree with your conclusion, I was just giving an example where it failed with a... ioquatix (Samuel Williams)
08:33 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
I've shown `to_enum(:aga).to_a` to present the place where I wasn't right.
But if you look at your own second exam...
funny_falcon (Yura Sokolov)
07:48 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
For the first case, you naturally can't call Fiber.yield in that context... but this works:
```
#!/usr/bin/env ru...
ioquatix (Samuel Williams)
07:25 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
Yes. While usually Enumerator doesn't call to Fiber.yield, it is called if Enumerator is used as external iterator:
...
funny_falcon (Yura Sokolov)
04:12 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
Are you saying that calling Fiber.yield is not valid within an enumerator? ioquatix (Samuel Williams)
07:36 AM Feature #14697 (Assigned): Introducing Range#% as an alias to Range#step
mrkn (Kenta Murata)
04:13 AM Feature #14844: Future of RubyVM::AST?
Here is what I made using RubyVM::AST. It was useful. https://github.com/ioquatix/covered
In the end I made a regu...
ioquatix (Samuel Williams)
03:42 AM Bug #14892: r63763 breaks -DMJIT_FORCE_ENABLE=1
And another one.
```
ruby --jit-wait --disable-gems -e '1000.times { break if /a/ =~ "ab" && !$~[0] }'
```
wanabe (_ wanabe)
12:02 AM Bug #14892: r63763 breaks -DMJIT_FORCE_ENABLE=1
A mini reproductive command is here.
```
ruby --jit-wait --disable=gems -e '1000.times { a, b = nil }'
```
wanabe (_ wanabe)
03:20 AM Revision 4c777ac9 (git): Revert "get rid of a compiler warning of VC"
Partially revert r63820. mjit.c seems to have different idea of
"pid" type/size than the rest of Ruby on win32.
As ...
Eric Wong
03:02 AM Revision 44fc3d08 (git): unrevert r63852 but keep SIGCHLD path disabled for win32
Reading win32/win32.c waitpid implementation, maybe waitpid(-1, ...)
on that platform will never conflict with mjit u...
Eric Wong

07/04/2018

11:20 PM Bug #14884: msys2 mingw32 'rake' has unexpected text at top of file
> Try changing line 4 from `};{#` to `};{ #` (add a space before #). Worked for me in a Git bash shell running `rake... GardenTools (Garden Tools)
03:11 PM Bug #14884: msys2 mingw32 'rake' has unexpected text at top of file
GardenTools (Garden Tools) wrote:
> Error message is
>
> /c/Ruby25/bin/rake: line 4: {#: command not found
Try...
MSP-Greg (Greg L)
06:50 AM Bug #14884: msys2 mingw32 'rake' has unexpected text at top of file
Error message is
/c/Ruby25/bin/rake: line 4: {#: command not found
GardenTools (Garden Tools)
10:54 PM Bug #14867: Process.wait can wait for MJIT compiler process
As it was reverted on r63852 by @naruse, assigning this back to Eric. I'm guessing it was reverted since it was not p... k0kubun (Takashi Kokubun)
10:05 PM Feature #14896: Expose Net::HTTPResponse socket for integration with libraries expecting an IO
I have nothing useful to add to the issue at hand as I only very
rarely use Net:: directly (my use cases usually sta...
shevegen (Robert A. Heiler)
08:43 PM Feature #14896 (Open): Expose Net::HTTPResponse socket for integration with libraries expecting an IO
As several stdlib libraries support reading from IO-compatible objects (e.g. Zlib::GzipReader, Gem::Package::TarReade... mudge (Paul Mucur)
06:25 PM Bug #14895 (Closed): Inconsistent constant names when using const_set on a singleton class
Constants defined in the namespace of a class or a module are named on the fly:
```ruby
class X; end
X.const_set...
silver_phoenix (Pedro Pinto)
04:40 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
@ioquatix nothing prevents from adding new method:
`Thread.create(scheduler: :current, args: [block_arg1, block_arg2...
funny_falcon (Yura Sokolov)
08:45 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
@funny_falcon I don't think it's easy to change `Thread.new(...)` because arguments are passed to the thread block.
...
ioquatix (Samuel Williams)
07:37 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Considering implementation, `Fiber.transfer` should be used, not `Fiber.resume`+`Fiber.yield`,
ie exclusively use `f...
funny_falcon (Yura Sokolov)
04:39 PM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
Just remark: make test example to use `Fiber.transfer`.
If patch will be accepted, example will be copied, and usage...
funny_falcon (Yura Sokolov)
08:17 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
Some of the benefits of this PR are:
- Makes it possible to implement different models for concurrency.
- Easy to...
ioquatix (Samuel Williams)
08:08 AM Feature #14736: Thread selector for flexible cooperative fiber based concurrency
@normalperson that's awesome, great effort! I really appreciate you taking these PRs seriously and the effort you are... ioquatix (Samuel Williams)
04:10 PM Revision b3799b93 (git): signal.c: packed signals
* signal.c (signals): pack signal names instead of references.
* signal.c (signm2signo): also reject too long signal...
nobu (Nobuyoshi Nakada)
04:04 PM Bug #14890: test/ruby/test_time_tz.rb - Skip on Windows (mswin|mingw)?
@naruse
I'm sorry, maybe I should have been clearer. This isn't the same as r63839.
For platforms that don't s...
MSP-Greg (Greg L)
03:45 PM Bug #14890 (Closed): test/ruby/test_time_tz.rb - Skip on Windows (mswin|mingw)?
Fixed by r 63839 naruse (Yui NARUSE)
03:08 PM Revision 36f3e5ec (git): * 2018-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision df4a126d (git): Revert r63758 and related commits
The change is unstable on Windows. Please re-commit it when it correctly
supports Windows.
git-svn-id: svn+ssh://ci....
naruse (Yui NARUSE)
12:45 PM Revision 0f24cdec (git): Fallback to Digest::SHA512
`Gem::Package::TarWriter#add_file_signed` expects to fallback to
`Digest::SHA512`, and `digest.respond_to? :name` or ...
znz (Kazuhiro NISHIYAMA)
12:45 PM Revision e4664efa (git): Skip more rubygems tests when openssl is missing
Some tests are already skipped, but some tests are not.
So latter should be skipped too.
git-svn-id: svn+ssh://ci.ru...
znz (Kazuhiro NISHIYAMA)
10:59 AM Revision bd9a78a0 (git): Revert "Optimize Time.utc"
This reverts commit r63848.
It breaks tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63849 b2dd03c8-39d4-4...
naruse (Yui NARUSE)
10:06 AM Revision dda04838 (git): Optimize Time.utc
Time.utc uses timegmw() and it uses leap second information.
If the given time is larger than known_leap_seconds_limi...
naruse (Yui NARUSE)
04:39 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
nobu (Nobuyoshi Nakada) wrote:
> May I close this?
Yes, please do.
I agree that US-ASCII is the greatest commo...
duerst (Martin Dürst)
01:26 AM Revision 4b20479f (git): internal.h (rb_warning_string): use PRINTF_ARGS
Let compilers do a little extra validation for us
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63847 b2dd03c8-3...
Eric Wong
01:26 AM Revision d9dac20b (git): thread_pthread.c: pass rb_vm_t to timer_thread_sleep
I love `container_of' for generic data structures, but
in this case it's unnecessary and slightly harder-to-read.
Th...
Eric Wong

07/03/2018

11:56 PM Revision aec14b33 (git): vm.c: simplified core#hash_merge_kwd
* vm.c (core_hash_merge_kwd): simplified to merge the second hash
into the first hash.
* compile.c (compile_array)...
nobu (Nobuyoshi Nakada)
11:53 PM Bug #14894 (Closed): Segfault loading iseqs
Follow up on https://github.com/Shopify/bootsnap/issues/172
In particular:
https://gist.githubusercontent.com/...
sam.saffron (Sam Saffron)
11:07 PM Feature #13626: Add String#byteslice!
I support adding `String#byteslice!`. I've been using `String#byteslice` in custom IO-like objects that implement `IO... janko (Janko Marohnić)
09:29 PM Revision 8d004ee5 (git): mjit.h: avoid signed pointer comparisons (fix for 32-bit)
ptrdiff_t is a signed type, use uintptr_t instead for unsigned
comparisons.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Eric Wong
03:25 PM Revision 1b812422 (git): * 2018-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 60fa7d5f (git): Fix compile error
signal.c:69:10: error: variably modified ‘signm’ at file scope
char signm[LONGEST_SIGNAME + 1];
^
git...
znz (Kazuhiro NISHIYAMA)
01:35 PM Bug #14893 (Closed): Global buffer overflow in signm2signo of signal.c.
Applied in changeset trunk|r63841.
----------
signal.c: packed signals
* signal.c (signals): pack signal names inst...
nobu (Nobuyoshi Nakada)
12:28 PM Bug #14893 (Closed): Global buffer overflow in signm2signo of signal.c.
Found some memory error with address sanitizer:
```
==29152==ERROR: AddressSanitizer: global-buffer-overflow on a...
take-cheeze (Takeshi Watanabe)
01:34 PM Revision a0e141b3 (git): signal.c: packed signals
* signal.c (signals): pack signal names instead of references.
* signal.c (signm2signo): also reject too long signal...
nobu (Nobuyoshi Nakada)
01:25 PM Revision a982952e (git): adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:57 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
May I close this? nobu (Nobuyoshi Nakada)
12:37 PM Misc #14861: DevelopersMeeting20180718Japan
* [Feature #13050] Readline: expose `rl_completion_quote_character` variable
* [Feature #14850] Add official API for...
nobu (Nobuyoshi Nakada)
12:35 PM Bug #14884 (Feedback): msys2 mingw32 'rake' has unexpected text at top of file
It's polyglot code for sh and cmd.exe.
What error do you have with it actually?
nobu (Nobuyoshi Nakada)
11:44 AM Bug #14892: r63763 breaks -DMJIT_FORCE_ENABLE=1
I recognize that. I'm currently taking time for RubyBench project but planning to take a look after that. Please igno... k0kubun (Takashi Kokubun)
09:51 AM Bug #14892 (Closed): r63763 breaks -DMJIT_FORCE_ENABLE=1
r63763 ("give up insn attr handles_frame") breaks -DMJIT_FORCE_ENABLE=1
(commit 6b534134a78e3e43c344682c3585e1abab...
normalperson (Eric Wong)
11:22 AM Feature #14869: Proposal to add Hash#===
> 空の場合は Enumerable#all? と類似の話なので、 true のほうがいいんじゃないでしょうか。
なるほど、参考になります。
> また、再帰的なハッシュに対して使用したときに無限再帰にならないようにする必要...
osyo (manga osyo)
11:10 AM Revision 66bda182 (git): skip test_localtime_zone if force_tz_test is false
For example Solaris
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20180703T091803Z.fail....
naruse (Yui NARUSE)
11:01 AM Revision 6d57d87e (git): [DOC] Use https: instead of git: [ci skip]
ref r63801, r61199
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
09:06 AM Revision 18c79781 (git): vm.c (rb_source_location): check for NULL cfp->iseq
rb_vm_get_sourceline returns zero if cfp->iseq is NULL,
so rb_iseq_path should not try to follow NULL cfp->iseq,
eith...
Eric Wong
08:30 AM Revision 45cdc834 (git): thread_pthread.c (native_thread_destroy): clear native TSD pointer
mwrap <https://80x24.org/mwrap/> interposes malloc functions and
checks for GVL existence to determine Ruby source lo...
Eric Wong
08:05 AM Bug #14891: Pathname#join has different behaviour to File.join

More examples:
~~~ ruby
Pathname.new('/a').join('c', 'b').to_s #=> "/a/c/b"
Pathname.new('/a').join('/c', 'b')...
Hanmac (Hans Mackowiak)
07:24 AM Bug #14891: Pathname#join has different behaviour to File.join
This behaviour surprised me too. Is it expected that the information from "/a"
is lost? I have no idea but the docum...
shevegen (Robert A. Heiler)
02:37 AM Bug #14891 (Closed): Pathname#join has different behaviour to File.join
~~~ ruby
Pathname.new('/a').join('/b').to_s
# => "/b"
File.join(Pathname.new('/a'), '/b').to_s
# => "/a/b"
~~~
...
robotdana (Dana Sherson)
05:12 AM Revision 8fc203ba (git): cont.c: handle errors for getcontext()
It may raise an error in a certain security configuration.
It is very likely to trigger a segmentation fault if `getc...
nobu (Nobuyoshi Nakada)
04:43 AM Revision b03c1d08 (git): fake.rb.in: duplicated RUBYOPT
* template/fake.rb.in: removed duplicated options in RUBYOPT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6383...
nobu (Nobuyoshi Nakada)
04:43 AM Revision 6e65c89d (git): rubyopt_spec.rb: skip -v in RUBYOPT examples
* spec/ruby/command_line/rubyopt_spec.rb: skip -v in RUBYOPT
examples when CROSS_COMPILING is set by fake.rb. the ...
nobu (Nobuyoshi Nakada)
12:49 AM Revision ef01bbcf (git): configure.ac: [DOC] refine help messages
cflags, cppflags, and cxxflags are additional flags to auto
configured flags, and ignored when the their respective a...
nobu (Nobuyoshi Nakada)
12:29 AM Revision 54707221 (git): test/ruby/test_signal.rb: speedup some test by disabling RubyGems
test_signame_delivered is reduced from 1.0s to 0.1s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63831 b2dd03c8...
Eric Wong

07/02/2018

11:33 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)
09:42 PM Bug #14867 (Assigned): Process.wait can wait for MJIT compiler process
k0kubun / usa / nobu: can you check the return value handling of
_WIN32 waitpid_sys/WaitForSingleObject in process.c...
normalperson (Eric Wong)
11:14 PM Revision a7b874b3 (git): * 2018-07-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:14 PM Revision ca37c5d4 (git): process.c (waitpid_nogvl): start timer thread polling for lossy SIGCHLD
For systems with lossy SIGCHLD, an infinitely sleeping timer
thread needs to be aware of rb_waitpid callers in the fi...
Eric Wong
09:27 PM Bug #14884: msys2 mingw32 'rake' has unexpected text at top of file
Hi Greg,
> Assuming you're running from a cmd/ps shell. Looking at the first few lines of the script, it may also...
GardenTools (Garden Tools)
07:41 PM Feature #14887: Array#delete_if does not use #delete
You probably meant "... call #delete_at in the background".
I think there could be a performance issue for big arr...
marcandre (Marc-Andre Lafortune)
06:03 PM Feature #14887: Array#delete_if does not use #delete
I didn't think to enumerators...
Yes, #delete_at is a better choice than #delete, didn't think to it neither...
...
sdaubert (Sylvain Daubert)
10:17 AM Feature #14887: Array#delete_if does not use #delete
Do you mean delete_if and reject! should call *delete_at*?
Calling #delete doesn't make sense, as @Hanmac showed a...
Eregon (Benoit Daloze)
07:45 AM Feature #14887: Array#delete_if does not use #delete
I don't think there is a way:
~~~ ruby
a = [1,2,3,2,5]
a.delete_if {|x| x == 2}
a #=> [1,3,5]
~~~
this might ...
Hanmac (Hans Mackowiak)
03:53 AM Feature #14887: Array#delete_if does not use #delete
Hmm, let me make it a feature request so that we can consult matz. shyouhei (Shyouhei Urabe)
07:21 PM Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
Bingo. It is also an issue for the systemd-nspawn container indeed.
systemd-nspawn have used a libseccomp whitelis...
lion (Daming Yang)
03:51 PM Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
contd.
When it comes to a glibc function `getcontext()`, 'the root issue' of the bug, we can check it in this way:...
lion (Daming Yang)
03:07 PM Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
I did some further investigation. It is a little bit longer story than I thought.
Firstly, the callstacks in Ruby ...
lion (Daming Yang)
01:18 PM Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
naruse (Yui NARUSE) wrote:
> Your build/SEGV log doesn't have the essential part of the crash log.
Bai's friend h...
lion (Daming Yang)
07:25 AM Bug #14883 (Feedback): Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
Your build/SEGV log doesn't have the essential part of crash log. naruse (Yui NARUSE)
06:15 AM Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
mingcongbai (Mingcong Bai) wrote:
> When building Ruby 2.5.1 on a PowerPC 32-bit (Big Endian) host, the build fails ...
mingcongbai (Mingcong Bai)
05:04 PM Bug #14890 (Closed): test/ruby/test_time_tz.rb - Skip on Windows (mswin|mingw)?
Should the test file test/ruby/test_time_tz.rb be skipped on Windows?
ruby-loco has some additional reporting feat...
MSP-Greg (Greg L)
03:49 PM Feature #14888: Add trace point for eval (and related functions)
You can already use `TracePoint` to "catch" the calls to eval:
```
TracePoint.trace(:c_call) do |tp|
if tp.cal...
marcandre (Marc-Andre Lafortune)
02:32 PM Bug #14882 (Third Party's Issue): OpenSSL::PKey::*.new does not resume after spurious signals
Thank you for the report. I made a GitHub PR that fixes the bug at the GitHub repo (add .patch to the URL for "git fo... rhenium (Kazuki Yamaguchi)
01:51 PM Bug #14876 (Closed): /bin/sh: bad substitution since r63679 on Solaris
Applied in changeset trunk|r63828.
----------
Makefile.in: ARCH_FLAG may contain "-m64" etc.
* Makefile.in (mjit_co...
ngoto (Naohisa Goto)
01:50 PM Revision 2c68033a (git): Makefile.in: ARCH_FLAG may contain "-m64" etc.
* Makefile.in (mjit_config.h): ARCH_FLAG may contain "-m64", "-m32",
"-march=i486" and so on, but the change made w...
ngoto (Naohisa Goto)
12:32 PM Feature #14857: collect malloc info
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14857
> Collected information:
>
> * gen (GC count at ...
normalperson (Eric Wong)
11:28 AM Bug #14846: Backport fixes for Kernel#warn(uplevel:)
Thanks! Eregon (Benoit Daloze)
12:31 AM Bug #14846: Backport fixes for Kernel#warn(uplevel:)
ruby_2_5 r63819 merged revision(s) 61525,61527,63062,63650. nagachika (Tomoyuki Chikanaga)
11:11 AM Revision ad016942 (git): Use PRI_PIDT_PREFIX for results of getpid()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:22 AM Misc #14769 (Closed): DevelopersMeeting20180621Japan
naruse (Yui NARUSE)
09:15 AM Bug #14713: <internal:prelude>:132:in `__write_nonblock': Protocol wrong type for socket (Errno::EPROTOTYPE)
ruby_2_5 r63826 merged revision(s) 63304. nagachika (Tomoyuki Chikanaga)
09:15 AM Revision fcb4a3d8 (git): merge revision(s) 63304: [Backport #14713]
io.c: workaround for EPROTOTYPE
* io.c (internal_write_func, internal_writev_func): retry at
unexp...
nagachika (Tomoyuki Chikanaga)
08:54 AM Bug #14862: Time.parse does not handle the time zone
mifrill (Aleksey Strizhak) wrote:
> but the problem is, the behavior is different for all three objects.
`Date` d...
nobu (Nobuyoshi Nakada)
08:53 AM Bug #14853: [BACKPORT] NameError#receiver at private constant returns a hidden object
ruby_2_5 r63825 merged revision(s) 63696. nagachika (Tomoyuki Chikanaga)
08:53 AM Revision 4a625f83 (git): merge revision(s) 63696: [Backport #14853]
variable.c: fix receiver on private constant
* variable.c (rb_const_search): fix NameError :receiver attribu...
nagachika (Tomoyuki Chikanaga)
08:42 AM Feature #14869: Proposal to add Hash#===
空の場合は `Enumerable#all?` と類似の話なので、 `true` のほうがいいんじゃないでしょうか。
また、再帰的なハッシュに対して使用したときに無限再帰にならないようにする必要がありそうです。
nobu (Nobuyoshi Nakada)
08:30 AM Bug #14495 (Closed): Enumerator::Lazy#uniq invalid state
Applied in changeset ruby_2_5|r63824.
----------
merge revision(s) 62731,62735: [Backport #14495]
Bug Fix Enumerat...
nagachika (Tomoyuki Chikanaga)
08:30 AM Bug #14495: Enumerator::Lazy#uniq invalid state
ruby_2_5 r63824 merged revision(s) 62731,62735. nagachika (Tomoyuki Chikanaga)
08:30 AM Revision bb853294 (git): merge revision(s) 62731,62735: [Backport #14495]
Bug Fix Enumerator::Lazy#uniq state for multiple call
* enumerator.c (lazy_uniq_i): create new hash for each...
nagachika (Tomoyuki Chikanaga)
07:46 AM Bug #14880 (Closed): Time#localtime doesn't always seem to respect TZ
Applied in changeset trunk|r63823.
----------
time.c: [DOC] Time#localtime
* time.c: state that Time#localtime does...
nobu (Nobuyoshi Nakada)
07:46 AM Revision 482bbde6 (git): time.c: [DOC] Time#localtime
* time.c: state that Time#localtime does nothing when nothing
changes. [ruby-core:87675] [Bug #14880]
git-svn-id:...
nobu (Nobuyoshi Nakada)
07:42 AM Revision b53114dd (git): set up mjit.on at initialization
* ruby.c (cmdline_options_init): set up mjit.on flag by
MJIT_FORCE_ENABLE in the initialization function.
git-svn-...
nobu (Nobuyoshi Nakada)
03:53 AM Misc #14861: DevelopersMeeting20180718Japan
- [Bug #14887] Array#delete_if does not use #delete (shyouhei)
- Is it by design, or a bug?
shyouhei (Shyouhei Urabe)
01:50 AM Revision e2b7363e (git): * 2018-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:50 AM Revision dea84229 (git): get rid of a compiler warning of VC
* mjit.c (exec_prcess): use PRI_PIDT_PREFIX for pid.
* win32/Makefile.sub (PRI_PIDT_PREFIX): force to "I".
git-svn...
U.Nakamura
12:31 AM Revision 905189b2 (git): merge revision(s) 61525,61527,63062,63650: [Backport #14846]
error.c: negative uplevel
* error.c (rb_warn_m): negative uplevel is not allowed.
[ruby-core:84568...
nagachika (Tomoyuki Chikanaga)
12:17 AM Revision d5e44347 (git): bump up teeny version to 2.5.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:15 AM Bug #14655: new TestTimeTZ test failures
ruby_2_5 r63817 merged revision(s) 63054,63055,63056. nagachika (Tomoyuki Chikanaga)
12:14 AM Revision 4041a4ff (git): merge revision(s) 63054,63055,63056: [Backport #14655]
test_time_tz.rb: Kiritimati tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
...
nagachika (Tomoyuki Chikanaga)
12:07 AM Feature #14844: Future of RubyVM::AST?
It would be nice to expose the class and method/function name if possible. In the case of code coverage, it would all... ioquatix (Samuel Williams)

07/01/2018

03:59 PM Bug #14889: TracePoint for :line never seems to trigger on argument list. Maybe by design?
I don't have anything overly helpful to the discussion to add; but I wanted
to add one thing to this:
> We usuall...
shevegen (Robert A. Heiler)
01:39 PM Bug #14889: TracePoint for :line never seems to trigger on argument list. Maybe by design?
I'm unsure about your assumption. If you can insert a newline freely, you may want to write the following code:
`...
mame (Yusuke Endoh)
12:13 PM Bug #14889: TracePoint for :line never seems to trigger on argument list. Maybe by design?
If this is by design, please feel free to close, but as it stands there is no way to check if optional argument evalu... ioquatix (Samuel Williams)
12:12 PM Bug #14889 (Closed): TracePoint for :line never seems to trigger on argument list. Maybe by design?
I have the following code.
```
30 1| def print_summary(
31 0| output = $stdout
32 | )
```
In ...
ioquatix (Samuel Williams)
08:12 AM Revision b3fb892d (git): NEWS: add NEWS entry about Kernel#then [Feature #14594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:12 AM Revision 32a7614d (git): lib/.document: add csv
lib/csv.rb was divided into lib/csv/*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63815 b2dd03c8-39d4-4d8f-98...
ktsj (Kazuki Tsujimoto)
01:38 AM Revision cede4ce9 (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:38 AM Revision 52f269e0 (git): Remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:38 AM Revision fe398f87 (git): * 2018-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision 36fa6af2 (git): [DOC] newer codes recommend to use spaces only
[Bug #14246]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
12:46 AM Feature #14888 (Closed): Add trace point for eval (and related functions)
I'm working on an improved coverage library for Ruby which can compute coverage of things like ERB templates where th... ioquatix (Samuel Williams)

06/30/2018

11:43 PM Feature #14844: Future of RubyVM::AST?
Rather than create a new issue, I want to comment here, as I've also been using the new `RubyVM::AST` to compute code... ioquatix (Samuel Williams)
08:45 PM Bug #14884: msys2 mingw32 'rake' has unexpected text at top of file
@GardenTools
> has unexpected text at top of file
One could say that other things are actually unexpected. I b...
MSP-Greg (Greg L)
08:19 AM Bug #14884 (Feedback): msys2 mingw32 'rake' has unexpected text at top of file
'rake' from mingw-w64-i686-ruby 2.5.1-1 has what looks like fragments of a batch file and a shell script as the first... GardenTools (Garden Tools)
04:27 PM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
Running TestJIT locally, using the last good build `ruby 2.6.0dev (2018-06-27 trunk 63757) [x64-ming...
MSP-Greg (Greg L)
07:22 AM Bug #14867: Process.wait can wait for MJIT compiler process
> OK, I realized mjit.c and process.c have totally different ideas
> of what a PID is on win32. For process.c, win...
normalperson (Eric Wong)
06:32 AM Bug #14867: Process.wait can wait for MJIT compiler process
OK, I realized mjit.c and process.c have totally different ideas
of what a PID is on win32. For process.c, win32/w...
normalperson (Eric Wong)
04:53 AM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
Attached is the log for r63796. Still have the fails...
Thanks again, Greg
MSP-Greg (Greg L)
03:19 AM Bug #14867: Process.wait can wait for MJIT compiler process
normalperson (Eric Wong) wrote:
> Is that with the SIGCHLD_LOSSY (polling) patch applied on top of r63794?
> JI...
MSP-Greg (Greg L)
02:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> File JIT-test-all.log added

> I was mistaken, almost all of the TestJITs test faile...
normalperson (Eric Wong)
01:15 AM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson,
Long story, bouncing between local building & Appveyor, etc.
I was mistaken, almost all of the T...
MSP-Greg (Greg L)
12:53 AM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Applied in changeset trunk|r63795.
----------
use SIGCHLD_LOSSY to enable waitpid polling mode
Some systems lack SI...
normalperson (Eric Wong)
12:27 AM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
Thank you for all the work & help.
With the patch, ruby-loco is now green on 63794.
Greg
MSP-Greg (Greg L)
04:26 PM Bug #14881 (Closed): RUBYLIB spec on Windows
Eregon (Benoit Daloze)
02:35 PM Bug #14881: RUBYLIB spec on Windows
@hsbt
Fixed via r63810. Please close.
MSP-Greg (Greg L)
01:53 PM Revision 5235d57b (git): Fix spec/ruby/command_line/rubylib_spec.rb for use with make test-spec
* Current code clears ENV['RUBYLIB'], but on Windows it's needed when
running from build 'src' (or running make tes...
Eregon (Benoit Daloze)
01:24 PM Revision c0e77089 (git): Fix path checks for case insensitive filesystem
see https://github.com/rubygems/rubygems/pull/2211
[ruby-core:86745] [Backport #14721]
git-svn-id: svn+ssh://ci.rub...
U.Nakamura
01:08 PM Bug #14655: new TestTimeTZ test failures
ruby_2_4 r63808 merged revision(s) 63054,63055,63056. usa (Usaku NAKAMURA)
01:08 PM Revision 9796be14 (git): merge revision(s) 63054,63055,63056: [Backport #14655]
test_time_tz.rb: Kiritimati tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
...
U.Nakamura
01:06 PM Bug #14060: SecurityError with $SAFE=1 when requiring an untainted path
ruby_2_4 r63807 merged revision(s) 60596,60599. usa (Usaku NAKAMURA)
01:06 PM Revision 440a6b5d (git): merge revision(s) 60596,60599: [Backport #14060]
file.c: infect from arguments
* file.c (rb_check_realpath_internal): infetct the result with
argum...
U.Nakamura
01:00 PM Bug #14638: [win32] File.expand_path("~") treats a relative path with a drive letter as an absolute path
ruby_2_4 r63806 merged revision(s) 62952. usa (Usaku NAKAMURA)
01:00 PM Revision 2d5c52f9 (git): merge revision(s) 62952: [Backport #14638]
win32/file.c: relative path with drive letter
* win32/file.c (IS_ABSOLUTE_PATH_P): home directory should not...
U.Nakamura
12:56 PM Bug #14357: thread_safe tests suite segfaults
ruby_2_4 r63805 merged revision(s) 62396. usa (Usaku NAKAMURA)
12:56 PM Revision 7ac2f89f (git): merge revision(s) 62396: [Backport #14357]
st.c: retry operations if rebuilt
Calling the .eql? and .hash methods during a Hash operation can
re...
U.Nakamura
12:34 PM Bug #12762: missing links in LEGAL
ruby_2_4 r63804 merged revision(s) 62513. usa (Usaku NAKAMURA)
12:34 PM Revision 943b3ae5 (git): merge revision(s) 62513: [Backport #12762]
Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayb...
U.Nakamura
11:56 AM Revision 7b230cfe (git): use sigsetjmp on macOS
SIGCHLD is used internally since r63758, the signal masks need to
be restored.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
10:47 AM Feature #14869: Proposal to add Hash#===
ご意見ありがとうございます。
> ほとんどの用途は `Hash#<=` で足りているようにみえます。
機能としては `Hash#<=` と類似していますが、『`Hash#===` を定義する事で case-when などで...
osyo (manga osyo)
09:50 AM Feature #14887 (Closed): Array#delete_if does not use #delete
When a class inherits from Array, and its #delete methods is modified, #delete_if and #reject! do not call this metho... sdaubert (Sylvain Daubert)
08:41 AM Bug #14886 (Closed): ChangeLog section is obsolete
[ChangeLog section in doc/contributing.rdoc](https://github.com/ruby/ruby/blob/trunk/doc/contributing.rdoc#changelog)... znz (Kazuhiro NISHIYAMA)
08:38 AM Revision e2052710 (git): fix r63799 ("test/ruby/test_rubyoptions.rb: improve diagnostics for failures")
CI machines are faster than mine :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63802 b2dd03c8-39d4-4d8f-98ff-...
Eric Wong
08:27 AM Bug #14885 (Closed): Is documenting-ruby a dead project?
In [Contributing Documentation section in doc/contributing.rdoc](https://github.com/ruby/ruby/blob/trunk/doc/contribu... znz (Kazuhiro NISHIYAMA)
08:11 AM Revision 828f4bf4 (git): [DOC] Use https: instead of http:, git: [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:10 AM Revision 19d71d8e (git): [DOC] Update URL of rurema [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:53 AM Revision 671c9ef3 (git): test/ruby/test_rubyoptions.rb: improve diagnostics for failures
rubyci.org OSX CI instances seem to hang on this, but I'm not
sure why...
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
Eric Wong
07:52 AM Revision fed4ba59 (git): test/ruby/test_optimization.rb: increase timeout
For slow systems...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
06:11 AM Revision 9eb68615 (git): process.c: attempt to reap spawnvp (win32) result from mjit
Basically in win32, mjit.c seems to work directly on spawnvp
result while normal Ruby code wraps process handles to l...
Eric Wong
06:04 AM Bug #14883 (Third Party's Issue): Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
When building Ruby 2.5.1 on a PowerPC 32-bit (Big Endian) host, the build fails as it generates rdoc - segmentation f... mingcongbai (Mingcong Bai)
03:50 AM Revision e4600b87 (git): mjit: provide more diagnostics for waitpid failures
Also, enable check for defined(_WIN32) macro for SIGCHLD_LOSSY, too.
[Bug #14867]
git-svn-id: svn+ssh://ci.ruby-lan...
Eric Wong
03:41 AM Bug #14882 (Third Party's Issue): OpenSSL::PKey::*.new does not resume after spurious signals
```
I noticed some OpenSSL::PKey::*.new failures while working on [Bug #14867].
MJIT will fork processes and when...
normalperson (Eric Wong)
12:51 AM Revision ce2a3b40 (git): use SIGCHLD_LOSSY to enable waitpid polling mode
Some systems lack SIGCHLD or have incomplete SIGCHLD
implementations. So enable polling mode for them.
[ruby-core:8...
Eric Wong

06/29/2018

11:07 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
By the way, perhaps it's not clear, but `utc_offset` is not a time zone, nor is `Time.zone`, because just stating `MS... ioquatix (Samuel Williams)
10:58 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
> In your case you may want NZST and NZDT.
Expecting users to know the time zone in advance is not feasible. User ...
ioquatix (Samuel Williams)
10:17 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
ioquatix (Samuel Williams) wrote:
> Jeremy, thanks for your interest.
>
> Here is a minimal repro:
>
> ```ruby...
jeremyevans0 (Jeremy Evans)
09:46 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
Here is the output of running the minimal repro:
```
2018-06-30 17:00:00 +1200
43200
0
2018-06-30 05:00:01 +00...
ioquatix (Samuel Williams)
09:45 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
Jeremy, thanks for your interest.
Here is a minimal repro:
```ruby
#!/usr/bin/env ruby
# https://bugs.ruby-...
ioquatix (Samuel Williams)
02:24 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
As Hans correctly showed, addition/subtraction does not change the utc_offset, the utc_offset is already set to 0 bef... jeremyevans0 (Jeremy Evans)
10:13 AM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
Okay, I tried more complex example which was my original repro.
```
git clone https://github.com/ioquatix/time-zo...
ioquatix (Samuel Williams)
08:51 AM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
I see, you may well be right! I will check on my end because this was supposed to be a simplified version of the beha... ioquatix (Samuel Williams)
08:19 AM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
the problem might not be the add or substract
what does this show for you?
`TZ=UTC ruby -e 'require "time"; puts ...
Hanmac (Hans Mackowiak)
05:30 AM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
I checked the specs and JRuby doesn't have these issues, just FYI. ioquatix (Samuel Williams)
04:47 AM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
I have added some specs for this behaviour here: https://github.com/ioquatix/time-zone/blob/cdde65cd8f29d6d9fc645e218... ioquatix (Samuel Williams)
04:19 AM Bug #14879 (Closed): Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
I have been having some problems with `Time`. When I add or subtract seconds, sometimes the utc_offset is changed une... ioquatix (Samuel Williams)
10:52 PM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> FYI, both mswin & mingw are building. I don't believe mswin
> runs JIT tests, but wh...
normalperson (Eric Wong)
10:20 PM Bug #14867: Process.wait can wait for MJIT compiler process
@normalperson
FYI, both mswin & mingw are building. I don't believe mswin runs JIT tests, but when I run them loc...
MSP-Greg (Greg L)
06:52 PM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > [email protected] wrote:
> > > Would it be simp...
normalperson (Eric Wong)
11:25 AM Bug #14867: Process.wait can wait for MJIT compiler process
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Would it be simpler to track a set of pids created...
Eregon (Benoit Daloze)
10:52 AM 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)
09:42 AM Bug #14867: Process.wait can wait for MJIT compiler process
Bill Kelly <[email protected]> wrote:
> Could it help at all to delegate to a single "JIT Controller" daemon?

That's...
normalperson (Eric Wong)
08:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
Eric Wong wrote:
> [email protected] wrote:
>> Would it be simpler to track a set of pids created by MJIT, ignore...
spatulasnout (B Kelly)
05:52 AM Bug #14867: Process.wait can wait for MJIT compiler process
I can't find output of yes-test-all in any of the
links from r63763..r63771 on
http://ci.rvm.jp/results/trunk-mjit...
normalperson (Eric Wong)
02:32 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Would it be simpler to track a set of pids created by MJIT, ignore those in waitpid() a...
normalperson (Eric Wong)
10:29 PM Bug #14881 (Closed): RUBYLIB spec on Windows
@eregon
Now that both mswin & mingw are building, some of the previous commits are showing issues.
I added a PR...
MSP-Greg (Greg L)
10:20 PM Revision 47f3c4d1 (git): test_thread.rb (test_thread_interrupt_for_killed_thread): reprieve for MJIT
With MJIT enabled, the exit (from SIGTERM) may take a long time
to complete. Prevent EnvUtil.invoke_ruby from fallin...
Eric Wong
10:13 PM Revision 4bf8834d (git): signal.c: use ATOMIC_EXCHANGE for sigchld_hit
sig_atomic_t may not be sufficient for multi-threaded
applications if the sighandler runs on a different CPU
than tim...
Eric Wong
09:01 PM Revision 3a0f6ab4 (git): * 2018-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:01 PM Revision 2ac41230 (git): test/lib/test/unit/assertions.rb (assert_in_out_err): disable gems
RubyGems loading is still a bottleneck at startup and this speeds up
test/ruby/test_rubyoptions.rb test from 15s => 3...
Eric Wong
05:30 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
I also believe the current behavior makes sense. It won't cause the `invalid byte sequence in UTF-8` issue. The US-AS... cremno (cremno phobia)
02:14 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
I think it is not consistent because normally what I have seen the most is arrays of strings or containing strings be... xsimov (Xavier Simó)
05:09 PM Feature #13733: Dump the delegator instead of the delegated object
I like this idea, but I may be missing something. Could anyone have any objections or points that we are not aware of? yuki24 (Yuki Nishijima)
03:41 PM Bug #14876: /bin/sh: bad substitution since r63679 on Solaris
r63679 で Makefile.in の562行目に追加された `archs="$${archs:-$(ARCH_FLAG:-arch=)}";` が悪さをしているようです。
この行は、Makefileの置換とシェルの置換が混ざ...
ngoto (Naohisa Goto)
02:53 PM Bug #14630: DON'T IGNORE ME!!! Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
The option hash passing to `Net::HTTP::start` seems to contain misspelling key.
```ruby
@options = {
use_ssl...
dsh0416 (Delton Ding)
01:51 PM Feature #13050: Readline: expose rl_completion_quote_character variable
I'd still love to get this merged. Is there anything I can do to help get the patch accepted? georgebrock (George Brocklehurst)
12:12 PM Bug #14873: Compile failure - MinGW build as of 63768
Hi, Eric

r63790 seems almost OK.
Thx!!

--
<[email protected]>
usa (Usaku NAKAMURA)
11:42 AM Bug #14873: Compile failure - MinGW build as of 63768
[email protected] wrote:
> Eric, your recent changes about process.c actually broke Windows build.
> r63785 fi...
normalperson (Eric Wong)
04:55 AM Bug #14873: Compile failure - MinGW build as of 63768
Eric, your recent changes about process.c actually broke Windows build.
r63785 fixed a little, but test-all still re...
usa (Usaku NAKAMURA)
02:22 AM Bug #14873 (Closed): Compile failure - MinGW build as of 63768
Applied in changeset trunk|r63785.
----------
process.c: fix typo in non-SIGCHLD waitpid :x
I expect this to fix [B...
normalperson (Eric Wong)
11:08 AM Feature #14869: Proposal to add Hash#===
ほとんどの用途は `Hash#<=` で足りているようにみえます。
`{} <= user` は `true` になるので、`{} === user` も `true` の方が `<=` の値の比較を `===` で行うだけのものと...
znz (Kazuhiro NISHIYAMA)
08:51 AM Revision be076acb (git): process.c: handle errno correctly in non-SIGCHLD path
It's a bit redundant, but we optimize for platforms with
SIGCHLD, not without.
git-svn-id: svn+ssh://ci.ruby-lang.or...
Eric Wong
07:52 AM Revision 25b15f94 (git): process.c (waitpid_nogvl): check interrupts before sleeping
We may be interrupted by another thread after setting ubf,
but before we re-acquire interrupt_lock again to sleep on
...
Eric Wong
04:56 AM Revision d3ae1357 (git): improve C0 coverage of insns.def
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
04:24 AM Bug #14880 (Closed): Time#localtime doesn't always seem to respect TZ
In the first case, calling `#localtime` doesn't change the utc_offset.
```
$ TZ=UTC ruby -e 'ENV["TZ"]="Pacific/A...
ioquatix (Samuel Williams)
03:28 AM Revision 7b1372b0 (git): rethrow the caught exception as-is
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:53 AM Revision d93f3bad (git): test_process.rb (test_wait_exception): check assertion sooner
To diagnose f.puts => EPIPE failures in CI(*). I'm not sure
what's wrong and can't reproduce EPIPE even with my slow...
Eric Wong
02:21 AM Revision 54394b3b (git): process.c: fix typo in non-SIGCHLD waitpid :x
I expect this to fix [Bug #14873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63785 b2dd03c8-39d4-4d8f-98ff-82...
Eric Wong
01:01 AM Feature #11076: Enumerable method count_by
Has there been any thought on this as a language feature?
There was an earlier conversation demonstrating a practi...
baweaver (Brandon Weaver)
 

Also available in: Atom