Project

General

Profile

Activity

From 05/22/2015 to 05/28/2015

05/28/2015

10:50 PM Bug #11193 (Rejected): begin-rescue Malfunctions with Threads

Threads execute asynchronously, whereas exceptions are synchronous.
An exception terminated the thread is reported...
nobu (Nobuyoshi Nakada)
04:05 PM Bug #11193 (Rejected): begin-rescue Malfunctions with Threads
Explanation resides at the attached test_case.rb.
Thank You for Your time.
martin_vahi (Martin Vahi)
10:38 PM Feature #11195: Add "no_proxy" parameter to Net::HTTP.new
See also https://github.com/jruby/jruby/issues/2983 and https://bugs.ruby-lang.org/issues/11194. headius (Charles Nutter)
10:37 PM Feature #11195 (Closed): Add "no_proxy" parameter to Net::HTTP.new
Net::HTTP.new currently accepts parameters for proxy host, proxy port, proxy username, and proxy password.
It does...
headius (Charles Nutter)
10:31 PM Bug #11182: Refinement with alias causes strange behavior
Alias does not redispatch, so this is the result I'd expect. These are some of the edge cases that I don't think we c... headius (Charles Nutter)
09:57 AM Bug #11182: Refinement with alias causes strange behavior
Let's discuss with use cases. I don't have good example, but please assume we want to make new Hash class to support ... ko1 (Koichi Sasada)
09:22 AM Bug #11182: Refinement with alias causes strange behavior
I wrote pictures again for original examples D, C and M.
![(1) Like module include model (on original example)](6....
ko1 (Koichi Sasada)
08:03 AM Bug #11182 (Feedback): Refinement with alias causes strange behavior
Koichi Sasada wrote:
> With model (1), it seems C#foo will be called.
> WIth model (2), it seems M::C#foo will be c...
shugo (Shugo Maeda)
10:24 PM Bug #11194: Refactor env-sourced proxy logic for uri/generic
The net/http changes can be ignored; they remove an earlier incorrect mechanism for honoring the JVM properties. headius (Charles Nutter)
10:23 PM Bug #11194 (Closed): Refactor env-sourced proxy logic for uri/generic
For https://github.com/jruby/jruby/issues/2983 we are modifying uri/generic.rb's find_proxy logic to also check the J... headius (Charles Nutter)
07:40 PM Revision c1b35ab1 (git): * 2015-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:40 PM Revision 6abf7938 (git): * ext/objspace/objspace.c: add two methods to debug internals.
* ObjectSpace.internal_class_of: return RBASIC_CLASS(obj).
* ObjectSpace.internal_super_of: return RCLASS_SUPER(cls...
ko1 (Koichi Sasada)
05:57 PM Feature #11191: Add #to_h method to OptionParser
> I think having strings is better than nothing, but I do think symbols would be better.
You want symbols, I'm gue...
zzak (zzak _)
02:58 PM Feature #11191: Add #to_h method to OptionParser
> This is not acceptable as-is though, because of the design that an `OptionParser` instance should not be modified (... injekt (Lee Jarvis)
05:34 PM Feature #11181: Add a line directive to Ruby
I have changed the code to use the **magic comment** feature. To use the directive you now use:
# -*- line: f...
gam3 (Allen Morris)
02:25 PM Bug #11192 (Closed): capture group special variable with large index invokes UB
~~~
$ ruby --dump=parsetree -e "$9999999999"
###########################################################
## Do NOT...
cremno (cremno phobia)
08:38 AM Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
I don't know an environment which doesn't have CLOCK_MONOTONIC though it may be.

2015-05-28 6:13 GMT+09:00 Eric W...
naruse (Yui NARUSE)
07:17 AM Revision 4d059bf9 (git): generator.c: allocate structs with wrapper
* ext/json/generator/generator.c (cState_s_allocate): allocate
structs with making new wrapper objects and get rid ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision cbf902fc (git): parser.rl: allocate structs with wrapper
* ext/json/parser/parser.rl (cJSON_parser_s_allocate): allocate
structs with making new wrapper objects and get rid...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 828de1a0 (git): win32ole.c: wrapper object before alloc
* ext/win32ole/win32ole.c (Init_win32ole): make wrapper object
before making st_table.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
06:45 AM Revision fbc67dbf (git): tcltklib.c: allocate structs with wrapper
* ext/tk/tcltklib.c (ip_create_slave_core): allocate structs with
making new wrapper objects and get rid of potenti...
nobu (Nobuyoshi Nakada)
06:44 AM Revision d5026011 (git): tkutil.c: check arguments type
* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_key): check arguments
type. implicit conversion is disabled to get rid...
nobu (Nobuyoshi Nakada)
05:53 AM Revision 0c58f697 (git): tkutil.c: check type
* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_key): ensure the
result type of a method call to be an array before acc...
nobu (Nobuyoshi Nakada)
12:55 AM Bug #10979: Hash fails to distinguish 0.0 & -0.0
ruby_2_1 r50655 merged revision(s) 49999,50000. usa (Usaku NAKAMURA)
12:54 AM Revision ed737b87 (git): merge revision(s) 49999,50000: [Backport #10979]
* hash.c (rb_any_hash): use same hash values with Float#hash so
that -0.0 and +0.0 will be identical.
...
U.Nakamura

05/27/2015

10:56 PM Feature #11191 (Feedback): Add #to_h method to OptionParser
Very interesting idea.
This is not acceptable as-is though, because of the design that an `OptionParser` instance ...
nobu (Nobuyoshi Nakada)
08:44 PM Feature #11191 (Closed): Add #to_h method to OptionParser
Simply collecting configuration values is a very popular use for OptionParser. Code like this is quite common:
~~~...
injekt (Lee Jarvis)
09:56 PM Revision c8b3f1b4 (git): * 2015-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:56 PM Revision 86f7fcee (git): Fix typo in samples for tk ext [skip ci]
* ext/tk/sample/figmemo_sample.rb (open_file),
ext/tk/sample/tktextio.rb (TkTextIO): fix typo in messages.
[Fix G...
nobu (Nobuyoshi Nakada)
09:38 PM Feature #7148: Improved Tempfile w/o DelegateClass
"Glass_saga (Masaki Matsushita)" <[email protected]> wrote:
> Feature #7148: Improved Tempfile w/o DelegateClas...
normalperson (Eric Wong)
09:18 PM Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
Eric Wong <[email protected]> wrote:
> Just checking, which systems do we support do not have CLOCK_MONOTONIC
...
normalperson (Eric Wong)
08:25 PM Bug #11173: inter class/module alias causes "no superclass method"
とりあえず、2.3dev 用のパッチを書いてみました。
クラス/モジュールをまたぐ alias が行なわれたときには、
メソッドエントリ ALIAS 型のメソッドを登録する、という実装にしています。
ALIAS 型は、own...
ko1 (Koichi Sasada)
08:16 PM Feature #11190 (Closed): [PATCH] openssl: use io/nonblock instead of fcntl
* ext/openssl/lib/openssl/ssl.rb: use io/nonblock instead of fcntl
IO#nonblock= is easier-to-read, potentially mor...
normalperson (Eric Wong)
08:03 PM Bug #11189: alias prepended module
今、こんなコードだと、
* C1 (m_tbl 空)
* T_ICLASS(m_tbl 空) -> P
* T_ICLASS(C1 の m_tbl) -> C1
* C0
* Object...
という継承関係(下...
ko1 (Koichi Sasada)
07:58 PM Bug #11189 (Closed): alias prepended module
```ruby
module P
def m1
p :P_m1
super
end
def m2
p :P_m2
super
end
end
class C...
ko1 (Koichi Sasada)
06:39 PM Bug #11188 (Closed): Method#inspect for chaining alias methods
The following script prints strange results (at least for me).
```ruby
class C0
def foo
end
end
class C...
ko1 (Koichi Sasada)
05:12 PM Bug #11182: Refinement with alias causes strange behavior
I will offer a quick opinion: refinements are an overlay on the method table, and therefore modifications to the meth... headius (Charles Nutter)
05:36 AM Bug #11182: Refinement with alias causes strange behavior
My last explanation was wrong.
I wrote pictures again.
![(3)](3.PNG)
![(4)](4.PNG)
With model (1), it seems...
ko1 (Koichi Sasada)
05:33 AM Bug #11182: Refinement with alias causes strange behavior
Koichi Sasada wrote:
> I believe the implementation uses (2) model.
>
> For (1), calling M::C#bar is reasonable.
...
shugo (Shugo Maeda)
05:15 AM Bug #11182: Refinement with alias causes strange behavior
I can consider two models (1) and (2) the following pictures show.
![(1)](1.png)
![(2)](2.png)
I believe the...
ko1 (Koichi Sasada)
05:05 AM Bug #11182 (Open): Refinement with alias causes strange behavior
shugo (Shugo Maeda)
02:49 AM Bug #11182: Refinement with alias causes strange behavior
Koichi Sasada wrote:
> However, I think it is also reasonable to call refined C because people can assume C#bar shou...
shugo (Shugo Maeda)
01:36 PM Revision c83883cf (git): tcltklib.c: fix memory leak
* ext/tk/tcltklib.c (ip_init): reject already initialized
interpreter to fix memory leak.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 19341b86 (git): test_bigdecimal.rb: adjust
* test/bigdecimal/test_bigdecimal.rb (assert_no_memory_leak): fix
GC scope and adjust limits.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:33 AM Bug #11187 (Rejected): Crash Report with clean install of Ruby & Metasploit
usa (Usaku NAKAMURA)
08:26 AM Bug #11187: Crash Report with clean install of Ruby & Metasploit
that ticket will get rejected because you got a version missmatch between:
/usr/local/Cellar/ruby21/2.1.6
/Users/...
Hanmac (Hans Mackowiak)
08:03 AM Bug #11187 (Rejected): Crash Report with clean install of Ruby & Metasploit
Just installed latest versions of Ruby and Metasploit on Mac OSx Yosemite. Install succeeds and msfconsole runs, but ... jag-ruby (John G)
08:02 AM Revision bdf07741 (git): bigdecimal.c: wrapper object before alloc
* ext/bigdecimal/bigdecimal.c (VpNewRbClass): make wrapper object
before result structs allocation and manage refco...
nobu (Nobuyoshi Nakada)
08:02 AM Revision 2df5bb9a (git): envutil.rb: EnvUtil.gc_stress_to_class
* test/lib/envutil.rb (EnvUtil.gc_stress_to_class): check if
GC.stress_to_class is available.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:55 AM Revision b38b920a (git): gc.c: mark stress_to_class
* gc.c (gc_mark_roots): stress_to_class is also a GC root.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50648 b...
nobu (Nobuyoshi Nakada)
05:03 AM Bug #11186 (Closed): Can't refine aliases in subclasses
In the following program, D.new.bar returns :original, but should return :refined.
```
class C
def foo
:o...
shugo (Shugo Maeda)
02:55 AM Bug #11184: Tests fail when configured with different program prefix and suffix
Pushing to upstream https://github.com/rubygems/rubygems/pull/1258 sgibbs (Shane Gibbs)
02:08 AM Revision 7615c70d (git): gc.c: stress_to_class
* gc.c (newobj_of): debug feature to fail allocation of particular
classes.
* gc.c (rb_gcdebug_add_stress_to_class...
nobu (Nobuyoshi Nakada)
01:09 AM Bug #11185 (Closed): [PATCH] openssl: use RB_GC_GUARD instead of volatile
Applied in changeset r50646.
----------
openssl: use RB_GC_GUARD instead of volatile
From doc/extension.rdoc:
>
> U...
Anonymous
12:50 AM Bug #11185 (Closed): [PATCH] openssl: use RB_GC_GUARD instead of volatile
From doc/extension.rdoc:
>
> Using the RB_GC_GUARD macro is preferable to using the "volatile"
> keyword in C. RB...
normalperson (Eric Wong)
01:09 AM Revision 9fbf4887 (git): openssl: use RB_GC_GUARD instead of volatile
From doc/extension.rdoc:
>
> Using the RB_GC_GUARD macro is preferable to using the "volatile"
> keyword in C. RB_GC...
Eric Wong
12:43 AM Revision 46ad38a4 (git): drb: avoid redundant fcntl call
Sockets are close-on-exec by default since Ruby 2.0, so it
is redundant to set it again.
* lib/drb/drb.rb (set_socko...
Eric Wong
12:38 AM Revision a98f72f2 (git): * 2015-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision bea4ccb2 (git): ossl_asn1.c: [DOC] Fix typo [skip ci]
* ext/openssl/ossl_asn1.c (Init_ossl_asn1): [DOC] Fix typo
"recieved" to "received". [Fix GH-913]
git-svn-id: svn...
nobu (Nobuyoshi Nakada)

05/26/2015

09:30 PM Feature #11181: Add a line directive to Ruby
Reason why 'eval "string", b, file, line' can't be used in place of line directive.
Use case: Input file looks lik...
gam3 (Allen Morris)
07:56 AM Feature #11181: Add a line directive to Ruby
using 'line' as the key word causes the 'test-rubyspec' tests to fail as they contain:
# line 3
in the __\_...
gam3 (Allen Morris)
07:05 AM Feature #11181 (Assigned): Add a line directive to Ruby
Add a __line directive__ to Ruby
```
#line {nn} ["filename"]
```
This is done by creating a array of filena...
gam3 (Allen Morris)
09:25 PM Feature #11145: [PATCH] socket: avoid redundant fcntl with MSG_DONTWAIT
Better patch to support sending, too. I'm limiting this to Linux-only since
it seems newer FreeBSD has support for ...
normalperson (Eric Wong)
07:08 PM Bug #11182: Refinement with alias causes strange behavior
Simplify example:
```ruby
class C
def foo
p "C"
end
end
module M
refine C do
def foo
...
ko1 (Koichi Sasada)
06:59 PM Bug #11182: Refinement with alias causes strange behavior
> By D.new.bar, not foo but bar is searched in refinements, so M#C#foo cannot be found.
I've fixed alias to use C#fo...
ko1 (Koichi Sasada)
01:22 PM Bug #11182: Refinement with alias causes strange behavior
Koichi Sasada wrote:
> Maybe (1) C#foo or (2) M#C#foo should be called. But I'm not sure which is suitable.
By D....
shugo (Shugo Maeda)
01:16 PM Bug #11182 (Closed): Refinement with alias causes strange behavior
Applied in changeset r50642.
----------
* vm_method.c (rb_alias): should resolve refined methods.
[ruby-core:69360...
shugo (Shugo Maeda)
12:25 PM Bug #11182 (Assigned): Refinement with alias causes strange behavior
shugo (Shugo Maeda)
08:20 AM Bug #11182 (Closed): Refinement with alias causes strange behavior
The following script causes strange behavior.
```ruby
class C
def foo
p "C"
end
end
module M
re...
ko1 (Koichi Sasada)
06:58 PM Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
Just checking, which systems do we support do not have CLOCK_MONOTONIC
(emulated or otherwise).

We already emula...
normalperson (Eric Wong)
04:30 PM Bug #11184 (Closed): Tests fail when configured with different program prefix and suffix
When the configuration options --program-prefix and --program-suffix are used, the shebang line is of the format Gem.... sgibbs (Shane Gibbs)
01:16 PM Revision 834d2bbe (git): * vm_method.c (rb_alias): should resolve refined methods.
[ruby-core:69360] [Bug #11182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50642 b2dd03c8-39d4-4d8f-98ff-823fe...
shugo (Shugo Maeda)
12:38 PM Revision 37aec839 (git): * 2015-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:37 PM Revision d5a93ed1 (git): fix condition
* include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50...
znz (Kazuhiro NISHIYAMA)
09:37 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
Hey guys, is there any updates?
I have created a small gem yesterday to make it able to read multiple files https:...
exAspArk (Evgeny Li)
09:33 AM Bug #11180: Missing lines with Zlib::GzipReader
Looks like the issue might be similar to https://bugs.ruby-lang.org/issues/9790. exAspArk (Evgeny Li)
09:15 AM Bug #11173: inter class/module alias causes "no superclass method"
「この問題は trivial なので、2.3 では直すけど、2.2 以前は直さない」、ってのは許されるものでしょうか。
というのも、今メソッドディスパッチの部分を大きく書き直しており、別々のパッチを書かないといけなさそうなんです...
ko1 (Koichi Sasada)
08:32 AM Bug #11183: Cumulative error on Complex::I ** 100000000000000000000000000000000
めんどくさいと言いつつ、手元には、添付のような「誤差を蓄積しない計算」を試してみたパッチがありますが(コンセプトを確認するためのもので実用ではない)、次は「45°とかは?」という話になることは明らかなのでびみょーです。
より賢い方法...
usa (Usaku NAKAMURA)
08:28 AM Bug #11183 (Closed): Cumulative error on Complex::I ** 100000000000000000000000000000000
```
p Complex::I ** 100000000000000000000000000000000
```
が、32bit 環境だと、
```
ruby 2.3.0dev (2015-05-21 trunk ...
ko1 (Koichi Sasada)
07:45 AM Bug #10644 (Rejected): WEBrick TimeoutHandler race condition
Hello,
The definition of WEBrick::Utils::TimeoutHandler#initialize in your gist is too old and the issues was alre...
nagachika (Tomoyuki Chikanaga)
06:29 AM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
Here is a discussion about the source of the problem : http://stackoverflow.com/questions/30353272/garbage-collector-... tkalmus (Thomas Kalmus)

05/25/2015

01:38 PM Revision 19f7dd85 (git): * tool/redmine-backporter.rb (rel): after the relations is changed,
@changesets is no longer right.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50639 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
08:17 AM Bug #11180 (Closed): Missing lines with Zlib::GzipReader
Hi,
I have a script which is written in Python. It simply appends lines to archive file:
~~~python
#!/usr/bin/...
exAspArk (Evgeny Li)
07:01 AM Bug #11179 (Third Party's Issue): Inconsistent Addrinfo parsing a port number
In the case of the following code, ip_port returns 34464 because the number 99999 is cast as `short int`.
Is the res...
ibenza (Shin'ya Ueoka)
06:23 AM Bug #11172 (Closed): Windowsでmode: ab+の時に開いたファイルの内容が読めない
usa (Usaku NAKAMURA)
05:48 AM Revision fdb62480 (git): add .gitignore rules for Microsoft Visual C++
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:49 AM Feature #11177: DATAでEOF文字以降が読めない
なるほど、メカニズムがよく理解できました。ありがとうございます。
ではその上で質問です。
1. `\x1A` の後のバッファがすっ飛ぶのは仕様でしょうか。(`DATA` に限らず)
2. 読み込み途中で binmod...
mame (Yusuke Endoh)
02:35 AM Revision d4bafbb4 (git): * win32/win32.c (setup_overlapped): seek to the file end only when
writing (mode:a), not reading (mode:a+, read).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50637 b2dd03c8-39d4...
naruse (Yui NARUSE)
02:33 AM Revision 5c0fb216 (git): io.c: refine message
* io.c (prepare_getline_args): refine the expected arity in an
exception message.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)

05/24/2015

11:20 PM Feature #11177: DATAでEOF文字以降が読めない
Yusuke Endoh wrote:
> Windows で `__END__` 以降に EOF 文字 (`\x1A`) があったとき、それより先が読めないのは仕様でしょうか。
text modeでそうなるというのは当然仕様...
nobu (Nobuyoshi Nakada)
05:53 AM Feature #11177 (Open): DATAでEOF文字以降が読めない
遠藤です。
Windows で `__END__` 以降に EOF 文字 (`\x1A`) があったとき、それより先が読めないのは仕様でしょうか。
gen.rb:
puts "p DATA.read"
...
mame (Yusuke Endoh)
09:35 PM Bug #11178 (Closed): possible bug: a thread killed when waiting on ConditionVariable locks the mutex again before real exit
Probably it's not a bug, but just a hidden behaviour. Please write your comments.
When a thread waits on Condition...
cvss (Kirill Vechera)
04:43 PM Bug #11173: inter class/module alias causes "no superclass method"
確かにおかしいですね。「似たような話」も含めて考えると混乱するので、いったん置いておくと、もとのプログラムはfooのスーパーをM0の親から探し始めて、C0#fooを見つけて欲しいような気もしますね。ただ、これは1.8でも同じ挙動をする... matz (Yukihiro Matsumoto)
03:49 PM Bug #10860 (Closed): tool/mdoc2man.rb doesn't handle man/rake.1 correctly
usa (Usaku NAKAMURA)
01:14 AM Bug #10860: tool/mdoc2man.rb doesn't handle man/rake.1 correctly
This can be closed, as rake.1 was removed recently. jeremyevans0 (Jeremy Evans)
03:41 PM Bug #11172: Windowsでmode: ab+の時に開いたファイルの内容が読めない
commitしてくださいませ。 usa (Usaku NAKAMURA)
03:33 PM Revision 42d06ac1 (git): * 2015-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:33 PM Revision 2e1835b6 (git): * numeric.c (Numeric#negative?): [DOC] Fix call-seq.
Patch by @yui-knk. [Fixes GH-908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50634 b2dd03c8-39d4-4d8f-98ff-82...
Eregon (Benoit Daloze)
02:20 AM Revision e28addcf (git): ruby.c: show_usage_line
* ruby.c (show_usage_line): extract function to print one usage
line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
02:16 AM Bug #11169 (Rejected): Symbol not found: _rb_str_new_static
nobu (Nobuyoshi Nakada)
01:29 AM Bug #11176 (Assigned): Hardcoded settings in REXML
Why is it a problem? nobu (Nobuyoshi Nakada)
12:37 AM Bug #11176 (Closed): Hardcoded settings in REXML
XMLDecl has hardcoded single qoutes (see here: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/entry/lib/re... tomasbedrich (Tomáš Bedřich)

05/23/2015

10:17 PM Bug #11169: Symbol not found: _rb_str_new_static
I figured out how to solve it. I ran 'gem pristine --all' 2 times and it worked! buihdk (Khoa Bui)
09:41 PM Bug #11169: Symbol not found: _rb_str_new_static
Nobuyoshi Nakada wrote:
> Seems you are running 2.0.0 with an extension library for 2.2.
> Check your ruby's versio...
buihdk (Khoa Bui)
08:57 PM Bug #11169: Symbol not found: _rb_str_new_static
Nobuyoshi Nakada wrote:
> Seems you are running 2.0.0 with an extension library for 2.2.
> Check your ruby's versio...
buihdk (Khoa Bui)
09:28 PM Bug #11175 (Closed): possible fibers memory leak or risky GC behavior
There's strong memory growth on mass Fiber creation/deletion.
Script to demonstrate the problem (on x86_64-linux):...
cvss (Kirill Vechera)
09:16 PM Bug #11174 (Closed): threads memory leak
There's strong memory growth during intensive thread using.
Script to demonstrate the problem (on x86_64-linux):
...
cvss (Kirill Vechera)
08:15 PM Bug #11173: inter class/module alias causes "no superclass method"
似たような話なんですが、
```ruby
module M0
private
def foo
p M0
end
end
class C0
def foo
p C0
en...
ko1 (Koichi Sasada)
06:58 PM Bug #11173 (Closed): inter class/module alias causes "no superclass method"

```ruby
class C0
def foo
p :C0
end
end
module M0
def foo
p :M0
super
end
end
...
ko1 (Koichi Sasada)
07:19 PM Bug #10991: SIGSEGV in Marshal.load
Backported into `ruby_2_2` branch at r50632. nagachika (Tomoyuki Chikanaga)
07:18 PM Revision 2e081760 (git): merge revision(s) 50057,50065: [Backport #10991]
* marshal.c (r_symreal): register symbol names as strings first so
that r_symlink always returns valid name...
nagachika (Tomoyuki Chikanaga)
06:54 PM Bug #11123: [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
Backported into `ruby_2_2` branch at r50631. nagachika (Tomoyuki Chikanaga)
06:53 PM Revision 55849b02 (git): merge revision(s) 50449: [Backport #11123]
* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
[Bug #11123]
git-svn-id: svn+ssh://ci.ruby-lang...
nagachika (Tomoyuki Chikanaga)
06:52 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
Backported into `ruby_2_2` at r50630. nagachika (Tomoyuki Chikanaga)
06:52 PM Revision 3cc32181 (git): merge revision(s) 50421: [Backport #11113]
* range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11...
nagachika (Tomoyuki Chikanaga)
06:43 PM Bug #11128: IMAP parsing issue wih body_ext_mpart
Backported into `ruby_2_2` at r50629. nagachika (Tomoyuki Chikanaga)
06:43 PM Revision 2c2fbb8c (git): merge revision(s) 50444: [Backport #11128]
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is omitted. [ruby-core:69093] [Bug #1...
nagachika (Tomoyuki Chikanaga)
06:39 PM Bug #11132: String#sub and character sequence \' in replacement string
Backported into `ruby_2_2` branch at r50628. nagachika (Tomoyuki Chikanaga)
06:39 PM Revision 637d0824 (git): merge revision(s) 50509: [Backport #11132]
* string.c: added documentation for character sequence \' with String#sub
[Bug #11132][ruby-core:69121][fix...
nagachika (Tomoyuki Chikanaga)
06:36 PM Bug #11075: Rational literal undocumented
Backported into `ruby_2_2` at r50627. nagachika (Tomoyuki Chikanaga)
06:35 PM Revision 9d3a9e97 (git): merge revision(s) 50406,50407: [Backport #11075]
* rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir...
nagachika (Tomoyuki Chikanaga)
06:31 PM Bug #10975: [BUG] rb_sys_fail(getaddrinfo) - errno == 0 (Ruby 2.0.0)
Backported into `ruby_2_2` branch at r50626. nagachika (Tomoyuki Chikanaga)
06:31 PM Revision 3a35a8e9 (git): merge revision(s) 50404,50405: [Backport #10975]
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syse...
nagachika (Tomoyuki Chikanaga)
06:05 PM Bug #11065: Ruby 2.2.2 fails to build on Cygwin64: static function, utoa, in ext/-test-/printf/printf.c has different signature in system stdlib.h.
Backported into `ruby_2_2` at r50625. nagachika (Tomoyuki Chikanaga)
06:02 PM Revision d15084fb (git): merge revision(s) 50305: [Backport #11065]
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [B...
nagachika (Tomoyuki Chikanaga)
05:59 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Backported into `ruby_2_2` branch at r50624. nagachika (Tomoyuki Chikanaga)
05:59 PM Revision e197429a (git): merge revision(s) 50206: [Backport #10724]
* vm.c (vm_exec): check other events when RETURN is thrown.
[Bug #10724]
* test/ruby/test_settrace...
nagachika (Tomoyuki Chikanaga)
05:43 PM Bug #11051: Addrinfo#marshal_load がメモリーリーク
Backported into `ruby_2_2` at r50623. nagachika (Tomoyuki Chikanaga)
05:42 PM Revision 645b4e11 (git): merge revision(s) 50187,50202: [Backport #11051]
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
gi...
nagachika (Tomoyuki Chikanaga)
05:18 PM Bug #10952: Clarify BigDecimal license
Backported into `ruby_2_2` branch at r50622. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision f0f734fd (git): merge revision(s) 50185: [Backport #10952]
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nagachika (Tomoyuki Chikanaga)
05:15 PM Bug #11000: r50071以降、Solarisにてext/-test-/file/fs.cのコンパイルができない
Backported into `ruby_2_2` branch at r50621. nagachika (Tomoyuki Chikanaga)
05:15 PM Bug #10998: TestIO#test_seek fails in chroot with Linux 3.19
Backported into `ruby_2_2` branch at r50621. nagachika (Tomoyuki Chikanaga)
05:15 PM Revision c92fa1fd (git): merge revision(s) 50071,50088: [Backport #10998] [Backport #11000]
* ext/-test-/file/fs.c (get_fsname): return filesystem name by
statfs/statvfs. [ruby-core:68624] [Bug #109...
nagachika (Tomoyuki Chikanaga)
05:03 PM Bug #11035: Calling #hash method: inconsistency between dynamic and static symbols
Backported into `ruby_2_2` branch at rr50620. nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #10979: Hash fails to distinguish 0.0 & -0.0
Backported into `ruby_2_2` branch at rr50619. nagachika (Tomoyuki Chikanaga)
05:02 PM Revision 92e97984 (git): merge revision(s) 50182,50183: [Backport #11035]
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
...
nagachika (Tomoyuki Chikanaga)
05:01 PM Revision c758d631 (git): merge revision(s) 49999,50000: [Backport #10979]
* hash.c (rb_any_hash): use same hash values with Float#hash so
that -0.0 and +0.0 will be identical.
...
nagachika (Tomoyuki Chikanaga)
04:37 PM Revision 3de8b4be (git): * 2015-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 PM Revision 5ea16ea6 (git): * debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:23 PM Bug #11172 (Closed): Windowsでmode: ab+の時に開いたファイルの内容が読めない
Windowsでopen("hoge.txt", "ab+")すると、開いたファイルの既存の内容が読めません。
File::APPEND|File::CREAT|File::RDWR|File::BINARYでも同様です。
U...
naruse (Yui NARUSE)
11:28 AM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Daniel Berger wrote:
> Abandoned all hope:
>
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5796
...
duerst (Martin Dürst)
11:07 AM Revision 8b5ffc36 (git): win32.c: suppress a warning
* win32/win32.c (rb_w32_write_console): fix the type to suppress a
warning of difference in signedness.
git-svn-id...
nobu (Nobuyoshi Nakada)
09:39 AM Bug #11171 (Closed): ruby.1で表示される更新日を内容の最終更新日と合わせてほしい
Applied in changeset r50615.
----------
man: updated
* man/*.1: updated dates in man pages.
[ruby-dev:48988] [Bug...
nobu (Nobuyoshi Nakada)
07:22 AM Bug #11171 (Closed): ruby.1で表示される更新日を内容の最終更新日と合わせてほしい
ruby.1は2014年12月15日にGCに関する説明が追加されているのですが、更新日は記載追加前の2012年11月7日のままになっているので、これをコミット日に修正しても問題ないものでしょうか?
2012年11月15日より後の...
hemge (Yoko Ando)
09:38 AM Revision 81750737 (git): man: updated
* man/*.1: updated dates in man pages.
[ruby-dev:48988] [Bug #11171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
09:36 AM Revision aaa12359 (git): common.mk: update-man-date
* common.mk (update-man-date): update last date in man pages.
* tool/vcs.rb (VCS#modified): returns last modified ti...
nobu (Nobuyoshi Nakada)
09:36 AM Revision 80000c53 (git): file2lastrev.rb: format for modified
* tool/file2lastrev.rb: add optional argument to --modified, for
strftime format.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
09:36 AM Revision b8081c7c (git): file2lastrev.rb: all ARGV
* tool/file2lastrev.rb: output for each arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50612 b2dd03c8-...
nobu (Nobuyoshi Nakada)
07:58 AM Revision 8009794c (git): rake.1: removed
* man/rake.1: rake has been gemified. [Feature #11025]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50611 b2dd...
nobu (Nobuyoshi Nakada)
02:19 AM Feature #11170: [PATCH] use ivar indices for generic ivars
+1.
T_CLASS/T_MODULE can use same technique, but it seems not so many use-cases.
ko1 (Koichi Sasada)
01:35 AM Feature #11170: [PATCH] use ivar indices for generic ivars
Attached standalone test script, increase "ulimit -n" as necessary.
normalperson (Eric Wong)
01:34 AM Feature #11170 (Closed): [PATCH] use ivar indices for generic ivars
* [PATCH 1/2] variable.c: extract common functions for generic ivar
http://80x24.org/spew/m/4e9df8a150a121c894fe14...
normalperson (Eric Wong)

05/22/2015

09:47 PM Bug #11166: thread becames broken after unsuccessful system() or Process.spawn() call
Seems same behavior since 1.9. nobu (Nobuyoshi Nakada)
10:42 AM Bug #11166 (Closed): thread becames broken after unsuccessful system() or Process.spawn() call
Applied in changeset r50600.
----------
process.c: do not discard status
* process.c (rb_spawn_process): do not dis...
nobu (Nobuyoshi Nakada)
06:13 PM Revision 7ceb9ecc (git): * win32/win32.c (rb_w32_write_console): should return the count of
actually eaten characters, include escape sequences.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50610 b2dd03...
U.Nakamura
05:44 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Hi Matz,
Yukihiro Matsumoto wrote:
> Is there any real-world use-case for the proposal?
I've wanted this featu...
spatulasnout (B Kelly)
03:28 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Abandoned all hope:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5796
https://www.ruby-forum.com...
djberg96 (Daniel Berger)
12:43 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Hi,
Is there any real-world use-case for the proposal?
It seems
```ruby
def foo?
@foo
end
```
i...
matz (Yukihiro Matsumoto)
05:37 PM Revision 3f4aab16 (git): * win32/win32.c (constat_apply): fixed comment. [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:26 PM Revision a1147b91 (git): * 2015-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 511a9f79 (git): fix indent (tabify) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:26 PM Revision 9bab9d50 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:37 PM Revision 2c686723 (git): * lib/matrix.rb: Styling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:36 PM Revision d2487ed4 (git): * lib/prime.rb: Remove obsolete Prime.new
patch by Ajay Kumar. [Fixes GH-891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50604 b2dd03c8-39d4-4d8f-98ff-...
Marc-Andre Lafortune
12:13 PM Revision 3a08b7e2 (git): intern.h: move rb_sym_all_symbols
* include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols`
to a symbol.c specific section. a part of patch ...
nobu (Nobuyoshi Nakada)
12:10 PM Revision c7b63ec8 (git): test_parse.rb: move assertions
* test/ruby/test_module.rb (test_remove_class_variable): move an
assertion for Module#remove_class_variable from te...
nobu (Nobuyoshi Nakada)
11:57 AM Revision b53d547f (git): * complex.c (f_complex_polar): simple bug reproduced only when y is
a float but x is not a float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50601 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
11:45 AM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
Priority field and Assignee field is for use of ruby-core team, not for reporters.
DON'T TOUCH THEM!
usa (Usaku NAKAMURA)
11:17 AM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
Calling the GC several times before forking the process solves the issue and I am quite surprised. I have also run th... tkalmus (Thomas Kalmus)
07:55 AM Feature #11164 (Assigned): Garbage collector in Ruby 2.2 provokes unexpected CoW
usa (Usaku NAKAMURA)
10:42 AM Revision 46c64caf (git): process.c: do not discard status
* process.c (rb_spawn_process): do not discard global escape
status. [ruby-core:69304] [Bug #11166]
* process.c (r...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #10903: [PATCH] Matrix#zip returns a matrix
Hi, sorry I missed your proposal until now, and thanks for the patch.
Could you explain in what kind of circumstan...
marcandre (Marc-Andre Lafortune)
08:29 AM Bug #11169 (Feedback): Symbol not found: _rb_str_new_static
Seems you are running 2.0.0 with an extension library for 2.2.
Check your ruby's version.
nobu (Nobuyoshi Nakada)
08:05 AM Bug #11169 (Rejected): Symbol not found: _rb_str_new_static
when i'm running **rails server** i'm getting this message below:
~~~
Warning: You're using Rubygems 2.0.14 with ...
buihdk (Khoa Bui)
07:48 AM Revision 22417275 (git): * NEWS: added news for net-telnet and rake
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:37 AM Bug #11168 (Closed): object allocation during garbage collection phase when rake assets:precompile on 2.2.2
nobu (Nobuyoshi Nakada)
06:13 AM Bug #11168 (Closed): object allocation during garbage collection phase when rake assets:precompile on 2.2.2
I got this bug on ruby 2.2.2, after rollback to ruby 2.2.1. Everything is back to normal
~~~
[NOTE]
You may have...
wuboy (Ernest Wu)
 

Also available in: Atom