Activity
From 06/29/2016 to 07/05/2016
07/05/2016
- 10:14 PM Revision 8686ce2b (git): * 2016-07-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:14 PM Revision 34a0e098 (git): * lib/net/ftp.rb (putline): raise an ArgumentError when
- CR or LF is included in a line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 PM Bug #12555 (Rejected): Cannot resume a fiber that was earlier transferred from, then transferred back to, and then yielded
- Consider the following code snippet:
~~~
require 'fiber'
fiber2 = nil
fiber1 = Fiber.new do
puts "In Fiber 1" # 3
fiber2.transfer # 4
end
fiber2 = Fiber.new do
puts "In Fiber 2" ... -
04:38 PM Bug #12554: yamlに渡すファイルポインタを自分でcloseしないと動作が変
- ありがとうございます。
GCのcloseに頼ったコードを書いていたみたいです。
気を付けたいと思います。 -
02:03 PM Bug #12554: yamlに渡すファイルポインタを自分でcloseしないと動作が変
- 西行寺 うゆ wrote:
> rubyのファイルポインタは、スコープを抜けたら処理系側でcloseされているものと思ったんですが
それは誤解です。
参照されなくなったFileオブジェクトは、GCされる時にcloseされる可能性はありますが、
それはいつになるのか普通は予測困難ですので、用が済んだらちゃんと閉じられるように
コードを書いてください。 -
01:47 PM Bug #12554 (Rejected): yamlに渡すファイルポインタを自分でcloseしないと動作が変
rubyのファイルポインタは、スコープを抜けたら処理系側でcloseされているものと思ったんですが
yamlで読み書きを行う場合に動作がおかしいような気がします
このスクリプトを実行すると、それなりの確率で以下のエラーが出て、
test.yamlのデータが変です
~~~
require"yaml"
def func
file = "test.yaml"
data = YAML.load_file( file )
r = rand(999...-
01:03 PM Bug #12536: SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- >エンコーディング設定時に上記から呼ばれる rb_str_fill_terminator() がバグっていたことが判明しました。
r55575 にて、エンコーディング設定時=termlen変更時には、
rb_str_change_terminator_length() という新関数を呼ぶように変更し、
str_fill_term() は (capaに無条件に+1していた部分などを除いて)元に戻しました。
termlen変更に伴うheap容量変更と、term_... -
11:49 AM Feature #12542 (Closed): Bump version to json-2.0.1
- Applied in changeset r55576.
----------
* ext/json/*, test/json/*: Update json-2.0.1.
Changes of 2.0.0: https://github.com/flori/json/blob/f679ebd0c69a94e3e70a897ac9a229f5779c2ee1/CHANGES.md#2015-09-11-200
Changes of 2.0.1: https://... -
09:33 AM Feature #12542: Bump version to json-2.0.1
- 作業どもです、コミットしてください
- 11:49 AM Revision b0087b17 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:49 AM Revision 33453225 (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 AM Revision 11306587 (git): * ext/json/*, test/json/*: Update json-2.0.1.
- Changes of 2.0.0: https://github.com/flori/json/blob/f679ebd0c69a94e3e70a897ac9a229f5779c2ee1/CHANGES.md#2015-09-11-200
Changes of 2.0.1: https://github.com/flori/json/blob/f679ebd0c69a94e3e70a897ac9a229f5779c2ee1/CHANGES.md#2016-07-01... -
11:10 AM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- I don't see any problems with cygwin, so this problem may be compiler-specific. Can you try with another compiler? (e.g. another version of a Microsoft Complier?)
-
08:59 AM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- Martin Dürst wrote:
> Can this bug be reproduced on trunk?
Yes. As also as for 2.1.9, 2.2.5 -
06:04 AM Bug #12545 (Feedback): Ruby 2.3.1 compilation error [Windows]
- Can this bug be reproduced on trunk?
-
10:45 AM Revision 5eff15d1 (git): * string.c (rb_str_change_terminator_length): New function to change
- termlen and resize heap for the terminator. This is split from
rb_str_fill_terminator (str_fill_term) because filling terminator
and changing terminator length are different things. [Bug #12536]
* internal.h: declaration for rb_str_... -
09:51 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Yui, I'm a little confused. The patch you have in your comment looks timing-safe to me. Also I suggest taking a look at Nobu's improvements to my code, I definitely learned a lot more about speed after reading it.
Other things that do... -
09:31 AM Feature #12553: IO.readlines(filename, chomp: true)
- ごもっともだと思います。
-
09:11 AM Feature #12553 (Closed): IO.readlines(filename, chomp: true)
- IO.readlinesやIO.foreach、IO#each_lineなどは戻り値(またはブロックパラメータ)のそれぞれの「行」に改行を含みます。
POSIXの "Line" の定義は末尾の改行を含んでのものなので非常に正しい挙動なのですが、正直不便です。
> [3.206 Line](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206)
>... -
09:07 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Having read a bit more I see that there are indeed multiple possible ways of handling tie-breaking i.e. when a value is n.5, but is it reasonable for two implementations in ruby core (sprintf and round) to use a different method? It's at...
-
03:01 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- I doubt if this is a bug or not. The rounding mode you describe is so-called "round to the nearest even" which is described in ISO 31-0 as "generally preferable". Maybe the author of sprintf explicitly chose such mode (not sure).
It... -
08:13 AM Bug #12552 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
04:48 AM Feature #3511: rb_path_to_class should call custom const_defined? methods
- I've attached an updated patch for current ruby trunk, which I think is a little more consistent with non-lazily-defined constant lookup. Also simplified the test case a little.
-
02:09 AM Bug #12209 (Closed): Array#pack("G") problem
- Applied in changeset r55573.
----------
* pack.c (pack_pack): use union instead of bare variable to ease
optimizations and avoid assigning x87 floating point number.
[ruby-core:74496] [Bug #12209]
* pack.c (pack_unpack): ditto. - 02:08 AM Revision a3ca2c7c (git): * 2016-07-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Revision e90e916b (git): * pack.c (pack_pack): use union instead of bare variable to ease
- optimizations and avoid assigning x87 floating point number.
[ruby-core:74496] [Bug #12209]
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/04/2016
-
09:46 PM Misc #12529: LEGAL file covering all the license information within Ruby
- Hi,
As I could see that below sub issue pages have been created. So, I sent my patch file as an attachment for each pages.
List files with CC0 license in LEGAL file
https://bugs.ruby-lang.org/issues/12549
=> Sorry I made a mistak... -
08:56 PM Feature #12550: List files with SIL license in LEGAL file
- Hi,
Thank you for your creating the issue page.
I would send you my patch as an attachment.
Could you check this?
Thanks.
-
10:14 AM Feature #12550 (Closed): List files with SIL license in LEGAL file
- From https://bugs.ruby-lang.org/issues/12529:
lib/rdoc/generator/template/darkfish/css/fonts.css
It must be SIL license. -
08:40 PM Bug #12549: List files with CC0 license in LEGAL file
- Hi,
I would send my patch to fix this.
Could you check it?
Thanks.
-
10:11 AM Bug #12549 (Closed): List files with CC0 license in LEGAL file
- From https://bugs.ruby-lang.org/issues/12529:
Additional files with CC0 (Public Domain license)
```
find -name "*.[ch]" -o -name "*.src" \
| xargs grep -ri 'public[ -]domain' \
| awk -F ':' '{ print $1 }' \
| sort | uniq
`... -
03:06 PM Bug #12551 (Closed): Exception accessing file with long path on windows
- Accessing file with a long file name causes this exception:
C:/Projects/Head/Build/cm/testdir01/testdir02/testdir03/testdir04/testdir05/testdir06/testdir07/testdir08/testdir09/testdir10/testdir11/testdir12/testdir13/testdir14/testdir1... -
09:24 AM Bug #12538: hostsを書き換えてwebrickで書いたプロキシ―に繋いでいるとrubyが落ちる
- -d オプションを付けて実行してみました
正常にdumpされてるかは分かりませんが
コンソールに流していたログは保存出来たので上げておきます
-
04:35 AM Bug #12538 (Feedback): hostsを書き換えてwebrickで書いたプロキシ―に繋いでいるとrubyが落ちる
- 提示された proxy のスクリプトと hosts.txt を使ってしばらく運用してみましたが、再現できませんでした。
(2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15] / Firefox 47.0)
異常終了した時のログはありませんか?
また ruby の -d オプションをつけて実行すると例外などがダンプされるので、終了時になにがおきたのかなにかわかるかもしれません。 -
09:20 AM Bug #12548 (Closed): Rounding modes inconsistency between round versus sprintf
- Hi
I've found this possible bug with `sprintf` in our production code, but it
seems very odd that no one has reported it so I'm doubting myself.
I've tested a few versions (CRuby 2.3.1 and 2.1.9) and it was present in
both.
To... -
09:07 AM Bug #12547 (Closed): Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.h
- r55546 defined four macros starting with ONIG_UNICODE_VERSION_...
I haven't found any place where they are used. I don't see any need for them.
If Oniguruma/Onigmo want to introduce them, we can follow, but
we already have RbConfig::C... -
08:54 AM Feature #12546 (Closed): Remove UnicodeNormalize::UNICODE_VERSION
- UnicodeNormalize::UNICODE_VERSION is defined in lib/unicode_normalize/tables.rb, but we now also have RbConfig::CONFIG['UNICODE_VERSION'], which is more general. Therefore, UnicodeNormalize::UNICODE_VERSION can be removed.
I'm opening... -
07:05 AM Revision c73eb62b (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:57 AM Revision 37c32dc6 (git): * process.c: define sig_t if not exist.
- at least Solaris 10 and 11 doesn't have sig_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:09 AM Revision 92861bb0 (git): * 2016-07-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:09 AM Revision 454f0286 (git): * random.c (random_ulong_limited): avoid left shift count >= width of
- type on 32bit environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/03/2016
-
10:27 PM Bug #12545 (Closed): Ruby 2.3.1 compilation error [Windows]
- Greetings. Having problems with compilation:
```
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
CC = cl -nologo
LD = cl -nologo
... -
04:25 PM Bug #12544 (Closed): Segfault on ruby-head
- Log is available here: https://travis-ci.org/getsentry/raven-ruby/jobs/142024230
Following the steps in the log should repro.
It may be Rails 4.2 related, as our Rails 5.0 build does not segfault. -
01:40 PM Bug #12535: are there 2 sleep methods defined?
- Yes I am. My point being, I can't overwrite the sleep method only in one place, as it is apparently defined in two different objects. Why not just one?
The main.timeout method (which has been already deprecated) at least redirected to... -
01:23 PM Revision 9ca303b9 (git): fix a typo and indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:51 AM Revision 4a41a0f7 (git): * test/ruby/enc/test_case_comprehensive.rb, test_regex_casefold.rb,
- test/test_unicode_normalize.rb: Replace UNICODE_VERSION from
UnicodeNormalize with RbConfig::CONFIG['UNICODE_VERSION'] from
feature 12460.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Bug #12526 (Closed): Error trying to compile enc/euc_jp.c
- This problem was fixed by 'svn up'. I have no idea why the files in question (enc/jis/props.h) was empty.
-
07:01 AM Bug #9154 (Closed): Support for OpenSSL with MD5 disabled for certificate verification
- Closing this as it is already fixed.
-
06:59 AM Feature #10420 (Closed): Cannot set IV length to OpenSSL::Cipher
- Thanks for providing a patch! I made it in a generic way. Please see:
https://github.com/ruby/openssl/pull/58 -
06:53 AM Feature #8667 (Closed): Unable to set OpenSSL GCM iv_length in Ruby
- I think this is good to have. I thought about changing Cipher#iv= first, too, but I didn't because of the current (2.3) behavior of Cipher#iv=. Please see:
https://github.com/ruby/openssl/pull/58 -
06:04 AM Bug #10115 (Closed): Error in OpenSSL documentation section: Loading a key
- Strictly speaking, it is not incorrect - PKey::RSA#public? always returns true. But indeed it is very unfriendly. Thanks for reporting!
https://github.com/ruby/openssl/pull/57 -
05:27 AM Bug #8673 (Closed): User rest-client PUT request core dumped
- I reproduced it. Thanks.
https://github.com/ruby/openssl/pull/56
I believe McClain's is another bug. If it still occurs, could you make a new ticket with more information? -
03:41 AM Bug #11774 (Feedback): OpenSSL::PKey.read produces ArgumentError on invalid passphrases
- OpenSSL does not give the information what type of key is contained in the PEM when an error occurs. So it's impossible to raise PKey::RSAError here.
But for consistency with PKey::{DH,DSA,RSA,EC}.new, it may be better to raise PKey::... -
03:28 AM Bug #6703 (Rejected): openssl: using a newly registered extension
- (from ossl_ext_bug.rb)
> ef.create_extension('hurr','This is a test')
It doesn't work because OpenSSL (X509V3_EXT_nconf_nid()) doesn't know how to parse "This is a test". Please see x509v3_config(5) for details.
You can use the sy... -
03:02 AM Bug #9848 (Third Party's Issue): OpenSSL::SSL::SSLContext の SSLv2 利用不可サーバへの接続時のデフォルト設定の応答について
- OpenSSL は SSLv23_method() を使用したとき可能ならば SSL 2.0 形式の Client Hello を送信しますが、それが原因ではないでしょうか。
Ruby 1.8.7p299 と 1.9.3p484 の ext/openssl/ossl_ssl.c を比較する限り、差があるようには見えないので、リンクしている OpenSSL の違いではないかと想像します。 -
02:02 AM Bug #6227: [mingw] openssl backport causing test error
- I confirmed that this issue is no longer exist in the current RubyInstaller build versions.
I checked below versions.
ruby 2.0.0p648 (2015-12-16) [i386-mingw32]
ruby 2.0.0p648 (2015-12-16) [x64-mingw32]
ruby 2.3.0p0 (2015-12-25 ...
07/02/2016
- 09:13 PM Revision 80a0c0f8 (git): process.c (disable_child_handler_fork_child): simplify
- signal(2) is portable for SIG_DFL and SIG_IGN, so we do not
need the extra code for sigaction(2).
Also, execve will reset all signal handlers to default
anyways, so there is little sense in preserving old
signal handler besides SIG_IGN.... -
09:11 PM Bug #12539: Comments and typos in the tool directory
- the.codefolio.guy@gmail.com wrote:
> Bug #12539: Comments and typos in the tool directory
> https://bugs.ruby-lang.org/issues/12539
Thanks, committed as r55564
(wrapped one long line tool/gen_dummy_probes.rb) -
09:01 PM Bug #12539 (Closed): Comments and typos in the tool directory - Applied in changeset r55564.
----------
tool: add descriptions and fix typos
* tool/asm_parse.rb: add description
* tool/change_maker.rb: ditto
* tool/downloader.rb: ditto
* tool/eval.rb: ditto
* tool/expand-config.rb: ditto
* tool/ext... - 09:01 PM Revision 213e7a1c (git): * 2016-07-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:01 PM Revision f8d0bded (git): tool: add descriptions and fix typos
- * tool/asm_parse.rb: add description
* tool/change_maker.rb: ditto
* tool/downloader.rb: ditto
* tool/eval.rb: ditto
* tool/expand-config.rb: ditto
* tool/extlibs.rb: ditto
* tool/fake.rb: ditto
* tool/file2lastrev.rb: ditto
* tool/gem-u... -
05:24 PM Feature #12543 (Assigned): explicit tail call syntax: foo() then return
- How about introducing a new syntax for tail call?
```
def foo()
foo()
end
foo() #=> stack level too deep
```
```
def bar()
bar() then return
end
bar() #=> infinite loop
```
* no new keyword (cf. `goto foo()`)
* no... -
03:38 PM Bug #12509: Using qsort_s in mingw-w64 causes failures
- I confirmed that the failures 1) to 8) are same as
VS2010 with '#define HAVE_QSORT_S'.
I suppose 9) to 11) are skipped for VS2010.
Since mingw* uses the msvcrt runtime, I propose
disabling use of qsort_s for mingw*, too.
-
02:24 PM Feature #12484: Optimizing Rational
- Muraken:
Thank you for your investigation. Certainly it was reproduced,
but did you test with trunk? I got almost same error message
with and without my patch.
trunk (without my patch):
~~~
Rational_Test#test_new:
SystemSta... -
01:13 PM Feature #12542: Bump version to json-2.0.1
- 添付ファイルビューが途中で切れてしまうので pull request にも用意しました
https://github.com/ruby/ruby/pull/1395 -
01:09 PM Feature #12542 (Closed): Bump version to json-2.0.1
- ruby の stdlib である json の upstream で json-2.0.1 がリリースされていたので trunk にマージするためのパッチを作ってみました。
https://github.com/flori/json/releases/tag/v2.0.1
https://github.com/flori/json/compare/v1.8.3...v2.0.1
n0kada さんや akr さんが入れていた変更は概ねマージされているので... -
10:14 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Martin Dürst wrote:
> Actually, because both `true` and `false` are singletons, `TrueClass` and `FalseClass` look like overkill; in Ruby's ducktyping world, most if not all things would work just as well with the necessary methods for `... -
09:05 AM Bug #12498 (Closed): Parsing a mailto URI with no recipient throws the error URI::InvalidComponentError: missing opaque part for mailto URL
- Applied in changeset r55563.
----------
* lib/uri/mailto.rb (initialize): RFC3986_Parser#split sets opaque
only if the URI has path-rootless, not path-empty.
[ruby-core:76055] [Bug #12498]
patched by Chris Heisterkamp <cheister@sq... -
09:05 AM Revision 79f86a67 (git): * lib/uri/mailto.rb (initialize): RFC3986_Parser#split sets opaque
- only if the URI has path-rootless, not path-empty.
[ruby-core:76055] [Bug #12498]
patched by Chris Heisterkamp <cheister@squareup.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Bug #12452 (Rejected): Regexp alternation does not backtrack to check the other alternatives if a match is found on the first one
- This is how a regexp works. AFAIK perl, php, python, nodejs all behave the same way as ruby do. I'm afraid changing here brings more harm than good.
```perl
% perl -e "'ab' =~ /a|ab/; warn $&"
a at -e line 1.
```
```php
% ph... -
07:47 AM Bug #12162 (Third Party's Issue): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
- The direct reason is that PKCS7#to_s returns a broken PEM. It looks like the behavior was changed in OpenSSL 1.0.1i:
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=d70c0be4c1e33985a79d691786db72661fdfd057
But since the PK... -
07:42 AM Bug #8177 (Closed): ext/openssl/pkcs7 signing fails with EC keys
- r55098 added OpenSSL::PKey::EC#private?. So it should work now!
-
07:41 AM Bug #11739 (Closed): OpenSSL::SSL::SSLServer doesn't negotiate ECDHE-* ciphersuites
- ext/openssl didn't support ephemeral ECDH in server mode up until Ruby 2.3 (Feature #11356).
-
07:38 AM Bug #10497 (Closed): OpenSSL Servers Do Not Support EC Certificates
- ext/openssl didn't support ephemeral ECDH in server mode up until Ruby 2.3.
You can use OpenSSL::SSL::SSLSocket#tmp_ecdh_callback in Ruby 2.3, for now. In Ruby 2.4 (r55214), ephemeral ECDH will be enabled by default just like ephemera... -
06:27 AM Bug #12541 (Closed): test failure with `umask 027`
- `ruby -e 'system("make", "test-all", "TESTS=fileutils/test_fileutils.rb", umask: 027)'` などのように `umask 027` の環境で実行すると TestFileUtils#test_cp_preserve_permissions が failure になります。
~~~
[31/91] TestFileUtils#test_cp_preserve_permissions =... -
06:23 AM Bug #12540 (Closed): test failures when SHARABLE_MIDDLE_SUBSTRING=1
- SHARABLE_MIDDLE_SUBSTRING=1 でビルドすると Test_StringCStr#test_wchar_lstrip!,Test_StringCStr#test_wchar_rstrip! が失敗します。
~~~
[16604/16757] Test_StringCStr#test_wchar_lstrip! = 0.00 s
3) Failure:
Test_StringCStr#test_wchar_lstrip! [/home... -
04:39 AM Bug #9053 (Third Party's Issue): SSL Issue with Ruby 2.0.0
- Closing as the issue was resolved.
-
03:54 AM Bug #5659 (Feedback): bug releasing a gem created with rails 3.1
- The git reposirory/gist is deleted... Do you still reproduce with the current release of Ruby?
-
03:52 AM Bug #6168 (Third Party's Issue): Segfault in OpenSSL bindings
- I reproduce the segmentation fault with Larry's reproducer. It seems like a ruby-debug bug.
a.rb:
~~~ruby
require "ruby-debug"
debugger
sleep
~~~
and run it
~~~
bash$ ~/ruby192/bin/ruby a.rb
a.rb:4
sleep
(rdb:1) eva... -
02:42 AM Bug #10257 (Closed): Generate X.509 certificate/request/CRL with elliptic curve keys
- This is fixed by r55098. (See also [Bug #6567]).
The 'no shared cipher' is another issue. ext/openssl didn't support ephemeral ECDH in server mode at that time. -
02:41 AM Bug #6227 (Feedback): [mingw] openssl backport causing test error
- Do you still reproduce this, with the current release of Ruby and OpenSSL?
-
02:38 AM Bug #6181 (Third Party's Issue): Ruby crash when trying to send a mail (tls/gmail)
- I think this is the same as #6886, too.
OpenSSL bundled with OS X is no longer supported, so I'm closing this as Third Party's Issue. -
02:05 AM Bug #8690 (Third Party's Issue): Enciphering a key with AES-128-CBC-HMAC-SHA1 crashes in OpenSSL
- I believe this is a bug of OpenSSL that is fixed in OpenSSL 1.0.2.
Since it happens in PEM_read_bio_RSAPrivateKey(), I think there is nothing we can do.
---
key.pem: generated with OpenSSL::PKey::RSA.new(32).export(OpenSSL::Ciph... -
12:20 AM Bug #11169: Symbol not found: _rb_str_new_static
- This saved me such a huge headache. I was stuck on this for an hour with Puma right out of the box. Thank you so much
07/01/2016
-
10:15 PM Bug #11964: __callee__ in aliased methods defined in a module returns an incorrect value
- Looks like this broke in r51126 (GitHub rev 5e8a147480f87f19a8b96ad3fb33a25fb4bb19b9).
-
07:37 PM Bug #12454 (Closed): Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
- Applied in changeset r55562.
----------
* regcomp.c (noname_disable_map): don't optimize out group 0
Ruby's Regexp doesn't allow normal numbered groups if the regexp
has named groups. On such case it optimizes out related NT_ENCLOSE... -
07:37 PM Revision 1e3fc7dc (git): * regcomp.c (noname_disable_map): don't optimize out group 0
- Ruby's Regexp doesn't allow normal numbered groups if the regexp
has named groups. On such case it optimizes out related NT_ENCLOSE.
But even on the case it can use \g<0>.
This fix not to remove NT_ENCLOSE whose regnum is 0.
[rub... -
07:16 PM Bug #12498: Parsing a mailto URI with no recipient throws the error URI::InvalidComponentError: missing opaque part for mailto URL
- @naruse Do you mind taking a look at this patch?
-
07:09 PM Bug #12503: Backport r55427 (fix heap overflow in tr_trans)
- ruby_2_3 r55561 merged revision(s) 55427.
-
07:09 PM Revision 840a4573 (git): merge revision(s) 55427: [Backport #12503]
- * string.c (tr_trans): consider terminator length and fix heap
overflow. reported by Guido Vranken <guido AT guidovranken.nl>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55561 b2dd03c8-39d4-4d8f-98ff-823fe... -
06:59 PM Bug #11954: "self has wrong type to call super in this context" under weird circumstances
- ruby_2_3 r55560 merged revision(s) 55462.
-
06:59 PM Revision 62586a95 (git): merge revision(s) 55462: [Backport #11954]
- * vm.c (invoke_bmethod, invoke_block_from_c_0): revert r52104
partially to avoid "self has wrong type to call super in this
context" errors.
[ruby-core:72724] [Bug #11954]
git-svn-id: svn+ssh://ci.ruby-lan... -
06:11 PM Revision 3418a277 (git): * string.c: Partially reverts r55547 and r55555.
- ChangeLog about the reverted changes are also deleted in this file.
[Bug #12536] [ruby-dev:49699] [ruby-dev:49702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:32 PM Revision bc1d7b16 (git): * 2016-07-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:32 PM Revision 61f2ee0d (git): * string.c (str_fill_term): When termlen increases, re-allocation
- of memory for termlen should always be needed.
In this fix, if possible, decrease capa instead of realloc.
[Bug #12536] [ruby-dev:49699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:34 PM Bug #12536: SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- > ただし、rb_str_new() と rb_str_buf_new() にて、従来 capa+1 バイトのメモリを確保していた部分を修正するにあたり、後からどんなエンコーディングが関連付けられるかわからないため、
に関しては、string.c内の基礎的な部分は別としますが、
本来、rb_enc_associate_index(), rb_enc_associate(), rb_enc_copy() などの正規APIを使う限りは、いつ、どんなエンコーディングが... -
03:14 PM Bug #12539 (Closed): Comments and typos in the tool directory
- I've commented most of the tool directory scripts, and fixed typos in a few of the comments. Since I was looking through, it seemed like a good idea for future readers.
Patch attached. -
12:39 PM Bug #12538 (Closed): hostsを書き換えてwebrickで書いたプロキシ―に繋いでいるとrubyが落ちる
- 環境
OS:Win10
ブラウザ:Firefox
広告NG用にhostsを書きかえてプロキシーに接続してブラウジングしていると
しばらくしてrubyは動作を停止しましたと言われます
#coding:utf-8
require 'webrick'
require 'webrick/httpproxy'
handler = Proc.new() {| q , res |
}
s = WEBrick::HTTPPro... -
12:32 PM Bug #12517: def_delegators broken on ruby-head?
- Thanks everyone that was so fast I blinked and missed it :D
-
12:00 PM Revision 6fee4909 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:24 AM Revision a92a537b (git): * string.c: Specify termlen as far as possible.
- Additional fix for [Bug #12536] [ruby-dev:49699].
* string.c (rb_usascii_str_new, rb_utf8_str_new): Specify termlen
which is apparently 1 for the encodings.
* string.c (str_new0_cstr): New static function to create a String
object ... -
10:43 AM Bug #12537 (Closed): Fiddle::TestPointer#test_to_s and test_to_str destroy literal string data
- Applied in changeset r55554.
----------
* test/fiddle/test_pointer.rb (test_to_str, test_to_s, test_aref_aset):
Attempt to use independent strings for destructive tests that
directly modify values on memory by using Fiddle::Pointer.... -
09:47 AM Bug #12537 (Closed): Fiddle::TestPointer#test_to_s and test_to_str destroy literal string data
- r55547 以降、rubyciの32ビット環境では、以下のFailureが出ています。
```
1) Failure:
Fiddle::TestPointer#test_plus [/extdisk/chkbuild/chkbuild/tmp/build/20160701T080500Z/ruby/test/fiddle/test_pointer.rb:70]:
<"lo world"> expected but was
<"lo">.
2... -
10:43 AM Revision 053c1e08 (git): * test/fiddle/test_pointer.rb (test_to_str, test_to_s, test_aref_aset):
- Attempt to use independent strings for destructive tests that
directly modify values on memory by using Fiddle::Pointer.
[Bug #12537] [ruby-dev:49700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55554 b2dd03c8-39d4-4d8f-98ff-... -
09:24 AM Revision 14d9ceed (git): * .gdbinit (rb_ps_thread): show the detail of cfunc in ruby level
- backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:50 AM Revision 10e28726 (git): * string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX
- is used, TERM_LEN(str) should be considered with it because
embedded strings are also processed by TERM_FILL.
Additional fix for [Bug #12536] [ruby-dev:49699].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55552 b2dd03c8-39d4-4... -
03:58 AM Revision 6734a0c3 (git): string.c: Add parentheses to avoid C source code ambiguity. [Bug #12536]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 AM Revision 0946cf15 (git): * .gdbinit (rb_count_objects): added gdb version of count_objects().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/30/2016
- 07:36 PM Revision 35291b7d (git): * 2016-07-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 PM Revision 6f10a4af (git): * .gdbinit (rb_ps_thread): show ruby level backtrace.
- Usually you can call `rb_ps` to show ruby leve backtraces
for all living threads.
Note that it can call with core file like `gcore <pid>`
and `gdb ruby core.<pid>`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55548 b2dd03c8-... -
10:23 AM Bug #12454: Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
- More shorter code, probably same issue:
```
$ ruby -e 'Regexp.new("((?<v>))\\g<0>")'
-e:1:in `initialize': undefined type (bug): /((?<v>))\g<0>/ (RegexpError)
from -e:1:in `new'
from -e:1:in `<main>'
``` -
10:20 AM Bug #12536 (Closed): SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- Applied in changeset r55547.
----------
* string.c: Fix memory corruptions when using UTF-16/32 strings.
[Bug #12536] [ruby-dev:49699]
* string.c (TERM_LEN_MAX): Macro for the longest TERM_FILL length,
the same as largest value of ... -
09:35 AM Bug #12536 (Closed): SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- x86_64 の Debian GNU/Linux 8.4 にて、いつの間にか、 make test-all が途中で突然死して失敗するようになりました。
```
[ 2025/16989] REXMLTests::EncodingTester#test_parse_utf16 = 0.18 s
[ 2026/16989] REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_inte
r... -
10:20 AM Revision f2ee2237 (git): * string.c: Fix memory corruptions when using UTF-16/32 strings.
- [Bug #12536] [ruby-dev:49699]
* string.c (TERM_LEN_MAX): Macro for the longest TERM_FILL length,
the same as largest value of rb_enc_mbminlen(enc) among encodings.
* string.c (str_new, rb_str_buf_new, str_shared_replace): Allocate
... -
08:24 AM Revision 893bb61b (git): case-folding.rb: define version numbers
- * enc/unicode/case-folding.rb: define Unicode version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Revision 753ce99e (git): case-folding.rb: check version numbers
- * enc/unicode/case-folding.rb: check if version numbers in each
data files match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Revision 7d4db056 (git): test_stringio.rb: reduce retry count
- * test/stringio/test_stringio.rb (test_overflow): reduce maximum
retry count to get rid of timeout on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Revision 7d1d8b11 (git): Move unicode tables timestamp
- * common.mk (.unicode-tables.time): move from the top source
directory to the unicode source data directory which contains
its version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Feature #12525 (Closed): Get some inspiration from the Red programming language!
- Could you separate into tickets each specific feature?
Issues on a issue tracker should have a specific goal to close.
And Ruby's feature request should have concrete real use case.
Note that ruby-core ML is open to such an abstr... -
05:17 AM Feature #12525: Get some inspiration from the Red programming language!
- Robert A. Heiler wrote:
> I do not even understand what this means.
Well I have not yet investigated this, but the sentence you mentioned is coming from the Red blog post http://www.red-lang.org/2016/06/061-reactive-programming.htm... -
03:55 AM Feature #12525: Get some inspiration from the Red programming language!
- Reactive Programming:
"It is a way to link one or more object fields to other fields or global words, by specifying relationships in a block of code (can be a single expression or a complex multi-step computation)."
I do not even u... -
05:45 AM Revision 22825418 (git): Magic numbers
- * ext/cgi/escape/escape.c (optimized_unescape_html): remove magic
numbers for literal lengths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:16 AM Revision 38d340f6 (git): * 2016-06-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:16 AM Revision 7175ee79 (git): Initialize ID
- * ext/cgi/escape/escape.c (accept_charset): initialize the static
ID for theha class variable once at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Feature #12534: Refinements: refine modules as well
- Interesting. I was not aware of this.
It is however mentioned in the documentation:
http://ruby-doc.org/core-2.3.1/doc/syntax/refinements_rdoc.html
Quote:
"Refinements only modify classes, not modules so the argument must b... -
12:27 AM Bug #12535 (Rejected): are there 2 sleep methods defined?
- No.
You are prepending the method on 2 different **objects**, `main` and `Kernel`.
06/29/2016
-
01:34 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Hi Tiago, the syntax is
~~~ruby
your(code).goes here
~~~
Sorry for offtop. -
12:12 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Sorry about the UI for the gist, apparently I don't know anymore how to properly declare code blocks in redmine...
-
12:11 PM Feature #12533 (Closed): Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Right now this isn't possible:
~~~ruby
module Extensions
def vegetables ; potatoe ; end
def potatoe ; "potatoe" ; end
end
module Refinary
refine String do
# this doesn't work
include Extensions
# this would work... -
01:26 PM Bug #3817 (Closed): current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
- This hasn't caused any further issues, and OpenSSL 1.1.0 finally added ex_data functions for X509_STORE. So I think this can be closed now.
-
01:24 PM Revision c68da0fd (git): * ext/psych/lib/psych_jars.rb: removed needless file required to JRuby.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Revision c2329831 (git): openssl: fix for OpenSSL 1.0.0t
- * ext/openssl/ossl_ocsp.c: The "reuse" behavior of d2i_ functions does
not work well with OpenSSL 1.0.0t. So avoid it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> Thx, will do. Do you have a link to the reject ticket? Maybe it would be wise to read about the reasons against before filling a similar ticket.
local rebinding was discussed in #4085.
Today, Matz stated tha... -
12:04 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Thx, will do. Do you have a link to the reject ticket? Maybe it would be wise to read about the reasons against before filling a similar ticket.
-
03:31 AM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> Don't get me wrong, but you're trying to explain me why it doesn't work. I'm making the point it should work. Why?
> ...
If you don't like the current behavior, please file another ticket as a feature request.
... -
01:16 PM Bug #10398 (Closed): Server Name Indication support broken when reusing a (dead) session
- This should have been fixed by r52682 (in [Bug #11401], as Michiel suggests), and the root cause was also fixed by r55191 (in [Bug #11724]).
-
01:13 PM Misc #12532 (Rejected): OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- Martin Vahi wrote:
> The result is that people do
> ...
~~~
$ gem install <something>
Error: while executing gem (Gem::Exception)
Unable to require openssl. install openSSL and rebuilt ruby (preferred) or use non HTTPs sources
~... -
10:23 AM Misc #12532: OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- you don't want to ship an intree copy of openssl.
the proper solution is that people should use their package manager and *understand* how to use them.
maybe we should make ruby's build hard fail when linking openssl fails. -
10:14 AM Misc #12532: OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- Actually, build scripts might try to
use the operating system version of the OpenSSL
and if they fail to use the operating system
version, then they should use the embedded
OpenSSL source as a backup option. -
10:08 AM Misc #12532 (Rejected): OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
The result is that people do
http://stackoverflow.com/a/25186429
~~~
gem source -r https://rubygems.org/
gem source -a http://rubygems.org/
~~~
leading to simplified man-in-the-middle attacks.
Gems have build/installatio...-
12:47 PM Bug #12535 (Rejected): are there 2 sleep methods defined?
- I'm updating this gem which "patches" the sleep method to use prepend, as I wanted to drop support to ruby < 2.0 . (previous implementation was using alias method chain like solution)
So I came across this funny behaviour:
```ruby
... -
12:37 PM Revision 685a18c4 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Feature #12534 (Closed): Refinements: refine modules as well
- Refinements were added as a feature to scope monkey-patches on ruby core elements. This works for elements such as String, Array (all classes), but not for modules (Enumerable, Timeout...).
This might be related to refinements not wo... -
09:48 AM Bug #12527 (Assigned): warning: macro redefined: REG_PC and REG_SP on Solaris 10
-
09:46 AM Misc #12529: LEGAL file covering all the license information within Ruby
- +1 Thank you. This should be updated.
-
06:23 AM Revision 8fe1d91f (git): * insns.def (opt_succ): optimize like r55515. (but this argument is
- consntant)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Bug #12528: Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- Martin Vahi wrote:
> It seems that You are right, the `--enable-shared` solved the problem.
> ...
It is a different story. `--disable-shared` isn't working should be a bug.
Could you show `rbconfig.rb` and `ext/bigdecimal/mkmf.log` ... -
04:37 AM Revision 8361dab9 (git): VC6 error
- * win32/win32.c (GetSystemWindowsDirectoryW): use
GetWindowsDirectoryW for VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision 91ec3d8f (git): VC6 error
- * random.c (int_pair_to_real_inclusive): get rid of VC6 compile
error C2520: conversion from unsigned __int64 to double not
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision df8c48a3 (git): Use LONG_LONG
- * missing/crypt.h (B64): use LONG_LONG instead of long long
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Bug #12491 (Closed): TestRefinement#test_prepend_after_refine_wb_miss too slow
- Applied in changeset r55532.
----------
* test/ruby/test_refinement.rb: skip
test_prepend_after_refine_wb_miss on ARM or MIPS.
[ruby-core:76031] [Bug #12491] -
03:45 AM Revision a1d17c59 (git): * test/ruby/test_refinement.rb: skip
- test_prepend_after_refine_wb_miss on ARM or MIPS.
[ruby-core:76031] [Bug #12491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Feature #12079: Loosening the condition for refinement
- I agree that would be nicer to users. My concern is performance penalty.
Matz.
-
03:25 AM Bug #12530 (Rejected): Module Refinements
- This is not a bug, but an expected behavior.
However, changing this behavior is being discussed in #12079.