Activity
From 08/10/2015 to 08/16/2015
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...
08/14/2015
-
11:33 PM Misc #11447 (Rejected): [PATCH] iseq: move iseq->body->mark_ary to iseq->mark_ary
- Do not touch here. This dummy field will be used other purpose.
-
07:29 PM Misc #11447 (Rejected): [PATCH] iseq: move iseq->body->mark_ary to iseq->mark_ary
- Having an unused dummy field is ugly and wasteful. mark_ary was
chosen here since it is often touched at a different point in
execution (GC) than during normal execution of the iseq code.
The GC performance impact is is probably im... -
09:48 PM Bug #11445 (Rejected): Ruby 1.9.3 - StringIO clone method creates new instance but somehow connected with the original instance
- 1.9 has finished.
-
12:11 PM Bug #11445 (Rejected): Ruby 1.9.3 - StringIO clone method creates new instance but somehow connected with the original instance
- In Ruby 1.9.3 cloned `StringIO` instance has influence on close state of original instance:
~~~ruby
require 'stringio'
sio1 = StringIO.new( 'abc' )
sio2 = sio1.clone
sio2.read
sio1.pos # => 3, expected 0
sio2.close
sio1.... -
07:52 PM Feature #11405 (Closed): [PATCH] hash.c: minor speedups to int/fixnum keys - Applied in changeset r51582.
----------
hash.c: improve integer/fixnum hashing
The low bits of Ruby object IDs are rarely populated in the current
implementation, so ensure the get used.
Early versions of this patch redundantly shifte... - 07:52 PM Revision 14470aa6 (git): hash.c: improve integer/fixnum hashing
- The low bits of Ruby object IDs are rarely populated in the current
implementation, so ensure the get used.
Early versions of this patch redundantly shifted static symbols in
any_hash, causing regresions with static symbols in hash_aref... - 07:23 PM Revision e7bb5d44 (git): iseq.c (rb_iseq_mark): reduce NULL checks
- iseq_location_setup always sets path, label and base_label fields,
and the only caller of iseq_location_setup (prepare_iseq_build) will
always pass non-nil `name' and `path' arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5... - 07:14 PM Revision ea476e36 (git): * 2015-08-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:14 PM Revision 48f64fd6 (git): ChangeLog: add reference for r51576 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:40 PM Feature #11446 (Open): Possible work around for the requirement to supplying arguments like this: .map(&:method, <arguments>)
- Any chance this [work around](http://stackoverflow.com/questions/23695653/can-you-supply-arguments-to-the-mapmethod-syntax-in-ruby/23711606#23711606) can be considered to be part of the language. Seems to be a pretty neat.
NB: Matz se... -
03:27 PM Bug #11336 (Closed): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
- memo:
r51576 fixes the bug (+ r51578 suppresses warning message)
r51268 is reverted by r51576
-
08:33 AM Bug #11336 (Open): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
- I think the patch http://80x24.org/spew/m/1437379741-6844-1-git-send-email-e@80x24.org.txt is better not only for Solaris but also for other OSs.
-
11:01 AM Feature #11297: Allow private method of self to be called
- Yukihiro Matsumoto wrote:
> It changes the concept of private methods a little. It's OK to merge the patch if the document is updated at the same time..
It does change it, but it makes it much simpler in my opinion. It is basically ... -
10:38 AM Revision 8b5f22c1 (git): thread_pthread.c: suppress a warning
- * thread_pthread.c (native_stop_timer_thread): explicit type of
old value to suppress a pointer-sign warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:51 AM Revision 260a7d2c (git): method.h: cast checks to int for >= 0 checks
- Setting VM_CHECK_MODE to 1 in vm_core.h makes noisy warnings
otherwise. AFAIK, the signedness of enums is
implementation-dependent, and GCC considers them unsigned and
warns.
Tested on gcc 4.7.2 (Debian 4.7.2-5)
* method.h (METHOD_ENT... - 09:44 AM Revision f224fecc (git): improve handling of timer thread shutdown
- Shutting down the timer thread now always closes pipes to free FDs.
In fact, we close the write ends of the pipes is done in the main
RubyVM to signal the timer thread shutdown.
To effectively close pipes, we implement userspace locks v... -
09:42 AM Bug #11439 (Closed): Win32 Registry corruption when writing REG_MULTI_SZ values
- Applied in changeset r51575.
----------
win32/registry.rb: terminator size
* ext/win32/lib/win32/registry.rb (API#SetValue): add terminator
size, not 1 byte. [ruby-core:70365] [Bug #11439] -
09:42 AM Revision 51336eda (git): win32/registry.rb: terminator size
- * ext/win32/lib/win32/registry.rb (API#SetValue): add terminator
size, not 1 byte. [ruby-core:70365] [Bug #11439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:40 AM Revision cac0f9be (git): win32/registry.rb: make @@type2name an array
- * ext/win32/lib/win32/registry.rb (@@type2name): make an array
instead of a hash, keys are sequential numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:50 AM Bug #11283: Block assigned implicitly
- The change of define_method's behavior is added into NEWS file at r50971. I think this is a spec change even thought original behavior is confusing.
-
07:42 AM Bug #11324: Encoding to a String's own encoding with some options fails
- Backported into `ruby_2_2` branch at r51573.
-
07:42 AM Revision 62550b1d (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_2@51573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:45 AM Bug #10967: Is "warning: private attribute?" wrong?
- Hmm, I don't know it's a bug fix or a spec change, but I think it's a trivial issue. I decided to not to backport to 2.2. Please notice if any objections.
-
06:37 AM Bug #9381: 2.1.0 Regression. Hash lookup with #hash and #eql?
- I additionally backport r51425 into `ruby_2_2` branch at r51572.
-
06:37 AM Revision 640c135c (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... -
06:21 AM Bug #10705: JSON::ParserError#message is wrong encoding (ASCII-8BIT)
- r50339, r50340, r50342 and r50343 were backported into `ruby_2_2` branch at r51571.
-
06:20 AM Revision 4fe4f465 (git): merge revision(s) 50339,50340,50342,50343: [Backport #10705]
- parser.rl: use StringValue
* ext/json/parser/parser.rl (cParser_initialize): use StringValue
instead of direct rb_convert_type and remove duplicate
conversion.
* ext/json/parser/parser.rl: raise with messages in UTF-... -
05:59 AM Bug #11442: Bug: Symbols should be taintable.
- After some additional testing, I've come to the conclusion that Symbols cannot be tainted (example below). I expect this may be due to the fact that symbols have a dual meaning. 1) They are a String because we want them to be human-reada...
-
04:35 AM Bug #11442 (Closed): Bug: Symbols should be taintable.
- Subject: String#to_sym returns an untainted Symbol.
Taint checking can be subverted by a String if a tainted String is converted to a Symbol. After experiencing this issue, I went looking for unit tests in ruby/ruby, ruby/mspec, and r... -
05:40 AM Bug #11444 (Closed): STDIN.each_codepoint hangs indefinitely on certain codepoints
- Piping certain Unicode data into Ruby and calling `each_codepoint` on `STDIN` results in a hang. Control-c does not exit, but control-z will. I've tested this in 2.2.0, 2.2.2, and trunk.
Please see https://gist.github.com/cantino/48... -
05:23 AM Feature #11390: Allow symbols starting with numbers
- Sameer Deshmukh wrote:
> Currently it is not possible to create a symbol that looks like `:1twothree`.
> ...
The non-quoted symbol format follows the same naming rules as variables (local, instance, class, global), methods, and constan... -
04:42 AM Bug #11443 (Closed): DNS name resolution takes twice as long as it should when primary name server is unavailable
- On linux /etc/resolv.conf can be configured to set the timeout of a nameserver before trying the next one (defaults to 5 seconds). So in the event of a failed name server we expect the time taken to resolve a hostname will be timeout + q...
- 02:59 AM Revision 161848b8 (git): * 2015-08-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 AM Revision a829577a (git): test_ssl_session.rb: check SSL method
- * test/openssl/test_ssl_session.rb (test_ctx_server_session_cb):
ensure the method to be tested is supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/13/2015
-
04:54 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Ah I did not realize that strings all implicitly null-terminated. Thanks for that explanation cremno phobia - that makes sense. That would also explain why I could repro only against `REG_MULTI_SZ` but not against `REG_SZ`.
I feel l... -
04:05 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- This code relies on the fact that Ruby strings are [implicitly null-terminated](https://github.com/ruby/ruby/blob/v2_1_6/string.c#L87-L94). Otherwise you'd always have to either create a copy or modify the original when calling functions...
-
04:02 PM Bug #11439: Win32 Registry corruption when writing REG_MULTI_SZ values
- Since this is a corruption that depends on the memory state of the environment (whether or not it's zeroed), you might want to increase the number of iterations, or change the random string length in my reproduction case.
I can reprod... -
03:31 PM Bug #11439 (Feedback): Win32 Registry corruption when writing REG_MULTI_SZ values
- It seems working with the trunk.
-
07:37 AM Bug #11439 (Closed): Win32 Registry corruption when writing REG_MULTI_SZ values
- A simple reproduction of the problem that breaks on first corrupted write:
~~~ruby
require 'win32/registry'
root = Win32::Registry::HKEY_CURRENT_USER
root.create('SOFTWARE\rubyfail') do |reg|
1000.times do |i|
value = ('a... -
03:56 PM Bug #11441 (Closed): Ruby 2.1 で TCPServer.new(port) がエラーになる場合 TypeError になる
- 2.2以降の修正はr44497です。
-
01:17 PM Bug #11441 (Closed): Ruby 2.1 で TCPServer.new(port) がエラーになる場合 TypeError になる
- `TCPServer.new(port)` がエラーになる場合、Ruby 2.1 だけ TypeError になってしまいます。
```
% ruby -v -rsocket -e 'TCPServer.new(123)'
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
-e:1:in `initialize': no implicit conversion of nil into Stri... -
03:53 PM Bug #11319: "w+" is interpreted as "r+" when reopening stdio streams
- Backported into `ruby_2_2` branch at r51568
-
03:53 PM Revision 9c038005 (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.... -
02:43 PM Revision bcf1fcfe (git): test/rubygems: clear hooks
- * test/rubygems/test_gem_commands_pristine_command.rb (setup):
clear post_install hook to fix failures when running parallel to
test_gem_commands_install_command.rb with -j option.
* test/rubygems/test_gem_commands_uninstall_command... -
01:49 PM Revision b0f2785d (git): timeout.rb: freeze a string message
- * lib/timeout.rb (Timeout#timeout): freeze a string message to
reduce string allocations. [Fix GH-996]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Bug #11440 (Rejected): [BUG] Segmentation fault at 0x00000000000418
- >5 libruby.2.0.0.dylib 0x00000001076be49f ruby_xmalloc + 17
You mixed another version of ruby. Please report to rvm's issue. -
10:43 AM Bug #11440 (Rejected): [BUG] Segmentation fault at 0x00000000000418
- /Users/dkd-neyraud/.rvm/gems/ruby-2.1.5/gems/oily_png-1.1.2/lib/oily_png/oily_png.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
-- Crash Report log information ---... -
08:43 AM Revision d22a09e1 (git): * vm_core.h (rb_call_info_kw_arg_bytes): move the definition
- to iseq.h because this function is shared with iseq.c and compile.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Bug #11438 (Assigned): native_thread_init_stack() get machine.stack_start unequal to thread's stack start address, x86 win32
- In function native_thread_init_stack() use VirtualQuery to get thread's stack start address.But some situation(ruby embbed in other application and initial it on the fly),native_thread_init_stack() will be called at low stack address and...
-
07:22 AM Revision 9e524c68 (git): thread.c: freeze masks
- * thread.c (rb_thread_s_handle_interrupt, rb_uninterruptible):
freeze mask hashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:57 AM Bug #11410: Win32 Registry enumeration performs unnecessary string re-encoding which cause UndefinedConversionError exceptions
- I think the best solution here is to use UTF-8 strings wherever possible. If a program needs to use locale, then let the program decide to do that. I don't think Ruby should be making encoding decisions for a user like this, given Ruby...
-
05:36 AM Revision f830ace8 (git): object.c: rb_num_to_dbl
- * object.c (rb_num_to_dbl): move from num2dbl_with_to_f in math.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision 235e7738 (git): id_table.c: TOKEN_PASTE
- * id_table.c (IMPL1): use TOKEN_PASTE, and prevent `op' from
expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision df62ca9c (git): defines.h: tweaks of function alias macros
- * include/ruby/defines.h (RUBY_ALIAS_FUNCTION_TYPE): cast the
result to suppress warnings.
* include/ruby/defines.h (RUBY_ALIAS_FUNCTION_VOID): minimize if
possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51561 b2dd03c8-... -
03:34 AM Revision 17fab2d6 (git): test_gc.rb: dump hung up process
- * test/ruby/test_gc.rb (test_interrupt_in_finalizer): kill hung
up process by SIGSEGV to dump the backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:29 AM Bug #11437 (Closed): IO.pipe problem on windows console
- # this code copy from Open3.popen3
def mm(cmd)
opts = {}
in_r, in_w = IO.pipe
opts[:in] = in_r
in_w.sync = true
out_r, out_w = IO.pipe
opts[:out] = out_w
pid = spawn(cmd,... - 12:02 AM Revision efef2c63 (git): load.c (features_index_add): avoid repeat calculation
- Reduce cognitive overhead, eye strain and keep lines less than 80
columns to benefit users of giant fonts (honestly I prefer 64 column
wrap :P).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/12/2015
- 11:44 PM Revision ccdcaf6b (git): * 2015-08-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:43 PM Revision 243ab2a2 (git): load.c: match comment with variable (`e' => `ext') [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:40 PM Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
- Backported into `ruby_2_2` branch at r51556.
-
04:40 PM Revision b76dad51 (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_2@51556 b2dd03c8-39d4-4d8f-98ff-82... -
04:23 PM Bug #11058: [PATCH] Net::HTTPResponse#read_body raises TypeError when receiving empty gzipped response body
- Backported into `ruby_2_2` branch at r51555.
-
04:23 PM Revision 070afc69 (git): merge revision(s) 51464,51465: [Backport #11058]
- * lib/net/http/response.rb (Net::HTTPResponse#inflater):
fix TypeError. An exception object might be nil.
[ruby-core:68846] [Bug #11058]
* lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish):
... -
03:17 PM Bug #10910: NoMethodError when opening SSL connection with OpenSSL::SSL::VERIFY_PEER set and anonymous ciphers allowed
- r51409 and r51453 were backported into `ruby_2_2` branch at r51554.
-
03:16 PM Revision 04a567fb (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 ... -
02:59 PM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- Backported into `ruby_2_2` branch at r51553.
-
02:58 PM Revision 6cf3dc31 (git): merge revision(s) 50104,50105: [Backport #10906]
- * ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
ruby itself (including numeric.c) is built with strict compile
options including -std=iso9899:1999, but ext/date is not.
By the way -std=is... -
02:55 PM Bug #11340: Windows で Timeout.timeout を使って Process.waitpid を監視しても timeout が正しく動かない
- Backported into `ruby_2_2` branch at r51552.
-
02:55 PM Revision 388215e3 (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_2@51552 b2dd03c8-39d4-4d8f-98ff-823fe6... -
02:28 PM Bug #11430: Redefining a lazy-loaded variable in child context within RSpec spec causes crash
- Andrew Wong wrote:
> I had something like the following in my spec. While not great code design, it does successfully crash Ruby.
> ...
I can reproduce this if I run `rspec your_source.rb`, but not with `ruby /path/to/rspec your_source... -
01:25 PM Revision bf783276 (git): test_gc.rb: abort hung up process
- * test/ruby/test_gc.rb (test_interrupt_in_finalizer): abort hung
up process to dump the backtrace instead of terminating.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:20 PM Revision 2c3b813b (git): id_table.c: prefix first
- * id_table.c (IMPL): prepend id_table to the argument before its
expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 PM Revision 17613125 (git): * id_table.c: IMPL() macro accept op as _opname instead of opname
- because jemalloc seems to replace the word `free' to `je_free'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:51 PM Revision e5149149 (git): * id_table.c (mix_id_table_insert): fix memory leak.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Feature #11435 (Closed): [RFC] iseq: implement memsize for wrapper - Applied in changeset r51547.
----------
iseq.c (iseq_memsize): reimplement for wrapper
* iseq.c (iseq_memsize): reimplement for wrapper
(param_keyword_size): extracted from iseq_memsize
(iseqw_mark): new mark function
(iseqw_data... -
01:45 AM Feature #11435: [RFC] iseq: implement memsize for wrapper
- It seems nice.
We can also add RUBY_TYPED_WB_PROTECTED.
BTW, I can change implementation of ISeq object in future.
But now, your patch is reasonable.
-
12:47 AM Feature #11435 (Closed): [RFC] iseq: implement memsize for wrapper
- I noticed this was disabled in the recent refactoring.
This patch implementation seems to return smaller sizes
than I expected, so maybe that is the result of improvements
and moving data around or likely I missed something.
Only l... - 12:18 PM Revision 7630957e (git): iseq.c (iseq_memsize): reimplement for wrapper
- * iseq.c (iseq_memsize): reimplement for wrapper
(param_keyword_size): extracted from iseq_memsize
(iseqw_mark): new mark function
(iseqw_data_type): new data type
(iseqw_new): wrap as iseqw_data_type
(iseqw_check): adjust for ... - 12:16 PM Revision b3abb691 (git): hoist out rb_call_info_kw_arg_bytes to inline function
- * vm_core.h (rb_call_info_kw_arg_bytes): extract from compile.c
* compile.c (iseq_build_callinfo_from_hash): use above function
This will be use for implementing iseq_memsize
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51546 b2dd... -
11:08 AM Bug #11380: Parser regression in 2.3?
- Thank you!
Please don't forget to also backport to ruby_2_1, because #11107 which caused this regression was backported to ruby_2_1 aswell. -
09:59 AM Bug #11436: Date parsing probably doesn't match for the longest regular expression
- I've realised that that there are methods on the date like strptime which give me a fine-grained control of the date parsing, so maybe this catch-all parse method is greedy by design.
Perhaps it could just be mentioned in the document... -
09:12 AM Bug #11436 (Closed): Date parsing probably doesn't match for the longest regular expression
- If you parse a string 'Edinburg Fringe' with the Date::parse method, you'll get the date of next Friday in Edinburgh time zone.
Some of our tests are failing for this reason. I expect that parse is matching the argument via a regular ... -
09:00 AM Revision 2e2bd1c2 (git): * class.c (move_refined_method): same as the last commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 AM Revision 408fa5e6 (git): * class.c, gc.c vm.c: use ID_TABLE_* instead of ST_*
- (such as ST_CONTINUE) for enum rb_id_table_iterator_result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:44 AM Revision 8ac3bf18 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:44 AM Revision a1755902 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Feature #11420 (Closed): Introduce ID key table into MRI
- Applied in changeset r51541.
----------
* id_table.h: introduce ID key table.
[Feature #11420]
This table only manage ID->VALUE table to reduce overhead of st.
Some functions prefixed rb_id_table_* are provided.
* id_table.c: impl... -
08:43 AM Revision c35ff11a (git): * id_table.h: introduce ID key table.
- [Feature #11420]
This table only manage ID->VALUE table to reduce overhead of st.
Some functions prefixed rb_id_table_* are provided.
* id_table.c: implement rb_id_table_*.
There are several algorithms to implement it.
Now, there... -
03:51 AM Revision ce5196b2 (git): test_gc.rb: timeout of test_interrupt_in_finalizer
- * test/ruby/test_gc.rb (test_interrupt_in_finalizer): leave
timeout to invoke_ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision bac6ef1b (git): envutil.rb: abort at timeout
- * test/lib/envutil.rb (invoke_ruby): abort at timeout and show the
backtrace of the target process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/11/2015
- 08:35 PM Revision 46b511ce (git): * 2015-08-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:35 PM Revision 2c80c949 (git): rb_parser_compile_*: remove volatile arg
- RB_GC_GUARD is sufficient to prevent tail call optimization from
making the object invisible from GC., and we don't need to
encourage more volatile usage.
* parse.y (rb_parser_compile_cstr): remove volatile arg
(rb_parser_compile_stri... -
08:20 PM Feature #11420: Introduce ID key table into MRI
- Ah, I have important notice.
Now, I'm checking method table with Ruby's method definitions and Ruby's method invocations. They are heavy operations, so that they can hide overhead of table operations (but st was slow :p).
So if we ... -
08:16 PM Feature #11420: Introduce ID key table into MRI
- > Koichi Sasada, did you measure performance of mix approach compared to hash?
I made micro benchmark set.
```ruby
require 'objspace'
require 'benchmark'
$results = []
insert_perf = []
hit_perf1 = []
hit_perf2 = []
miss_pe... -
04:20 PM Feature #11420: Introduce ID key table into MRI
- Koichi Sasada, did you measure performance of mix approach compared to hash?
Perhaps, threshold should be set to lower value than 32. -
01:11 PM Feature #11420: Introduce ID key table into MRI
- 
-
01:02 PM Feature #11420: Introduce ID key table into MRI
- I added `mix' data structure.
https://github.com/ko1/ruby/blob/f965b9bb3fc42cebb0dc30461a44bcf8fb550452/id_table.c
I measured another script.
```ruby
$classes = []
M = 40
10_000.times{|i|
defs = (1..M).map{|e|
"def m#{e... -
04:09 PM Bug #11368: Fix LocalJumpErrors being raised in OpenSSL tests
- Backported into `ruby_2_2` branch at r51536.
-
03:14 AM Bug #11368 (Closed): Fix LocalJumpErrors being raised in OpenSSL tests
- Applied in changeset r51531.
----------
* test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised
in OpenSSL tests. [ruby-core:70020][Bug #11368] -
04:08 PM Revision 3a78ff20 (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_2@51536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:04 PM Bug #11433: Backport r51532 (rb_ary_repeated_permutation: fix buffer size)
- Backported into `ruby_2_2` branch at r51535.
-
01:07 PM Bug #11433 (Closed): Backport r51532 (rb_ary_repeated_permutation: fix buffer size)
- This is a ticket for backport management.
r51532 fixed unnessesary large memory allocation in Array#repeated_permutation in trunk.
-
04:03 PM Revision f2edb94e (git): merge revision(s) 51532: [Backport #11433]
- * array.c (rb_ary_repeated_permutation): fix buffer size, ALLOCV_N
already multiplies element size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision 11dde777 (git): * numeric.c (Init_Numeric): Fix document for Float::MIN and
- Float::EPSILON.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Bug #11434: test_try_ldflag_invalid_opt fails when ruby is not installed
- This is the content of mkmf.log:
~~~
"gcc -o conftest -I. -I/builddir/build/BUILD/ruby-2.0.0-p645/.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-2.0.0-p645/include/ruby/backward -I/builddir/build/BUILD/ruby-2.0.0-p645/include... -
01:16 PM Bug #11434 (Rejected): test_try_ldflag_invalid_opt fails when ruby is not installed
- This test fails when building Ruby package:
~~~
$ make test-all TESTS="-n /test_try_ldflag_invalid_opt/"
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fex... -
07:23 AM Bug #11432 (Rejected): Segmentation fault at 0x00000000000418
- You should report to rvm: https://github.com/rvm/rvm
-
06:59 AM Bug #11432: Segmentation fault at 0x00000000000418
~~~
4 libruby.2.0.0.dylib 0x0000000104c4049f ruby_xmalloc + 17
~~~
You mixed ruby 2.2 and 2.0.
this ticked will be rejected-
06:47 AM Bug #11432 (Rejected): Segmentation fault at 0x00000000000418
- Hey there, I am receiving a segmentation fault. I tried reinsalling 2.2.1p85 to 2.2.2, but it still says I have 2.2.1p85. Also when I try running rails server I get the segmentation fault. Anyway, here are the errors
-- Crash Report l... -
06:22 AM Revision 471e3a30 (git): ruby.h: check integer overflow
- * include/ruby/ruby.h (ALLOCV_N): check integer overflow, as well
as ruby_xmalloc2. pointed out by Paul <pawlkt AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Revision 0a8a3215 (git): array.c: fix buffer size
- * array.c (rb_ary_repeated_permutation): fix buffer size, ALLOCV_N
already multiplies element size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 AM Bug #11393: segfault on trivial application, embedding in C app.
- Yes, ruby_sysinit() was the key! Thanks.
-
03:13 AM Revision c7dc6a34 (git): * 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/trunk@51531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:56 AM Bug #11427 (Closed): Fix documentation for String#slice
- Applied in changeset r51530.
----------
* string.c: Fix documentation for String#slice
[ruby-core:70298][Bug #11427] -
02:56 AM Revision d5f479ca (git): * string.c: Fix documentation for String#slice
- [ruby-core:70298][Bug #11427]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision d311b7d0 (git): parse.y: optional superclass
- * parse.y (superclass): make superclass rule optional and allow
any contents without a terminator. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision 8322c36a (git): * string.c: [DOC] Make #end_with? example doc symmetry
- with #start_with? [fix GH-992][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 AM Revision a6cf2a94 (git): * test/ruby/test_array.rb: Add test for `Array#flatten` with level 1
- [fix GH-986] Patch @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 AM Revision 54a8318e (git): * enum.c: added doc for Enumerable#zip
- [fix GH-985] Patch by @yui-knk
* test/ruby/test_enum.rb: added tests for Enumerable#zip
[fix GH-985] Patch @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:34 AM Revision 6114b0a4 (git): * 2015-08-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 AM Revision 0e8d7f89 (git): * vm_method.c: typo fix [fix GH-993][ci skip] Patch by @0x0dea
- * test/ruby/test_refinement.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 AM Feature #11431: [PATCH] rb_parser_compile_*: remove volatile arg
- It would hurt nothing.
-
12:07 AM Feature #11431 (Open): [PATCH] rb_parser_compile_*: remove volatile arg
- RB_GC_GUARD is sufficient to prevent tail call optimization from
making the object invisible from GC., and we don't need to
encourage more volatile usage.
Will commit in a few days unless there are objections.
08/10/2015
-
11:26 PM Feature #11429: Local variable assignment via regex ===
- They are different stories.
Enabling assignment via `Regexp#===` doesn't mean it via `when`. -
08:42 PM Feature #11429 (Open): Local variable assignment via regex ===
- Currently, this assigns the `username` variable:
```ruby
/(?<username>.*)@.*\..*/ =~ "seanlinsley@example.com"
```
But this does not:
```ruby
/(?<username>.*)@.*\..*/ === "seanlinsley@example.com"
```
If it did, it would ... -
09:27 PM Bug #11430 (Closed): Redefining a lazy-loaded variable in child context within RSpec spec causes crash
- I had something like the following in my spec. While not great code design, it does successfully crash Ruby.
~~~ruby
let(:my_hash) do
{
key_one: 'val_one'
}
end
subject { post :create, my_hash, format: :json }
conte... -
06:18 PM Bug #11423: ruby_cleanup does not reset initialized flag
- nobu@ruby-lang.org wrote:
> That cycle is not guaranteed until MVM is supported.
Is MVM still on the roadmap? [ruby-core:64626]
I may take another look at cleaning up internals for MVM -
05:11 PM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
- r51523 で `ruby_2_2` への r51213 の backport + Timeout::ExitException の Timeout::Error の別名として追加を行いました。
-
05:08 PM Revision 40270906 (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]
* lib/timeout.rb (ExitExcep... -
04:55 PM Bug #11382: Keyword arguments randomly nullified
- I've tried with 2.2.0-dev and it worked. Thanks!
-
03:20 AM Bug #11382 (Closed): Keyword arguments randomly nullified
- Hello, Thank you for your report.
I think it is related to #11027 and already finxed on trunk and ruby_2_2 branch HEAD.
~~~
$ ruby -v bug11382.rb
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
a: "A", b: nil, othe... -
04:47 PM Bug #11285: Net::HTTP should handle content-coding with case-insensitive
- r51061, r51063 and r51091 were backported into `ruby_2_2` branch at r51522.
-
04:47 PM Revision 3b90cf70 (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... -
04:32 PM Bug #11411: Crash in rb_gc_mark() during Rails app boot with GC.stress=1
- The fixes are backported into `ruby_2_2` branch at r51521 (for #11352).
-
04:31 PM Bug #11352: Sample code Garbage collection dies with an address is T_NONE
- Backported into `ruby_2_2` branch at r51521.
-
04:31 PM Revision e49c2e35 (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... -
04:29 PM Bug #11418: spawn segfaults
- Because,
> Until 2.2, this has not appeared since `Process.spawn` didn't use `ALLOCV_N`.
Other methods storing `VALUE`s in `ALLOCV`ed buffers may cause segfaults. -
03:03 PM Bug #11418: spawn segfaults
- Hi, nakada san.
> Maybe unnecessary before 2.2.
But Backport field was filled with REQUIRED for 2.0.0 and 2.1. Which is your intention?
Anyway, I try to reproduce the issue on ruby_2_2 branch with the following patch.
~~~
In... -
04:19 PM Bug #11387: String#force_encoding と String#reverse の後にSEGV
- Backported into `ruby_2_2` branch at r51520.
-
04:19 PM Revision 00d49999 (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_2@51520... -
04:09 PM Bug #11389: Regression in method parameter parsing
- r51350 was backported into ruby_2_2 branch at r51519.
-
04:08 PM Bug #11380: Parser regression in 2.3?
- Backported into `ruby_2_2` branch at r51519.
-
04:08 PM Revision 8fcdc4e2 (git): merge revision(s) 51350: [Backport #11380] [Backport #11389]
- * 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_2@51519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Bug #11426: moving RClass does shows warning even if RClass itself is not used
- "gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)" shipped with Ubuntu
EDIT: i fixed the warning with doing this:
```c
#define RClass RClassDeprecated
struct DEPRECATED_TYPE(("RClass is internal use only"),
RClass {
struct RBasic ba... -
01:57 PM Bug #11426 (Feedback): moving RClass does shows warning even if RClass itself is not used
- What version of `gcc`?
-
07:13 AM Bug #11426 (Closed): moving RClass does shows warning even if RClass itself is not used
i got the following warning when i want to build my binding with using ruby from trunk
~~~
/usr/local/rvm/rubies/ruby-head/include/ruby-2.3.0/ruby/ruby.h:827:16: warning: attribute ignored in declaration of ‘struct RClassDeprecat...-
03:35 PM Bug #11342 (Feedback): ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
- r50089 was backported into `ruby_2_2` branch at r51518. But I don't change Backport field because this ticket is not `Closed` yet.
-
03:34 PM Bug #11342 (Closed): ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
- Applied in changeset backport22:r51518.
----------
merge revision(s) 50089: [Backport #11342]
* ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
but it is a dummy.
* ext/socket/option.c: Solaris 11 doesn't hav... -
01:53 AM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
- Anyway, I'll backport r50089 into `ruby_2_2` branch later.
-
03:33 PM Revision 23f12a06 (git): merge revision(s) 50089: [Backport #11342]
- * ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
but it is a dummy.
* ext/socket/option.c: Solaris 11 doesn't have u_intN_t.
* ext/socket/option.c: Solaris 11 needs inspect_tcpi_msec.
... -
02:42 PM Bug #11425: super_method fails to find the super method when combined with Module#prepend
- Another issue, `UnboundMethod#inspect` in 2.2 also seems wrong.
It should be `"#<UnboundMethod: C#a>"`. -
02:35 PM Bug #11424 (Rejected): Documentation bug: Module: Enumerable, detect
- `find` and `detect` are aliases.
They share their documentation. -
02:33 PM Bug #10856: Splat with empty keyword args gives unexpected results
- I feel this has to be fixed.
`foo(**{})` should === `foo(**Hash.new)` in all cases, and I feel it should not raise an error. -
12:27 PM Bug #10856: Splat with empty keyword args gives unexpected results
- Hi Matz,
I think I just found a real-world use-case for exactly this issue - please take a look at the (simplified) example below.
~~~ruby
class Dispatcher
def call(event, args)
public_send(event, **args)
end
def f... -
12:34 PM Feature #11428 (Open): system/exec/etc. should to_s their argument to restore Pathname functionality as it was in 1.8
- The safest way to interact with Unix shell with ruby is using `Pathname` and multi-argument system/exec/etc. commands.
In 1.8 days (and early 1.9) it was possible to do nice things like:
path = Pathname("/dev/null"); system "ls... -
09:49 AM Bug #11427 (Closed): Fix documentation for String#slice
- In the String#slice description [slice(start, length) → new_str or nil]
the word 'index' was displayed in +code+ font but the argument in the signature is called 'start'.
(screenshot attached) -
05:19 AM Revision 3c402604 (git): win32.c: use ruby_strdup
- * win32/win32.c (getifaddrs): use ruby_strdup instead of
combination ruby_xmalloc, lstrlen and lstrcpy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Bug #11392 (Third Party's Issue): proj4_c_impl.bundle: [BUG] Segmentation fault at 0x00000000000440
- As shown in the following line, it seems the issue of rgeo.gem. Please report to the project (https://github.com/rgeo/rgeo/issues).
~~~
/Users/moboyle/.rvm/gems/ruby-2.2.2/gems/rgeo-0.3.20/lib/rgeo/coord_sys/proj4_c_impl.bundle: [BUG... -
02:09 AM Bug #11393: segfault on trivial application, embedding in C app.
- You must call `ruby_sysinit()` first.
-
01:48 AM Bug #11349: irb crashes immediately with most (any?) REPL input
- Hi, Maciek.
Thank you for your report. And sorry for late reply.
Could you try with trunk? You can install ruby trunk version with rbenv as follows.
rbenv install 2.3.0-dev
-
01:39 AM Feature #11348 (Assigned): TracePoint API needs events for fiber's switching
- 01:09 AM Revision 919ab7a3 (git): * 2015-08-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 AM Revision b96499f0 (git): objspace.c: use rb_ident_hash_new
- * ext/objspace/objspace.c (reachable_objects_from_root): use
rb_ident_hash_new instead of funcall Hash#compare_by_id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:07 AM Revision 1d2d307c (git): eval.c: use rb_ident_hash_new
- * eval.c (hidden_identity_hash_new): use rb_ident_hash_new instead
of funcall Hash#compare_by_id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:36 AM Bug #11421: .gem/ruby/2.2.2/gems/json-1.8.3/lib/json/ext/parser.bundle: Segmentation fault at 0x00000000000418
- It's chruby issue. Please submit issue to chruby's repository.