Activity
From 10/24/2018 to 10/30/2018
10/30/2018
-
11:48 PM Bug #14867: Process.wait can wait for MJIT compiler process
- > holding vm->waitpid_lock across two Ruby method calls won't work.
Oh, I see.
> ...
Kind of right. But as replied previously, my assumption is:
"That had been hidden until MJIT postponed_job was introduced and MJIT stopped to s... -
04:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> @normalperson By the way, is there any plan to apply
> `rb_f_system`-like changes to `rb_f_spawn` as well? Many of
> "1. waitpid" deadlocks seem to come from a process created by
> `rb_f_spawn`, and al... -
03:31 PM Bug #14867: Process.wait can wait for MJIT compiler process
- @normalperson By the way, is there any plan to apply `rb_f_system`-like changes to `rb_f_spawn` as well? Many of "1. waitpid" deadlocks seem to come from a process created by `rb_f_spawn`, and also I guess those waitpid-related race cond...
-
12:36 PM Bug #14867: Process.wait can wait for MJIT compiler process
- > I'm testing this patch for ccan/list in rb_mjit_unit:
> ...
It's okay to merge it. Migration to ccan/list was one of things I wanted to do later. Though, as said above, I'll resurrect compact_units to clean up them on ruby_cleanup any... -
05:31 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > Howeever, I think I found an old bug. Accessing unit->iseq->body outside of critical section seems wrong and I hit a segfault:
Thanks to report, I'll take a look at that once I go home. -
04:00 AM Bug #14867: Process.wait can wait for MJIT compiler process
- @normalperson
r65437 passed.
> very odd, it's breaking in bigdecimal which isn't affected by any changes in internal.h
I saw that, and knew I could look at it all day and never find the cause. The builds with and without the pa... -
03:15 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > compact_units list is useless and you have no plans for it right?
Oh, it's intended to be "List of compacted so files which will be deleted in `mjit_finish()`" so the current behavior is a bug. I'll fix it shortly, so please leave i... -
03:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > I am going to move more data into rb_mjit_unit struct for state
> management using callbacks and events. It looks like
> rb_mjit_unit_node is useless so I will get rid of it and
> embed ccan/list node into rb_mjit_unit.
>
> com... -
03:04 AM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> Congrats, while mswinci's vc12-x64 is not finished yet, r65437
> at least worked on AppVeyor CI (mswin, mingw). That seems to
> work on Windows now.
Thank you for update, I was refreshing rubyci.org ... -
02:29 AM Bug #14867: Process.wait can wait for MJIT compiler process
- Congrats, while mswinci's vc12-x64 is not finished yet, r65437 at least worked on AppVeyor CI (mswin, mingw). That seems to work on Windows now.
-
01:42 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > *sigh* reverted r65434
> None of these errors seem related, even
> http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20181030T003541Z.fail.html.gz
Trying r65437
```
diff --git a/9ee245cba9 b/13af9d182c
index ... -
01:22 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > > I normally just build mingw, so I'm not testing the mswin/vc builds. I added the patch, and several build errors, starting at line 2254 of the attached log. I then removed the patch, and all built fine...
>
> Greg: very odd, it... -
11:43 PM Bug #15271 (Closed): Segfault (null pointer deref) in parse.y:1354
- Applied in changeset trunk|r65460.
----------
parse.y: last location from bison
* parse.y (command): set the last location from the location
managed by bison, so that other nodes are not needed.
[ruby-core:89648] [Bug #15271] -
09:36 PM Bug #15271 (Closed): Segfault (null pointer deref) in parse.y:1354
- Reproducer and crash:
~~~
jtruba@dev118:~/rubies/ruby-trunk$ ./ruby -e 'a **{}'
./ruby: [BUG] Segmentation fault at 0x0000000000000028
ruby 2.6.0dev (2018-10-26 trunk 65379) [x86_64-linux]
-- Control frame information ------------... -
11:43 PM Revision a769027f (git): parse.y: last location from bison
- * parse.y (command): set the last location from the location
managed by bison, so that other nodes are not needed.
[ruby-core:89648] [Bug #15271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65460 b2dd03c8-39d4-4d8f-98ff-823fe6... -
11:16 PM Revision a4cfd15a (git): revert r65441
- I could collect 2 test failure information:
https://app.wercker.com/ruby/ruby/runs/test-mjit-wait/5bd8a253191eda0006545d47?step=5bd8a29387436a0006842ef0
https://app.wercker.com/ruby/ruby/runs/test-mjit-wait/5bd8c6e0191eda0006547273?step=... -
10:55 PM Revision 35796756 (git): fix type.
- * internal.h (RHASH_ARRAY_SIZE_RAW): should be `int` because
it returns n<=8.
* hash.c (RHASH_ARRAY_BOUND_RAW): ditto.
* hash.c (RHASH_ARRAY_SIZE_RAW): remove a duplicated definition.
* hash.c (linear_keys, linear_values): return `l... -
10:24 PM Revision 3bdd8e74 (git): update NEWS about theap
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:16 PM Revision 87036388 (git): fix type.
- * string.c (rb_str_format_m): should pass `int`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:12 PM Feature #14989 (Closed): Add Hash support for transient heap
- Applied in changeset trunk|r65454.
----------
support theap for T_HASH. [Feature #14989]
* hash.c, internal.h: support theap for small Hash.
Introduce RHASH_ARRAY (li_table) besides st_table and small Hash
(<=8 entries) are managed... -
01:15 PM Feature #14989: Add Hash support for transient heap
- Do we have non-micro benchmark results for this? Maybe gcbench-rdoc on [Bug #14858] is the one?
> rails_ruby_bench project rails_ruby_bench with parameters : 8 workers, 1500 iterations
> ...
These things are mentioned for investigati... - 10:12 PM Revision d4f1187d (git): * remove trailing spaces, expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:11 PM Revision 8f675cdd (git): support theap for T_HASH. [Feature #14989]
- * hash.c, internal.h: support theap for small Hash.
Introduce RHASH_ARRAY (li_table) besides st_table and small Hash
(<=8 entries) are managed by an array data structure.
This array data can be managed by theap.
If st_table is ne... - 10:03 PM Revision ca83ed8d (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:03 PM Revision 198ff422 (git): support theap for T_STRUCT.
- * struct.c: members memory can use theap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:01 PM Revision 873d5734 (git): support theap for T_OBJECT.
- * variable.c: now instance variable space has theap supports.
obj_ivar_heap_alloc() tries to acquire memory from theap.
* debug_counter.h: add some counters for theap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65451 b2dd03c8... - 09:54 PM Revision 43739223 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 PM Revision 312b105d (git): introduce TransientHeap. [Bug #14858]
- * transient_heap.c, transient_heap.h: implement TransientHeap (theap).
theap is designed for Ruby's object system. theap is like Eden heap
on generational GC terminology. theap allocation is very fast because
it only needs to bump ... -
09:44 PM Bug #15272 (Closed): Segfault (type confusion?) in literal_concat
- Reproducer:
~~~
jtruba@dev118:~/rubies/ruby-trunk$ xxd ../repro5
00000000: 3c3c 7e30 270a 200a 3023 7b7d 0a30 <<~0'. .0#{}.0
jtruba@dev118:~/rubies/ruby-trunk$
~~~
Crash:
~~~
jtruba@dev118:~/rubies/ruby-trunk$ ./ruby ../r... -
09:19 PM Bug #15269: Process.setproctitle has odd behaviour on Mac OS X
- I will test on another language, e.g. Python and see if it works or not.
-
09:43 AM Bug #15269 (Third Party's Issue): Process.setproctitle has odd behaviour on Mac OS X
- It isn't ruby specific.
Seems like an issue of htop, it just does not update the info.
-
03:53 AM Bug #15269 (Third Party's Issue): Process.setproctitle has odd behaviour on Mac OS X
- On Mac OS X, using `Process.setproctitle` does seem to update when inspecting the process using `ps` but doesn't seem to update the process title in `htop`.
I don't know why.
Here is my test script.
```ruby
#!/usr/bin/env ruby
... - 09:02 PM Revision 69b8ffcd (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:01 PM Revision 7d359f9b (git): revert r65444 and r65446 because of commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:49 PM Revision efe869c0 (git): support theap for T_OBJECT.
- * variable.c: now instance variable space has theap supports.
obj_ivar_heap_alloc() tries to acquire memory from theap.
* debug_counter.h: add some counters for theap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65446 b2dd03c8... -
08:46 PM Bug #14858 (Closed): Introduce 2nd GC heap named Transient heap
- Applied in changeset trunk|r65444.
----------
introduce TransientHeap. [Bug #14858]
* transient_heap.c, transient_heap.h: implement TransientHeap (theap).
theap is designed for Ruby's object system. theap is like Eden heap
on gener... - 08:46 PM Revision f926f799 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:46 PM Revision 90ac549f (git): introduce TransientHeap. [Bug #14858]
- * transient_heap.c, transient_heap.h: implement TransientHeap (theap).
theap is designed for Ruby's object system. theap is like Eden heap
on generational GC terminology. theap allocation is very fast because
it only needs to bump ... - 06:26 PM Revision b51724aa (git): mjit.c (free_list): clear .length
- For robustness against future changes. There should be no impact
at the moment,here, but we may call mjit_finish more than once
in a process lifetime in the future (implementing "stop"
instead of just "pause")
git-svn-id: svn+ssh://ci.r... -
04:16 PM Bug #15262: WeakRef::RefError for object that is still in use
- I agree, this appears to a be a bug in WeakRef. The Adder instance is not garbage collected, but you still get a `WeakRef::RefError` when referencing it through the WeakRef instance. Here's a slightly modified example that just prints ...
-
03:08 PM Bug #15262: WeakRef::RefError for object that is still in use
- @nobu I updated the bug report, so that it should be more understandable now, what's going wrong.
-
01:34 AM Bug #15262: WeakRef::RefError for object that is still in use
- larskanis (Lars Kanis) wrote:
> > It waits just once.
> ...
Why do you think so? - 03:39 PM Revision a5582e69 (git): * 2018-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision 5662e709 (git): wercker.yml: try testing wercker again
- I don't think we fixed that, but if so, I would like to see more test
failures. Previous failures didn't keep enough C-backtrace information
about the failure and it's hard to debug for now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
02:57 PM Revision 51a0f04e (git): _mjit_compile_send.erb: do not inline tailcall ISeq
- because it's not supported by this file. Also, shared `def_iseq_ptr`
instead of copying the main definition of it.
vm_core.h: moved `def_iseq_ptr` to this place. added `inline` to avoid
compiler warnings since it's not used in some file... -
02:50 PM Bug #15270: [PATCH] Fix TracePoint for code loaded using ISeq.load_from_binary
- Typos
-
02:42 PM Bug #15270 (Closed): [PATCH] Fix TracePoint for code loaded using ISeq.load_from_binary
- Hello. This is a patch for Bug #14702, which I don't think is fully addressed.
The tests in the patch should fail on both trunk and ruby_2_5.
~~~
Fix TracePoint for nested iseq loaded from binary [Bug #14702]
When loading... -
02:18 PM Feature #15230: RubyVM.resolve_feature_path
- If it's reliable enough (I think it is) to detect native extensions by the file extension (.so, .dylib)
then I think that should be preferred as it would simplify the method's result. -
02:00 PM Feature #15230: RubyVM.resolve_feature_path
- `:r` means `.rb` and `:s` means `.so`, I guess :-)
It is not absolutely necessary. But it would be somewhat useful for a static analysis tool of Ruby programs because such a tool typically needs to skip `.so` files. -
10:07 AM Feature #15230: RubyVM.resolve_feature_path
- What's the leading one letter Symbol in the return value?
That seems fairly cryptic.
Do you need it? I would expect such a method to return a path, i.e., a String. -
10:17 AM Bug #15241: net/pop fix to use mutable strings was too eager
- I think it's very bad style to modify the return value of #inspect, and some objects do already return frozen strings for #inspect.
So I think it would be a fair enough to change as it seems to have very low risk, i.e.,
it would only b... - 03:22 AM Revision fae6c6bf (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 AM Revision 54726bef (git): use RARRAY_AREF() instead of RARRAY_CONST_PTR().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:34 AM Revision f7c0cc36 (git): process.c: implement rb_f_system without toggling ruby_nocldwait
- Following how mjit_worker.c currently works, rb_f_system
now ensures the VM-wide waitpid lists is locked before
creating a new process via fork/vfork.
This ensures other rb_waitpid callers cannot steal work and
there are no possible rac... - 01:12 AM Revision fbee3b8f (git): revert r65434
- http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20181030T003541Z.fail.html.gz
I have no chance of getting anything to work on proprietary platforms :<
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65436 b2dd03c8-... -
12:47 AM Feature #15236: add support for hash shorthand
- janfri (Jan Friedrich) wrote:
> I think the use of destructuring for this is much more Rubyish than the ES6 syntax.
Agreed that destructuring hash is very much ruby, since destructuring array is already supported.. but, I think suppo...
10/29/2018
- 11:52 PM Revision 76f08cec (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:52 PM Revision 8227c91d (git): process.c: implement rb_f_system without toggling ruby_nocldwait
- Following how mjit_worker.c currently works, rb_f_system
now ensures the VM-wide waitpid lists is locked before
creating a new process via fork/vfork.
This ensures other rb_waitpid callers cannot steal work and
there are no possible rac... -
11:42 PM Bug #14867: Process.wait can wait for MJIT compiler process
- Greg.mpls@gmail.com wrote:
> normalperson (Eric Wong) wrote:
>
> > Greg: everything should be confined to *nix for now, but can you
> > make sure I didn't break anything on Windows? Thanks.
>
> Eric,
>
> I normally just bu... -
04:52 PM Bug #14867: Process.wait can wait for MJIT compiler process
- normalperson (Eric Wong) wrote:
> Greg: everything should be confined to *nix for now, but can you
> ...
Eric,
I normally just build mingw, so I'm not testing the mswin/vc builds. I added the patch, and several build errors, sta... -
04:07 PM Bug #14867: Process.wait can wait for MJIT compiler process
- Today I took a deeper look at how rb_waitpid is currently working. After reading that, while I couldn't exactly figure out which part is wrong, my bets are:
* There's a race condition around some of SIGCHLD by gcc/clang process spawn ... -
03:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> > Ah, so the waitpid from #system is on /bin/rm (I missed that earlier)
>
> For http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1431394, yes. Others http://ci.rvm.jp/results/trunk-mjit-wait@si... -
05:48 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > The other thing is MJIT multi-threading/synchronization seems tricky-to-debug right now, and making it event-based should be beneficial for reliability.
Yeah, if the performance regression by moving to event-based implementation is ... -
01:23 AM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> Issue #14867 has been updated by k0kubun (Takashi Kokubun).
>
> > I think we'll have to support non-blocking/event-based waitpid in Windows for auto-fiber/Thread::Light, anyways. So making MJIT worker ... -
06:03 PM Revision 1ac67ec4 (git): use `rb_hash_new_compare_by_id()`.
- * vm_eval.c (local_var_list_init): use `rb_hash_new_compare_by_id()`
directly instead of manipulating st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:00 PM Revision 90a97887 (git): * 2018-10-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:00 PM Revision 708142ca (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:00 PM Revision d3edfdc7 (git): use RARRAY_AREF() instead of RARRAY_CONST_PTR().
- * class.c (rb_keyword_error_new): use RARRAY_AREF() because
RARRAY_CONST_PTR() can introduce additional overhead in a futre.
Same fixes for other files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65430 b2dd03c8-39d4-4d8f-98f... -
03:38 PM Bug #15268 (Closed): Solarisでtest/drb/test_drbssl.rbが落ちる
- 他のテストの結果が隠れてしまうので今は skip しているのですが、Solaris で test/drb/test_drbssl.rb が落ちます。
ほぼ同じような TCPSocket 直接と UNIXSocket では落ちていないので、Ruby/OpenSSL 側の問題ではないかと思っているので、担当者を openssl にしておきます。
症状としては
- https://rubyci.org/logs/rubyci.s3.amazonaws.com... -
01:30 PM Revision d36ab02b (git): compile.c: fix up r65411
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Feature #15261: Expose rl_variable_value as Readline.variable_value
- I would recommend to you, if you would like to, to add your request to the next
developer meeting at:
https://bugs.ruby-lang.org/issues/15229
It is such a small change that it may be quickly approved before the upcoming
x-mas rel... -
09:00 AM Bug #15262: WeakRef::RefError for object that is still in use
- > It waits just once.
Yes, but the one event is sent after all 10 threads have been called, so that `@count` is decremented to 0.
The same error is present, when we wait for 10 calls to the queue. So the class can actually be simpl... -
01:13 AM Bug #15262: WeakRef::RefError for object that is still in use
- larskanis (Lars Kanis) wrote:
> It does: `initialize` waits for all threads to have called `Adder#add` at the last line at `@qu.deq` . It only returns after this event.
It waits just once. -
08:11 AM Revision 5bb1f4e7 (git): time.c: [DOC] fix method names to refer class methods [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:40 AM Misc #15265: Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- mame (Yusuke Endoh) wrote:
> Indeed, it looks a very subjective view of the author (Dave Thomas). Though, I can't understand its subtlety because I'm not a native speaker.
> ...
I agree with Yusuke here. The wording is slightly odd fo... -
04:32 AM Misc #15265: Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- Indeed, it looks a very subjective view of the author (Dave Thomas). Though, I can't understand its subtlety because I'm not a native speaker.
It might have been just a joke, but anyway, more or less, he wanted to say that "do not us... -
06:25 AM Bug #15267 (Closed): File.basename + File.extname does not restore the original name
- Related to #15224, I found the case `File.basename(name, '.*')+File.extname(name) == File.basename(name)` is not true.
```ruby
name = 'file.'
File.basename(name, '.*') #=> "name"
File.extname(name) #=> ""
```
Both do not contai... -
06:23 AM Revision b9ca9169 (git): Mark up code inside link text as <code>
- Merged https://github.com/ruby/rdoc/pull/660
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 AM Bug #15244: Method #extname return empty string if filename is dot ('.')
- If `File.extname("..jpg")` returns `".jpg"`, `File.basename("..jpg", ".*")` should return `"."` without that part, to restore the original name from from these results.
It is different from basename(1).
```
$ basename ..jpg '.*'
..... -
03:21 AM Revision c80f3f70 (git): less verbose code by sharing attribute definitions
- The idea behind this commit is that handles_sp and leaf are two
concepts that are not mutually independent. By making one explicitly
depend another, we can reduces the number of lines of codes written,
thus making things concise.
git-... -
02:07 AM Revision 08e47ab9 (git): bare_instructions.rb: sort attributes [ci skip]
- This enhances stability of the generated source code (namely
insns_info.inc) across attribute insertion / deletion. It does
not change the compiled binary at all; just a bit of readability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
10/28/2018
-
06:22 PM Bug #14702: On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
- Hello. I don't think this issue is fully fixed.
I have put together a patch that has a fix and tests that fail on both trunk and ruby_2_5 for your consideration:
I've opened up a ticket for this patch: #15270
~~~
Fix TracePoi... -
05:03 PM Revision 437dd881 (git): Revert "Add test for cause on pty"
- This reverts commit r65422.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:06 PM Revision 13cde0a1 (git): * 2018-10-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:06 PM Revision 80001cc8 (git): Add test for cause on pty
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 PM Bug #14678: Segmentation fault in pg
- Yes. I'm not sure but they are binary incompatible.
-
12:05 PM Revision b361c8e3 (git): time.c: added Time::TM#+ and Time::TM#-
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 PM Revision d59ad98f (git): time.c: ignore 7th arg
- * time.c (tm_initialize): allow 7th argument as well as
Time#initialize, but just ignore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 PM Revision c4be18c2 (git): time.c: [DOC] add description and fix markups [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 PM Feature #14850: Add official API for setting timezone on Time
- Here're my plans.
> ## timezone argument to `Time.at`
> ...
To add `in` keyword argument.
```ruby
Time.at(1540000000, in: Timezone.fetch("Asia/Colombo")) #=> 2018-10-20 07:16:40 +0530
```
> ## look-up timezone by the name
> ... -
11:52 AM Bug #15262: WeakRef::RefError for object that is still in use
- Thanks @nobu for looking at the issue!
> This method doesn't wait these threads which run start_adder.
It does: `initialize` waits for all threads to have called `Adder#add` at the last line at `@qu.deq` . It only returns after thi... -
10:39 AM Bug #15262 (Feedback): WeakRef::RefError for object that is still in use
- larskanis (Lars Kanis) wrote:
> Although `start_adder` works with a `WeakRef`, the `Adder` object should still be GC marked, since `Adder.new` doesn't return before all calls to `start_adder` finished.
> ...
This method doesn't wait ... -
11:48 AM Bug #15253 (Feedback): Arduinoとの接続においてSocket.tcp_server_loop中で$stderr.puts、pなどが使用できない
- `p`を何も表示されないということは通常ないのですが、`sock`や`client_addrinfo`はどうなっているでしょうか。
また、「問題なく表示」されるコードはどのようなものでしょうか。 -
10:56 AM Misc #15265: Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- Yes I agree. That phrasing is not necessary.
There is more than one way to do many things in ruby. A good example is .send()
versus .public_send(). I think matz's philosophy is closer towards .send() (which
makes more sense to me an... -
04:11 AM Misc #15265 (Closed): Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- The v2.5.1 documentation for this method states, in part, "Sets the instance variable named by symbol to the given object, thereby frustrating the efforts of the class's author to attempt to provide proper encapsulation." The phrase begi...
-
10:49 AM Bug #15264 (Rejected): [PATCH] vm_trace.c (postponed_job_register): only hit main thread
- Duplicates with #15263
-
09:13 AM Bug #13930: Exception is caught in rescue above ensure
- I think it's due to `compile_next()` and `add_ensure_iseq()`.
The following is a reduced script result.
```
$ ruby -e 'iseq = RubyVM::InstructionSequence.compile("1.times do; begin; p :loop; next; rescue; p :NG_rescue; ensure; rai... -
09:10 AM Feature #14145: Proposal: Better Method#inspect
- guilhermereiscampos (Guilherme Reis Campos) wrote:
> zverok (Victor Shepelev) wrote:
> ...
Because they can be arbitrary Ruby code and Ruby is a Turing-complete language, which means that figuring out statically what the default value ... -
06:47 AM Feature #14145: Proposal: Better Method#inspect
- ko1 (Koichi Sasada) wrote:
> I don't have strong opinions on your proposal, but source location information seems also helpful. Which is important or both?
I find source location (FILE:LINE) very valuable for debugging, e.g. to know ... -
09:06 AM Revision de925b4f (git): appveyor.yml: fix wrong path to test directory
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > I think we'll have to support non-blocking/event-based waitpid in Windows for auto-fiber/Thread::Light, anyways. So making MJIT worker thread be a Ruby Thread (or Thread::Light) would allow it to hook into process.c APIs. I don't think...
-
01:32 AM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> > 2. Get rid of MJIT worker thread and rely on SIGCHLD + non-blocking waitpid. I don't know the portability problems in Windows, though.
>
> It sounds interesting and it could be reasonable since the m... -
12:32 AM Bug #14867: Process.wait can wait for MJIT compiler process
- > I haven't looked at it in detail, but it adds extra synchronization overhead for a slightly more up-to-date cache, right?
Correct.
> ...
This part may not be correct. The introduction of synchronization did not spoil the benchmar... -
07:44 AM Revision 323ecafe (git): appveyor.yml: run test_open-uri separately
- on msys2 because it sometimes crashes worker like
https://ci.appveyor.com/project/ruby/ruby/builds/19853558/job/8v1ehnv40bggiode
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Feature #15239: [patch] test-spec win32ole
- Thank you for your help. I prefer to use MSXML.Document for WIN32OLE_EVENT specs.
Because I think other (light and more standard) COM objects (like Scripting.Dictionary) have features for other specs.
I applied the win32ole_event part... -
04:31 AM Feature #15239: [patch] test-spec win32ole
- @suke
I'd like to help. I just ran CI again on the branch I created the PR from, it passed in both Travis & Appveyor.
I can't rebase due to conflicts, but I can get around that quickly. If it's done a file at a time, it will take... -
01:34 AM Feature #15239: [patch] test-spec win32ole
- @k0kubun & @suke
When I did the patch, I saw no reason to have non Windows builds requiring the classes.rb file if they weren't using it. Hence, for many of the files in the patch, the only change is to move the `
require_relative '... -
01:24 AM Feature #15239: [patch] test-spec win32ole
- Please look at the patch. It modifies several files. Removing the rescue block without patching the other files will break non windows builds. It passes on Travis. Twice.
Before this issue, and before the PR, I've used the patch i... -
01:20 AM Feature #15239: [patch] test-spec win32ole
- @suke r65401 is breaking CI on Linux like https://gist.github.com/ko1/2c561f9185492f339cf7a763ea219e79, so the assumption "this file is required on Windows only" seems not correct. I reverted that in r65402. Could you check it?
-
06:37 AM Revision 5918f0a0 (git): require fixtures/classes only when platform is windows.
- * spec/ruby/library/win32ole/fixtures/classes.rb: remove rescue block
because this file is required when platform is Windows.
* spec/ruby/library/win32ole/win32ole/_getproperty_spec.rb:
fixtures/classes is required when platform is W... -
06:16 AM Revision c5491046 (git): Refactoring. remove Internet Explorer.
- * spec/ruby/library/win32ole/win32ole/ole_methods_spec.rb: refactoring.
remove Internet Explorer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 AM Revision d6f55c7d (git): use MSXML.DOMDocument instead of InternetExplorer.Application
- * spec/ruby/library/win32ole/fixtures/event.xml use MSXML.DOMDocument
instead of InternetExplorer.Application. InternetExplorer.Application
is not available on some environments. Thanks to MSP-Greg (Greg L).
* spec/ruby/library/win32... -
05:53 AM Revision 7eda588d (git): time.c: [DOC] fix rdoc-ref [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:40 AM Revision 6ce65875 (git): use MSXML.DOMDocument instead of InternetExplorer.Application.
- * spec/ruby/library/win32ole/win32ole_event/new_spec.rb: use
MSXML.DOMDocument. InternetExplorer.Application is not available on
some environments. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65412... -
05:09 AM Revision 2d46695c (git): use a rb_ function instead of st_ directly.
- * compile.c (ibf_dump_object_hash): use `rb_hash_foreach()`
instead of using `st_foreach()`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:08 AM Revision ef929bc6 (git): use Scripting.Dictionary instead of InternetExplorer.Application.
- * spec/ruby/library/win32ole/win32ole/shared/setproperty.rb: use
Scripting.Dictionary. InternetExplorer.Application is not available on
some environments. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
04:38 AM Revision 7f0aefec (git): use Scripting.Dictionary instead of InternetExplorer.Application.
- * spec/ruby/library/win32ole/win32ole/ole_put_methods_spec.rb: use
Scripting.Dictionary. InternetExplorer.Application is not available on
some enviroments. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
04:25 AM Revision e9a1c824 (git): use Scripting.Dictionary instead of InternetExplorer.Application.
- * spec/ruby/library/win32ole/win32ole/ole_methods_spec.rb: use Scripting
Dictionary. InternetExplorer.Application is not available on some
environments. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
04:18 AM Revision 183b7e36 (git): use Scripting.Dictionary instead of InternetExplorer.Application
- * spec/ruby/library/win32ole/win32ole/ole_obj_help_spec.rb: use
Scripting.Dictionary. InternetExplorer.Application is not available on
some environments. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
04:00 AM Revision 934e3e0e (git): time.c: [DOC] about timezone arguemnt [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 AM Revision d7d83fa0 (git): use Scripting.Dictionary instead of InternetExplorer.Application
- * spec/ruby/library/win32ole/win32ole/ole_method_spec.rb: recuire in
platform_is block.
* spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb: ditto.
* spec/ruby/library/win32ole/win32ole/shared/ole_method.rb: use
Scripting.... -
01:58 AM Revision 15533bb4 (git): NEWS: codify keywords and callback methods [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 AM Revision 8586f021 (git): rdoc/parser/c.rb: ignore dynamically added methods
- * lib/rdoc/parser/c.rb (RDoc::Parser::C#deduplicate_call_seq):
skip dynamically added methods at runtime, because the class
name is unknown and the defined methods are not accessible from
that class.
git-svn-id: svn+ssh://ci.ruby-... -
01:19 AM Revision 091c04df (git): revert r65401
- Because it does break Linux CI like:
https://gist.github.com/ko1/2c561f9185492f339cf7a763ea219e79
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Revision b343a583 (git): remove rescue block when win32ole is required
- * spec/ruby/library/win32ole/fixtures/classes.rb: remove rescue block
because this file is required on Windows only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 AM Revision 5477d297 (git): use Scripting.Dictionary instead of InternetExplorer.Application
- * spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb: use
Scripting.Dictionary. InternetExplorer.Application is not available on
some environment. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
10/27/2018
-
11:56 PM Feature #14145: Proposal: Better Method#inspect
- zverok (Victor Shepelev) wrote:
> ```ruby
> ...
I wonder why is not possible to extract the default values?
-
11:37 PM Revision 33a8b277 (git): use Scripting.Dictionary instead of InternetExplorer.Application.
- * spec/ruby/library/win32ole/invoke_spec.rb: use Scripting.Dictionary
instead of InternetExplorer.Application. InternetExplorer.Application
is not available on some environment. Thanks to MSP-Greg (Greg L).
git-svn-id: svn+ssh://ci.... -
11:36 PM Bug #15264 (Rejected): [PATCH] vm_trace.c (postponed_job_register): only hit main thread
- ```
vm_trace.c (postponed_job_register): only hit main thread
Since postponed_job_register may be called in a signal handler,
only the main thread is safe to touch as other threads may
become invalid. Furthermore, the problem with... -
11:35 PM Bug #15263 (Assigned): [PATCH] vm_trace.c (postponed_job_register): only hit main thread
- ```
vm_trace.c (postponed_job_register): only hit main thread
Since postponed_job_register may be called in a signal handler,
only the main thread is safe to touch as other threads may
become invalid. Furthermore, the problem with... -
11:21 PM Revision d6a9603e (git): use Scripting.Dictionary instead of InternetExplorer.Application for
- _getproperty spec.
* spec/ruby/library/win32ole/_getproperty_spec.rb: use
Scripting.Dictionary. InternetExplorer.Application is not available on
some environment. (Thanks to MSP-Greg (Greg L))
git-svn-id: svn+ssh://ci.ruby-lang.org... -
11:15 PM Revision 5eab7d7d (git): fix test
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:13 PM Revision 7594a8df (git): fix error message and backtrace order
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:50 PM Revision 35ca97e9 (git): add WIN32OLESpecs::MSXML_AVAILABLE
- * spec/ruby/library/win32ole/fixtures/classes.rb: add
WIN32OLESpecs::MSXML_AVAILABLE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:45 PM Revision 1064376b (git): * 2018-10-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:45 PM Revision 48af6fd5 (git): Print exception's cause like Java
- Print `cause` of the exception if the exception is not caught and printed
its backtraces and error message [Feature #8257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:43 PM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> Thank you for your quick and detailed reply. For 1, I'll try
> to acquire GVL from MJIT worker thread to resolve this issue.
> In that case possibly we could just synchronously finish the
> copy job du... -
11:55 AM Bug #14867: Process.wait can wait for MJIT compiler process
- Thank you for your quick and detailed reply. For 1, I'll try to acquire GVL from MJIT worker thread to resolve this issue. In that case possibly we could just synchronously finish the copy job during the lock and avoid using postponed_jo...
-
08:52 AM Bug #14867: Process.wait can wait for MJIT compiler process
- takashikkbn@gmail.com wrote:
> In this case, 3 threads are blocking in:
>
> 1. `rb_thread_io_blocking_region` called from `rb_read_internal` called from `io_readpartial`
> 2. `native_ppoll_sleep` called inside `rb_waitpid`
> 3. (M... -
05:10 AM Bug #14867 (Assigned): Process.wait can wait for MJIT compiler process
- Recently we see 2 types of deadlocks on CI with --jit or --jit-wait.
## 1. waitpid on #system, #`, or Process.waitpid
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1431775
http://ci.rvm.jp/results/trunk-mjit-wait@silicon... -
05:12 PM Bug #15262 (Closed): WeakRef::RefError for object that is still in use
- Given the following program:
```ruby
require "weakref"
Thread.abort_on_exception = true
class Adder
def self.start_adder(obj, oid)
obj.add
end
def initialize
@qu = Queue.new
count = 10
count.times... -
03:10 PM Feature #15261 (Closed): Expose rl_variable_value as Readline.variable_value
- I would like to propose exponsing rl_variable_value as Readline.variable_value, it would be useful in pry.
Pull request: https://github.com/ruby/ruby/pull/1995 -
02:06 PM Revision 1346e39c (git): spec/../shared/exit.rb: move the mingw guard to here
- from terminate_spec.rb, as suggested here:
https://github.com/ruby/ruby/commit/c7220bd3dea0a113b81f267cc3b656da7d7d7abb#commitcomment-31068714
to guard other inclusions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65392 b2dd03c8-... -
01:58 PM Feature #15239: [patch] test-spec win32ole
- Sounds good to me to use the MSXML object.
The patch looks good from a quick look. -
01:21 PM Feature #15239: [patch] test-spec win32ole
- suke (Masaki Suketa) wrote:
Thanks for looking at it. Apologies for not testing on Travis.
> I'm afraid your patch would fail on environment except Windows (on Linux, etc).
Sorry, I thought I had 'windows guards' on everything,... -
07:04 AM Feature #15239: [patch] test-spec win32ole
- Thank you for your patch. I'm reeding your patch now. And I'm afraid
your patch would be fail on environment except Windows (on Linux, etc).
I'll modify your patch and marge it. Thank you again. -
01:57 PM Revision 090e2130 (git): revert r65389 and r64993
- and move retry logic to internal method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:42 AM Revision cb9f2066 (git): Run specs on latest Ruby 2.3, which includes taint fixes
- * The 2.3 alias in RVM seems to resolve to 2.3.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:49 AM Revision a7f0cbe9 (git): ole_func_methods_spec.rb: apply r64993 retry
- to this spec as well, since the same issue was reproduced here
https://ci.appveyor.com/project/ruby/ruby/builds/19842006/job/y35ae6bquf4t3x30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:48 AM Revision 3e6337b8 (git): Update to ruby/spec@8b743a3
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 AM Revision ecc707e2 (git): Update to ruby/mspec@4729971
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:57 AM Revision 970410c6 (git): .travis.yml: investigate silent death of mspec
- It looks like mspec worker may immediately die on Linux as well.
https://travis-ci.org/ruby/ruby/jobs/447018758
Dropping -j and add -fs to know which test dies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65386 b2dd03c8-39d4-4d8f... -
09:19 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
- @knu Could you share your opinion?
I also wonder, why are these operations raising an error with non-Set arguments?
Is it to avoid e.g. Array which would have a slow O(n) `include?` check?
Otherwise any Enumerable would work with th... -
09:15 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
- Hanmac (Hans Mackowiak) wrote:
> hm i especially hate such part of code:
> ...
Existing code style is orthogonal to this issue.
Please make a separate issue or pull request if you would like to change it :) -
08:17 AM Revision 4365e640 (git): bootstraptest/test_insns.rb: test newhashfromarray
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:22 AM Revision b16d73ae (git): Update the example of local variable shadowing
- I came up with this snippet when we were trying to convince Matz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:20 AM Feature #14136: Implement #empty? on more classes
- jeremyevans0 (Jeremy Evans) wrote:
> bozhidar (Bozhidar Batsov) wrote:
> ...
Yeah, I completely agree with you. Excellent point about using `size` in different contexts! Generally I'm not trying to suggest changes for the sake of makin... -
05:14 AM Revision 35e3e13c (git): test_io.rb: skip busy wait test again
- which I tried to avoid skipping this in r65311, but the test seems not
working under some high load of ci.rvm.jp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/26/2018
-
08:30 PM Revision 8f0eb44d (git): string.c: improve docs for String#strip and related
- * string.c: [DOC] improve docs for String#{strip,lstrip,rstrip}{,!}:
small clarification, avoid referring to the receiver as `str'
(does not appear in the call-seq of the generated HTML docs),
enable links for cross-references, sim... - 05:08 PM Revision ab99fd06 (git): * 2018-10-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:08 PM Revision b0546f1c (git): Do not :stopdoc: entire classes/modules
- It disables cross-references to the classes/modules, even if those
are defined in other places. I suspect this is not an intentional
behavior, however make a workaround for the time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
12:23 PM Revision f889eba1 (git): proc.c: [DOC] improve docs for {Method,Proc}#===
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Revision 96353b97 (git): proc.c: [DOC] fix grammar in doc for Method#to_s
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Revision 905be736 (git): object.c: [DOC] fix typos in doc for yield_self
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision 61cccab4 (git): NEWS: fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Revision 0c289a7f (git): appveyor.yml: run second half of vs with -v
- because it may silently die like
https://ci.appveyor.com/project/ruby/ruby/builds/19813015/job/a99c4hrs69g4iorg
and we can't know which test was bad.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65375 b2dd03c8-39d4-4d8f-98ff-823fe6... -
06:41 AM Revision 300ac6c5 (git): Fix a condition and just call rb_fstring [Feature #15251]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:18 AM Revision ea9961f9 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:18 AM Revision 81c84917 (git): Simplify conditions [Feature #15251]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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 may be an existing
> bug in hash.c, because my shorter patch ought to work...
Maybe this is an appropriate simplificat... -
05:42 AM Feature #15251: Hash aset should deduplicate non tainted string
- chopraanmol1@gmail.com wrote:
> I think so far it looks good, let me know if I did something wrong while running the above benchmark.
I agree, so I've committed your patch as-is for r65371.
I wanted to try a shorter patch:
htt... -
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] since st.c is much improved since then,
and benchmarks against so_k_nucleotide seem to indicate little
or no performance c... - 05:32 AM Revision 1e83e15a (git): hash.c: aset deduplicates un-tainted string
- We revisit [Bug #9188] since st.c is much improved since then,
and benchmarks against so_k_nucleotide seem to indicate little
or no performance change compared to before.
[ruby-core:89555] [Feature #15251]
From: Anmol Chopra <chopraanm... -
04:46 AM Revision 7cc758f7 (git): Indent as a code block [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 AM Revision c9d720b8 (git): parse.y: remove "shadowing outer local variable" warning
- You can now write the following without warning.
user = User.all.find {|user| cond(user) }
Fixes [Feature #12490].
A patch from Soutaro Matsumoto <matsumoto@soutaro.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65369 b2d... -
03:08 AM Revision b171d920 (git): Revert "parse.y: remove "shadowing outer local variable" warning"
- I forgot to add the copyright of the patch...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 write the following without warning.
user = User.all.find {|user| cond(user) }
Fixes [Feature #12490]. -
02:54 AM Revision 7f69d4e4 (git): parse.y: remove "shadowing outer local variable" warning
- You can now write the following without warning.
user = User.all.find {|user| cond(user) }
Fixes [Feature #12490].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:47 AM Revision df38879a (git): * 2018-10-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 AM Revision e71ca6cd (git): Update for tzdata-2018f
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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:
~~~ ruby
class Foo
def bar(objects)
objects.map(&:baz)
end
protected
def baz
self.inspect
en... -
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 ]
# ^ ^ ^ ^
# 0 1 2 3
# -3 -2 -1
```
Other indices (4, -4) are out of bounds and will result in `nil` return. -
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) has inconsistent behavior when given out of bounds values for the start parameter. It sometimes returns an array, and ...
-
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|
Thread.new {
begin
number_of_copied_bytes = IO.copy_stream(sock, sock)
$stderr.puts number_of_copied... -
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 those in long term.
Current Travis CI "pedanticism" test case to output compiler warnings with `-Wall` and `-Wextra` is ... -
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.
osx & OpenSSL 1.1.1, i686 (32-bit), valgrind, a case to show compiler warnings, and etc.
Great work!
-
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!
-
10:16 AM Revision a509de06 (git): Added initialization task for default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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 command
~~~
benchmark-driver benchmark/so_k_nucleotide.yml -e "path_to_patched_binary" -e "path_to_trunk_binary" -e "... -
03:25 AM Revision 2160c4de (git): wercker.yml: skip webrick for test-mjit-wait for now
- as failing
https://app.wercker.com/ruby/ruby/runs/test-mjit-wait/5bd092a89b1e440006d5780d?step=5bd092e3591ca80007258400
now and it needs some fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 AM Revision 85173be4 (git): add new counter about GC.
- * debug_counter.h: add `gc_major_oldmalloc`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 AM Revision b2b8b4a1 (git): Fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 AM Revision 4c875b6e (git): time.c: benchmark recovery
- * time.c (time_localtime): check if `vtm.zone` is a simple zone
name string before trying to call the conversion method. since
r64952, `Time.getlocal` on UTC time has lost the performance
about 45%, due to this call. the performa...
10/24/2018
-
10:17 PM Revision f8dbff55 (git): add new debug_counters for GC.
- * debug_counter.h: add new debug counters to count GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:52 PM Feature #15251: Hash aset should deduplicate non tainted string
- chopraanmol1@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/15251
> I'm not sure if current behavior is expected one or a bug. So fell free to
> change tracker type.
current behavior is intentional because of a regression ... -
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 ASET checks if non-tainted string exists in fstring table or not, if it doesn't then ruby duplicates string and freeze it. ... -
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 chime in on what is happening:
~~~
00:05:24.566 Running tests in parallel: |=========/jenkins/.rvm/gems/ruby-2.4.4@in... -
03:49 PM Revision 0fbc28de (git): wercker.yml: rearrange test split times
- test-all2 is taking much longer time than test-all1 now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:41 PM Revision d82a7612 (git): * 2018-10-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:41 PM Revision 97f3e426 (git): _mjit_compile_ivar.erb: cancel on undefined ivar
- I assumed somehow this check was not needed, but it did need.
By canceling this instead of just warning here, we didn't lose the
current performance so much.
test_jit.rb: test the case that reproduces SEGV by that.
TestGemStreamUI.rb: ... -
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-linux]
$ ./ruby -e '-888888888888888i**88888888888888'
-e:1: warning: in a**b, b may be too big
$
~~~ -
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 ./ruby -v
ruby 2.6.0dev (2018-10-24 trunk 65097) [x86_64-linux]
$ ASAN_OPTIONS=detect_leaks=0 ./ruby ../repro2
../repr... -
09:45 AM Bug #15246: Invalid read (SEGV on indeterminate address) in id_table.c
- Maybe fixed by r65190?
-
02:24 PM Revision 593b5853 (git): test_jit.rb: test newhashfromarray
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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__)
Fiber.yield readable.read(1)
}.resume
}
}.each(&:join)
end
~~~
Getting the segfault doesn... -
12:19 PM Revision f84c3184 (git): revert r65353 [ci skip]
- As Wercker is managing workflow by GUI, the commit had no impact for
behavior... I already fixed the workflow on GUI. Let revert that to
change it back to natural order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65354 b2dd03c8-3... -
12:14 PM Revision beec400d (git): wercker.yml: run slower job first
- to reduce time taken for finishing all jobs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:13 PM Revision 789244e1 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 PM Revision 20d74be8 (git): test/excludes/_wercker: skip tests
- which are under investigation. I'm debugging it right now, but let's
make it green to stop bothering other development.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 (2018-10-18 revision 65137) [x86_64-darwin18]
100
```
```
$ ruby2.5 -v -e 'i = 0; %w(1) || 2 while (i += 1) < 100; ... -
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 actually reprodusible on stable branches.
-
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_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:... -
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_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:... -
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 6520 7e6f 5b0a 0a0a 0a0a 0a0a 0a69 3d31"|xxd -r -p|ruby --dump=insns
-:9: warning: found `= literal' in conditional, shoul... -
10:38 AM Revision 71b0d20f (git): compile.c: fix peephole optimization
- * compile.c (iseq_peephole_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:89536] [Bug #15245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65350 b2dd03c8... - 10:29 AM Revision cd0181dd (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 AM Revision 4b027388 (git): wercker.yml: skip TestParallel::TestParallel#test_separate
- for now. It's randomly failing on test-mjit-wait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:52 AM Revision 9d93d8b1 (git): wercker.yml: try to split test-all again
- TestParallel in test/testunit/... seems to be slow. Let's see if this
contributes to loosen timeout or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:05 AM Revision e3bd6ef7 (git): wercker.yml: skip test_queue_with_trap on -wait as well
- It randomly failed.
https://app.wercker.com/ruby/ruby/runs/test-mjit-wait/5bcfd19aa9806e000655c598?step=5bcfd1d5acc4510006e00f77
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision 6fa2b5e8 (git): newhashfromarray should be a leaf insn.
- * insns.def (newhashfromarray): `rb_hash_bulk_insert()` can call
Ruby methods like #hash so that it should not be a leaf insn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Revision 434207e8 (git): need a cast
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 AM Revision f3c5239b (git): introduce new YARV insn newhashfromarray.
- * insns.def (newhashfromarray): added to replace `core_hash_from_ary`
method to eliminate method call overhead.
On my environment, I got the following benchmark results:
x = {x: 1}
modified: 7864988.6 i/s
...