Activity
From 08/15/2015 to 08/21/2015
08/21/2015
-
11:57 PM Feature #7390 (Closed): Funny Falcon Threads
- Now, thread.rb is ported to thread_tools.c.
-
11:52 PM Feature #6962 (Closed): Use lighter hash structure for methods table, instance variable positions, constants
- Continue on Feature #11420.
-
11:47 PM Feature #6251 (Feedback): Magic comments for compile options
- I have no idea such magic comment is acceptable or not.
Matz's issue? -
11:45 PM Bug #6117 (Feedback): Transfers allowed into Fibers that have resumed into other fibers
-
11:42 PM Bug #9080 (Closed): ENV[key] produces three objects
- Please reopen if you feel it is worth to fix.
-
11:41 PM Bug #9287 (Feedback): 'rb_obj_write' discards qualifiers from pointer target type
- gcc のバージョンが変わったからか、
でなくなったんでしょうか。
http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20150821T230303Z.log.html.gz
-
11:36 PM Feature #8919 (Closed): Queue as embedded class
- Applied in changeset r51660.
----------
* ext/thread/thread.c: move definitions of Queue, SizedQueue
and ConditionalVariables to thread_tools.c. In other wowrds,
such classes are built-in.
[Feature #8919]
At first, I planned to ... - 11:36 PM Revision fc952dcb (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:36 PM Revision 0de5e1cb (git): * ext/thread/thread.c: move definitions of Queue, SizedQueue
- and ConditionalVariables to thread_tools.c. In other wowrds,
such classes are built-in.
[Feature #8919]
At first, I planned to embed only a Queue class.
However, rubygems requires 'thread.rb' (rubygems are
required at first, wh... -
10:30 PM Feature #11473: Immutable String literal in Ruby 3
- Jeremy Evans wrote:
>
> ...
It makes that frozen string literal can not have escape sequences such as "\n".
I feel the magic comment name and command line option name,
frozen-string-literal, denotes that all string literals frozen... -
08:50 PM Feature #11473 (Assigned): Immutable String literal in Ruby 3
- r51659 introduced a way to try this feature.
Have fun.
-
08:48 PM Feature #11473 (Closed): Immutable String literal in Ruby 3
- Applied in changeset r51659.
----------
* vm_opts.h, iseq.c, iseq.h: add compile option to force frozen
string literals.
[Feature #11473]
This addition is not specification change, but to try frozen
string literal world discusse... -
07:29 PM Feature #11473: Immutable String literal in Ruby 3
- Yusuke Endoh wrote:
> Objection, unless a bailout is provided.
> ...
Wow. Thanks for mentioning string building. It occurs to me I build
strings like this somewhat regularly:
sql = %{SELECT #{sec_id}, pt.path, st.doc_count }
... -
05:45 PM Feature #11473: Immutable String literal in Ruby 3
- Jeremy Evans wrote:
> +"" is not backwards compatible, "".dup is, as is String.new. I'm definitely against +"".
It will be backwards compatible, if we introduce it to Ruby 2.3 or 2.4. I don't think that Ruby 3.0 will be released be... -
05:30 PM Feature #11473: Immutable String literal in Ruby 3
- +"" is not backwards compatible, "".dup is, as is String.new. I'm definitely against +"".
One possible option would be to have "" be a mutable string, and '' be an immutable string. It doesn't make sense to have "" strings be immuta... -
05:15 PM Feature #11473: Immutable String literal in Ruby 3
- Objection, unless a bailout is provided.
`""` as a StringBuilder is acutally useful. `"".dup` is too tiring.
For example, how about make `String#+@` an alias to `String#dup`?
`+""` is also tiring, but better than nothing at all... -
03:57 PM Feature #11473: Immutable String literal in Ruby 3
- I see no reason why 2.3 cannot also have --error-frozen-strings. As an opt-in I think it will give people more of a chance to make sure their code works.
A second possible idea would be to add a lint to possibly flag interesting idio... -
03:28 PM Feature #11473: Immutable String literal in Ruby 3
- I would like to suggest a phased transition across several releases in Ruby 2.x (the specific version numbers and flag names are just examples):
1. In Ruby 2.3, it is possible to turn on warnings when mutating a String literal (--warn... -
01:52 AM Feature #11473: Immutable String literal in Ruby 3
- discussion on twitter:
https://twitter.com/yukihiro_matz/status/634386185507311616
-
01:31 AM Feature #11473 (Closed): Immutable String literal in Ruby 3
- Matz said "All String literals are immutable (frozen) on Ruby 3".
This ticket is place holder to discuss about that.
-
10:18 PM Feature #8976: file-scope freeze_string directive
- Jeremy Evans wrote:
> I don't think the magic comment approach for freezing string literals is a good idea. For ruby libraries that are maintained, the maintainers will change their code so that they work when string literals are froze... -
02:50 PM Feature #8976: file-scope freeze_string directive
- I don't think the magic comment approach for freezing string literals is a good idea. For ruby libraries that are maintained, the maintainers will change their code so that they work when string literals are frozen by default (in ruby 3...
-
07:43 AM Feature #8976: file-scope freeze_string directive
- Let us bring this two-year-aged very well matured feature proposal back to the table!
I would like to propose again to put this magic comment for freezing String literals into next version of Ruby.
## motivation
There are several ... -
08:47 PM Revision 7cf523c7 (git): * vm_opts.h, iseq.c, iseq.h: add compile option to force frozen
- string literals.
[Feature #11473]
This addition is not specification change, but to try frozen
string literal world discussed on [Feature #11473].
You can try frozen string literal world using this magical line:
RubyVM::Instr... -
08:45 PM Bug #11271: TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
- 考えてみると GC.disable の場合もあると思うので ObjectSpace.trace_object_allocations_stop で常に GC.start するのもよくないかもしれませんね。テストのほうで修正するというので良いと思います。 あとテストでの対応は GC.start するのでなくて、逆に GC.disable しておいて ObjectSpace.trace_object_allocations_stop 後の GC を抑制するという方法のほうが...
-
10:09 AM Bug #11271: TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
- 私も気づいていたのですが、見ないことにしておりました。
私自身だと、「テスト変えて解決としよう」と思いたいんですが、
それで利用上、問題ないですかね? - 05:56 PM Revision 42c3a677 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:55 PM Revision 226c6a1b (git): * ext/psych/*: update to Psych 2.0.14
- * test/psych/*: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 PM Bug #6981 (Closed): set_trace_func passes strange bindng on method call defined by define_method
- Ruby 2.1 solved this issue.
-
03:47 PM Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
- こちら、随分間をあけてしまって申し訳ありません。
気になるのは、
* 「hook を出来ない状態にして(つまり、現状)、disable のまま実行」
* 「hook を出来る状態にして、disable のまま実行」
の比較なのですが(つまり、enable で遅くなるのは、まぁ気にしない)、こちらお願い出来ますでしょうか。
あと、attr だけでいいんかな。
-
03:41 PM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
- Joe Merante wrote:
> To update, after manually triggering GC in step 3 above after processing every Temp object, or after processing every 10 Temp objects, we did not get the Ruby error. Maybe it's Nokogiri after all, will cross-post th... -
03:32 PM Bug #10968 (Closed): [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
- Please reopen if you got same error on 2.2.3.
- 03:31 PM Revision 2a1569d6 (git): * 2015-08-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 PM Revision 9c7bf949 (git): vm_insnhelper.c: use update argc
- * vm_insnhelper.c (vm_invoke_block): use ci->argc updated by
CALLER_SETUP_ARG(). [Bug #11451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:31 PM Feature #11346: New #intern_str or similarly-named method of Symbol to return a cached, frozen string (like "string".freeze)
- Any opinion?
-
03:23 PM Bug #11101: Forking is killing my memory when running GC
- Results on versions:
Without nakayoshi-fork:
```
ruby version 1.9.3
time pid message shared private
4.034s 25939 Parent pre GC 85 0
4.034s 25941 Child pre GC 85 0
8... -
03:17 PM Bug #11101: Forking is killing my memory when running GC
- Sorry for long absent.
Could you try https://rubygems.org/gems/nakayoshi_fork ?
With this gem, your script shows on my environment:
```
ruby version 2.3.0
time pid message shared private
4.021s 25883 Pare... -
12:42 PM Feature #11348: TracePoint API needs events for fiber's switching
- Koichi Sasada wrote:
> I agree to add 'switching' events so I try to commit it.
> ...
I'm on vacation right now will play with ruby-head early next week. -
09:55 AM Feature #11348 (Feedback): TracePoint API needs events for fiber's switching
- I agree to add 'switching' events so I try to commit it.
Could you try it and could you tell me "what" is not enough?
(Actually, I don't increase the number of events)
For example, how about to provide a method to know resume ch... -
09:51 AM Feature #11348 (Closed): TracePoint API needs events for fiber's switching
- Applied in changeset r51652.
----------
* include/ruby/ruby.h, cont.c, vm_trace.c: add a new event
fiber_switch. We need more discussion about this feature
so that I don't write it on NEWS.
[Feature #11348]
* test/ruby/test_settra... -
11:30 AM Feature #11158 (Closed): Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
- Applied in changeset r51654.
----------
* ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols.
[Feature #11158]
* symbol.c (rb_sym_immortal_count): added to count immortal symbols.
* symbol.h: ditto.
* test/objspace/te... -
11:30 AM Revision 885d781a (git): * ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols.
- [Feature #11158]
* symbol.c (rb_sym_immortal_count): added to count immortal symbols.
* symbol.h: ditto.
* test/objspace/test_objspace.rb: add a test for this method.
* NEWS: describe about this method.
git-svn-id: svn+ssh://ci.ruby-l... -
11:14 AM Feature #11475: AST transforms
- Nobuyoshi Nakada wrote:
> Do you have any ideas for the API?
My API idea is loosely based on the Rubinius' transform API, but without explicitly generating bytecode in the transform (that wouldn't be very portable, and it makes trans... -
10:45 AM Feature #11475: AST transforms
- Do you have any ideas for the API?
-
09:01 AM Feature #11475 (Open): AST transforms
- Even though Ruby is in many ways an acceptable Lisp, extending the language itself is a hard endeavour. By using reflection/meta-programming and taking advantage of its rich grammar, it's certainly possible to bend the language in extrem...
-
10:48 AM Feature #9018 (Closed): Make statically linked extensions easier to use
- Applied in changeset r51653.
----------
Makefile.sub: link libraries for extensions
* win32/Makefile.sub ($(LIBRUBY_SO)): needs additional libraries
for extension libraries to link statically.
[ruby-core:70499] [Feature #9018] -
05:56 AM Feature #9018: Make statically linked extensions easier to use
- So actually, it looks like there's a switch `--with-static-linked-ext` that can be used to link all the exts statically! The win32\Makefile.sub has a bug where it's not specifying all the libs needed by win32ole ext though.
I had to a... -
05:13 AM Feature #9018: Make statically linked extensions easier to use
- It looks like for the latter point (dummy file) we can actually use rb_provide! Ruby uses it to "fake" a module for back compat; for modules that were once external, but are now builtin. Like Complex, Rational, Enumerator.
~~~
void
... -
05:03 AM Feature #9018: Make statically linked extensions easier to use
- I agree with Lukas.
Nobu, only the builtin modules are linked into the binary and called at bootstrap:
inits.c:
~~~
void
rb_call_inits(void)
{
CALL(Method);
CALL(RandomSeed);
CALL(sym);
CALL(var_tables);... -
10:48 AM Revision 18d8ba25 (git): Makefile.sub: link libraries for extensions
- * win32/Makefile.sub ($(LIBRUBY_SO)): needs additional libraries
for extension libraries to link statically.
[ruby-core:70499] [Feature #9018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:11 AM Bug #11247: Should position of `using` affect the behavior?
- Okay, I'll fix it.
(I need to remember code about it...) -
10:06 AM Misc #11276: [RFC] compile.c: convert to use ccan/list
- Sorry for long absence about this ticket.
Your explanation is great so please commit it.
(I expect computation complexity by O(1), O(n) or something like that)
(I hope it may be similar linked list i know)
-
09:59 AM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- Actually r51649 is the fix. Sorry for the noise.
-
09:58 AM Bug #10046 (Closed): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- Resolved by r51650
-
09:51 AM Revision 3af5298e (git): * include/ruby/ruby.h, cont.c, vm_trace.c: add a new event
- fiber_switch. We need more discussion about this feature
so that I don't write it on NEWS.
[Feature #11348]
* test/ruby/test_settracefunc.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51652 b2dd03c8-39d4-4d8f-98... -
08:38 AM Bug #11451: MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
- Thank you for your reproducible script!
-
08:38 AM Bug #11451 (Closed): MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
- Applied in changeset r51651.
----------
* vm_insnhelper.c (vm_invoke_block): we should not expect ci->argc is
stable after invoking a block. [Bug #11451]
* test/ruby/test_yield.rb: add a test. This test script is given by
Alex Dowad. -
08:37 AM Revision 416aa459 (git): * vm_insnhelper.c (vm_invoke_block): we should not expect ci->argc is
- stable after invoking a block. [Bug #11451]
* test/ruby/test_yield.rb: add a test. This test script is given by
Alex Dowad.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Bug #11376: Stop using SSLv3 methods
- Is there any ETA of when I can expect this to be resolved? Do you need some help or more info?
I would like to see this fixed in Debian as soon as possible, because I would like to drop support for that and ruby is really my biggest ... -
07:54 AM Bug #11470 (Rejected): extra parens required for if/unless/rescue modifier expressions in single arg method invocations
- It's a spec.
-
05:56 AM Feature #8948: Frozen regex
- A patch is small.
```diff
Index: re.c
===================================================================
--- re.c (revision 51650)
+++ re.c (working copy)
@@ -2548,6 +2548,8 @@
if (!re->ptr) return -1;
RB_OBJ_WRITE(o... -
05:31 AM Feature #8948 (Assigned): Frozen regex
- There are two options:
1. Freeze only literal regexps
2. Freeze all of regexps
I like (2) because I have no idea to change regexp objects.
History of "Frozen":
* Ruby 2.0
* Integer (Bignum, Fixnum) https://bugs.ruby-lang.... -
05:46 AM Misc #11474: [META] Call for Feature Proposals for Ruby 2.3
- Koichi Sasada wrote:
> Yui NARUSE wrote:
> ...
I send the announce as a normal mail soon later. -
05:45 AM Misc #11474: [META] Call for Feature Proposals for Ruby 2.3
- Yui NARUSE wrote:
> This is meta ticket for Call for Feature Proposals for Ruby 2.3.
> ...
Deadline? -
05:44 AM Misc #11474 (Closed): [META] Call for Feature Proposals for Ruby 2.3
- This is meta ticket for Call for Feature Proposals for Ruby 2.3.
After you attach your slide to the related ticket, write ticket number as a comment here to avoid I miss it. -
01:31 AM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Here is my fix.
I also created a pull request:
https://github.com/ruby/ruby/pull/1005 -
12:39 AM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- I found the ticket which to request and discuss this feature. Thicket is #8887.
08/20/2015
-
10:30 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Yes, I was wrong. I missed this check in "nmin_filter":
~~~
if (data->curlen <= data->n)
return;
~~~
Which means that your patch will never execute the "nmin_filter" (that is where the bug lays) until it is called in... -
10:07 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Helder Pereira wrote:
> Leo Correa, I think your patch will fail for this example:
> ...
I made a test case for that and passed with [2, 4, 6, 7]
-
09:30 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- I suppose I found the problem. Taking the first example:
~~~
[20, 32, 32, 21, 30, 25, 29, 13, 14].min(2)
~~~
This will call the function "nmin_run" in the file "enum.c", which sets "bufmax" to 4 times the number of minimums (n) w... -
09:24 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Leo Correa, I think your patch will fail for this example:
~~~
[2, 4, 8, 6, 7].min(4) #=> [2, 4, 6, 8]
~~~ -
08:41 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- I have made a patch that seems to fix the issue for these cases. I'm not entirely sure why there was a multiplier for data.bufmax in the first place but it seemed to be the cause.
-
05:51 PM Bug #11471 (Closed): min, min_by, max, max_by with optional parameter return a wrong value
- This is reported in StackOverflow: http://stackoverflow.com/questions/32121749/why-20-13-14-min2-13-20. Sometimes `min`, `min_by`, `max`, `max_by` with an optional parameter return a wrong value.
[20, 32, 32, 21, 30, 25, 29, 13, 1... -
09:41 PM Bug #11367 (Closed): Use OP_NO_TICKET when testing SSL session cache callbacks - Applied in changeset r51649.
----------
* test/openssl/test_ssl_session.rb: Fix tests so that they take in to
account OpenSSL installations that have SSLv3 disabled by default.
Thanks Jeremy Evans <code@jeremyevans.net> for the patc... -
09:41 PM Bug #11366 (Closed): Don't force SSLv3 in test, as it is insecure and may not be supported - Applied in changeset r51649.
----------
* test/openssl/test_ssl_session.rb: Fix tests so that they take in to
account OpenSSL installations that have SSLv3 disabled by default.
Thanks Jeremy Evans <code@jeremyevans.net> for the patc... - 09:40 PM Revision e5ffa438 (git): * 2015-08-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:39 PM Revision f7af0318 (git): * test/openssl/test_ssl_session.rb: Fix tests so that they take in to
- account OpenSSL installations that have SSLv3 disabled by default.
Thanks Jeremy Evans <code@jeremyevans.net> for the patches.
[Bug #11366] [Bug #11367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51649 b2dd03c8-39d4-4d8f-98ff... -
08:26 PM Bug #11472 (Rejected): Some default gems are not installed if GEM_HOME is set during Ruby installation
- As of 2.2.3, the issue which I believe was fixed with [this commit](https://github.com/ruby/ruby/commit/ec171c45975b525bbe5d63b92f1521622aa05394) seems to be back: `minitest`, `test-unit`, and `power_assert` are not installed if `GEM_HOM...
-
04:27 PM Bug #11470 (Rejected): extra parens required for if/unless/rescue modifier expressions in single arg method invocations
- foo(1 if true) is not allowed requiring foo((1 if true))
also foo(1 unless true) foo(bar rescue 1)
-
04:22 PM Bug #11268: Zlib::DataError: incorrect header check
- I check the response from https://www.hoveround.com .
~~~
$ openssl s_client -connect www.hoveround.com:443
~~~
Request header
~~~
GET / HTTP/1.1
Host: www.hoveround.com
Accept-Encoding: gzip,deflate
~~~
Response
~... -
01:22 PM Revision 777f319d (git): fix indent (tabify) [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:19 PM Revision 0970a928 (git): vm_eval.c: redefined respond_to_missing?
- * vm_method.c (basic_obj_respond_to): call respond_to_missing?
only when redefined. [ruby-core:70460] [Bug #11465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:04 AM Bug #11469 (Closed): ArgumentError: wrong number of arguments (-1 for 1)
- I got an exception saying `ArgumentError: wrong number of arguments (-1 for 1)`. Obviously, `-1` is not a valid number of arguments, so I consider this a bug.
Unfortunately, I could not find a way to reproduce the issue, but it happen... -
07:02 AM Feature #6373: public #self
- -1
For me it would be better to accept #47 - it improves good old #tap and introduces a new #itself with block.
Copied here:
~~~
def tap
yield self if block_given?
self
end
def itself
if block_given?
yield sel... -
05:47 AM Bug #11037: Time Parse Documentation Incorrect - Undefined method getlocal
- Sory my careless mistake.
I correct mistake in test case. -
05:33 AM Bug #11037: Time Parse Documentation Incorrect - Undefined method getlocal
- ~~~ruby
md = MyDate.new(28, 10, 2010)
~~~
I don't believe that 2010/28/10 is a valid date. -
05:13 AM Bug #11465 (Closed): `Array#flatten` calls `to_ary` on objects with `method_missing` even if `respond_to_missing?(:to_ary)` returns `false`.
- Applied in changeset r51646.
----------
vm_eval.c: share with rb_obj_respond_to
* vm_eval.c (check_funcall_respond_to): share the behavior with
rb_obj_respond_to. [ruby-core:70460] [Bug #11465]
* vm_method.c (vm_respond_to): extract... -
05:13 AM Revision 629d26ef (git): vm_eval.c: share with rb_obj_respond_to
- * vm_eval.c (check_funcall_respond_to): share the behavior with
rb_obj_respond_to. [ruby-core:70460] [Bug #11465]
* vm_method.c (vm_respond_to): extract from rb_obj_respond_to and
merge r39881.
git-svn-id: svn+ssh://ci.ruby-lang.or...
08/19/2015
-
11:53 PM Revision 24da2db3 (git): vm_method.c: reuse method entry
- * vm_method.c (rb_obj_respond_to): reuse found method entry
instead of searching same entry repeatedly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 PM Revision 82da3da5 (git): win32.c: support known reparse points only
- * dir.c (replace_real_basename), win32/win32.c (opendir_internal):
check reparse point tags and treat supported tags only as
symbolic links. [ruby-core:70454] [Bug #11462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51644 b2d... -
04:34 PM Bug #11468 (Closed): Two mutexes leaked in Init_Thread
- 48 bytes each.
~~~
native_mutex_initialize(&th->vm->thread_destruct_lock);
native_mutex_initialize(&th->interrupt_lock);
~~~
~~~
+ 48 ( 48 - 0) 1 allocs BackTrace9CB2F14B
+ 1 ( 1 - 0)... -
04:29 PM Bug #11467 (Closed): Memory leak in win32 signal init
- 244 bytes leaked.
~~~
+ 244 ( 244 - 0) 1 allocs BackTrace9C86044B
+ 1 ( 1 - 0) BackTrace9C86044B allocations
ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv.h, 3625)
ntdl... -
04:25 PM Bug #11466 (Closed): Memory leak in win32 fill_random_bytes_syscall
- Leak of 608 bytes in this stack:
~~~
+ 608 ( 608 - 0) 1 allocs BackTrace9BD0704B
+ 1 ( 1 - 0) BackTrace9BD0704B allocations
ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv.... -
04:19 PM Bug #11459: Ruby leaks several MB of memory every setup/eval/cleanup cycle.
- Here's another big leak: This stack leaks nearly 1MB (~780K). When is Init_heap supposed to be undone?
~~~
+ 787080 ( 787080 - 0) 24 allocs BackTrace9BD000CB
+ 24 ( 24 - 0) BackTrace9BD000CB allocations
n... -
01:01 AM Bug #11459 (Closed): Ruby leaks several MB of memory every setup/eval/cleanup cycle.
- Even with a trivial eval "1" Ruby leaks about 2 MB or so after ruby_cleanup.
I've attached the raw list of leaks as reported by the CRT (I took a snapshot before ruby_setup and again after ruby_cleanup).
I've also attacked a few sa... -
03:15 PM Bug #11402: Seg Fault on intensive numeric calculation
- Kenta Murata wrote:
> Alexey, please give me your script to produce this issue.
The script is running on a daily basis. I upgraged bigdecimal to 1.2.7 and have not seen the exception since. - 03:01 PM Revision 126eb641 (git): * 2015-08-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 PM Revision 036fe23b (git): * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): add OP_ALL to
- existing options rather than just setting it. Some vendors apply
custom patches to their versions of OpenSSL that set default values
for options. This commit respects the custom patches they've
applied.
* test/openssl/test_ssl.r... -
02:59 PM Bug #11455 (Third Party's Issue): ./cycauto:116: [BUG] Segmentation fault at 0x00000000000050
- Seems a bug of RMagick2.
-
02:55 PM Bug #11463 (Closed): Process.spawn raises TypeError when passing hash with keys/vals other than strings
- Applied in changeset r51641.
----------
process.c: [DOC] env values in spawn [ci skip]
* process.c (rb_f_spawn): [DOC] elaborate environment variable
values. [ruby-core:70456] [Bug #11463] -
08:46 AM Bug #11463 (Closed): Process.spawn raises TypeError when passing hash with keys/vals other than strings
- ### expected:
~~~
head :001 > Process.spawn({"FOO" => 10}, "bash")
=> 13479
~~~
### got in reality:
~~~
head :001 > Process.spawn({"FOO" => 10}, "bash")
TypeError: no implicit conversion of Fixnum into String
~~~
This... -
02:55 PM Revision c670b75e (git): process.c: [DOC] env values in spawn [ci skip]
- * process.c (rb_f_spawn): [DOC] elaborate environment variable
values. [ruby-core:70456] [Bug #11463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Bug #11462 (Closed): win32 readlink doesn't support dedup
- Applied in changeset r51640.
----------
win32.c: support known reparse points only
* win32/win32.c (winnt_lstat): check reparse point tags and treat
supported tags only as symbolic links.
[ruby-core:70454] [Bug #11462] -
06:19 AM Bug #11462: win32 readlink doesn't support dedup
- Command line
~~~
'.\miniruby.exe -I./lib -I. ./tool/mkconfig.rb -timestamp=./.rbconfig.time -arch=x64-mswin64_120 -version="2.3.0" -install_name=ruby -so_name=x64-msvcr120-ruby230_d rbconfig.rb'
~~~ -
06:18 AM Bug #11462 (Closed): win32 readlink doesn't support dedup
- During build:
./tool/mkconfig.rb:13:in `require': Invalid argument @ rb_readlink - E:/dev/ruby/lib/fileutils.rb (Errno::EINVAL)
from ./tool/mkconfig.rb:13:in `<main>'
NMAKE : fatal error U1077: '.\miniruby.exe' : return code... -
02:48 PM Revision 006fad3f (git): win32.c: support known reparse points only
- * win32/win32.c (winnt_lstat): check reparse point tags and treat
supported tags only as symbolic links.
[ruby-core:70454] [Bug #11462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Bug #11465 (Closed): `Array#flatten` calls `to_ary` on objects with `method_missing` even if `respond_to_missing?(:to_ary)` returns `false`.
- I noticed this behavior while working on an issue reported on the Rails tracker: https://github.com/rails/rails/issues/21296
I put up a reproduction along with some details about the issue in a Gist: https://gist.github.com/senny/02ee93... -
10:14 AM Bug #11464 (Closed): ERB trimming doesn't trim carriage returns
- ERB trimming doesn't work if the .erb file was written on Windows (because Windows uses \r\n as line ending, whereas Linux uses only \n)
The implementation apparently only trims \n
~~~
ruby erbCarriageReturnBug.rb
~~~
Expected o... -
10:09 AM Feature #11454: FTP client misbehaves in the block passed to FTP#list when using passive mode
- Please note that update URL of Git Diff is: https://github.com/srikanthps/ruby/commit/9b7f5d9bfd653bd2829620682eeef67f2e0bbdea
Srikanth Shreenivas wrote:
> I think in my proposed change:
> ...
- 07:57 AM Revision eb2d0cf8 (git): * 2015-08-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 AM Revision 0bf77265 (git): io.c: initialize variable
- * io.c (rb_io_each_codepoint): fix use of uninitialized variable.
[Bug #11444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 AM Bug #11461 (Closed): Remove backtracing cleaning on Delegator methods
- This improve the performance in 18 times when the delegated method raises some exception and in 15% for the success case.
Here a benchmark result with a simpler script: (The backtrace have less than 10 items)
require 'delegate'... -
01:51 AM Feature #11460 (Closed): Unhelpful error message when naming a module with the same name as an existing class
- # Summary
The error message when naming a module with the same name as an existing class causes more trouble then it helps.
# Steps to Reproduce
~~~
class X;end
module X;end
=> TypeError: X is not a module
~~~
# Expected Resu...
08/18/2015
-
05:08 PM Feature #11454: FTP client misbehaves in the block passed to FTP#list when using passive mode
- I think in my proposed change:
~~~
yield lines
~~~
should be
~~~
lines.each { |line| yield line }
~~~
I have prepared the changes in my fork - link given below -
https://github.com/srikanthps/ruby/commit/9b7f5d9bfd653b... -
04:48 PM Revision 6a13cf00 (git): bump version to 2.2.4.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 PM Bug #4487: require_relative fails in an eval'ed file
- This is actually very pertinent for Rack as well, because currently config.ru does not support require_relative which is very counterintuitive.
-
01:55 PM Revision a627fdfa (git): merge revision(s) 49014:
- * tool/downloader.rb: support old versions of ruby.
* tool/downloader.rb: now can download gems by http if openssl is not
available (this may be danger!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@... -
01:22 PM Bug #11458 (Third Party's Issue): SEGMENTATION FAULT during Redmine Deploy
- Hi Everyone,
I'm trying to configure Redmine on production Windows Server running IIS 7. No problem with Web Platform Installer, no problem during Ruby installation.
When Redmine start for the first time, the DEPLOY return this error:
... - 01:02 PM Revision 0bdadc5b (git): * version.h: forgotten to update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@51630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:01 PM Revision 2d3a8b38 (git): * 2015-08-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@51629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:01 PM Revision ec54e643 (git): merge revision(s) 50829: [Backport #11248]
- * lib/rubygems.rb: bump version to 2.0.14.1. this version fixed
CVE-2015-3900.
* lib/rubygems/remote_fetcher.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900
git-svn-id: svn+ssh://ci.ruby-lang... - 12:56 PM Revision 9ce1bf8f (git): merge revision(s) 50829: [Backport #11248]
- * lib/rubygems.rb: bump version to 2.4.5.1. this version fixed
CVE-2015-3900.
* lib/rubygems/remote_fetcher.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900
git-svn-id: svn+ssh://ci.ruby-lang... -
11:22 AM Bug #11457 (Closed): miniruby SEGVs on CentOS 5
- Applied in changeset r51626.
----------
* thread_pthread.c (reserve_stack): ensure the memory is really
allocated. [Bug #11457] -
11:03 AM Bug #11457 (Closed): miniruby SEGVs on CentOS 5
- minirubyがCentOS 5 (64bit) でSEGVするやつです。
http://rubyci.s3.amazonaws.com/centos5-64/ruby-trunk/log/20150818T093302Z.log.html.gz#miniversion
パッチ見ればわかりますが原因はr49452です。
2.1と2.2にはバックポートされているようだけど、2.0.0には入っていないと思う。 -
11:21 AM Revision 3816f757 (git): * thread_pthread.c (reserve_stack): ensure the memory is really
- allocated. [Bug #11457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 AM Revision 968edaae (git): merge revision(s) 51534:
- * numeric.c (Init_Numeric): Fix document for Float::MIN and
Float::EPSILON.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:34 AM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- バックポート用メモ
`ruby_2_2` の HEAD ( ruby 2.2.3p171 (2015-08-17 revision 51619)) においては以下はいずれも syntax error になりません。
```ruby
{foo: ("" rescue "")}
{foo: (1 rescue 0)}
{foo: /=/}
```
#10653 の修正である r51617 によって表れる現象だと思われますので、r51617 の back... -
08:19 AM Bug #11456 (Closed): Hash リテラル中で rescue をもちいると SyntaxError になる
- Applied in changeset r51624.
----------
parse.y: fix labelarg
* parse.y (IS_BEG): include labeled argument state, which was
EXPR_LABELARG. [ruby-dev:49221] [Bug #11456] -
04:13 AM Bug #11456 (Closed): Hash リテラル中で rescue をもちいると SyntaxError になる
- ruby 2.3.0dev (2015-08-18 trunk 51622) にて、Hash リテラル中で rescue をもちいると SyntaxError になりました。
まず、ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13] の実行結果です。
~~~ruby
% irb
irb(main):001:0> {foo: ("" rescue "")}
=> {:foo=>""}
~... -
08:19 AM Revision 0958af2a (git): parse.y: fix labelarg
- * parse.y (IS_BEG): include labeled argument state, which was
EXPR_LABELARG. [ruby-dev:49221] [Bug #11456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 0eca2290 (git): ruby.h: define RClass only in C
- * include/ruby/ruby.h (RClass): define only in C, `__attribute__`
between `struct` and the name can't compile with g++.
[ruby-core:70297] [Bug #11426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51623 b2dd03c8-39d4-4d8f-98ff-8... -
04:30 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- I didn't notice the notes from [DevelopersMeeting20150514Japan](https://docs.google.com/document/u/1/d/1kEsXwy0X046Z0RqsvWv6O-gJ-tLY91Mc0vDHYZoJE1M/pub) before so I'll link to my original musings about `Hash#include?` which later evolved...
-
04:08 AM Bug #11453 (Third Party's Issue): sigabort when attempting to 'vagrant up'
- ~~~
3 libruby.2.1.0.dylib 0x0000000103cca499 sigsegv + 153
4 libsystem_platform.dylib 0x00007fff97e31f1a _sigtramp + 26
5 libruby.2.0.0.dylib 0x00000001042c00fa rb_newobj + 31
~~~
Y... -
03:46 AM Bug #11451 (Assigned): MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
-
02:41 AM Bug #11426 (Closed): moving RClass does shows warning even if RClass itself is not used
- Applied in changeset r51621.
----------
ruby.h: adjust for g++
* include/ruby/ruby.h (RClass): move `__attribute__` after the
keyword `struct` for g++. [ruby-core:70297] [Bug #11426] -
02:37 AM Bug #11426: moving RClass does shows warning even if RClass itself is not used
- OK, `g++` does reject `__attribute__` between `struct` and a name, while `gcc` allows.
~~~
$ cat a.c
__attribute__((deprecated)) struct a;
$ gcc -c a.c
$ g++ -c a.c
a.c:1:36: warning: attribute ignored in declaration of 'struct a... - 02:41 AM Revision a3636753 (git): * 2015-08-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 AM Revision 49389fe5 (git): ruby.h: adjust for g++
- * include/ruby/ruby.h (RClass): move `__attribute__` after the
keyword `struct` for g++. [ruby-core:70297] [Bug #11426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/17/2015
-
09:55 PM Bug #11455 (Third Party's Issue): ./cycauto:116: [BUG] Segmentation fault at 0x00000000000050
- ~~~
./cycauto:116: [BUG] Segmentation fault at 0x00000000000050
ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu]
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0017 e:000016 CFUNC :write
... -
08:48 PM Feature #11454 (Closed): FTP client misbehaves in the block passed to FTP#list when using passive mode
- If a block is passed to "FTP#list" method, and if we try to download a binary file using "getbinaryfile" inside the block, and if the "passive" flag is set to "true", then the FTP client seems to get confused in reading the server respon...
-
05:56 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Oh, thanks for telling!
-
04:08 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Usaku NAKAMURA wrote:
> ruby_2_1 r51620 merged revision(s) 51575,51584.
This issue is about two different bugs. r49405 to r49408 need to be backported too. -
02:28 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- ruby_2_1 r51620 merged revision(s) 51575,51584.
-
02:03 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Backported into `ruby_2_2` branch at r51618.
-
05:38 PM Bug #11453 (Third Party's Issue): sigabort when attempting to 'vagrant up'
- 'vagrant up' on a Mac 10.10.5 with ruby 2.2.2p95, chefdk 0.7.0 and vagrant 1.7.4 yields a sigabort.
~~~
Bringing machine 'default' up with 'virtualbox' provider...
The following berks command failed to execute:
/Users/grunh... - 02:27 PM Revision 911ade36 (git): merge revision(s) 51575,51584: [Backport #11439]
- * ext/win32/lib/win32/registry.rb (API#SetValue): add terminator
size, not 1 byte. [ruby-core:70365] [Bug #11439]
* ext/win32/lib/win32/registry.rb (API#SetValue): data size should
be in bytes, not in chars.... -
02:22 PM Bug #11248: Backport r50829
- r51619 で `ruby_2_2` ブランチにバックポートしました。
Gem::VERSION は "2.4.5.1" にしておきました。
-
02:20 PM Revision c7326111 (git): merge revision(s) 50829: [Backport #11248]
- * lib/rubygems.rb: bump version to 2.4.5.1. this version fixed
CVE-2015-3900.
* lib/rubygems/remote_fetcher.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900
git-svn-id:... -
02:06 PM Bug #11452 (Third Party's Issue): Stability issues with glibc-2.22
- Originally, I reported the issues with recent glibc stability in Fedora's tracker [1]. Unfortunately, there has not been made a big progress yet, but it seems that the issues might be due to incorrect use of condvars [2]. Is there any ch...
-
02:02 PM Revision 776c8182 (git): merge revision(s) 51575,51584: [Backport #11439]
- * ext/win32/lib/win32/registry.rb (API#SetValue): add terminator
size, not 1 byte. [ruby-core:70365] [Bug #11439]
* ext/win32/lib/win32/registry.rb (API#SetValue): data size should
be in bytes, not in chars.... -
01:46 PM Feature #11191: Add #to_h method to OptionParser
- https://github.com/nobu/ruby/tree/feature/11191-optparse-into
-
01:03 PM Bug #11071: Stack consistency error while using RSpec and Timecop
- This is fixed by the patch I just posted for #11451.
-
01:00 PM Bug #11451: MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
- Sorry, I forgot to say... THANKS to Xavier Shay for finding this problem!
-
12:59 PM Bug #11451 (Closed): MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
- Dear Ruby people,
How are you? The other day, someone reported that a gem I maintain was crashing under MRI 2.2.2. I traced it through with GDB, found where it was going wrong, and wrote a tiny little patch which makes the crash go aw... -
12:39 PM Bug #11426: moving RClass does shows warning even if RClass itself is not used
- i am building this:
https://github.com/Hanmac/rwx
the error happen when i do:
~~~
cd ext
ruby extconf.rb (there are already the warnings in the mkmf.log)
~~~
and when i do
~~~
make
~~~
then the warning does appear for... -
12:32 PM Bug #11426: moving RClass does shows warning even if RClass itself is not used
- I've misread as that the warnings are shown when compiling ruby.
What's your *binding*?
Please explain exact steps to reproduce. -
12:12 PM Bug #11450 (Closed): HTTPHeader.content_range throws error on non-byte units
- I ran into an issue with HTTPHeader.content_range today when interacting with an REST API that used Range and Content-Range with units other than "bytes". It used "items" instead to let the API user to say how many data items should be r...
-
11:57 AM Bug #10653 (Closed): do-end block in ternary operator is syntax error
- Applied in changeset r51617.
----------
parse.y: fix block after conditional
* parse.y: fix syntax error at do-block after a conditional
operator. separate label-allowed and after-a-label states from
others as bit flags. [ruby-de... -
11:56 AM Revision 94b1db5d (git): parse.y: fix block after conditional
- * parse.y: fix syntax error at do-block after a conditional
operator. separate label-allowed and after-a-label states from
others as bit flags. [ruby-dev:48790] [Bug #10653]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51617 ... -
11:56 AM Revision 23352f62 (git): parse.y: revert arg in r47649
- * parse.y (arg): revert a part of r47649.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 AM Bug #11413: String#split with wchar string
- ruby_2_1 r51615 merged revision(s) 51470.
note: removed LIKELY macro. - 08:58 AM Revision 26eb8e4b (git): merge revision(s) 51470: [Backport #11413]
- * re.c (rb_memsearch): should match only char boundaries in wide
character encodings. [ruby-core:70220] [Bug #11413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:55 AM Bug #11283: Block assigned implicitly
- I agree with you, chikanaga-san.
-
08:55 AM Bug #11324: Encoding to a String's own encoding with some options fails
- ruby_2_1 r51614 merged revision(s) 51116.
- 08:55 AM Revision 4bf78945 (git): merge revision(s) 51116: [Backport #11324]
- * transcode.c (rb_econv_set_replacement): target encoding name can
be empty now. [ruby-core:69841] [Bug #11324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Bug #10967: Is "warning: private attribute?" wrong?
- Ok, I follow you, chikanaga-san!
-
08:53 AM Bug #9381: 2.1.0 Regression. Hash lookup with #hash and #eql?
- ruby_2_1 r51613 merged revision(s) 51423,51425.
- 08:52 AM Revision 170f64d6 (git): merge revision(s) 51423,51425: [Backport #9381]
- test_hash.rb: add assertions
* test/ruby/test_hash.rb (test_wrapper_of_special_const): test
other special obejcts. [Bug #9381]
* hash.c (rb_any_hash): fix Float hash. rb_dbl_hash() returns a
Fixnum, but not... -
08:50 AM Bug #11441: Ruby 2.1 で TCPServer.new(port) がエラーになる場合 TypeError になる
- ruby_2_1 r51612 merged revision(s) 44497.
- 08:50 AM Revision 445954a4 (git): merge revision(s) 44497: [Backport #11441]
- * ext/socket/socket.c (rsock_syserr_fail_host_port): use format flags,
'+' to inspect, ' ' to quote unprintables.
* ext/socket/socket.c (rsock_syserr_fail_path): ditto.
* ext/socket/socket.c (rsock_syserr_fail... - 08:45 AM Revision 813b5f43 (git): merge revision(s) 51066: [Backport #11319]
- * io.c (rb_io_oflags_modestr): handle O_TRUNC correctly
* test/ruby/test_io.rb (test_reopen_stdio): new test
Patch-by: cremno phobia <cremno@mail.ru>
[ruby-core:69779] [Bug #11319]
git-svn-id: svn+ssh://ci.... -
08:43 AM Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
- ruby_2_1 r51610 merged revision(s) 51046.
-
08:43 AM Bug #11448: Requiring a given library may take 23x longer depending on `require` context
- i think that has something to do that each required gem does increase the $LOAD_PATH,
and how longer the load path is, it takes more time to require something.
that what i think does explain it. (its sad but i dont know a better way)... - 08:42 AM Revision 190241f3 (git): merge revision(s) 51046: [Backport #11260]
- * lib/net/ftp.rb (makeport): close the TCPServer
when sending the port fails.
* test/net/ftp/test_ftp.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51610 b2dd03c8-39d4-4d8f-98ff-82... -
08:40 AM Bug #11058: [PATCH] Net::HTTPResponse#read_body raises TypeError when receiving empty gzipped response body
- ruby_2_1 r51609 merged revision(s) 46681,51464,51465.
note: r46681 was not backported into `ruby_2_1`, so it is also backported with these changes. - 08:39 AM Revision a5ffcdae (git): merge revision(s) 46681,51464,51465: [Backport #11058]
- * lib/net/http/response.rb (Net::HTTPResponse.each_response_header):
raise first exception even if inflate_body_io.finish raises error.
when begin block raises error, finish usually raises error too.
* lib/ne... -
08:30 AM Bug #10910: NoMethodError when opening SSL connection with OpenSSL::SSL::VERIFY_PEER set and anonymous ciphers allowed
- ruby_2_1 r51608 merged revision(s) 51409,51453.
note: changed a little to get rid of conflicts. - 08:30 AM Revision d3cd7b48 (git): merge revision(s) 51409,51453: [Backport #10910]
- * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): raise a more
helpful exception when verifying the peer connection and an
anonymous cipher has been selected. [ruby-core:68330] [Bug #10910]
Thanks to Chris ... -
08:13 AM Bug #11340: Windows で Timeout.timeout を使って Process.waitpid を監視しても timeout が正しく動かない
- ruby_2_1 r51607 merged revision(s) 51202,51203,51204.
- 08:13 AM Revision bd929bb4 (git): merge revision(s) 51202,51203,51204: [Backport #11340]
- * win32/win32.c (waitpid): return immediately if interrupted.
reported by <takkanm AT gmail.com> [ruby-dev:49176] [Bug #11340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51607 b2dd03c8-39d4-4d8f-98ff-823fe6... -
08:12 AM Revision 9a8c6f6e (git): LEGAL: adjust style
- * LEGAL: remove asterisk decorations and adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Bug #11380: Parser regression in 2.3?
- ruby_2_1 r51605 merged revision(s) 51350.
- 08:10 AM Revision 510bdd15 (git): merge revision(s) 51350: [Backport #11380]
- * parse.y (lambda_body): pop cmdarg stack for lookahead
token. [ruby-core:70067] [Bug #11380]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Bug #11368: Fix LocalJumpErrors being raised in OpenSSL tests
- ruby_2_1 r51604 merged revision(s) 51531.
- 08:05 AM Revision d3a6478d (git): merge revision(s) 51531: [Backport #11368]
- * test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised
in OpenSSL tests. [ruby-core:70020][Bug #11368]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:56 AM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
- 2.1も2.2と同じ形でbackportしました。(r51603)
- 07:55 AM Revision ccef579a (git): merge revision(s) 51213: [Backport #11344]
- * lib/timeout.rb (ExitException): removed internal exception class
and use Timeout::Error instead, as using throw/catch to isolate
each timeouts now. [ruby-dev:49179] [Bug #11344]
git-svn-id: svn+ssh://ci.ruby-lang... -
07:50 AM Bug #11285: Net::HTTP should handle content-coding with case-insensitive
- ruby_2_1 r51602 merged revision(s) 51061,51063,51091.
- 07:50 AM Revision 9580200f (git): merge revision(s) 51061,51063,51091: [Backport #11285]
- * lib/net/http/response.rb (inflater): CONTENT_ENCODING can be upper
case. [ruby-core:69670] [Bug #11285] patched by Andy Chu
* test/net/http/test_httpresponse.rb
(HTTPResponseTest#test_read_body_content_encodi... -
07:47 AM Bug #11352: Sample code Garbage collection dies with an address is T_NONE
- ruby_2_1 r51601 merged revision(s) 51263,51264.
- 07:47 AM Revision 59f1eaaf (git): merge revision(s) 51263,51264: [Backport #11352]
- * vm.c (m_core_hash_merge_ptr): copy the arguments to the machine
stack before rewinding the control frame pointer and leaving the
arguments outside valid region of the value stack.
[ruby-core:69969] [Bug #1... -
07:44 AM Bug #11387: String#force_encoding と String#reverse の後にSEGV
- ruby_2_1 r51600 merged revision(s) 51344.
- 07:44 AM Revision 51954bd2 (git): merge revision(s) 51344: [Backport #11387]
- * string.c (rb_str_reverse): reversed string is not a substring,
and should not set coderange of the original string.
[ruby-dev:49189] [Bug #11387]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51600... -
07:42 AM Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
- ruby_2_1 r51599 merged revision(s) 49788,49790.
note: changed a little to get rid of conflicts. - 07:41 AM Revision a61756e0 (git): merge revision(s) 49788,49790: [Backport #10904]
- * lib/time.rb (strptime): Support %s.%N.
[ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
- ruby_2_1 r51598 merged revision(s) 51037.
- 07:23 AM Revision 7766666a (git): merge revision(s) 51037: [Backport #11277]
- * transcode.c (load_transcoder_entry): fix transcoder loading race
condition, by waiting in require. [ruby-dev:49106] [Bug #11277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51598 b2dd03c8-39d4-4d8f-98ff-8... -
07:21 AM Bug #11235: [BUG] Segmentation fault
- ruby_2_1 r51597 merged revision(s) 50827,50921.
- 07:21 AM Revision b2bb0294 (git): merge revision(s) 50827,50921: [Backport #11235]
- * array.c (ary_ensure_room_for_push): check if array size will
exceed maxmum size to get rid of buffer overflow.
[ruby-dev:49043] [Bug #11235]
* array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto.
... -
07:15 AM Bug #10820: Win32 Registry Delete uses ANSI instead of Wide APIs
- ruby_2_1 r51596 merged revision(s) 49542.
- 07:15 AM Revision e9ea9d65 (git): merge revision(s) 49542: [Backport #10820]
- * ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide
versions of RegDeleteValue and RegDeleteKey.
[ruby-core:67958] [Bug #10820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51596 b2dd... -
05:00 AM Bug #11449 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- ~~~
4 ruby 0x00000001078f60f3 sigsegv + 83
5 libsystem_platform.dylib 0x00007fff9a62ef1a _sigtramp + 26
6 ??? 000000000000000000 0 + 0
7 libruby.2.0.0.dylib ... - 02:57 AM Revision 4cbf4f9e (git): * 2015-08-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:57 AM Revision 84bf320b (git): io.c: raise at incomplete char
- * io.c (rb_io_each_codepoint): raise an exception at incomplete
character before EOF when conversion takes place. [Bug #11444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 AM Feature #1667: IO#codepoints, IO#each_codepoint, and StringIO
- Why is "an incomplete character before EOF" ignored?
~~~c
if (more_char(fptr) == MORE_CHAR_FINISHED) {
clear_readconv(fptr);
/* ignore an incomplete character before EOF */
return io;
}
~~~
08/16/2015
-
11:35 PM Bug #11449 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- You may have encountered a bug in the Ruby interpreter or extension libraries.
-
08:33 AM Revision e9f7e1c2 (git): * gems/bundled_gems: update latest version of bundled gems.
- It includes minitest-5.8.0 and test-unit 3.1.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:25 AM Revision 9291d265 (git): * 2015-08-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:25 AM Revision 79eb53dc (git): * gc.c (gc_mark_children): check if RCLASS_EXT is valid
- before marking. This fixes the following test failure
introduced in r51126:
make test-all TESTOPTS='--gc-stress ruby/test_refinement.rb'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 AM Bug #11448 (Closed): Requiring a given library may take 23x longer depending on `require` context
- I was trying to narrow down the longest things to require during Rails boot when I stumbled on this.
Add two lines in `securerandom.rb` in order to output the time taken to `require 'openssl'`:
~~~
# -*- coding: us-ascii -*-
be...
08/15/2015
-
06:31 PM Bug #11413: String#split with wchar string
- Backported into `ruby_2_2` branch at r51590.
-
06:30 PM Revision 65f49d2d (git): merge revision(s) 51470: [Backport #11413]
- * re.c (rb_memsearch): should match only char boundaries in wide
character encodings. [ruby-core:70220] [Bug #11413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 PM Bug #11396: Bad performance in ruby >= 2.2 for Hash with many symbol keys
- Thank you for testing the patch on `ruby_2_2` branch.
r51410 was backported into `ruby_2_2` branch at r51589. -
06:10 PM Revision 343b2aa6 (git): merge revision(s) 51410: [Backport #11396]
- * symbol.h (struct RSymbol): add hashval field
* symbol.c (dsymbol_alloc): setup hashval field once
* hash.c (rb_any_hash): return RSymbol->hashval directly
* common.mk: hash.o depends on symbol.h
Tha... -
10:54 AM Bug #11443: DNS name resolution takes twice as long as it should when primary name server is unavailable
- Doing an strace I can see the DNS lookup occurs twice (with and without a failing name server):
~~~
[pid 32129] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 7
[pid 32129] connect(7, {sa_family=AF_INET, sin_port=htons(53),... -
04:34 AM Revision 13f33b22 (git): ossl_ssl.c: check SSL method name
- * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version): SSL method
name must not contain NUL. preserve the encoding of message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:34 AM Revision 33e39a76 (git): use assert_raise
- * test/openssl/test_ssl.rb: use assert_raise instead of a
deprecated method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:32 AM Revision b5a5cd60 (git): use rb_sym2str
- * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version): use
rb_sym2str to get rid of inadvertent ID creations.
* ext/socket/ancdata.c (ancillary_inspect): ditto.
* ext/socket/option.c (sockopt_inspect): ditto.
git-svn-id: svn+ssh://... -
03:30 AM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- Thank you for fixing this, and in less than 24 hours!
-
01:15 AM Bug #11444 (Closed): STDIN.each_codepoint hangs indefinitely on certain codepoints
- Applied in changeset r51583.
----------
io.c: read more data
* io.c (rb_io_each_codepoint): read more data when read partially.
[ruby-core:70379] [Bug #11444] -
02:30 AM Revision a19830c4 (git): range.c: call range_include directly if possible
- * range.c (range_eqq): trivial optimization to jump to
range_include directly if the method is not redefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 AM Revision c5196e24 (git): win32/registry.rb: size in bytes
- * ext/win32/lib/win32/registry.rb (API#SetValue): data size should
be in bytes, not in chars. [ruby-core:70365] [Bug #11439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 AM Revision cfa7550b (git): io.c: read more data
- * io.c (rb_io_each_codepoint): read more data when read partially.
[ruby-core:70379] [Bug #11444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 AM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Ethan Brown wrote:
> I still believe the logic in `SetValue` should be `size ||= data.size + WCHAR_SIZE` given the data has been encoded as `WCHAR` there...
That's only half correct. It actually has to be `size ||= data.bytesize + WC...