Project

General

Profile

Activity

From 05/07/2017 to 05/13/2017

05/13/2017

07:40 PM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
Eregon, I have no idea what you're talking about. All the examples of Fiber usage over on ruby-doc.org shows identical behavior to Python's yield statement. The only difference is that in Python, "resume" is spelled "next", and you can i... jphelps (Jeremy Phelps)
07:01 PM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
jphelps (Jeremy Phelps) wrote:
> I just learned that Ruby has continuations. Then I learned that they're considered obsolete, and "instead" we're supposed to use a feature (basically just Python's yield statement) that has zero use case...
jwmittag (Jörg W Mittag)
11:47 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
jphelps (Jeremy Phelps) wrote:
> I just learned that Ruby has continuations. Then I learned that they're considered obsolete, and "instead" we're supposed to use a feature (basically just Python's yield statement) that has zero use case...
Eregon (Benoit Daloze)
10:32 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
I just learned that Ruby has continuations. Then I learned that they're considered obsolete, and "instead" we're supposed to use a feature (basically just Python's yield statement) that has zero use cases in common with continuations.
jphelps (Jeremy Phelps)
04:36 PM Feature #13559: Change implementation of Feature #6721
Eregon (Benoit Daloze) wrote:
> In an ideal world, I think #itself with a block doing what #tap does today and #tap doing what #yield_self does would make sense.
> ...
This, exactly.
Just another reminder how important is think decisi...
dunrix (Damon Unrix)
03:16 PM Feature #13559: Change implementation of Feature #6721
Maybe something like translate, mutate or modify. Or single_map. I also read yield_self as doing the same as tap. rosenfeld (Rodrigo Rosenfeld Rosas)
03:00 PM Feature #13559: Change implementation of Feature #6721
```ruby
url.itself { |u| open(u).read } # return "itself -> fetch from the network"
```
> it does not seem to return something other than url "itself".
well, for ME it is mostly "itself, processed this way".
But I understand th...
zverok (Victor Shepelev)
02:55 PM Feature #13559: Change implementation of Feature #6721
nobu (Nobuyoshi Nakada) wrote:
> And `let`... but it is used by RSpec.
Is that actually a problem?
https://github.com/rspec/rspec-core/blob/f4dc5ef5c6bded2b1ec348e856352b60a3e072e9/lib/rspec/core/memoized_helpers.rb#L249-L251
def...
Eregon (Benoit Daloze)
02:49 PM Feature #13559: Change implementation of Feature #6721
I agree #yield_self is less than ideal.
To start, it is quite long (10 letters including a underscore) for a very simple method.
In an ideal world, I think #itself with a block doing what #tap does today and #tap doing what #yield_...
Eregon (Benoit Daloze)
02:32 PM Feature #13559: Change implementation of Feature #6721
zverok (Victor Shepelev) wrote:
> ```ruby
> ...
It does not seem to return something other than `url` "itself".
> There are some other good options (listed, for ex., [here](https://bugs.ruby-lang.org/issues/12760#note-5)), that are ...
nobu (Nobuyoshi Nakada)
01:50 PM Feature #13559: Change implementation of Feature #6721
To be honest, the selected name for the method dozens of peoples wanted for 5 years looks really bad.
It is like instead of `map` Ruby'd had a method named like, I don't know, `yield_each_and_return_result`.
I always believed Rub...
zverok (Victor Shepelev)
01:41 PM Feature #13559: Change implementation of Feature #6721
I can see it just as an alternate way of expressing an identity function, not something foreign what would require standalone method. Just an optional modifier of received self. Thus more "logical", from my point of view I admit. Reusing... dunrix (Damon Unrix)
12:35 AM Feature #13559 (Feedback): Change implementation of Feature #6721
Why?
I don't understand the reason behind your statement 'cleaner and more logical'.
Return values from `itself` and `yield_self` are semantically different. Unifying them would make static analytics more difficult. Is there any re...
matz (Yukihiro Matsumoto)
04:04 PM Revision 7323de51 (git): revert r58703 & r58705
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:23 PM Revision 0843c1ca (git): * 2017-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 PM Revision 8675dd7b (git): The exception raised when exec/spawn unexecutable file on Windows is various
It seems that depend on OS version or filesystem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:20 PM Revision a3960d0a (git): string.c: fix up r58703
* string.c (rb_external_str_new_with_enc): fix the case of
conversion failure. when conversion failed for some reason,
just ignores the default internal encoding and returns in the
given encoding.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
01:54 PM Revision eafeb506 (git): remove wrong expectation
* spec/rubyspec/core/kernel/itself_spec.rb: `object_id` may return
different objects for each calls, and the expectation of object
identity is done by `equal` matcher which uses `equal?` method.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
01:34 PM Revision 7678c0d7 (git): string.c: cut down intermediate string
* string.c (rb_external_str_new_with_enc): cut down intermediate
string for conversion source, by appending with conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:31 PM Revision 7d52ad9e (git): string.c: fix one-off bug
* string.c (rb_str_cat_conv_enc_opts): fix one-off bug. `ofs`
equals `olen` when appending at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:32 AM Feature #13561 (Assigned): Optimize ERB string concatenation
hsbt (Hiroshi SHIBATA)
10:29 AM Feature #13561 (Closed): Optimize ERB string concatenation
Using opt_ltlt instruction instead of opt_send_without_block for #concat, we can bypass method call and use rb_str_concat directly. So I want ERB to generate #<<.
### Benchmark
With bm_app_erb's erb template and its rendering bench...
k0kubun (Takashi Kokubun)
10:31 AM Feature #13197: Gemify fileutils
> what is supposed to be the canonical, "upstream" repository for all those gems
Short answer: upstream is svn.ruby-lang.org.
But some default gems use github for the canonical repository.
Gemification status is still work in prog...
hsbt (Hiroshi SHIBATA)
07:36 AM Feature #13197: Gemify fileutils
hsbt (Hiroshi SHIBATA) wrote:
> bug.ruby-lang.org and github.com/ruby/fileutils are ok.
This is currently completely unclear to me: what is supposed to be the canonical, "upstream" repository for all those gems, i.e. where should bug...
stomar (Marcus Stollsteimer)
05:11 AM Feature #13197: Gemify fileutils
Maybe somebody should propose "Gem::Specification#source_code" field to RubyGems guys. I don't understand why the "Source Code" field must be set manually on rubygems.org while it would not harm to have it in gem metadata ... vo.x (Vit Ondruch)
09:55 AM Revision aa5e3890 (git): make test-rubyspec-precheck
* common.mk (yes-test-rubyspec): make test-rubyspec-precheck for
fake.rb to setup build configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:05 AM Revision b7ff46b7 (git): test/net/imap: fix race condition in test_exception_during_idle
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
01:16 AM Revision 665333e3 (git): thread_win32.c: disable currently unused functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 AM Revision d3ca0b29 (git): math.c: check argument to lgamma_r
* math.c (math_lgamma): check the argument before calling math
function `lgamma_r` for edge cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:50 AM Revision 1a4a5362 (git): math.c: check argument to tgamma
* math.c (math_gamma): check the argument before calling math
function `tgamma` for edge cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/12/2017

10:36 PM Feature #13197 (Assigned): Gemify fileutils
@stomar
Thanks. source-code still point old metadata. And homepage is the wrong parameter.
I will update it before Ruby 2.5.0preview1.
>which would be more useful regarding information on issues, releases, ...
bug.ruby-lang.org...
hsbt (Hiroshi SHIBATA)
07:32 PM Feature #13197: Gemify fileutils
@hsbt, I noticed that the rubygems page has wrong metadata ("Source Code" URL), presumably from the previous gem. This might also be the case for other gems with yanked (unrelated) older gem; I did not check.
And another thought: shou...
stomar (Marcus Stollsteimer)
06:32 AM Feature #13197 (Closed): Gemify fileutils
I released fileutils-0.7.1 and yanked old versions.
https://rubygems.org/gems/fileutils
hsbt (Hiroshi SHIBATA)
09:52 PM Bug #11384 (Closed): multi-threaded autoload sometimes fails
Applied in changeset trunk|r58696.
----------
autoload: always wait on loading thread
We cannot assume autoload_provided/rb_feature_provided returning
TRUE means it is safe to proceed without waiting. Another
thread may call rb_provid...
Anonymous
09:51 PM Bug #11384: multi-threaded autoload sometimes fails
I think the attached patch should fix it, over 12 million iterations
and still going strong.
normalperson (Eric Wong)
12:08 AM Bug #11384: multi-threaded autoload sometimes fails
s.wanabe@gmail.com wrote:
> Status changed from Closed to Open
>
> I re-open this ticket because it remains the issue.
> Please do not hesitate to close and open new one if you want.

No worries, I don't care for ticket organizat...
normalperson (Eric Wong)
09:52 PM Revision 94a7a4e9 (git): autoload: always wait on loading thread
We cannot assume autoload_provided/rb_feature_provided returning
TRUE means it is safe to proceed without waiting. Another
thread may call rb_provide_feature before setting the constant
(via autoload_const_set). So we must wait until a...
Eric Wong
08:16 PM Feature #13560 (Closed): Module#attr_ methods return reasonable values
Hi,
I'm suggesting all `Module#attr_` [methods](http://ruby-doc.org/core-2.4.1/Module.html#method-i-attr_accessor) should return array of generated method names, instead of useless `nil`.
Make them more concise across `Module` API, c...
dunrix (Damon Unrix)
08:10 PM Revision 98746acf (git): `notepad.exe` does not always exist in `C:\Windows`
Use `%WINDIR%\system32\drivers\etc\services` instead of `notepad.exe`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:54 PM Feature #13559 (Feedback): Change implementation of Feature #6721
Hi,
please reconsider implementation of feature request #6721 planned for Ruby 2.5.0 .
Instead of introducing new method `Object#yield_self`, just reuse existing `Object#itself` by taking an optional block argument.
Find it much...
dunrix (Damon Unrix)
06:25 PM Feature #12648: `Enumerable#sort_by` with descending option
Personally, I really do not like grep_v, or generally using options from command line tools in method names. stomar (Marcus Stollsteimer)
07:46 AM Feature #12648: `Enumerable#sort_by` with descending option
How does `sort_r_by` sound when we already have `grep_v`? knu (Akinori MUSHA)
05:23 PM Revision 34761b7f (git): array.c: fix position in message
* array.c (rb_ary_insert): fix the position in error message, when
it is less than -1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:02 PM Bug #13558 (Closed): Array#insert does not typecheck the position argument if it's the only argument
Applied in changeset trunk|r58693.
----------
array.c: check position to insert
* array.c (rb_ary_insert): check position to insert even if no
elements to be inserted. [ruby-core:81125] [Bug #13558]
nobu (Nobuyoshi Nakada)
09:26 AM Bug #13558 (Closed): Array#insert does not typecheck the position argument if it's the only argument
**rb_ary_insert** does this:
~~~ c
if (argc == 1) return ary;
~~~
For Ruby this means:
~~~ ruby
> [].insert("foo")
=> []
> ...
=> []
~~~
I would expect this to raise a TypeError. The problem here is that if you for...
kke (Kimmo Lehto)
05:02 PM Revision e95cac18 (git): array.c: check position to insert
* array.c (rb_ary_insert): check position to insert even if no
elements to be inserted. [ruby-core:81125] [Bug #13558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:02 PM Revision 9c38f3e6 (git): show GEM_HOME
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:12 PM Revision 126aba85 (git): fix tgamma for inifity
* configure.in: do not use buggy tgamma() of mingw.
* missing/tgamma.c (tgamma): merge fix for inifity from
ruby_tgamma. since msvcr120.dll and later have tgamma, this
implementation will not be used.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:01 PM Revision ac6e069a (git): * 2017-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision 05ea2646 (git): tgamma.c: unify versions with/without lgamma_r
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:29 PM Revision 2c0baa97 (git): string.c: remove bare Unicode.
* string.c (rb_str_unicode_normalize): remove bare Unicode. do
not assume that all compilers can handle UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:49 AM Revision f4b91348 (git): Encoding.default_internal should affect ENV on Windows like other platforms
* hash.c (env_str_transcode): call rb_external_str_with_enc() if
default_internal is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:37 AM Revision 512db219 (git): Windows does not know Unix style timezone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:31 AM Revision 0c160511 (git): Math.gamma(Float::INFINITY) should return +INF
* math.c (tgamma): it seems that the implementaion of mswin has similar problem
with mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:23 AM Revision 0558ba4e (git): On LLP64 platform (mswin64), the return value of String#hash is fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:10 AM Revision 1f136bff (git): Skip specs which make non-socket fd nonblocking on Windows
because Windows does not support nonblocking mode except sockets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:05 AM Revision 683b8907 (git): Support bulding the extension on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:46 AM Revision e87cc8ea (git): It seems that MSVCRT accepts negative time_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:39 AM Revision 5bf395f4 (git): net/imap: Revert read_tiemout in r58549.
get_response is called in a receiver thread, so there may be no pending
commands when get_response is called.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
09:36 AM Revision 952fa456 (git): unistd.h is only available when HAVE_UNISTD_H is 1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:17 AM Revision 6e4d65cd (git): Skip the spec which uses `fork` on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:45 AM Revision f4fffbfe (git): The title of "Desktop" may be localized
* spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb: the title of
"Desktop" may be localized. then, use "System32" because it seems not to be
localized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58677 b2dd03c8-39d4-4...
U.Nakamura
08:11 AM Revision 877d1dd1 (git): Skip on Windows because it always fails
On Windows, when invoking ruby via runruby.rb, the pid of invoker and of invokee
are diffrent. Therefore, this spec always fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:10 AM Revision 1cff8c82 (git): remove code old versions
* spec/rubyspec/optional/capi/spec_helper.rb (compile_extension):
remove code old versions. `RbConfig::CONFIG["rubyhdrdir"]` is
since 1.9, and `RbConfig::CONFIG["rubyarchhdrdir"]` is since
2.0.0.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
07:54 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
nobu (Nobuyoshi Nakada) wrote:
> On macOS, `--with-setjmp-type=setjmp` configuration option may fix it.
This does fix the issue on macOS for me, thank you. Maybe this should be the macOS default?
backus (John Backus)
06:27 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
On macOS, `--with-setjmp-type=setjmp` configuration option may fix it. nobu (Nobuyoshi Nakada)
07:48 AM Revision ebd763c1 (git): gc.c: checks of sizes
* gc.c (ruby_xmalloc, ruby_xmalloc2, ruby_xcalloc): move checks of
sizes from objspace_xmalloc, objspace_xmalloc2, objspace_xcalloc,
respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58674 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
07:48 AM Revision 6ed69699 (git): gc.c: objspace_malloc_fixup
* gc.c (objspace_malloc_fixup): include allocated size
managements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:33 AM Bug #13546 (Rejected): std steams are closed in Windows app.
Where do you define `WIN32`?
Note that the predefined macro is `_WIN32`.
And the call to `rb_w32_sysinit` must be **before** `ruby_init`, and the arguments must **not** be `NULL`.
nobu (Nobuyoshi Nakada)
12:36 AM Bug #13546: std steams are closed in Windows app.
nobu (Nobuyoshi Nakada) wrote:
> Do you call `ruby_sysinit`?
Our initialization code looks like this:
~~~ c
RUBY_INIT_STACK;
ruby_init();
#if defined(WIN32)
rb_w32_sysinit(NULL,NULL);
#endif
~~~
alex (Alex Epifanov)
07:16 AM Feature #13248: Gemify gdbm
I got ownership for gdbm namespace in rubygems.
And shipped gdbm-2.0.0.beta1 implemented as ruby core repository.
https://github.com/ruby/gdbm
https://rubygems.org/gems/gdbm
I'm going to yank old versions after Ruby 2.5.0previe...
hsbt (Hiroshi SHIBATA)
07:13 AM Feature #13201: Gemify dbm
>vo.x (Vit Ondruch)
I update source code location in 1.0.0.beta1.
hsbt (Hiroshi SHIBATA)
07:10 AM Feature #13206: Gemify fcntl
It's released on rubygems.
https://rubygems.org/gems/fcntl
hsbt (Hiroshi SHIBATA)
07:08 AM Feature #13213: Gemify scanf
It's released on rubygems.
https://rubygems.org/gems/scanf
hsbt (Hiroshi SHIBATA)
07:07 AM Feature #13256 (Closed): Gemify etc
I released etc-0.2.1 and yanked 0.2.0.
https://rubygems.org/gems/etc
hsbt (Hiroshi SHIBATA)
06:48 AM Revision cbca6dc4 (git): spec has been merged, then should run it in love
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:39 AM Revision ae623435 (git): Support building exts of spec on mswin
* spec/rubyspec/optional/capi/spec_helper.rb: building command of extensions on
mswin differs from Unixen's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:31 AM Feature #13186: Gemify zlib
It's released on rubygems.
https://rubygems.org/gems/zlib
hsbt (Hiroshi SHIBATA)
06:19 AM Feature #13183: Gemify date
It's released on rubygems.
https://rubygems.org/gems/date
hsbt (Hiroshi SHIBATA)
06:19 AM Feature #13182: Gemify cmath
It's released on rubygems.
https://rubygems.org/gems/cmath
hsbt (Hiroshi SHIBATA)
06:19 AM Feature #13177: Gemify csv
It's released on rubygems.
https://rubygems.org/gems/csv
hsbt (Hiroshi SHIBATA)
06:19 AM Revision 66f79104 (git): vm.c: free by ruby_xfree
* vm.c (ruby_vm_run_at_exit_hooks): should free by `ruby_xfree`
memories allocated by `ALLOC`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:18 AM Feature #13173 (Closed): Gemify webrick
I released 1.4.0.beta1 on rubygems.
https://rubygems.org/gems/webrick
hsbt (Hiroshi SHIBATA)
06:17 AM Feature #13335: Gemify mathn
It's released. https://rubygems.org/gems/mathn hsbt (Hiroshi SHIBATA)
06:16 AM Feature #13403 (Closed): Gemify fiddle
hsbt (Hiroshi SHIBATA)
06:15 AM Feature #13199 (Assigned): Gemify strscan
It's not released on rubygems yet. (It's my mistake.) hsbt (Hiroshi SHIBATA)

05/11/2017

11:43 PM Bug #11384 (Open): multi-threaded autoload sometimes fails
I re-open this ticket because it remains the issue.
Please do not hesitate to close and open new one if you want.
I think this is an issue of the timing between `rb_provide_feature()` and `autoload_const_set()`.
This is reproducti...
wanabe (_ wanabe)
08:49 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
+1 This would be a nice feature and let the VM still keep the backtrace information in an flexible way (instead of dumping it to a String like Exception#backtrace). Eregon (Benoit Daloze)
06:36 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
Did a mistake. The code example uses `caller_locations` (and therefore causes the `TypeError` exception) while I meant it to use `caller` and therefore cause `e.backtrace_locations` to be nil sylvain.joyeux (Sylvain Joyeux)
06:34 PM Feature #13557 (Closed): there's no way to pass backtrace locations as a massaged backtrace
When re-raising exceptions, it is sometimes useful to "massage" the backtrace (especially in DSLs).
There is currently no way to do it using only backtrace locations. This causes the new exception to have #backtrace_locations return n...
sylvain.joyeux (Sylvain Joyeux)
06:59 PM Revision 8303bc6c (git): string.c: docs for String#match
* string.c: [DOC] add example for String#match with pos argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
06:58 PM Revision 4a0eaeeb (git): string.c: docs for Symbol
* string.c: [DOC] adopt call-seq's for Symbol#{match,match?} from
String methods; other small improvements for Symbol docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
06:56 PM Revision 2e48267c (git): * 2017-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:56 PM Revision 477cb2b8 (git): string.c: docs for Symbol#{match,match?}
* string.c: [DOC] mention pos argument for Symbol#{match,match?}.
Patch by Yuki Kurihara (ksss). [Fix GH-1606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
04:19 PM Bug #13556 (Closed): MinGW readline Alt / Meta keys
MinGW builds from Ruby Installer have been using the [rb-readline](https://github.com/ConnorAtherton/rb-readline) gem instead building the readline extension with the MinGW readline package.
Building the extension with the package (7....
MSP-Greg (Greg L)
02:28 PM Revision 160d730e (git): gc.c: skip unnecessary check
* gc.c (wmap_aset): skip unnecessary size check.
`2*sizeof(VALUE)` is static and should never overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:28 PM Revision 8acaa122 (git): gc.c: use the argument objspace
* gc.c (objspace_xrealloc): use the argument objspace, instead of
the default object space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision cea73b2d (git): net/imap: Net::IMAP#disconnect need not do anything if already disconnected
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
06:11 AM Feature #8661 (Assigned): Add option to print backtrace in reverse order (stack frames first and error last)
Agreed. I got confusing too. (not sure it is a matter of experience or not...) ko1 (Koichi Sasada)
05:47 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
ping nobu backus (John Backus)
02:38 AM Revision cb302650 (git): process.c: fix error check
* process.c (obj2uid, obj2gid): check the error number returned by
`getpwnam_r()` and `getgrnam_r()`, instead of `errno`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:42 AM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
I think this is due to mixture of glibc and jemalloc.
Here is a gdb output.
```
Thread 1 "miniruby" received signal SIGSEGV, Segmentation fault.
0x00007ffff7b03ca6 in je_arena_mapbitsp_read (mapbitsp=<optimized out>) at include/jem...
wanabe (_ wanabe)

05/10/2017

11:52 PM Revision 6657567e (git): fix up r57167
* test/lib/minitest/unit.rb (MiniTest::Unit#_run_anything): stop
if any errors or failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:38 PM Revision c47e2131 (git): pass as exception
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:34 PM Revision 8f9a46a3 (git): .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:18 PM Bug #13554 (Closed): Running system with different gid fails on Linux if host has group with lots of members
Applied in changeset trunk|r58658.
----------
process.c: temporary string for buffer
* process.c (obj2uid, obj2gid): use temporary string as the buffer
instead of `rb_alloc_tmp_buffer`, which is `NODE_ALLOCA` since
r51492. [ruby-c...
nobu (Nobuyoshi Nakada)
04:19 AM Bug #13554 (Closed): Running system with different gid fails on Linux if host has group with lots of members
In #9600, it was pointed out that groups can be larger than sysconf(SC_GETGR_R_SIZE_MAX) in Linux. This was fixed in r45290 by enlarging the buffer and retrying. That worked well, but it was broken again in r51492. Ever since, when tr... ssgelm (Stephen Gelman)
11:18 PM Revision ec70309f (git): process.c: temporary string for buffer
* process.c (obj2uid, obj2gid): use temporary string as the buffer
instead of `rb_alloc_tmp_buffer`, which is `NODE_ALLOCA` since
r51492. [ruby-core:81084] [Bug #13554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58658 b2dd03...
nobu (Nobuyoshi Nakada)
07:19 PM Revision d845b4f2 (git): Show garbages if requiring gem_runner is failed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:03 PM Revision 9008d54b (git): * 2017-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 PM Revision dba186eb (git): lib/uri/generic.rb: fix typos
* lib/uri/generic.rb: [DOC] fix typos in URI::Generic#== docs.
Patch by Alyssa Ross (alyssais). [Fix GH-1604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
05:11 PM Feature #10119: [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
I updated the patch so the code doesn't raise when passing a CHANGEDSINCE value bigger than 4294967296, as defined by rfc 4551.
https://tools.ietf.org/html/rfc4551 :
mod-sequence-value = 1*DIGIT
;; Po...
plehoux (Philippe-Antoine Lehoux)
03:21 PM Feature #10119: [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
The above patch was wrong. There is/was no flags variable in current/previous ruby versions.
The attached patch now correctly reflect the real diff.
I also added this test as requested:
~~~ ruby
# [Bug #10119]
def test_msg...
plehoux (Philippe-Antoine Lehoux)
03:21 PM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
I'm also having a segmentation fault using the official ruby image. In my case, the error only happens when executing codeclimate-test-reporter.
Here's the log: https://gist.github.com/antoniobg/787521eec3d1e1019638a8cfe5b48fdd
antoniobg (Antonio Borrero Granell)
02:35 PM Revision d81b7cd5 (git): Use environment values to find ruby and flags instead of an argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:35 PM Revision d655f8c5 (git): Use ruby_cmd instead of the RUBY_EXE constant in specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:25 PM Revision 849bf24a (git): gc.c: check of size in ruby_sized_xrealloc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 PM Revision 525844f2 (git): Use the Mutex to know whether we entered the signal handler in Process#kill specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:18 PM Revision c66852b8 (git): Process.getpgrp and Process.setsid must be available for Process#kill group specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:17 PM Revision 0dc32472 (git): Use #system directly with multiple arguments in Process#kill specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:38 AM Bug #11310 (Assigned): CSV::Table#to_csv should use concat not +
hsbt (Hiroshi SHIBATA)
11:38 AM Feature #11865 (Assigned): CSV: keep original line when parsing
hsbt (Hiroshi SHIBATA)
10:00 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Should matz give an opinion on this feature?
It's a pretty big change for the user, I got confused a couple times by it when running trunk.
Particularly, if a test framework prints a backtrace in the old order, but then some exceptio...
Eregon (Benoit Daloze)
07:43 AM Feature #13551: Add a method to alias class methods
JustJosh (Joshua Stowers) wrote:
> Thanks Matthew, that result is exactly what I had in mind.
Given that it's very easy (as shown by Matthew) to create such a method, do you think it's necessary that this be implemented by Ruby itsel...
duerst (Martin Dürst)
07:23 AM Revision d7181f72 (git): confirm current process equals to gemhome's pid
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:38 AM Revision 0280d1fb (git): test_exception.rb: test_machine_stackoverflow_by_trace
* test/ruby/test_exception.rb (test_machine_stackoverflow_by_trace):
move from test_trace.rb and rename, to be excluded by the default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:35 AM Bug #13555 (Closed): Disable TestTrace#test_trace_stackoverflow
I'll disable `TestTrace#test_trace_stackoverflow` because this test stops sometimes on several machines.
My observation: during stackoverflow throw process, it get another stackoverflow and repeat it.
I'll simply remove it and rema...
ko1 (Koichi Sasada)
02:38 AM Bug #13553 (Closed): Improve performance in where push the element into non shared Array object
rb_ary_modify() has the codes for shared Array object.
In here, it has condition branch for shared / non shared Array object and
it can use rb_ary_modify_check() which is smaller function than rb_ary_modify()
for non shared object.
...
watson1978 (Shizuo Fujita)
12:39 AM Revision 6924066a (git): adjust styles [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:20 AM Revision 75734520 (git): math.c (ruby_lgamma_r): reduce duplicate code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:19 AM Feature #13552: [PATCH 0/2] reimplement ConditionVariable, Queue, SizedQueue using ccan/list
pull request:
The following changes since commit 6ad7c53ba9fb688ea1070a2319a64f0cc32c08e8:
test/thread: relax internal implementation check in error message (2017-05-09 19:52:10 +0000)
are available in the git repository at:
...
normalperson (Eric Wong)
12:16 AM Feature #13552 (Closed): [PATCH 0/2] reimplement ConditionVariable, Queue, SizedQueue using ccan/list
```
The performance improvement increases as the number of waiters
increases, due to avoiding the O(n) behavior of rb_ary_delete on
the waiting thread. Uncontended queues and condition variables
performance is not altered significan...
normalperson (Eric Wong)

05/09/2017

08:41 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
I agree that changing the default to UTF-8 is not appropriate on Windows in a Ruby 2.x release.
Should a change occur in Ruby 3 to make UTF-8 the default, I believe it would still be useful to gain access to the original Windows codep...
Iristyle (Ethan Brown)
07:52 PM Misc #13541 (Closed): [PATCH] test/thread: relax checks for internal implementation
Applied in changeset trunk|r58644.
----------
test/thread: relax internal implementation check in error message
Queue, SizedQueue, and ConditionVariable internal implementation
should not be tied to using arrays. Implementation detail...
Anonymous
07:52 PM Revision 6ad7c53b (git): test/thread: relax internal implementation check in error message
Queue, SizedQueue, and ConditionVariable internal implementation
should not be tied to using arrays. Implementation details can
change and I am working on a change to remove the dependency on
arrays (as others may attempt, too) by using...
Eric Wong
06:56 PM Bug #13231 (Closed): DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
Applied in changeset trunk|r58643.
----------
date_core.c: fix docs for %Z format
* ext/date/date_core.c: [DOC] fix documentation for %Z format
of {Date,DateTime}.strftime.
Reported by Damon Timm. Based on a patch by nano.
[rub...
stomar (Marcus Stollsteimer)
06:56 PM Revision 257eacee (git): date_core.c: fix docs for %Z format
* ext/date/date_core.c: [DOC] fix documentation for %Z format
of {Date,DateTime}.strftime.
Reported by Damon Timm. Based on a patch by nano.
[ruby-core:79602] [Bug #13231] [Fix GH-1565]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
stomar (Marcus Stollsteimer)
05:41 PM Revision 8972de9f (git): dump stub specifications if nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:20 PM Bug #13547 (Closed): [].delete 1 { 'NG' }
Applied in changeset trunk|r58641.
----------
parse.y: brace after literal arg
* parse.y (symbol, dsym, parser_set_number_literal, parser_yylex):
set state to END too not only ENDARG and after a literal, so
that a left brace after ...
nobu (Nobuyoshi Nakada)
05:20 PM Revision 99871095 (git): parse.y: brace after literal arg
* parse.y (symbol, dsym, parser_set_number_literal, parser_yylex):
set state to END too not only ENDARG and after a literal, so
that a left brace after it should be a primary block bound to
the literal, which causes syntax error.
...
nobu (Nobuyoshi Nakada)
05:12 PM Revision 046c9438 (git): parse.y: do after cmdarg in paren
* parse.y (parser_yylex): set state to ENDARG after a string
literal, so that `do` after a literal should be `do_block` and
bound to the outer method, as well as a numeric/symbol literal.
[ruby-core:72482] [Bug #11873]
git-svn-id:...
nobu (Nobuyoshi Nakada)
05:02 PM Revision 462e6675 (git): * 2017-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:02 PM Revision 92fa6670 (git): test_syntax.rb: test_brace_after_local_variable
* test/ruby/test_syntax.rb (test_brace_after_local_variable):
another test using braces. [Bug #11873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:23 PM Feature #13551: Add a method to alias class methods
Thanks Matthew, that result is exactly what I had in mind.
Having to nest the logic within `class << self` makes it difficult to understand what is going on, and the code less readable.
JustJosh (Joshua Stowers)
07:19 AM Feature #13551: Add a method to alias class methods
Do you mean singleton methods?
Something like this would work:
~~~ruby
module Kernel
def alias_singleton_method new_name, old_name
singleton_class.class_exec { alias_method new_name, old_name }
end
end
~~~
~~~ruby
...
phluid61 (Matthew Kerwin)
07:09 AM Feature #13551 (Feedback): Add a method to alias class methods
What do you mean by 'intuitive'?
How frequent/important is this?
It's easily possible as follows:
```
class Array
class << self
alias :my_new :new
end
end
Array.my_new # => []
```
duerst (Martin Dürst)
04:20 AM Feature #13551 (Rejected): Add a method to alias class methods
There doesn't seem to be an intuitive way to alias class methods.
Perhaps we can add a method such as
~~~ ruby
alias_class_method :new_name, :old_name
~~~
JustJosh (Joshua Stowers)
04:08 PM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
shyouhei (Shyouhei Urabe) wrote:
> Is it possible for you to show us how to reproduce this?
Hi, any update?
rtacconi (Riccardo Tacconi)
03:49 PM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
This is a bug, it does not execute part of the user program, even though the semantics are clearly defined.
Thanks for the fix nobu!
Maybe other case without side effects should warn, like `if true` ?
Eregon (Benoit Daloze)
03:14 PM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
ruby_2_4 r58634 merged revision(s) 58398. nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
ruby_2_4 r58637 merged revision(s) 58587,58588. nagachika (Tomoyuki Chikanaga)
03:42 PM Revision b5b1a213 (git): merge revision(s) 58587,58588: [Backport #13526]
variable.c: cleanup waitq upon thread death
* variable.c (autoload_reset): use idempotent list_del_init
(autoload_sleep): moved code from rb_autoload_load
(autoload_sleep_done): cleanup for use with rb_ensure...
nagachika (Tomoyuki Chikanaga)
03:30 PM Bug #13439: [PATCH] fix RSTRUCT_LEN macro in public C API
ruby_2_4 r58636 merged revision(s) 58359. nagachika (Tomoyuki Chikanaga)
03:30 PM Revision 2d909ca1 (git): merge revision(s) 58359: [Backport #13439]
fix RSTRUCT_LEN macro in public C API
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C API versions.
* ext/-test-/struct/len.c: new
* te...
nagachika (Tomoyuki Chikanaga)
03:24 PM Bug #13387: [PATCH]Add parenthesis to fix compile warning to string.c
ruby_2_4 r58635 merged revision(s) 58211. nagachika (Tomoyuki Chikanaga)
03:24 PM Revision 72fcda8b (git): merge revision(s) 58211: [Backport #13387]
string.c: Supress logical-op-parentheses warning
* string.c(rb_str_upcase_bang): Supress logical-op-parentheses warning
Patch by Fukuo Kadota <fukuo-kadota@cookpad.com>,
Closes [GH-1570] [Bug #13387].
git-sv...
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #13408: Backport r57359: fix non-IP format `no_proxy`
Backported into ruby_2_4 branch at r58624. nagachika (Tomoyuki Chikanaga)
03:13 PM Revision c4a34e5c (git): merge revision(s) 58398: [Backport #13444]
compile.c: wrong optimization
* compile.c (compile_branch_condition): expression which has side
effects should not be eliminated.
[ruby-core:80740] [Bug #13444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
nagachika (Tomoyuki Chikanaga)
03:06 PM Bug #13236: Ruby segfault
ruby_2_4 r58632 merged revision(s) 58082,58083. nagachika (Tomoyuki Chikanaga)
03:06 PM Revision 8ef97676 (git): * 2017-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision cb68586c (git): merge revision(s) 58082,58083: [Backport #13236]
class.c: ensure_includable
* class.c (ensure_includable): extract checks to include and
prepend.
class.c: prohibit refinement module
* class.c (ensure_includable): cannot include refinement
m...
nagachika (Tomoyuki Chikanaga)
02:56 PM Bug #13214: FileUtils::mkdir_p creates additional (unrequested) directory on Cygwin
ruby_2_4 r58631 merged revision(s) 57640. nagachika (Tomoyuki Chikanaga)
02:56 PM Revision 0deee202 (git): merge revision(s) 57640: [Backport #13214]
fileutils.rb: do not make root
* lib/fileutils.rb (FileUtils#mkdir_p): no need to make root
directory which should be exist and cannot be made with mkdir
recent Cygwin can make a directory contains a colon.
...
nagachika (Tomoyuki Chikanaga)
02:55 PM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
ruby_2_4 r58630 merged revision(s) 57265,57266. nagachika (Tomoyuki Chikanaga)
02:55 PM Revision e006dc67 (git): merge revision(s) 57265,57266: [Backport #13081]
win32/resolv.rb: ad hoc workaround
* ext/win32/lib/win32/resolv.rb (Win32::Resolv::SZ): an ad hoc
workaround for broken registry. SearchList and other registry
values must be REG_SZ, or Windows ignores anyth...
nagachika (Tomoyuki Chikanaga)
02:53 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
ruby_2_4 r58629 merged revision(s) 58037. nagachika (Tomoyuki Chikanaga)
02:53 PM Revision 5634c62d (git): merge revision(s) 58037: [Backport #10944]
docs for creating arrays
* array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [Bug #10944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5862...
nagachika (Tomoyuki Chikanaga)
02:51 PM Bug #9294: Documentation for IO#read claims resulting string is always ASCII-8BIT encoding
ruby_2_4 r58628 merged revision(s) 58008. nagachika (Tomoyuki Chikanaga)
02:51 PM Revision b2575bc8 (git): merge revision(s) 58008: [Backport #9294]
io.c: improve docs
* io.c: [DOC] improve and harmonize docs for IO#read and ARGF#read;
fix invalid example code for IO#read to make it syntax highlighted.
* io.c: [DOC] various improvements for docs of IO, ARG...
nagachika (Tomoyuki Chikanaga)
02:50 PM Bug #13175: Building --with-jemalloc on FreeBSD fails
ruby_2_4 r58627 merged revision(s) 57490. nagachika (Tomoyuki Chikanaga)
02:50 PM Revision 97da0db7 (git): merge revision(s) 57490: [Backport #13175]
configure.in: use AC_SEARCH_LIBS
* configure.in (--with-gmp, --with-jemalloc): use AC_SEARCH_LIBS
to check if no library is required, instead of AC_CHECK_LIB.
[ruby-core:79368] [Bug #13175]
git-svn-id: svn+s...
nagachika (Tomoyuki Chikanaga)
02:48 PM Bug #13247: ruby won't build on macOS 10.6 SDK — mach_task_basic_info_data_t not available
ruby_2_4 r58626 merged revision(s) 57180. nagachika (Tomoyuki Chikanaga)
02:48 PM Revision 33b90a28 (git): merge revision(s) 57180: [Backport #13247]
memory_status.c: support old Mac OS
* ext/-test-/memory_status/memory_status.c (read_status): use
TASK_BASIC_INFO instead of MACH_TASK_BASIC_INFO on old Mac OS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
nagachika (Tomoyuki Chikanaga)
02:46 PM Bug #13499: need to backport r58453
ruby_2_4 r58625 merged revision(s) 58453,58454. nagachika (Tomoyuki Chikanaga)
02:46 PM Revision 51351b8f (git): merge revision(s) 58453,58454: [Backport #13499]
Fix space flag when Inf/NaN and width==3
* sprintf.c (rb_str_format): while `"% 2f"` and `"% 4f"` result in
`" Inf"` and `" Inf"` respectively, `"% 3f"` results in
`"Inf"` (no space).
Refactor "%f" % ...
nagachika (Tomoyuki Chikanaga)
02:28 PM Bug #13442: Please backport r57359
ruby_2_4 r58624 merged revision(s) 57359. nagachika (Tomoyuki Chikanaga)
02:28 PM Revision 4a3da1fb (git): merge revision(s) 57359: [Backport #13442]
uri/generic.rb: fix exception on non-IP format
* lib/uri/generic.rb (URI::Generic#find_proxy): match IP address
no_proxy against resolved self IP address. [Fix GH-1513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nagachika (Tomoyuki Chikanaga)
02:24 PM Bug #13530: backport r58370 and r58382
ruby_2_4 r58623 merged revision(s) 58370,58382. nagachika (Tomoyuki Chikanaga)
02:24 PM Revision 825538fc (git): merge revision(s) 58370,58382: [Backport #13530]
thread_win32.c: no GVL for interrupt_event
* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
deadlock at read/close race condition. instead, just ignore
interrupt_event if it is closed.
...
nagachika (Tomoyuki Chikanaga)
02:21 PM Bug #13533: please backport r58534
ruby_2_4 r58622 merged revision(s) 58534. nagachika (Tomoyuki Chikanaga)
02:21 PM Revision 53b976ef (git): merge revision(s) 58534: [Backport #13533]
nogvl_wait_for_single_fd must wait as its name
poll(fds, n, 0) mean no timeout and immediately return. If you want to
wait something, you need to use -1 instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
nagachika (Tomoyuki Chikanaga)
02:11 PM Revision 20824087 (git): string.c: fix r58618
* string.c (unicode_normalize_common): aggregation type cannot be
initialized with dynamic values, in C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 PM Bug #13191: sample/pty/shl.rb がうまく動かない
ruby_2_4 r58620 merged revision(s) 57531,57532,57533,57537. nagachika (Tomoyuki Chikanaga)
02:11 PM Revision 881bee60 (git): merge revision(s) 57531,57532,57533,57537: [Backport #13191]
pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the child exited.
PTY::ChildExited no longer raises asynchronously since r20298.
[ruby-dev:49974] [Bug #13191]
pty/shl.rb: updat...
nagachika (Tomoyuki Chikanaga)
02:09 PM Bug #13361: Can't build Ruby trunk with i386 arch on macOS 10.12
ruby_2_4 r58619 merged revision(s) 58084. nagachika (Tomoyuki Chikanaga)
02:09 PM Revision 3f1737d8 (git): merge revision(s) 58084: [Backport #13361]
configure.in: syscall is deprecated on macOS
* configure.in: syscall is no longer supported on macOS since
10.12. [ruby-core:80300] [Bug #13361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58619 b2d...
nagachika (Tomoyuki Chikanaga)
11:21 AM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
Hanmac (Hans Mackowiak) wrote:
> i see your changes with unicode_normalize_common,
> ...
Implemented with r58618, thanks!
(I thought this might be slightly slower, but I wasn't able to see any difference, so I went ahead.)
duerst (Martin Dürst)
11:13 AM Revision a4301ec2 (git): replace hand-written argument check by call to rb_scan_args in unicode_normalize_common
In string.c, replace hand-written argument count check by call to rb_scan_args.
This allows to use rb_funcallv once, rather than using rb_funcall twice.
Thanks to Hanmac (Hans Mackowiak) for the idea, see
https://bugs.ruby-lang.org/issue...
duerst (Martin Dürst)
10:45 AM Revision 88892c8d (git): add explanations about status of module UnicodeNormalize
In lib/unicode_normalize/normalize.rb, add explanations and clarifications
about the status of the files and the module. [ci skip]
This is in response to discussions at https://github.com/ruby/spec/pull/433
and https://bugs.ruby-lang.org...
duerst (Martin Dürst)
08:58 AM Bug #13549: MinGW / Windows encoding - Two issues
Please post separate issues separately. If they are related, please link them with "Related issues". duerst (Martin Dürst)
07:47 AM Revision cc3042a7 (git): Add one more guard to avoid mixing nil into latest_specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:27 AM Bug #12492: RUBY_DEBUG=gc_stress dumps core
GCC 7が出ていたので試したところ再現したので、r55429 はバックポートが必要です。
```
% lldb -- miniruby -ve0
(lldb) target create "miniruby"
Current executable set to 'miniruby' (x86_64).
(lldb) settings set -- target.run-args "-ve0"
(lldb) run
Process 49206 lau...
shyouhei (Shyouhei Urabe)
06:17 AM Revision 7469699d (git): fixup r58614 for raspi3 and maybe other systems with odd compile
[ruby-core:81048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:06 AM Revision 9d09240d (git): rb_execution_context_t: move stack, stack_size and cfp from rb_thread_t
The goal is to reduce rb_context_t and rb_fiber_t size
by removing the need to store the entire rb_thread_t in
there.
[ruby-core:81045] Work-in-progress: soon, we will move more fields here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Eric Wong
02:55 AM Revision 62b885b0 (git): Ignore fail on non empty ext and gems [ci skip]
* Makefile.in ({ext,gems}/{distclean,realclean}): ignore fail on
removal of non empty directories. these directories should not
be empty when in-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58613 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)

05/08/2017

06:55 PM Bug #13549 (Closed): MinGW / Windows encoding - Two issues
## Issue #1
The documentation for [Encoding.default_internal=](https://msp-greg.github.io/ruby_trunk/Core/Encoding.html#default_external=-class_method) states:
"The locale encoding (\_\_ENCODING\_\_), not default_internal, is used ...
MSP-Greg (Greg L)
04:29 PM Bug #13503: Improve performance of some Time & Rational methods
normalperson (Eric Wong) wrote:
> Maybe CPU and compiler differences can account for this.
> ...
I have used MacBook Pro (Retina, 15-inch, Late 2013) and my enviroment is
* OS : macOS 10.12.4
* CPU : Intel Core i7 2.6 GHz
* Compi...
watson1978 (Shizuo Fujita)
04:07 PM Bug #13548: miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
Forgot to say, the same happens too with more popular
~~~
CFLAGS="-O3 -funroll-loops -g"
~~~
And the cause of the issue (in the backtrace attached) is not rb_str_buf_cat2+0x39, but is rb_require_internal+0x6ba (or even lower).
vp (Vladimir Pavlov)
03:53 PM Bug #13548 (Closed): miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
Trying to build ruby-2.4.1 using gcc-5.4.0 I get the attached error. Just-released gcc-7.1.0 causes the similar error. Old gcc-4.8.4 builds successfully.
The build command is:
~~~
CFLAGS="-O1 -fweb -g" LDFLAGS=-g ./configure --ena...
vp (Vladimir Pavlov)
04:00 PM Revision f94b7bce (git): * 2017-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 PM Revision 0a1debb8 (git): Add mspec and rubyspec to LEGAL [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:29 PM Bug #13547 (Closed): [].delete 1 { 'NG' }
Is this intentional?
```
% ruby --dump=parsetree -vwce "x 1 { 2 }"
ruby 2.5.0dev (2017-05-08 trunk 58609) [x86_64-darwin15]
Syntax OK
###########################################################
## Do NOT use this node dump for an...
shyouhei (Shyouhei Urabe)
01:14 PM Revision 15196f4c (git): Translate missing rdoc comment for opt_send_without_block.
fix [GH-1608], Patch by @k0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:00 AM Bug #13535: Installing Ruby2.4.1 on Solaris 10
ご対応いただきありがとうございます。
日本語で再度質問させてください。
makeまでに実行したコマンドは以下の通りです。
ruby-2.4.1.tar.gzを/opt/oracle/media/Ruby/にインストール
#cd /opt/oracle/media/Ruby/
#gunzip -c ruby-2.4.1.tar.gz | tar xvf -
#cd ruby-2.4.1
#PATH+$PATH:/usr/sfw/bin
#./c...
usukere (高橋 佑典)
06:08 AM Bug #13535 (Feedback): Installing Ruby2.4.1 on Solaris 10
usukere (高橋 佑典) wrote:
> ```
> ...
It is makefile for GNU make.
> ```
> ...
But this command in the parent makefile is for non-GNU make.
This is controled by `gnumake` makefile variable and should be
consistent.
> Could you te...
nobu (Nobuyoshi Nakada)
03:23 AM Bug #13535: Installing Ruby2.4.1 on Solaris 10
Thank you, We're installing ver2.4.1 in Solaris 10.
But DIfferent problems happened.
```
make: Fatal error: Unknown option `-C'
***Error Code 1
The following command caused the error:
make -C libffi-3.2.1
make: Fatal error: comm...
usukere (高橋 佑典)
05:31 AM Revision ebbe6782 (git): separate constdefs.c and constdefs.h
* ext/socket/depend: separate constdefs.c and constdefs.h so that
only one process will run when parallel building.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Feature #10341 (Closed): Fiber switch performance improvements
Applied in changeset trunk|r58606.
----------
benchmark/bm_vm2_fiber_switch.rb: check for fiber performance
There are currently no benchmarks for Fiber performance, I
should've committed this years ago when [Feature #10341] was
impleme...
Anonymous
01:59 AM Revision 774420eb (git): reduce rb_mutex_t size from 80 bytes to 72 bytes on 64-bit
We can use existing RVALUE flags to avoid adding a 4-byte
integer to store a boolean flag. This integer cost us 8 bytes
due to default (lack of) struct packing on x86-64
* thread_sync.c (MUTEX_ALLOW_TRAP): define as FL_USER1
(struct ...
Eric Wong
01:59 AM Revision cdc85aec (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:59 AM Revision 60473fe0 (git): benchmark/bm_vm2_fiber_switch.rb: check for fiber performance
There are currently no benchmarks for Fiber performance, I
should've committed this years ago when [Feature #10341] was
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
12:18 AM Feature #13517 (Closed): [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
Applied in changeset trunk|r58604.
----------
reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
Instead of relying on a native condition variable and mutex for
every Ruby Mutex object, use a doubly linked-list to implement a
waiter...
Anonymous
12:18 AM Revision 153aa5af (git): * 2017-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 AM Revision 3586c9e0 (git): reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
Instead of relying on a native condition variable and mutex for
every Ruby Mutex object, use a doubly linked-list to implement a
waiter queue in the Mutex. The immediate benefit of this is
reducing the size of every Mutex object, as som...
Eric Wong

05/07/2017

11:41 PM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
On 2017/05/08 8:08, Eric Wong wrote:
> Back to your original question. THREAD_RUNNABLE is possible
> if somebody uses Thread#run:
>
> require 'thread'
> m = Mutex.new
> th = Thread.new do
> sleep 0.1 # wait fo...
ko1 (Koichi Sasada)
11:11 PM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
SASADA Koichi <ko1@atdot.net> wrote:
> sorry for late response.
> I have no objection about this patch. thank you.
>
> one question.
>
> ```
> list_for_each_safe(&mutex->waitq, cur, next, node) {
> list_del_init(&cur->no...
normalperson (Eric Wong)
07:08 PM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
sorry for late response.
I have no objection about this patch. thank you.

one question.

```
list_for_each_safe(&mutex->waitq, cur, next, node) {
list_del_init(&cur->node);
switch (cur->th->state) {
case THREAD...
ko1 (Koichi Sasada)
03:17 PM Bug #13542: MinGW trunk Builds - Summary of Issues
Saturday, I ran spec/mspec for the first time in a while, and today it was added to the ruby repo. I'm having some issues integrating it into the build environment, but the following is the output from running `mspec :core` and `mspec :... MSP-Greg (Greg L)
02:21 PM Revision 7dae53f3 (git): relative path as VPATH
* common.mk (ripper.c): use relative path as VPATH instead of
absolute path of the current working directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 PM Revision ac08e59b (git): parse.y: export rb_parser_fatal for ripper
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:40 PM Revision fd6853a2 (git): stale targets
* common.mk (update-mspec, update-rubyspec): empty stale targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:06 PM Revision 987508ce (git): extract prereq.status
* tool/make-snapshot (package): extract static config values for
prereq and override dynamic values at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:36 PM Feature #13156: In-tree copy of ruby/spec
I finally got around adding the in-tree copy of ruby/spec, sorry for the delay.
Dear MRI committers, you can now directly edit specs under spec/rubyspec like any other file in the repository.
Your changes there and new specs are very...
Eregon (Benoit Daloze)
12:05 PM Feature #13156 (Closed): In-tree copy of ruby/spec
Applied in changeset trunk|r58595.
----------
Add in-tree mspec and ruby/spec
* For easier modifications of ruby/spec by MRI developers.
* .gitignore: track changes under spec.
* spec/mspec, spec/rubyspec: add in-tree mspec and ruby/sp...
Eregon (Benoit Daloze)
12:26 PM Revision a319225b (git): Update specs to follow newlines added by r58596
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:17 PM Revision e7ec88a4 (git): Rename spec/README to spec/README.md
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:05 PM Revision 7f9cd733 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 PM Revision 6bc742bc (git): * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:04 PM Revision 95e8c48d (git): Add in-tree mspec and ruby/spec
* For easier modifications of ruby/spec by MRI developers.
* .gitignore: track changes under spec.
* spec/mspec, spec/rubyspec: add in-tree mspec and ruby/spec.
These files can therefore be updated like any other file in MRI.
Instruc...
Eregon (Benoit Daloze)
12:01 PM Revision ed7d8035 (git): make update-rubyspec is no longer needed
* Kept a no-op for compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
12:01 PM Revision 538dcb30 (git): Update README about ruby/spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:00 PM Revision e9628d97 (git): * spec/default.mspec: only require rbconfig if is it not already.
Useful when running spec/mspec/bin/mspec directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:06 AM Revision 95f13596 (git): vm_core.h (rb_thread_t): use 32-bit running_time_us
The current range based current values of:
TIME_QUANTUM_USEC=100000
RUBY_THREAD_PRIORITY_MAX=3
RUBY_THREAD_PRIORITY_MIN=-3
Gives a range of 12500..800000, plenty enough for a 32-bit
integer. Clamping this also ...
Eric Wong
07:38 AM Revision b1bb2520 (git): io.c (do_fcntl): update max FD for F_DUPFD_CLOEXEC, too
Somebody may pass 1030 (the value of F_DUPFD_CLOEXEC) to IO#fcntl
because they copied code from somewhere else. Ensure we know
about FDs created that way.
* io.c (do_fcntl): update max FD for F_DUPFD_CLOEXEC, too
git-svn-id: svn+ssh:/...
Eric Wong
07:18 AM Revision a0da5141 (git): NEWS: Integer#{round,floor,ceil,truncate} [Bug #13420]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
06:02 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
s.wanabe@gmail.com wrote:
> normalperson (Eric Wong) wrote:
> > OK, committed as r58587 with that script.
>
> Thank you!
> It works perfectly as far as I can see.

Thank you for confirming. Your small reproduction script was
...
normalperson (Eric Wong)
05:41 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
normalperson (Eric Wong) wrote:
> OK, committed as r58587 with that script.
Thank you!
It works perfectly as far as I can see.
> ...
Sorry. I've commented by Redmine with my web browser, so I could not Cc: you.
So I add you as ...
wanabe (_ wanabe)
04:31 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Eric Wong <normalperson@yhbt.net> wrote:
> s.wanabe@gmail.com wrote:
> > `git bisect` shows that this issue is appeared at r52332 [Bug #11384].
> >
> > I ran https://bugs.ruby-lang.org/issues/13526#note-1 script with attached debug...
normalperson (Eric Wong)
04:26 AM Bug #13526 (Closed): Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Applied in changeset trunk|r58587.
----------
variable.c: cleanup waitq upon thread death
* variable.c (autoload_reset): use idempotent list_del_init
(autoload_sleep): moved code from rb_autoload_load
(autoload_sleep_done): cleanup...
Anonymous
03:51 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
s.wanabe@gmail.com wrote:
> `git bisect` shows that this issue is appeared at r52332 [Bug #11384].
>
> I ran https://bugs.ruby-lang.org/issues/13526#note-1 script with attached debug-print patch and got the log.

Thank you! Fix c...
normalperson (Eric Wong)
02:44 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
`git bisect` shows that this issue is appeared at r52332 [Bug #11384].
I ran https://bugs.ruby-lang.org/issues/13526#note-1 script with attached debug-print patch and got the log.
1. Thread 0x000055eacc7089d0 had "waitq: 0x7f737581...
wanabe (_ wanabe)
04:26 AM Revision 8451d3c7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 AM Revision c7ff36c6 (git): variable.c: cleanup waitq upon thread death
* variable.c (autoload_reset): use idempotent list_del_init
(autoload_sleep): moved code from rb_autoload_load
(autoload_sleep_done): cleanup for use with rb_ensure
(rb_autoload_load): ensure list delete happens in case the
threa...
Eric Wong
03:33 AM Bug #13546 (Feedback): std steams are closed in Windows app.
Do you call `ruby_sysinit`? nobu (Nobuyoshi Nakada)
 

Also available in: Atom