Project

General

Profile

Activity

From 04/04/2018 to 04/10/2018

04/10/2018

10:46 PM Bug #14676: On Windows Readline's input is not correctly filled after autocomplete
Works when the string is actual prefix for the completion.
```
require 'readline'
Readline.completion_proc = Proc.new do |word|
['aafoo', 'aabar']
end
while buf = Readline.readline('> ')
pp buf
end
```
produces
```
...
graywolf (Gray Wolf)
10:35 PM Bug #14676 (Third Party's Issue): On Windows Readline's input is not correctly filled after autocomplete
When Readline.completion_proc returns more than one match, you are presented with empty line insted of what you have already put in.
```
require 'readline'
Readline.completion_proc = Proc.new do |word|
['foo', 'bar']
end
while ...
graywolf (Gray Wolf)
10:37 PM Bug #14677 (Third Party's Issue): On Windows Readline.refresh_line raises NoMethodError
I think it should raise NotImplementedError instead as other method in Readline claim to do. graywolf (Gray Wolf)
10:31 PM Bug #14675 (Third Party's Issue): On Windows Readline.redisplay raises NoMethodError
On Windows Readline.redisplay raises NoMethodError while according to docs it should raise NotImplementedError. graywolf (Gray Wolf)
05:43 PM Bug #14674 (Closed): New mismatched indentations warnings?
I recently got a failure in my test suite because ruby head warns of indentation it considers mismatched:
```
$ ruby -w -e "
case
when :foo
end
"
-e:3: warning: mismatched indentations at 'when' with 'case' at 2
```
I hop...
marcandre (Marc-Andre Lafortune)
03:32 PM Feature #14672: Introduce a Date.safe_parse method
I can understand the proposal.
I think your primary use case is to be able to use less code,
without needing to rescue all (or the important) errors specifically
via begin/rescue.
Perhaps it can be mentioned in the ruby developer...
shevegen (Robert A. Heiler)
07:19 AM Feature #14672 (Open): Introduce a Date.safe_parse method
This feature request is about a Date.safe_parse method.
The method should call the original Date.parse method but avoid raising an exception and returning a fallback value instead.
An implementation in ActiveSupport has been proposed h...
coorasse (Alessandro Rodi)
03:29 PM Revision a7c7cfb8 (git): * 2018-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 342709d1 (git): Try to fix some broken links
see https://github.com/ruby/docs.ruby-lang.org/issues/56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
12:55 PM Bug #14566: `raise` in `Exception#message` causes infinite loop
I tried making a patch fixing this issue. See attached.
This patch makes the behaviour similar to the old Ruby, rescuing any exceptions in the "message" method, but also warns that an exception was automatically caught.
I'm not 100...
ujihisa (Tatsuhiro Ujihisa)
09:51 AM Misc #14673 (Open): Documentation for `Array#drop` / `drop_while` unclear in regard to modification
The documentation for [`Array#drop`](http://ruby-doc.org/core-2.5.0/Array.html#method-i-drop) says:
> Drops first `n` elements from `ary` and returns the rest of the elements in an array.
It's unclear if the receiver is being chang...
sos4nt (Stefan Schüßler)
06:27 AM Bug #14671 (Rejected): Refining Module#refine itself introduces strange state
```ruby
using Module.new {
refine Module do
def refine *;
puts self
end
public :refine
end
}
Object.refine # => NoMethodError
```
It is possible to refine Module#refine, but there seems to be no way to ...
shyouhei (Shyouhei Urabe)
12:41 AM Feature #13770 (Closed): Can't create valid Cyrillic-named class/module
Applied in changeset trunk|r63130.
----------
symbol.c: non-ASCII constant names
* symbol.c (rb_sym_constant_char_p): support for non-ASCII
constant names. [Feature #13770]
* object.c (rb_mod_const_get, rb_mod_const_defined): suppo...
nobu (Nobuyoshi Nakada)
12:41 AM Revision f852af0e (git): symbol.c: non-ASCII constant names
* symbol.c (rb_sym_constant_char_p): support for non-ASCII
constant names. [Feature #13770]
* object.c (rb_mod_const_get, rb_mod_const_defined): support for
non-ASCII constant names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
12:04 AM Bug #14480 (Open): miniruby crashing when compiled with -O2 or -O1 on aarch64
Sorry for the confusion, I am not one of "upstream".
So I revert the issue status and there are no upstream opinion.
I am sorry again.
wanabe (_ wanabe)

04/09/2018

09:21 PM Feature #14605: Remove `original_iseq` from `rb_iseq_constant_body`
ko1 (Koichi Sasada) wrote:
> On my comment, I want to make clear that is it a typo of "encoded" -> "decoded" or not.
> ...
Oops sorry! Yes, it's a typo. :) I mean we don't use the decoded iseq (iseq *without* direct threading transl...
tenderlovemaking (Aaron Patterson)
04:00 PM Revision 44c01a5d (git): * 2018-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 PM Revision e0f7bb39 (git): rexml: Fix a XPath bug of -
[Bug #14600]
* lib/rexml/parsers/xpathparser.rb: Fix a bug that "N-M" requires a space
before "-".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:55 PM Feature #12839: CSV - Give not nil but empty strings for empty fields
I added `:nil_value` option as a shortcut:
```ruby
require "csv"
p CSV.parse(',"",a') # => [[nil, "", "a"]]
p CSV.parse(',"",a', nil_value: "") # => [["", "", "a"]]
```
But it's not so fast:
```ruby
require...
kou (Kouhei Sutou)
12:39 PM Revision bbcab8c6 (git): parse.y: [DOC] Ripper.dedent_string is internal
* parse.y (parser_dedent_string): stated that Ripper.dedent_string
is for internal use only.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:09 AM Revision 6a571272 (git): parse.y: extra error message after no digits
* parse.y (no_digits): return tINTEGER instead of unexpected
end-of-input, to get rid of extra error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:45 AM Feature #14594: Rethink yield_self's name
I think expand is cool, it is expanding method to another one, so it can be chained.
My alternative suggestion would be "pass" since it is passing itself. What do you think about it?
```
construct_url
.pass(&Faraday.method(:get...
BatuhanW (Batuhan Wilhelm)
09:59 AM Revision 066af25b (git): test_literal.rb: use assert_syntax_error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:59 AM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
Alpine package jemalloc in their main repo, so it would seem that they support it to some extent: https://pkgs.alpinelinux.org/package/v3.7/main/x86/jemalloc thomasfedb (Thomas Drake-Brockman)
08:41 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
Just forwarding one remark from RH Bugzilla [0]:
~~~
--- Comment #44 from Dave Malcolm <dmalcolm@redhat.com> ---
> should we keep the "setjmp" for AArch64? I am asking,
> ...
Note that the workaround in the gcc rpm is papering over...
vo.x (Vit Ondruch)
05:51 AM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
trunk で試したところコンパイルが通るようになりました。
ありがとうございます!
余談も https://github.com/SciRuby/nmatrix に共有しておきます。
okkez (okkez _)
02:43 AM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
とりあえずstdalign.hをincludeするようにしてalignofを優先したのでtrunkご確認ください。
余談ですがC++の場合、allocaを使う必然性は皆無のはずです。普通に `VALUE slice_argv[dim];` とかでいいはず。CもC99以降はそうです。Rubyがいまだにalloca使ってるのは古いCに固執してるから、という認識でいます。
shyouhei (Shyouhei Urabe)
02:40 AM Bug #14668 (Closed): Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
Applied in changeset trunk|r63123.
----------
Prefer alignof() over _Alignof()
to allow C++ programs include <ruby.h>. [Bug #14668]
shyouhei (Shyouhei Urabe)
03:24 AM Revision 85e9f287 (git): offsetof(type, foo.bar) is (arguably) a GCCism
clang -Wextended-offsetof warns this line.
CF: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2031.htm
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:40 AM Revision 9930481a (git): Prefer alignof() over _Alignof()
to allow C++ programs include <ruby.h>. [Bug #14668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:16 AM Misc #10375 (Rejected): [Redmine] Optimal viewing across a wide range of devices
Current redmine versioned 3.4 was optimized mobile view. hsbt (Hiroshi SHIBATA)

04/08/2018

07:39 PM Revision 784fdba3 (git): * 2018-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:39 PM Revision d33ddd63 (git): parse.y: fix docs for Ripper.dedent_string
* parse.y: [DOC] fix return type in call-seq of Ripper.dedent_string,
clarify the method's behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
01:46 PM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
r61843 以降、ALLOCA_N マクロの中で(利用可能なときには) RUBY_ALIGNOF マクロを利用するようになったことがきっかけのようです。
ただこれはきっかけというだけで、どちらかというと RUBY_ALIGNOF マクロが config.h の中に `_Alignof` の形で定義されていて、nmatrix のように C++ のプログラム中で用いる場合にも `alignof` にはなってくれないことの方がより根本的な原因のように見えます。
wanabe (_ wanabe)
11:17 AM Revision 610dc339 (git): compile.c: disable debug prints on sparc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:12 AM Revision fda1837e (git): compile.c: fix an exception argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:11 AM Feature #14669: Regexp does not expose the amount of capture groups.
This information is available for named captures via Regexp#names and Regexp#named_captures, but it doesn't seem available for unnamed capture groups:
~~~ruby
[15] pry(main)> /(?<one>a)(?<two>b)(?<three>c)/.named_captures
=> {"one"=...
Eregon (Benoit Daloze)
07:26 AM Feature #14669: Regexp does not expose the amount of capture groups.
Can you give a few examples of how this may be used, and explain what's the purpose of getting the number of capture groups before actual matching?
Also, can you show an example what you think the actual interface (e.g. method name) w...
duerst (Martin Dürst)
04:26 AM Feature #14669: Regexp does not expose the amount of capture groups.
Should be added; may have just been forgotten if Onigmo already
supports that.
shevegen (Robert A. Heiler)
08:28 AM Revision a72a50b1 (git): compile.c: suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:20 AM Revision 0f8368ca (git): compile.c: align ibf_object_header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 AM Revision 89a6a4ec (git): compile.c: debug prints in ibf_load_object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:31 AM Revision 6ce79866 (git): [DOC] `*` in glob matches `\n` too [ci skip]
```
File.fnmatch("a*b", "a\nb") # => true
/\Aa.*b\z/x.match?("a\nb") # => false
/\Aa.*b\z/mx.match?("a\nb") # => true
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
05:22 AM Revision a38339d8 (git): * 2018-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 AM Revision b6185e17 (git): compile.c: align IBF dumped data
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:39 AM Bug #14670 (Closed): Objectで定義したmethod_missingでsuperが使えない
```ruby
class Object
def method_missing(name, *args, &block)
super
end
end
Object.new.foo
```
を実行すると, `SystemStackError` になってしまいます.
再定義する先が`Object`でなければ(`Object`のサブクラスなら)問題ないです.
keiju (Keiju Ishitsuka)

04/07/2018

11:15 PM Bug #14653 (Closed): Bootsnap gets segmentation fault
yahonda (Yasuo Honda) wrote:
> Thanks for the update. This issue does not reproduce anymore using ruby 2.6.0dev (2018-04-07 trunk 63108) [x86_64-linux]
I'm glad to hear that! Thank you to confirm.
wanabe (_ wanabe)
12:18 AM Bug #14653: Bootsnap gets segmentation fault
Thanks for the update. This issue does not reproduce anymore using ruby 2.6.0dev (2018-04-07 trunk 63108) [x86_64-linux]
~~~
$ bundle exec bin/testunit
/home/yahonda/.rbenv/versions/2.6.0-dev/lib/ruby/gems/2.6.0/gems/mocha-1.4.0/lib...
yahonda (Yasuo Honda)
10:52 PM Feature #14669 (Open): Regexp does not expose the amount of capture groups.
For a project we needed to know how many capture groups a Regex exposes (before actually matching it). The Onigmo regex library used by Ruby has this information, accessible with *onig_number_of_captures(const regex_t \*)*, but the Ruby ... xfbs (Patrick Elsen)
01:03 PM Revision 23228b6e (git): Remove outdated example from Numeric documentation
Since 2.5, Numeric instances can be cloned and duplicated.
[Fix GH-1850]
From: Miguel Landaeta <miguel@miguel.cc>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:44 AM Revision ba267bce (git): compile.c: refine debug prints
* compile.c (ibf_load_iseq_complete): use alternate hexadecimal
form for offset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:48 AM Revision 2de68923 (git): test/ruby/test_iseq.rb: hexdump to diff
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:48 AM Revision eaf5e34b (git): Use assert_include
For better failure message:
- by assert_operator: Expected "X" to be include? "Y"
- by assert_include: Expected "X" to include "Y"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Feature #12839: CSV - Give not nil but empty strings for empty fields
Thank you very much for fixing #11126.
But I think that the status of my ticket (#12839) should be not Closed but Rejected.
Because my hope is that the CSV parser gives empty strings for empty fields.
Using converters slows the sp...
5.5 (5 5)

04/06/2018

11:52 PM Bug #14667: Segmentation fault in Ruby during iOS automation
My automation tests are trying to install the iOS application-
ruby ~/path/to/install/script/install_ipa.rb <device udid> com.company.squared.sqbudev ~/path/to/ipa/WebExSquaredIntegrationTests.ipa
sankalp89 (Sankalp Anand)
12:58 PM Bug #14667 (Feedback): Segmentation fault in Ruby during iOS automation
```
-- C level backtrace information -------------------------------------------
0 ruby 0x00000001022a610b rb_vm_bugreport + 379
1 ruby 0x00000001021494ef rb_bug_contex...
nobu (Nobuyoshi Nakada)
07:21 AM Bug #14667: Segmentation fault in Ruby during iOS automation
This is the crash dump from /Library/Logs/CrashReporter/
~~~
Process: ruby [59453]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native...
sankalp89 (Sankalp Anand)
12:22 AM Bug #14667 (Closed): Segmentation fault in Ruby during iOS automation
Hello,
I'm using Calabash for iOS automation. My tests are crashing the ruby interpreter. Could you please help in finding out what the issue is?
Best,
Sankalp
~~~
[u"Running with options: '14e26a69f942dd7867bc33c547b89246...
sankalp89 (Sankalp Anand)
08:50 PM Revision 5506e9b1 (git): tool/ruby_vm/scripts/insns2vm.rb: fix typo in r62064
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:04 PM Bug #14653: Bootsnap gets segmentation fault
I guess it is fixed at [Bug #14553] r63040.
(And it also needs [Bug #14660] r63103 to pass all tests, but although it is not directly related to this issue.)
Would you please retry with latest trunk ruby?
An Execution result of my...
wanabe (_ wanabe)
03:06 PM Revision edfd0632 (git): * 2018-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision f7faedc7 (git): Use assert_operator instead of assert
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:25 PM Revision 1289cc2d (git): * 2018-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:25 PM Revision d03fa8ca (git): symbol.h: remove stale symbol deleted at r47913
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:27 AM Feature #14666: nil.any?{} should return false
This could maybe be achieved in user code by adding some kind of Optional/Maybe construct, which could include Enumerable.
Then it would behave either as an empty Array or an Array of one element, based on whether it contains a value.
...
Eregon (Benoit Daloze)
02:24 AM Feature #14666: nil.any?{} should return false
I fully aggree with all the commenters.
It boils down to if nil should be Enumerable.
Obviously it should be not. because nil is special.
But then nil means "not in list" or the empty list or the not existing list?
I know this ...
eike.rb (Eike Dierks)
12:26 AM Feature #14666 (Rejected): nil.any?{} should return false
`any?`, `all?`, and the family can be defined only on container objects from the meanings.
`nil` is not a container object.
nobu (Nobuyoshi Nakada)
12:00 AM Feature #14666: nil.any?{} should return false
`.any?` only makes sense on `Enumerable`s. There is no end to the methods that we would need to define on `nil` if we went this route.
-1
Student (Nathan Zook)
07:27 AM Feature #5382 (Closed): %r{…} and similar delimited strings, arrays, and regexps aren’t highlighted in ruby-mode
According to nobu, this has been already fixed. Closing. mame (Yusuke Endoh)
05:28 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
現状の整理です。
```
Thread.new do
begin
sleep
ensure
sleep
end
end
```
もともとは上のコードで CPU 使用率 100% でフリーズしていたという問題でしたが、現状は次のようになってます。
* CPU 使用率 100 % は解決済
* Ctrl+C から 1 秒くらいで終了する
rb_thread_terminate_all は、永遠に待つのでは...
mame (Yusuke Endoh)
03:58 AM Bug #14668 (Closed): Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
https://github.com/SciRuby/nmatrix
Ruby2.5.1 まではコンパイルできたのですが、Ruby2.6.0-preview1 および trunk(r63103) でコンパイルできませんでした。
trunk を使ってビルドしたときのログです。
```
$ cd nmatrix
$ bundle exec rake compile:nmatrix
cd tmp/x86_64-linux/nmatrix/2.6.0
...
okkez (okkez _)
03:14 AM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
jottr (jottr -) wrote:
> I'd like to inquire on the progress of this issue. What is missing to get this resolved?
> ...
get_stack and get_main_stack needs platform dependent implementation.
In this context "platform" means libc (or l...
naruse (Yui NARUSE)
02:55 AM Bug #12181 (Closed): ブロックがたくさんあるファイルを編集するとruby-modeが重い
再度確認したら、特に問題なく使えるているみたいなので閉じます。 okkez (okkez _)

04/05/2018

11:06 PM Feature #14666 (Rejected): nil.any?{} should return false
Hi everyone at ruby/trunk
I encountered `nil.any?`
```
undefined method `any?' for nil:NilClass (NoMethodError)
```
I fully agree with all of yours,
that `nil` should be kept slim.
But than, on the other hand,
the existen...
eike.rb (Eike Dierks)
09:22 PM Bug #14664: After upgrade to 2.4.4: header field value cannot include CR/LF
naruse@airemix.jp wrote:
> It's from r61359 because HTTP doesn't allow CRLF in their header value.
> I think your application was silently broken from before.

CRLF followed by leading-whitespace (LWS) should be allowed

"Host:\r\...
normalperson (Eric Wong)
05:16 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
I'd like to inquire on the progress of this issue. What is missing to get this resolved?
It is affecting downstream users who deploy their ruby applications by means of alpine linux containers. The alpine linux ruby containers are cu...
jottr (jottr -)
05:12 PM Feature #14594: Rethink yield_self's name
My two cents:
This method acts like a **pipe operator**, it passes itself **through** the block and returns whatever the block returns.
The block execution maybe will change the value itself, maybe not. But `yield_self` proposes **ch...
americodls (Americo Duarte)
01:53 PM Bug #14662: Stack consistency error in 2.5.1
Thanks for the quick response! Here it is in trunk (commit ab73022cb2357db5e757aed6a7c2f0c4268aa7c7):
~~~
Failure/Error: <%= stylesheet_link_tag "stylist", media: "all" %>

fatal:
Stack consistency error (...
jacobevelyn (Jacob Evelyn)
01:13 PM Bug #14660 (Closed): RubyVM::InstructionSequence.load_from_binary(bin).eval may cause SEGV after r62856
Applied in changeset trunk|r63103.
----------
compile.c: fix positions encode
* compile.c (ibf_load_iseq_each): iseq_size necessary to encode
positions is set in ibf_load_code(). [Bug #14660]
nobu (Nobuyoshi Nakada)
01:13 PM Revision 7084c015 (git): compile.c: fix positions encode
* compile.c (ibf_load_iseq_each): iseq_size necessary to encode
positions is set in ibf_load_code(). [Bug #14660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:46 PM Revision d1c9c0ad (git): compile.c: do not dump pointers
* compile.c (ibf_dump_iseq_each): ensure succ_index_table pointer
field to be 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:03 PM Revision e9c2fe4e (git): compile.c: clear padding
* compile.c (IBF_ZERO): clear padding of struct not to include
garbages in dumped binary data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:48 AM Revision 6bcfa848 (git): lib/rubygems/test_case.rb: take over @gem_prelude_index
Gem::TestCase normalizes each path in $LOAD_PATH, which deleted the flag
of @gem_prelude_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:05 AM Bug #14665 (Third Party's Issue): mailCatcher et ruby on rails
Seems an EventMachine's issue. nobu (Nobuyoshi Nakada)
07:04 AM Revision bc6e61f1 (git): compile.c: do not dump pointers
* compile.c (ibf_dump_iseq_each): do not dump succ_index_table
pointer. positions are dumped as integer arrays. pointer
values are meaningless outside the process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63099 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
07:00 AM Revision 04dfc46a (git): compile.c: zero fill
* compile.c (ibf_dump_align): fill padding with zero, instead of
resizing only, not to leave garbages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 AM Revision 4a7bf2ef (git): `make test-all COVERAGE=true` supports directory-separated build
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)

04/04/2018

10:03 PM Bug #14663: getting "killed string.c" rdoc failed while trying to make ruby-2_5_1
I guess that the "Killed" message is from OOM Killer.
I want to confirm the message is from OOM Killer.
Please run the command below just after "Killed" message:
$ sudo cat /var/log/messages | grep Killed
aycabta (aycabta .)
11:20 AM Bug #14663: getting "killed string.c" rdoc failed while trying to make ruby-2_5_1
Seems as if rdoc has a problem. If you do not need local rdoc, perhap
you can use "--disable-install-rdoc", just to see if that would
finish the compilation for you there.
nobu probably has a much better idea how to avoid the above...
shevegen (Robert A. Heiler)
07:25 AM Bug #14663 (Closed): getting "killed string.c" rdoc failed while trying to make ruby-2_5_1

Sponsored by:
_____ _
|_ _| ___ ___ ___ _| | _ _ ___ ___
| | | -_|| _|| . || . || | || || -_|
|_| |___||_| |__,||___||_ ||_|_||___|
|___|
root@localhost:/sdcard/r...
bb426660 (Biswajit Biswas)
03:44 PM Revision 97d610be (git): * test/test_tempfile.rb (test_{new,create}_traversal_dir): should not assume `t`
is always set. if `t` is nil, `NoMethodError` will be raised and the real
cause will be hidden.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:26 PM Revision c7d4c598 (git): * 2018-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 2de0c729 (git): test/test_tempfile.rb: close a file object created by Tempfile.create
To stop a "Leaked file descriptor" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:03 PM Bug #14637 (Closed): Rational#to_f returns a wrong result when denominator is big
Applied in changeset trunk|r63093.
----------
bignum.c: Bignum#fdiv avoids double division when divisor is bignum
`Rational(int, bignum).to_f` sometimes returned a wrong result because
`Bignum#div` casted its divisor to double. [Bug #...
mame (Yusuke Endoh)
02:02 PM Revision 85bcd2b3 (git): bignum.c: Bignum#fdiv avoids double division when divisor is bignum
`Rational(int, bignum).to_f` sometimes returned a wrong result because
`Bignum#div` casted its divisor to double. [Bug #14637] [ruby-core:86330]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:17 PM Revision ab73022c (git): mjit_compile.c: disable stack consistency check
This should be basically safe because VM already does this check.
I don't think JIT-ed code, which should be specially optimized, should
still do this.
* Benchmark
Calculating -------------------------------------
...
k0kubun (Takashi Kokubun)
11:15 AM Bug #14665: mailCatcher et ruby on rails
I don't really speak french but it seems to be about rails rather
than ruby?
shevegen (Robert A. Heiler)
10:02 AM Bug #14665 (Third Party's Issue): mailCatcher et ruby on rails
bonjour,
chaque fois que je lance mailcatcher et que je me rends sur la page : 127.0.0.0:1080, mailcatcher stop et me rapporte un bug.
Ci-joint, un fichier txt du rapport de bug.
Très cordialement,
lflapy
lflapy (Laurent Madeleine)
11:00 AM Revision c2007e19 (git): iseq.c: indent iseq dump
* iseq.c (rb_iseq_disasm): indent catch_table iseq entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:05 AM Bug #14662: Stack consistency error in 2.5.1
Thank you for the report.
Could you try with the trunk, which would dump running instructions on the error?
nobu (Nobuyoshi Nakada)
09:13 AM Bug #14664: After upgrade to 2.4.4: header field value cannot include CR/LF
Upgrade google-api-client gem to 0.20.0.
cf. https://github.com/google/google-api-ruby-client/pull/648
Tietew (Toru Iwase)
08:58 AM Bug #14664 (Rejected): After upgrade to 2.4.4: header field value cannot include CR/LF
It's from r61359 because HTTP doesn't allow CRLF in their header value.
I think your application was silently broken from before.
naruse (Yui NARUSE)
08:22 AM Bug #14664 (Rejected): After upgrade to 2.4.4: header field value cannot include CR/LF
We are experiencing this issue after upgrading from ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux] to ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]. Reverting back to 2.4.3 the code works.
~~~
header field valu...
davidhrbac (David Hrbáč)
08:19 AM Revision 51d227e3 (git): refactoring r63073.
* cont.c (root_fiber_alloc): call `ConvertThreadToFiber()` here.
`rb_fiber_t` for root_fiber is allocated before running Threads.
Fiber objects wrapping this rb_fiber_t for root_fiber are created
when root Fiber object is required...
ko1 (Koichi Sasada)
07:46 AM Revision 746a88e1 (git): gc.c: Fix a typo
Pointed by hkdnet <satoko.itse@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
06:53 AM Revision e440bfae (git): rexml: Fix a XPath bug of /child::node()
[Bug #14600]
* lib/rexml/xpath_parser.rb: Fix a bug that "/child::node()" returns
XML declaration and text nodes out of root element.
* test/rexml/test_jaxen.rb: Enable more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Sutou Kouhei
06:51 AM Revision 478d3dff (git): rexml: Add codes for debugging XPath logic
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
06:36 AM Revision 1d6ca665 (git): rexml: Fix a XPath bug of function()/path
[Bug #14600]
* lib/rexml/functions.rb: Fix a bug that "function()/path" always returns
nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
05:00 AM Revision c5632105 (git): use Queue for inter-thread synchronization.
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): should not use
"while" synchronization, but should use Queue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:28 AM Revision 5ff72d05 (git): iseq.c: strip trailing spaces in dump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:27 AM Revision b537823f (git): rexml: Fix a XPath bug of @attribute/parent
[Bug #14600]
* lib/rexml/functions.rb: Fix a bug that "@attribute/parent" doesn't
return element of its attribute.
* test/rexml/test_jaxen.rb: Enable more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63083 b2dd03c8-39d4...
Sutou Kouhei
03:26 AM Revision d050a28f (git): rexml: Fix a XPath bug of $variable
[Bug #14600]
* lib/rexml/functions.rb: Fix a bug that "$variable" returns
node instead of ndoe set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:26 AM Feature #14605: Remove `original_iseq` from `rb_iseq_constant_body`
On my comment, I want to make clear that is it a typo of "encoded" -> "decoded" or not.
> I don't understand why we would cache this in the struct besides performance?
Maybe it is a historical reason. Ruby 1.9 has an encoded iseq a...
ko1 (Koichi Sasada)
 

Also available in: Atom