Project

General

Profile

Activity

From 03/04/2014 to 03/10/2014

03/10/2014

11:19 PM Bug #9617 (Rejected): Windows7 issue with Kernel.spawn close_others => false
It is not supported on mswin/mingw to pass file descriptors (except 0,1,2) to other processes.
So, it is expected behavior.
usa (Usaku NAKAMURA)
11:02 AM Bug #9617 (Rejected): Windows7 issue with Kernel.spawn close_others => false
I faced an issue while trying to inherit a file or pipe handle from a master process to its child on windows 7.
I tried this implementation:
* master.rb:
~~~
rd, wr = IO.pipe
puts "Pipe opened: #{rd.fileno} <= #{wr.fileno}"
c...
lionel_perrin (Lionel PERRIN)
09:55 PM Revision c8c539a1 (git): ext/objspace: Check fptr before trying to dump FILE object fd
Patch by Scott Francis. Closes GH-562.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
05:11 PM Revision d8182739 (git): * 2014-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision fefbd47b (git): * vm_dump.c (rb_vm_bugreport): show vm maps on FreeBSD.
* vm_dump.c (procstat_vm): copied from FreeBSD.
http://svnweb.freebsd.org/base/head/usr.bin/procstat/procstat_vm.c?revision=261780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:37 PM Feature #9602: Logic with `Enumerable#grep`
I've updated my patch with Array#select, nobu's `break` suggestion, and documentation and tests:
* GitHub: https://github.com/srawlins/ruby/compare/select-to-accept-args
* patch file: https://github.com/srawlins/ruby/compare/select-t...
srawlins (Sam Rawlins)
01:29 PM Bug #9619 (Closed): Fix README.EXT
Update contents of `ruby_options` and replace `ruby_run` to `ruby_run_node`.
README.EXTの`ruby_options`を更新し、`ruby_run`を`ruby_run_node`に変えました。
yui-knk (Kaneko Yuichiro)
01:00 PM Bug #9618: Pathname#cleanpath creates mixed path separators
I agree on using / only in Pathname (converting in #initialize). Eregon (Benoit Daloze)
12:27 PM Bug #9618 (Closed): Pathname#cleanpath creates mixed path separators
When using `Pathname#cleanpath` with a Windows path the resulting path contains a mixture of slashes and backslashes.
~~~
require 'pathname'
path = Pathname.new('c:\projects\ruby\bug\test.rb')
path.to_s # => "c:\\proj...
daniel-rikowski (Daniel Rikowski)
09:11 AM Bug #9562: Cannot install gems from gzip-compressing gem server
Eric, I think the problem is that Gem::RemoteFetcher#fetch_path fails in `Gem.gunzip data` if the `data` is already decoded by Net::HTTP of Ruby 2.0 and later.
It happens when the HTTP server is configured to set a `Content-Encoding: gz...
knu (Akinori MUSHA)
06:58 AM Feature #8426: Implement class hierarchy method caching
Eric Wong <normalperson@yhbt.net> wrote:
> I may try adding caching in the main method table itself;
> especially if we end up using the container_of-style of method tables

Tried and unimpressive on bm_so_binary_trees so far:
http...
normalperson (Eric Wong)
04:36 AM Feature #9612: Gemify OpenSSL
:+1: Great step. shyouhei (Shyouhei Urabe)
03:20 AM Revision be7cc583 (git): * configure.in: always check dladdr(1).
* addr2line.c (fill_lines): show the line number in C backtrace if
ruby is built without --enable-shared (PIE) on Linux.
patch is originally by Shinichiro Hamaji
https://twitter.com/shinh/status/441957774264504321
NOTE: ld doesn'...
naruse (Yui NARUSE)
02:21 AM Feature #9549 (Assigned): Improvements to Time::strptime
nagachika (Tomoyuki Chikanaga)
01:54 AM Bug #9597 (Third Party's Issue): Core dump on Solaris on test case runner.rb
nobu (Nobuyoshi Nakada)
01:51 AM Revision 3727e066 (git): * 2014-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:51 AM Revision 21759a08 (git): merge GH-558
* test/ruby/test_enumerator.rb (test_iterators): fix test for hash
iterators. [Fixes GH-558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:40 AM Bug #9551 (Assigned): [DOC] Fix for documentation of Kernel::catch
nagachika (Tomoyuki Chikanaga)

03/09/2014

01:15 PM Bug #9597: Core dump on Solaris on test case runner.rb
I recompiled ruby against libffi.so.4 and the problem disappeared, so I confirm this bug is linked somehow to libffi.
yann (Yann Rouillard)
01:14 PM Bug #8860: 64-bit x86 ruby 1.9.3-p448 on Solaris core dumps on bug4950 test case
Hi,
I confirm that this bug is still present with ruby 1.9.3 patch level 484:
Output of ruby -v: ruby 1.9.3p484 (2013-11-22 revision 43786) [i386-solaris2.10]
I attached the core dump (which is 6 MB, so it is split in two files) ...
yann (Yann Rouillard)
12:50 PM Bug #9599: Fiddle::Function#call leaks memory
Add r45301 nagachika (Tomoyuki Chikanaga)
10:30 AM Feature #8426: Implement class hierarchy method caching
parallel/continuation of this issue is in https://bugs.ruby-lang.org/issues/9262 funny_falcon (Yura Sokolov)
05:10 AM Feature #8426: Implement class hierarchy method caching
I noticed this was reverted in r43027 for being too slow.
Is there a plan to improve and reintroduce it?

I may try adding caching in the main method table itself;
especially if we end up using the container_of-style of method table...
normalperson (Eric Wong)
06:45 AM Feature #9548: Module curry
Indeed, there is much less use for currying than for chaining in the functional world. (In #9552, I now prefer `#chain` to `#map!`.) Yet there is already `Proc#curry` in Ruby (whose present behavior is horrible, imo), therefore it is fai... Anonymous
05:51 AM Feature #9552: Module map!
I apologize for late response. Again, I experienced that the method I'm proposing here has much practical use in my code. As for better name, I can think of:
`#compose` --- weight: 3 -- as in functional composition
`#apply` --- ...
Anonymous
05:22 AM Bug #9616 (Closed): [PATCH] class.c: check for malloc failures
Applied in changeset r45302.
----------
class.c: check for malloc failures
* class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
...
Anonymous
05:20 AM Bug #9616 (Closed): [PATCH] class.c: check for malloc failures
Will commit attached patch to trunk. Note backport field for 2.1 normalperson (Eric Wong)
05:22 AM Revision b39eabac (git): class.c: check for malloc failures
* class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
* class.c (rb_class_remove_from_module_subclasses): ditto
[Bug #9616]
xmal...
Eric Wong
04:51 AM Revision dfdb8b73 (git): fiddle/function.c: fix memory leak on exception
* ext/fiddle/function.c (function_call): fix memory leak when an
exception occurs at argument conversion or the function call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:51 AM Revision 1692e547 (git): fiddle/function.c: check argument size
* ext/fiddle/function.c (initialize): check argument number if the
temporary buffer exceeds size_t max.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:19 AM Revision cb05f199 (git): tests for [Bug #9599]
* test/dl/test_{cptr,handle}.rb: tests for [Bug #9599].
* test/fiddle/test_{handle,pointer}.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Revision e20cd8ee (git): test/ruby/envutil.rb: compare RSS to check memory leak
* test/ruby/envutil.rb (Test::Test#assert_no_memory_leak): compare
also RSS if available.
* test/ruby/memory_status.rb (Memory::Status.parse): read string
form of an instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45298...
nobu (Nobuyoshi Nakada)
04:09 AM Bug #9615 (Closed): fix typo in comments of eval.c
Applied in changeset r45297.
----------
* eval.c: remove needless space.
[ruby-dev:48026] [Bug #9615]
hsbt (Hiroshi SHIBATA)
02:36 AM Bug #9615 (Closed): fix typo in comments of eval.c
Delete unnecessary space from comments of eval.c .
不要に思われるスペースを削除しました。
yui-knk (Kaneko Yuichiro)
04:09 AM Revision 68649699 (git): * eval.c: remove needless space.
[ruby-dev:48026] [Bug #9615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:25 AM Feature #9614 (Assigned): ordering of non-Hash items which use st_ internally
Hi matz, I would like your permission to remove the order preservation from
any or all of the following currently implemented using `st_table`:
* method tables
* global symbols (`Symbol.all_symbols`)
* constant tables
* instance v...
normalperson (Eric Wong)

03/08/2014

09:50 PM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
@nurse: ping!
Could you review my comments? I'd like to move on from this :)
zzak (zzak _)
09:44 PM Revision e9328e69 (git): * 2014-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:44 PM Revision eb227b25 (git): variable.c (struct global_variable): shrink by 8 bytes on 64-bit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:01 AM Revision e38d9549 (git): [DOC] Add NEWS about Find#find, Pathname#find.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
10:06 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
> https://github.com/k-takata/Onigmo/commit/b9fba1dc63ccb42a86e934011b468e6022fabb74
Rubyにはおそらく影響しないのですが、上記リンク先を見ていただければ分かるとおり、
マルチスレッド環境でこの変更がうまく動かない場合があるようなので、修正方法を再度検討中です。
k_takata (Ken Takata)
08:56 AM Revision fa043eb4 (git): vm.c: cleanup to use rb_method_entry_at
* vm.c (add_opt_method): cleanup to use rb_method_entry_at
Easier experiments with a non-st method entry tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:49 AM Revision e4c06f3c (git): enum.c: suppress warnings
* enum.c (each_val_i): svalue is no longer used.
[ruby-core:61340] [Bug #9605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:47 AM Bug #9599 (Closed): Fiddle::Function#call leaks memory
Applied in changeset r45291.
----------
ext/dl, ext/fiddle: fix memory leak
* ext/dl/cptr.c (dlptr_free), ext/dl/handle.c (dlhandle_free),
ext/fiddle/handle.c (fiddle_handle_free),
ext/fiddle/pointer.c (fiddle_ptr_free): fix memory...
nobu (Nobuyoshi Nakada)
04:46 AM Revision ff84a6a2 (git): ext/dl, ext/fiddle: fix memory leak
* ext/dl/cptr.c (dlptr_free), ext/dl/handle.c (dlhandle_free),
ext/fiddle/handle.c (fiddle_handle_free),
ext/fiddle/pointer.c (fiddle_ptr_free): fix memory leak.
based on the patch Heesob Park at [ruby-dev:48021] [Bug #9599].
git-...
nobu (Nobuyoshi Nakada)
04:31 AM Bug #9600 (Closed): sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
Applied in changeset r45290.
----------
process.c: expand buffer on ERANGE
* process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r()
may need larger buffers than sysconf values, so retry with
expanding the buffer when ERANG...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 119d6623 (git): process.c: expand buffer on ERANGE
* process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r()
may need larger buffers than sysconf values, so retry with
expanding the buffer when ERANGE is returned.
[ruby-core:61325] [Bug #9600]
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 3df8fbf2 (git): process.c: need capacity
* process.c (obj2uid, obj2gid): need capacity as buffer size, not
length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:08 AM Revision 9e33b72a (git): process.c: GETPW_R_SIZE_INIT, GETGR_R_SIZE_INIT
* process.c (GETPW_R_SIZE_INIT, GETGR_R_SIZE_INIT): sysconf values
are not maximum sizes, but initial sizes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision b1fb57da (git): process.c: tmp buffer instead of alloca
* process.c (OBJ2UID1, OBJ2GID1): separate from OBJ2UID and
OBJ2GID respectively, need given buffers.
* process.c (OBJ2UID, OBJ2GID): no longer need PREPARE_GETPWNAM
and PREPARE_GETGRNAM.
* process.c (obj2uid, obj2gid): use tmp buf...
nobu (Nobuyoshi Nakada)
03:04 AM Feature #9613 (Open): Warn about unsafe ossl ciphers
As of r45274, we now have sane whitelist of available OpenSSL ciphers. However, this patch breaks backwards compatibility for any apps that use any ciphers not whitelisted.
## Solution
* Implement a new class: OpenSSL::SSL::Ciphers...
zzak (zzak _)
02:26 AM Feature #9439 (Rejected): Remove OpenSSL from stdlib
Closing in favor of #9612 zzak (zzak _)
02:25 AM Feature #9612 (Closed): Gemify OpenSSL
Previously in #9439 we discussed removing OpenSSL from Ruby, however this wasn't the right approach.
I would like to suggest Aaron's approach from [ruby-core:60075](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/60075)
...
zzak (zzak _)

03/07/2014

10:36 PM Revision c052c80c (git): enum.c: yield multiple values
* enum.c (find_i): yield multiple values instead of a packed
array, so that lambda block can work. with tests by Alex
Rothenberg. [ruby-core:61340] [Bug #9605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45286 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
10:36 PM Bug #9605 (Closed): Chaining "each_with_index.detect &lambda" raises ArgumentError
Applied in changeset r45284.
----------
enum.c: yield multiple values
* enum.c (find_i): yield multiple values instead of a packed
array, so that lambda block can work. with tests by Alex
Rothenberg. [ruby-core:61340] [Bug #9605]
nobu (Nobuyoshi Nakada)
08:14 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
@nobu Wow, you fixed this issue so quickly. I wrote a few additional test cases that fail on trunk but pass on your branch in case you want to merge them in https://github.com/nobu/ruby/pull/1
Thank you!
alexrothenberg (Alex Rothenberg)
08:36 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
There are other methods which have same behavior
I've thought it would have compatibility issues, but `make check` didn't fail at least.
WIP: https://github.com/nobu/ruby/compare/enum-yield_values?expand=1
nobu (Nobuyoshi Nakada)
10:35 PM Revision cfe3d989 (git): * 2014-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:35 PM Revision f2001d34 (git): enum.c: yield multiple values
* enum.c (find_i): yield multiple values instead of a packed
array, so that lambda block can work. with tests by Alex
Rothenberg. [ruby-core:61340] [Bug #9605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45284 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
09:20 PM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
It fails on x86 as well - #9198 vo.x (Vit Ondruch)
04:18 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Same result with the nightly snapshot.tar.gz (ruby -v: ruby 2.2.0dev (2014-03-07 trunk 45279) [x86_64-openbsd]) jeremyevans0 (Jeremy Evans)
03:33 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Thank you, and could you try it with the latest trunk? nobu (Nobuyoshi Nakada)
02:07 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Unfortunately, I lost the original core dump, so this core dump is slightly different, but the basic problem is the same:
(gdb) bt
#0 0x000014779593419a in kill () at <stdin>:2
#1 0x000014779599452a in abort () at /usr...
jeremyevans0 (Jeremy Evans)
01:10 AM Bug #9606 (Feedback): Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Jeremy Evans wrote:
> It appears that ruby's stack overflow handling is not working correctly in this case. Any pointers for how to fix this issue?
Yes, it is the test for machine stack overflow handling, as its name.
It very depen...
nobu (Nobuyoshi Nakada)
08:00 PM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
I don't think there's a way to get it. You'll have to rescue and retry with a realloc'ed buffer.
One bit of trickiness is that different platforms seem to set errno to different values on different platforms. In my own sys-admin gem, ...
djberg96 (Daniel Berger)
07:35 PM Bug #9611 (Rejected): Arithmetic operator following parentheses-less method gives ArgumentError
Yes, this is well-known (but often misunderstood) ruby's spec.
usa (Usaku NAKAMURA)
07:28 PM Bug #9611: Arithmetic operator following parentheses-less method gives ArgumentError
Even though this also happens with +, * and /, I guess it is on purpose to pass negative numbers, not a bug. My mistake. battox (Matías Battocchia)
07:04 PM Bug #9611 (Rejected): Arithmetic operator following parentheses-less method gives ArgumentError
It would be better to explain this with an example:
> 'a'.length -1
ArgumentError: wrong number of arguments (1 for 0)
...
battox (Matías Battocchia)
02:47 PM Bug #9610 (Rejected): Report by terminal error
I use a rails application (rails 4.0.1) in mode development.
I start the server (rails s), and use the site.
When i kill the server (ctrl+c), this message appear in my terminal:
###################
[NOTE]
You may have encountere...
jeroig (Juan Eduardo Roig)
11:10 AM Bug #9609: [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
(2014/03/07 20:03), SASADA Koichi wrote:
>> > Should we ignore WB unprotect for frozen objects?
> No relation between frozen and wb unprotected flag. We can use
> `RARRAY_CONST_PTR()` for this case. I'll commit it with other patch...
ko1 (Koichi Sasada)
11:10 AM Bug #9609: [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
(2014/03/07 19:38), Eric Wong wrote:
> Thanks (r45283). Btw, I noticed rb_apply uses `RARRAY_PTR`, too,
> ...

No relation between frozen and wb unprotected flag. We can use
`RARRAY_CONST_PTR()` for this case. I'll commit it with ...
ko1 (Koichi Sasada)
10:41 AM Bug #9609: [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
SASADA Koichi <ko1@atdot.net> wrote:
> And also it should be `RARRAY_CONST_PTR()`.

Thanks (r45283). Btw, I noticed rb_apply uses `RARRAY_PTR`, too,
but also with `OBJ_FREEZE`.

Should we ignore WB unprotect for frozen obj...
normalperson (Eric Wong)
10:22 AM Bug #9609: [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
(2014/03/07 19:09), normalperson@yhbt.net wrote:
> `RB_GC_GUARD` needs to be placed after `RARRAY_PTR` usages to portably
> prevent compilers from optimizing the VALUE away.

And also it should be `RARRAY_CONST_PTR()`.

--
...
ko1 (Koichi Sasada)
10:09 AM Bug #9609 (Rejected): [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
RB_GC_GUARD needs to be placed after RARRAY_PTR usages to portably
prevent compilers from optimizing the VALUE away.
normalperson (Eric Wong)
10:52 AM Feature #9508: Add method coverage and branch coverage metrics
sam.rawlins@gmail.com wrote:
> Hi Eric, thanks for that test. It revealed my poor choice for `#define
> RUBY_EVENT_MCOVERAGE 0x040000` (`RUBY_INTERNAL_EVENT_SWITCH` is the
> same). I've updated my pull request with better choices in
...
normalperson (Eric Wong)
10:30 AM Revision 9c236f11 (git): vm_eval.c: use RARRAY_CONST_PTR to aid RGenGC performance
Pointed out by ko1.
* vm_eval.c (vm_call0_body): use RARRAY_CONST_PTR
(check_funcall_exec): ditto
[ruby-core:61360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
10:21 AM Revision bd1104f3 (git): vm_eval.c: fix misplaced GC guard
* vm_eval.c (vm_call0_body): fix RB_GC_GUARD location
(check_funcall_exec): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:55 AM Bug #9608 (Closed): [PATCH] avoid large alloca on Complex/Rational calls
* complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
* rational.c (read_digits): ditto
This fixes segfaults on:
Rational("1" * 16 * 1024 * 1024)
Complex("1" * 16 * 1024 * 1024)
On my system where my stack size...
normalperson (Eric Wong)
09:44 AM Bug #9373 (Third Party's Issue): test_autobind(TestSocket_UNIXSocket) fails on PPC
Closing, since this will be fixed in Kernel. Sorry for the noise.
http://patchwork.ozlabs.org/patch/326572/
vo.x (Vit Ondruch)
09:33 AM Feature #9602: Logic with `Enumerable#grep`
Sam Rawlins wrote:
> This idea should be extended to Enumerable#reject, and Array's #select and #reject, and probably Array's #select! and #reject!, and maybe other classes that extend Enumerable, and override #select and #reject (lik...
sawa (Tsuyoshi Sawada)
05:40 AM Feature #9602: Logic with `Enumerable#grep`
Hi Nobu, I was just using the same warning from enum_count, enum_find_index, and enum_inject. But it could `raise` if that is still desired. I'll fix with `break`. srawlins (Sam Rawlins)
05:12 AM Feature #9602: Logic with `Enumerable#grep`
Sam Rawlins wrote:
> %w{foo bar baz}.select(/b/) {|e| e['f']} # warns "given block not used", returns ["bar", "baz"]
It should raise a "wrong number of arguments" exception, IMO.
> ...
It should `break` after once matched.
nobu (Nobuyoshi Nakada)
04:24 AM Feature #9602: Logic with `Enumerable#grep`
+1 to Matz's idea. I think this would work like `Enumerable#count`, taking `*args` _or_ a block, but not both:
%w{foo bar baz}.select #=> an Enumerator
%w{foo bar baz}.select {|e| e['b']} #=> an Array ["bar", "baz"]
%w...
srawlins (Sam Rawlins)
09:07 AM Bug #9607: Change the full GC timing
Patch is added.
ko1 (Koichi Sasada)
08:56 AM Bug #9607 (Closed): Change the full GC timing
Abstract
========
Generational GC (called RGenGC) was introduced from Ruby 2.1.0. RGenGC
reduces marking time dramatically (about x10 faster). However, RGenGC
introduce huge memory consumption. This problem has impact especially ...
ko1 (Koichi Sasada)
05:53 AM Revision 537ee14f (git): * parse.y (ENC_SINGLE): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
03:15 AM Revision 92a5ebb4 (git): * test/openssl/test_ssl.rb: Reuse TLS default options from
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

03/06/2014

10:24 PM Bug #9606 (Closed): Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
ruby 2.1.1 on OpenBSD seems to occassionally suffer from a stack overflow when running TestException#test_machine_stackoverflow (about 1 every 3-4 times):
$ make test-all TESTOPTS="-q test/ruby/test_exception.rb"
Reading spec...
jeremyevans0 (Jeremy Evans)
09:20 PM Bug #9597: Core dump on Solaris on test case runner.rb
Naohisa Goto wrote:
> Please show compiler version, configure option and config.log, and libffi version.
Compiled was: gcc version 4.8.2 (GCC)
No configure option was given.
libffi is 3.0.9, soname is libffi.so.5.
There is ...
yann (Yann Rouillard)
03:17 PM Bug #9597 (Feedback): Core dump on Solaris on test case runner.rb
Please show compiler version, configure option and config.log, and libffi version. ngoto (Naohisa Goto)
09:11 PM Bug #9605 (Closed): Chaining "each_with_index.detect &lambda" raises ArgumentError
I found an odd edge case where "detect" and "select" behave differently from other methods of Enumerable.
Normally these methods yield a single argument to a block but when you chain them after "each_with_index" they yield two argumen...
alexrothenberg (Alex Rothenberg)
07:39 PM Bug #9604 (Closed): Comparing ranges or range includes range
Hello guys,
First I got to say it's not like real bug - but will be good to have. Then in some case I I need compare to ranges on including each other: so I did like
(1..10).include? (2..7)
what kinda logical, but it always *...
watman (Nick Kotykhov)
07:06 PM Bug #9603: unusual reference class-variable with cloned class.
maybe...
<del>
first cloned-class write to original-class's class-variable; but new instance reference cloned-class's class-variable.
second cloned-class reference original-class that class-variable updated by first cloned-class.
</d...
Chiether (Norikaz Ishii)
06:42 PM Bug #9603 (Rejected): unusual reference class-variable with cloned class.
description
-----------
Maybe panic reference to class-variable in cloned class. Not really sure about bug. But hang over my head.
I think minor irritant it which whether problem or not. because impractical code.
sample code
-----...
Chiether (Norikaz Ishii)
07:02 PM Bug #9562 (Rejected): Cannot install gems from gzip-compressing gem server
If the server does not return a gzip Content-Type for a .gz file it is misconfigured. This is not a bug in rubygems. drbrain (Eric Hodel)
05:04 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I applied following consecutive patches for ruby 2.1.1, and tried.
https://github.com/ruby/ruby/commit/948ce9decb97e5ff0833e53a392aa9f1d42c9b0d
https://github.com/ruby/ruby/commit/dd1c3a75096b97c1ebcb8597c001761ddfb3c1bf
https://gi...
sonots (Naotoshi Seo)
04:42 PM Revision 83299b67 (git): * 2014-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:42 PM Revision 8d67a06b (git): fix r45274; it change default but doesn't change tests [Bug #9424]
RUN TESTS BEFORE COMMIT!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:26 PM Bug #9582 (Rejected): CSV#headers not giving expected results.
Yeah, I also looked at making this change, but the behavior of returning just the first line is documented:
https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L672
I'm not sure if users of this library count on that or not. This c...
JEG2 (James Gray)
03:20 PM Feature #9602 (Feedback): Logic with `Enumerable#grep`
I am afraid that proposed behavior is too far away from the original 'grep'.
We should use #select for more complex filtering.
Any opinion?
Matz.
matz (Yukihiro Matsumoto)
10:36 AM Feature #9602 (Feedback): Logic with `Enumerable#grep`
`Enumerable#grep` is useful to filter things:
[nil, {}, [], 1, :foo, "foo"].grep(String)
# => ["foo"]
1. Often, the condition cannot be expressed as a single object on which `===` is applied, but as a disjunction over `===...
sawa (Tsuyoshi Sawada)
10:43 AM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
Off topic.
Yui NARUSE wrote:
>
> ...
There is no Single Unix Specification version 7 (yet).
The issue number is not the version number.
SUSv3:
| The Single UNIX Specification, Version 3 is made up of the Base Specifications, I...
akr (Akira Tanaka)
10:27 AM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
Rei Odaira wrote:
> but actually this value is just a hint, so obj2gid() should gradually extend the buffer until getgrnam_r() no longer throws ERANGE.
SuSv7 changes it.
* http://pubs.opengroup.org/onlinepubs/009695399/functions/...
naruse (Yui NARUSE)
08:02 AM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
Isn't there any way to get the real number? nobu (Nobuyoshi Nakada)
07:15 AM Bug #9600 (Closed): sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
When there is a group that has a lot of members, TestProcess#test_execopts_gid fails. Following is a more simple example:
$ ruby -e 'system("true", gid: "largegroup")'
-e:1:in `system': Numerical result out of range - getgrn...
ReiOdaira (Rei Odaira)
08:05 AM Feature #9508: Add method coverage and branch coverage metrics
Hi Eric, thanks for that test. It revealed my poor choice for `#define RUBY_EVENT_MCOVERAGE 0x040000` (`RUBY_INTERNAL_EVENT_SWITCH` is the same). I've updated my pull request with better choices in `include/ruby/ruby.h`: https://github.c... srawlins (Sam Rawlins)
07:14 AM Bug #9599: Fiddle::Function#call leaks memory
Because Fiddle::Pointer class was alloced with TypedData_Make_Struct macro, it must be freed with ruby_xfree.
Same applies to ext/fiddle/handle.c, ext/dl/cptr.c and ext/dl/handle.c
Here is a patch.
diff --git a/pointer.c b/pointer.c...
phasis68 (Heesob Park)
04:08 AM Bug #9599 (Closed): Fiddle::Function#call leaks memory
`Fiddle::Function#call` seems leaking memory.
With the following code:
```ruby
# fiddle-memleak.rb
require 'fiddle'
n = 10
a = ["a"] * n
f = Fiddle::Function.new(Fiddle.dlopen(nil)["rb_obj_tainted"], [Fiddle::TYPE_VOIDP]*n, Fi...
nobu (Nobuyoshi Nakada)
06:16 AM Revision bfce381e (git): * doc/syntax/assignment.rdoc: [DOC] Fix assignment directions [ci skip]
By @idupree [Fixes GH-555] https://github.com/ruby/ruby/pull/555
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:08 AM Revision 31fa4d88 (git): * doc/syntax/methods.rdoc: [DOC] Fix example for block arguments [ci skip]
By @idupree [Fixes GH-554] https://github.com/ruby/ruby/pull/554
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:15 AM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
Nobuyoshi Nakada wrote:
> On MacOS X, a crash log file under `~/Library/Logs/DiagnosticReports` is important.
Attached here.
mjy (Matt Yoder)
04:09 AM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
Kenta Murata wrote:
> Is this reproduced with byebug instead of debugger?
No, using byebug (2.7.0) in the same way *does not* reproduce the bug (thanks for pointing this gem out btw).
mjy (Matt Yoder)
12:05 AM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
On MacOS X, a crash log file under `~/Library/Logs/DiagnosticReports` is important. nobu (Nobuyoshi Nakada)
01:52 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
The patch has been committed. After discussing the issue with Dirkjan, the decision was made to additionally add
ECDHE-ECDSA-RC4-SHA
ECDHE-RSA-RC4-SHA
RC4-SHA
to the end of the list because RC4 has been widely deploye...
MartinBosslet (Martin Bosslet)
01:44 AM Bug #9424 (Closed): ruby 1.9 & 2.x has insecure SSL/TLS client defaults
Applied in changeset r45274.
----------
* lib/openssl/ssl.rb: Explicitly whitelist the default
SSL/TLS ciphers. Forbid SSLv2 and SSLv3, disable
compression by default.
Reported by Jeff Hodges.
[ruby-core:59829] [Bug #9424]
Anonymous
01:43 AM Revision 27a50dd1 (git): * 2014-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision 699b209c (git): * lib/openssl/ssl.rb: Explicitly whitelist the default
SSL/TLS ciphers. Forbid SSLv2 and SSLv3, disable
compression by default.
Reported by Jeff Hodges.
[ruby-core:59829] [Bug #9424]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:18 AM Bug #9598 (Closed): Bug while installing a c-extensions gem
I was trying to install a c-extension gem, the installation failed on first attempt. But succeeded on the second attempt.This was right after installing the ruby-2.1.1
(ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]) on Manjar...
chaitanyav (NagaChaitanya Vellanki)

03/05/2014

10:30 PM Bug #9594 (Feedback): Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
Is this reproduced with byebug instead of debugger? mrkn (Kenta Murata)
04:19 PM Bug #9594 (Third Party's Issue): Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
Thought I'd post this, let me know if I can help with more info.
I've experienced it in a number of different places. No segfaults occurring when debugger is not used.
matt@foo taxonworks (master *%)$ rspec spec/lib/material...
mjy (Matt Yoder)
10:25 PM Bug #9595 (Assigned): Float#to_d inconsistent between 2.0.0 and 2.1.1
mrkn (Kenta Murata)
04:56 PM Bug #9595: Float#to_d inconsistent between 2.0.0 and 2.1.1
I did come across this Github PR (https://github.com/ruby/ruby/pull/323) which changed the default precision on Float#to_d.
If 2.1.1 is the proper behavior and compatibility with the behavior of 2.0.0 is not desired, please close this...
boone (Mike Boone)
04:22 PM Bug #9595 (Rejected): Float#to_d inconsistent between 2.0.0 and 2.1.1
The following code produces different BigDecimal results in 2.0.0 vs. 2.1.1:
require 'big decimal'
require 'bigdecimal/util'
(1/1.3667).to_d

2.0.0 returns: #&lt;BigDecimal:7fa7fc04dc28,'0.7316894709 885124E0',18(4...
boone (Mike Boone)
09:39 PM Bug #9597 (Third Party's Issue): Core dump on Solaris on test case runner.rb
Hi,
I am currently trying to compile Ruby 2.0 on Solaris and I have a test case that is constantly failing with the following error:
/home/yann/opencsw/ruby20/trunk/work/solaris10-i386/build-isa-pentium_pro/ruby-2.0.0-p451/.ext/com...
yann (Yann Rouillard)
06:59 PM Feature #9590: introduce st_foreach_update and st_foreach_update_check for performance.
I found that this patch lacks the measure to callcc.
Please wait for a while.
tarui (Masaya Tarui)
04:44 PM Feature #9590: introduce st_foreach_update and st_foreach_update_check for performance.

It is nearly equivalent to calling st_update() on all elements.
Additionally, it updates internal hash values if it has to do that.
tarui (Masaya Tarui)
05:07 AM Feature #9590: introduce st_foreach_update and st_foreach_update_check for performance.
It is equivalent to calling `st_update()` on all elements?
`update_direct()` should be static, IMO.
nobu (Nobuyoshi Nakada)
05:15 PM Bug #9596: Segmentation Fault 1.9.3p545 when starting rails s
The attached file says that the ruby is 2.0.0.
Are you really using ruby 1.9.3?
usa (Usaku NAKAMURA)
05:00 PM Bug #9596 (Rejected): Segmentation Fault 1.9.3p545 when starting rails s
~~~
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/D...
bhushangahire (Bhushan Ahire)
04:07 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
First Last wrote:
> First Last wrote:
> ...
rits (First Last)
01:27 PM Revision 9194b220 (git): * test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:01 AM Bug #9589: Stack level too deep during eval causes segmentation fault
Interesting, I searched the rspec-core code and it uses instance_eval/class_eval. That prompted me to try these faulty snippets...
`b = Proc.new do
b.instance_eval(&b)
end
b.instance_eval(&b)
`
and this one too...
`b = Proc...
carlosayam (carlos aya)
06:56 AM Bug #9593 (Closed): Keyword arguments default argument assignment behaviour not consistent with optional argument
Applied in changeset r45272.
----------
parse.y: optional arguments in rhs
* parse.y (f_arg_asgn): define optional arguments as argument
variables in the rhs default expressions.
[ruby-core:61299] [Bug #9593]
nobu (Nobuyoshi Nakada)
06:18 AM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
The behaviors in 2.0 are incorrect both. nobu (Nobuyoshi Nakada)
06:00 AM Bug #9593 (Closed): Keyword arguments default argument assignment behaviour not consistent with optional argument
Given the following code:
def var
100
end
def foo(var: var + 1)
puts "var: #{var.inspect}"
end
def bar(var = var + 1)
puts "var: #{var.inspect}"
end
foo(var: 1)
foo res...
chendo (Jack Chen)
06:56 AM Revision 01740f0c (git): parse.y: optional arguments in rhs
* parse.y (f_arg_asgn): define optional arguments as argument
variables in the rhs default expressions.
[ruby-core:61299] [Bug #9593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:18 AM Bug #9344: warning origin incorrect with instance_eval
Oops, k-takata already accepted that patch into the GitHub repository [1]. But I think I agree with you, nobu-san, onig_verb_warn was a more advanced API. I can file another patch against k-takata/Onigmo.
[1] https://github.com/k-taka...
srawlins (Sam Rawlins)
05:36 AM Bug #9344: warning origin incorrect with instance_eval
Rather I think `onig_syntax_warn()` should use `onig_verb_warn` instead of calling `rb_warn()` directly.
And another warning function with source file and line number, instead of `rb_compile_warn()`.
nobu (Nobuyoshi Nakada)
05:19 AM Bug #9582: CSV#headers not giving expected results.
The CSV::Table#headers method just look at the first row of the table, if you enable the option ":return_headers" then should work.
In order to keep the API consistency, I attached a patch that iterates through the table until find a ro...
tlewin (Thiago Lewin)
03:13 AM Bug #9592 (Closed): Fix segfault with old OpenSSL
r44572 以降、古いOpenSSL(0.9.8kで確認)で、SSL connectionに失敗したときにSEGVすることがあります。
```sh
$ ruby -rnet/https -e 'Net::HTTP.get(URI("https://brandymelvilleusa.com"))'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:918: [BUG] Segmentation fault
...
nobu (Nobuyoshi Nakada)
02:58 AM Revision 89e70fe8 (git): ossl.c: NULL check
* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45271 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:14 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
Is there anything Ruby users should be doing in the meantime to protect themselves? Does the lack of urgency around this update (1 month since last update) imply that there isn't a real problem here? masterleep (Bill Lipa)

03/04/2014

08:20 PM Bug #9344: warning origin incorrect with instance_eval
k-takata noted that `onig_verb_warn` and `onig_set_verb_warn_func` are public API, so we cannot delete them. Attached is a smaller patch, which is also open as a pull request at Onigmo: https://github.com/k-takata/Onigmo/pull/32 srawlins (Sam Rawlins)
07:06 AM Bug #9344: warning origin incorrect with instance_eval
This also applies to redundant repeat operator: `z = /[a-z]** foo/` because both these warnings use the older warning, `onig_verb_warn`. I think this warning method can be considered defunct. If we switch these two warnings to instead us... srawlins (Sam Rawlins)
03:44 PM Revision 5e4ac976 (git): * 2014-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision df0991f3 (git): * ext/pathname/lib/pathname.rb (Pathname#find): add "ignore_error"
keyword argument defaulted to true as well as Find#find.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:00 PM Revision 77cf13a5 (git): * test/ruby/test_eval.rb (TestEval#make_test_binding): renamed.
it's not test method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:55 PM Revision 0562c4f7 (git): * test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:52 PM Feature #5663: Combined map/select method
Also, regarding Yehuda Katz's concern:
> The only caveat is that it would be impossible to intentionally return nil here; suggestions welcome.
I would like to propose that the method takes an optional argument that determines what ...
sawa (Tsuyoshi Sawada)
01:51 PM Bug #9591 (Closed): io-console versioning
io-console has changed between 2.1.0 and 2.1.1 [1] so it should be reflected in its version number.
[1] https://github.com/ruby/ruby/compare/v2_1_0...v2_1_1#diff-16
vo.x (Vit Ondruch)
12:57 PM Bug #8666 (Closed): Unable to set OpenSSL GCM iv_length in Ruby
Duplicate #8667 hsbt (Hiroshi SHIBATA)
12:46 PM Bug #9434 (Feedback): Segfault on bundle exec rackup of a Sinatra app
Could you try with Ruby 2.0.0p451? If you still have this problem, Please attach ~/Library/Logs/DiagnosticReports too. hsbt (Hiroshi SHIBATA)
12:40 PM Bug #9471 (Third Party's Issue): /usr/lib/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:469: [BUG] cfp consistency error - call0
It seems defect of Qt binding. Please report https://github.com/ryanmelt/qtbindings/ at first. hsbt (Hiroshi SHIBATA)
12:38 PM Bug #9474 (Feedback): Segment Fault
Could you try with Ruby 2.1.1? hsbt (Hiroshi SHIBATA)
12:35 PM Bug #9512: Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
Could you try to latest ruby 2.0.0? hsbt (Hiroshi SHIBATA)
12:33 PM Bug #9505 (Feedback): Bug that should cause SystemStackError segfaults under Ruby 2.1
Please try your code with Ruby 2.1.1 hsbt (Hiroshi SHIBATA)
12:15 PM Feature #9590 (Assigned): introduce st_foreach_update and st_foreach_update_check for performance.

Hello,
I think I'll introduce st_foreach_update and st_foreach_update_check for performance.
For example, it is effective at Hash's rehash,dup and clone. (included in patch)
Are there any problem?
Patch is at https://gist.g...
tarui (Masaya Tarui)
11:51 AM Revision de1f3c92 (git): * st.c (st_foreach): fix type of hash. not st_data_t but st_index_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
10:44 AM Revision 3699a603 (git): * Makefile.in: ".DEFAULT" target removed because it is not for
specifying default target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:18 AM Feature #9579: [PATCH] ext/extmk.rb: parallelize configure
Thanks for taking a look. I not sure what to do about EXT_DEPS.
The compiled? check is strange.

dl and tk will be gone soon, we can wait (or remove dl+tk sooner).
win32 cannot fork, so the special case there is not needed, even.
normalperson (Eric Wong)
07:43 AM Feature #9579: [PATCH] ext/extmk.rb: parallelize configure
`EXT_DEPS` doesn't look good to me. nobu (Nobuyoshi Nakada)
08:09 AM Feature #9508: Add method coverage and branch coverage metrics
I'm still hitting it. Can you try adding waitpid2 to reproduce it?
ruby -rcoverage -e 'Coverage.start; Process.waitpid2(fork {})'
Thanks.
normalperson (Eric Wong)
07:39 AM Bug #9586: Unable to build Ruby 2.1.1 on NetBSD
Could you show config.log file? nobu (Nobuyoshi Nakada)
07:09 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Akira Tanaka wrote:
> Would anyone test the problem at latest trunk?
I had never ran fluentd with ruby 2.1.1, but now I am trying it.
If it works well, I will try ruby-trunk next.
PS. Sorry, I struggled, but could not create a ...
sonots (Naotoshi Seo)
03:31 AM Bug #9589: Stack level too deep during eval causes segmentation fault
Not sure if it's related, but I'm getting segfaults instead of SystemStackErrors with recursive lambda calls from:
example_spec.rb:
`describe Fixnum do
subject { subject }
it { should be }
end`
by running:
`rspec exam...
Cezary (Cezary Baginski)
12:16 AM Bug #9589 (Closed): Stack level too deep during eval causes segmentation fault
The following silly code, which imho should generate a " stack level too deep (SystemStackError)", segfaults
$ echo 'eval($_)' | ruby -n -e 'eval($_)'
I thought it may be a bug, not sure.
My version:
carlos-mac$ ruby -v
ruby 1...
carlosayam (carlos aya)
 

Also available in: Atom