Project

General

Profile

Activity

From 02/16/2014 to 02/22/2014

02/22/2014

09:07 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
@nobusan I think that would be a reasonable approach
@eric / @ko1 / everyone
here are the results of runnin...
sam.saffron (Sam Saffron)
06:05 PM Bug #9544 (Feedback): Ruby resolver not using autoport
If system's resolver, getaddrinfo(), is usable, you can use it. akr (Akira Tanaka)
05:39 PM Bug #9544 (Closed): Ruby resolver not using autoport
Applied in changeset r45144.
----------
* lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
securit...
akr (Akira Tanaka)
02:34 PM Bug #9544: Ruby resolver not using autoport
So is it ruby's concern, or should the system developers make appropriate patches?
Currently you've reinvented th...
samu (Jakub Szafranski)
02:28 PM Bug #9544: Ruby resolver not using autoport
I found GNU/Hurd and Haiku also allocates ports sequentially.
GNU/Hurd:
% ./ruby -v -rsocket -e '10.times {...
akr (Akira Tanaka)
12:51 PM Bug #9544: Ruby resolver not using autoport
Akira Tanaka wrote:
> I tested several OSs and I found NetBSD 6.1.3 still doesn't randomize port:
>
> % ruby ...
samu (Jakub Szafranski)
02:03 PM Bug #9555 (Closed): Ruby 2.0.0 compilation fails to compile on cygwin. (curses.so)
Using RVM we see that ruby fails to compile for 2.0.0. This seems to be fixed in 2.1.0.
Compiling the 2.1.0 as follo...
dajoen (Jeroen Verhoeven)
01:27 PM Bug #9554: need read access for conout$ (io/console)
ruby_2_1 r45139 . naruse (Yui NARUSE)
01:13 PM Bug #9554: need read access for conout$ (io/console)
r45130 was backported to ruby_2_0_0 at r45137. nagachika (Tomoyuki Chikanaga)
11:48 AM Bug #9554: need read access for conout$ (io/console)
backported into ruby_1_9_3 at r45131. usa (Usaku NAKAMURA)
10:13 AM Bug #9554 (Closed): need read access for conout$ (io/console)
usa (Usaku NAKAMURA)
10:11 AM Bug #9554 (Closed): need read access for conout$ (io/console)
今まで気づかなかったとは不覚。 usa (Usaku NAKAMURA)
10:07 AM Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
ruby_2_1 r45129 merged revision(s) 45084. naruse (Yui NARUSE)
04:54 AM Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
r45084 was backported to ruby_2_0_0 at r45103. nagachika (Tomoyuki Chikanaga)
12:53 AM Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
backported into ruby_1_9_3 at r45092. usa (Usaku NAKAMURA)
09:53 AM Bug #9535: Kernel.send(:initialize_copy, Kernel) で segmentation fault
ruby_2_1 r45128 merged revision(s) 45076. naruse (Yui NARUSE)
02:49 AM Bug #9535: Kernel.send(:initialize_copy, Kernel) で segmentation fault
r45076 was backported to ruby_2_0_0 at r45096. nagachika (Tomoyuki Chikanaga)
12:51 AM Bug #9535: Kernel.send(:initialize_copy, Kernel) で segmentation fault
backported into ruby_1_9_3 at r45091. usa (Usaku NAKAMURA)
09:47 AM Bug #9377: Seg fault on call of missing super from self.extended in a Module
`ruby_2_1` r44843 merged revision(s) 44527,44552,44553. naruse (Yui NARUSE)
09:25 AM Bug #9533: ruby 2.1.0のHash#flattenが以前のバージョンと異なる挙動をする
ruby_2_1 r45126 merged revision(s) 45057,45059. naruse (Yui NARUSE)
09:18 AM Bug #9276: "RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead" warning should not be issued when both ENV vars are set.
ruby_2_1 r45054 merged revision(s) 44327. naruse (Yui NARUSE)
09:17 AM Bug #9354: timeout() custom exception class cannot require argument
ruby_2_1 r44841 merged revision(s) 44517,44518,44519,44523. naruse (Yui NARUSE)
08:54 AM Bug #9385: open-uri always uses proxy set as env var even if proxy flag is set to nil
ruby_2_1 r45125 merged revision(s) 44637. naruse (Yui NARUSE)
08:45 AM Bug #9413: Object Metaclass Constants Array doesn't Include Singleton Constant
`ruby_2_1` r45124 merged revision(s) 44628. naruse (Yui NARUSE)
07:58 AM Feature #9553: Make argument validation routine of a method an object
Even more precisely, I did not fail to notice, but rather forgot about it =). In any case, built in `Arguments` objec... Anonymous
07:39 AM Feature #9553: Make argument validation routine of a method an object
It is my fault that I was not aware of `Method#parameters` when writing this post. Too bad I did not participate in i... Anonymous
07:16 AM Feature #9553: Make argument validation routine of a method an object
Does Method#parameters not solve your problem? Anonymous
07:02 AM Feature #9553 (Open): Make argument validation routine of a method an object
Ruby methods have their acceptable argument configurations specified by special syntax. As argument fields has gotten... Anonymous
07:53 AM Bug #9374: [PATCH] ext/json: objects depend on $(ruby_headers)
r45123 naruse (Yui NARUSE)
07:52 AM Feature #9548: Module curry
I have just learned about the existence of `Method#parameters` method, which would enable to write near-perfect `Modu... Anonymous
05:29 AM Feature #9548: Module curry
@mame, I don't quite get these nuances between "currying" and "partial application". I could try and
learn them, but...
Anonymous
01:46 AM Feature #9548: Module curry
That is not "currying", but "partial application."
http://lambda-the-ultimate.org/node/2266
--
Yusuke Endoh <...
mame (Yusuke Endoh)
12:22 AM Feature #9548: Module curry
Firstly, Proc has a #curry, though not as flexible as you would like: http://rubydoc.info/stdlib/core/Proc#curry-inst... srawlins (Sam Rawlins)
07:50 AM Bug #8978: Fiddle possibly misuses mprotect
r45122 naruse (Yui NARUSE)
07:49 AM Feature #9552: Module map!
I failed to notice that `Method#parameters` was already available. This makes it possible for me to implement my desi... Anonymous
06:52 AM Feature #9552: Module map!
Core-level syntax might be similar to that of `alias`,
```ruby
class FooBarBazCollection
map! fn foos, barn ba...
Anonymous
06:44 AM Feature #9552 (Feedback): Module map!
I would like to beg for `map!` directive in `Module`. I can imitate it with this code:
```ruby
class Module
de...
Anonymous
07:24 AM Bug #9430: [PATCH] benchmark/driver: avoid large alloc in driver process
r45121 naruse (Yui NARUSE)
07:19 AM Bug #9550: backport r45066
r45120 naruse (Yui NARUSE)
03:01 AM Bug #9550: backport r45066
r45066 was backported to ruby_2_0_0 at r45098. nagachika (Tomoyuki Chikanaga)
01:11 AM Bug #9550: backport r45066
backported into ruby_1_9_3 at r45093. usa (Usaku NAKAMURA)
01:06 AM Bug #9550 (Closed): backport r45066
個別にbackportチケットを切るのがめんどいので手抜いてこっちに作ります。 usa (Usaku NAKAMURA)
07:17 AM Bug #8783: ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
r45119 naruse (Yui NARUSE)
06:49 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> > http://bogomips.org/ruby.git/patch?id=d8241102f54
> > git://80x24.org/ruby sock...
normalperson (Eric Wong)
05:34 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> [email protected] wrote:
> > Eric Wong wrote:
> > > We should guard against sockerr settin...
shugo (Shugo Maeda)
12:48 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Eric Wong wrote:
> > We should guard against sockerr setting errno to
> > EINTR, E...
normalperson (Eric Wong)
06:16 AM Bug #9387: Documentation for Range#size is incomplete
r45118 naruse (Yui NARUSE)
06:11 AM Bug #9429: Fix typos
r45117 naruse (Yui NARUSE)
06:07 AM Bug #9483: Fix typo in OpenURI and Ripper documenation
r45116 naruse (Yui NARUSE)
06:04 AM Bug #9210: Adding extra example in docs
r45115 naruse (Yui NARUSE)
06:02 AM Bug #9093: Resolv: Multiple strings should be concatenated in a DNS record's data
r45114 naruse (Yui NARUSE)
05:56 AM Bug #9243: DOC fix example key exchane using DH
r45113 naruse (Yui NARUSE)
05:47 AM Bug #9152: Relic documentation in lib/xmlrpc/client.rb
r45112 naruse (Yui NARUSE)
05:40 AM Bug #9268: dead link to raa
r45111 naruse (Yui NARUSE)
05:20 AM Bug #9477: Address family not supported by protocol - socket(2) - udp
r45110 naruse (Yui NARUSE)
05:20 AM Feature #9528: mathn.rb library
Hi Umair,
You should attach a .patch file and wait for feedback.
Anonymous
05:14 AM Bug #9498: undefined method 'ord' for nil:NilClass from Resolv methods when internet connection is lost
r45109 naruse (Yui NARUSE)
05:06 AM Bug #9399: [PATCH] iseq: avoid potential memory leak in iseq_load
r44568 was backported to ruby_2_0_0 at r45108. nagachika (Tomoyuki Chikanaga)
04:35 AM Bug #9399: [PATCH] iseq: avoid potential memory leak in iseq_load
r45105. naruse (Yui NARUSE)
05:05 AM Bug #9452: Refining methods that should be private
r45107. naruse (Yui NARUSE)
05:01 AM Bug #9455: Blocks do not round-trip properly through ISeq dump/load
r44720 was backported to ruby_2_0_0 at r45106. nagachika (Tomoyuki Chikanaga)
04:23 AM Bug #9361: gem install --ignore-dependencies fails to install local gems
r44858. naruse (Yui NARUSE)
04:21 AM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
r45104. naruse (Yui NARUSE)
03:41 AM Bug #9551 (Closed): [DOC] Fix for documentation of Kernel::catch
The current documentation for `Kernel::catch` contains complicated examples and confusing language.
*"when arg is gi...
jessesielaff (Jesse Sielaff)

02/21/2014

11:32 PM Bug #9492: ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
r45090. naruse (Yui NARUSE)
09:12 PM Bug #9544: Ruby resolver not using autoport
I'd like to mention that you've got a hardcoded range of ports that can be used to _bind()_, however every system ime... samu (Jakub Szafranski)
11:01 AM Bug #9544: Ruby resolver not using autoport
EPERM may happen if you're using (like me) bind port filter policy. For instance, FreeBSD mac_portacl (http://www.fre... samu (Jakub Szafranski)
06:16 AM Bug #9544: Ruby resolver not using autoport
I tested several OSs and I found NetBSD 6.1.3 still doesn't randomize port:
% ruby -rsocket -e '10.times { p A...
akr (Akira Tanaka)
12:59 AM Bug #9544 (Feedback): Ruby resolver not using autoport
bind_random_port chooses more random than using the port 0.
The choosen ports by the port 0 is guessable from an a...
akr (Akira Tanaka)
12:41 AM Bug #9544 (Closed): Ruby resolver not using autoport
### Problem
On one of my production servers I've noticed that customers were failing to install anything using gem...
samu (Jakub Szafranski)
09:11 PM Feature #9549 (Rejected): Improvements to Time::strptime
I opened [a pull request on GitHub](https://github.com/ruby/ruby/pull/540) a few days ago but wanted to open a parall... sferik (Erik Michaels-Ober)
07:48 PM Feature #9548 (Feedback): Module curry
I would like to beg for either `Module#curry` method with syntax
```ruby
module Foo
curry( :sym2, :sym1, 0 => ...
Anonymous
06:54 PM Feature #7939: Alternative curry function creation
Thanks to Yui Naruse for reopening this issue. As a matter of fact, I hate the current behavior of `#curry` method wi... Anonymous
03:57 PM Bug #9308: def's return value causes errors
r45086. naruse (Yui NARUSE)
03:42 PM Bug #9416: 'private def' results in syntax errors in the method
r45086. naruse (Yui NARUSE)
03:06 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Shugo Maeda wrote:
> Shugo Maeda wrote:
> > On FreeBSD 10, Errno::ENOTCONN isn't raised, but Ruby goes in an infini...
shugo (Shugo Maeda)
01:11 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Shugo Maeda wrote:
> On FreeBSD 10, Errno::ENOTCONN isn't raised, but Ruby goes in an infinite loop because getsocko...
shugo (Shugo Maeda)
08:17 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> > > However, I still prefer my v2 if possible:
> > > http://bogomips.org/ruby.git/patch?id...
shugo (Shugo Maeda)
07:38 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Eric Wong wrote:
> > Anyways, I have an alternative (v3) patch here which retries co...
normalperson (Eric Wong)
03:43 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> Anyways, I have an alternative (v3) patch here which retries connect()
> on EINTR and ERESTART...
shugo (Shugo Maeda)
02:59 PM Bug #9547 (Closed): TCPSocket.new causes an infinite loop when interrupted by a signal
Applied in changeset r45084.
----------
* ext/socket/init.c (wait_connectable): break if the socket is
writable to...
shugo (Shugo Maeda)
02:06 PM Bug #9547 (Closed): TCPSocket.new causes an infinite loop when interrupted by a signal
The script attached in #9356 goes in an infinite loop on FreeBSD (and other platforms conforming to SUSv3).
Naruse-s...
shugo (Shugo Maeda)
02:54 PM Bug #9314: String#encode method raises TypeError when called with Encoding::UTF_16
r45083. naruse (Yui NARUSE)
02:14 PM Bug #9329: ./configure --enable-shared --enable-relocatable && make fails
r45082. naruse (Yui NARUSE)
02:08 PM Bug #9333: win32/Makefile.sub malconfiguration
r45080. naruse (Yui NARUSE)
02:07 PM Bug #9546 (Rejected): TCPSocket.new causes an infinite loop when interrupted by a signal
すみません、間違えてruby-devにしてしまったので、ruby-coreの方にチケットを作成し直しました。 shugo (Shugo Maeda)
02:01 PM Bug #9546 (Rejected): TCPSocket.new causes an infinite loop when interrupted by a signal
The script attached in #9356 goes in an infinite loop on FreeBSD (and other platforms conforming to SUSv3).
Naruse-s...
shugo (Shugo Maeda)
02:06 PM Bug #9300: YAML Regression Concerning Escaping of Strings
r45079. naruse (Yui NARUSE)
01:49 PM Bug #9472: rb_io_syswrite needs RB_GC_GUARD
r45078. naruse (Yui NARUSE)
11:42 AM Bug #9535 (Closed): Kernel.send(:initialize_copy, Kernel) で segmentation fault
Applied in changeset r45076.
----------
class.c: do nothing if copying self
* class.c (rb_mod_init_copy): do nothin...
nobu (Nobuyoshi Nakada)
09:09 AM Bug #9273: parse_resolv_conf fails with unicode comments in /etc/resolvconf.c
r45075. naruse (Yui NARUSE)
09:00 AM Bug #9540 (Rejected): Number formatting with 4.225 fails
Samu Voutilainen wrote:
> When I’m trying to floor number with line “"%.2f" % 4.225”, I get 4.22 as result, instead ...
shugo (Shugo Maeda)
08:34 AM Bug #9415: Strings#codepoints doesn't respect BOM on UTF-{16,32} pseudo encodings
r45074 naruse (Yui NARUSE)
07:58 AM Feature #9508: Add method coverage and branch coverage metrics
[email protected] wrote:
> Good call Eric. I've carried out your suggestion [1], and attached the cumulative pa...
normalperson (Eric Wong)
05:03 AM Feature #9508: Add method coverage and branch coverage metrics
Good call Eric. I've carried out your suggestion [1], and attached the cumulative patch.
[1] this commit: https://...
srawlins (Sam Rawlins)
12:57 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
I'm absolutely against including external libraries into ruby repository itself, e.g., libyaml.
It may not be the wo...
nobu (Nobuyoshi Nakada)

02/20/2014

11:53 PM Bug #7805: ruby 2.0rc2 core on solaris
Thanks for taking a look, r45064 normalperson (Eric Wong)
11:46 PM Bug #7805 (Closed): ruby 2.0rc2 core on solaris
Applied in changeset r45064.
----------
gc.c: RB_GC_GUARD should be robust enough for any compiler
* include/ruby/r...
Anonymous
11:10 PM Bug #7805: ruby 2.0rc2 core on solaris
Seems better.
Let's try.
nobu (Nobuyoshi Nakada)
10:09 PM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> I'd like to hear others' thoughts.

Likewise. We need to hear folks with more exper...
normalperson (Eric Wong)
08:26 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> I'm not sure about implementations of getsockopt(SO_ERROR),
> there are too many differences f...
shugo (Shugo Maeda)
07:35 PM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
Now the patch... stomar (Marcus Stollsteimer)
07:34 PM Bug #9543 (Closed): [Doc] Fix example in GServer documentation (lib/gserver)
The code example does not match its description: the server should return time in seconds since 1970.
Patch append...
stomar (Marcus Stollsteimer)
04:35 PM Bug #9542 (Rejected): Delegator does not delegate protected methods
The Delegator of the "delegate" standard library has changed its behaviour since 2.0 because of the change in "respon... vrinek (Konstantinos Karachalios)
01:29 PM Bug #9443 (Rejected): Prepended methods are skipped if calling alias
It's a spec.
Aliased methods share the body, so `alias_method_chain` can work.
It's not related to `prepend`.
nobu (Nobuyoshi Nakada)
12:12 PM Bug #9443: Prepended methods are skipped if calling alias
I think it's intended behavior. nobu, how do you think? nagachika (Tomoyuki Chikanaga)
01:23 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Eric Wong wrote:
> * backwards for loop for list is confusing to me,
> any reason for not reversing list decl...
akr (Akira Tanaka)
08:58 AM Bug #9525 (Closed): Stuck with Socket.pack_sockaddr_in
kosaki (Motohiro KOSAKI)
07:53 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
[email protected] wrote:
> I tried to workaround this issue at r45047.
> However I don't have an environment to reprodu...
normalperson (Eric Wong)
06:35 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
I tried to workaround this issue at r45047.
However I don't have an environment to reproduce the problem.
Would a...
akr (Akira Tanaka)
11:53 AM Bug #9541 (Closed): Markedly increased Hash memory usage if Hash is cleared before reinsertion.
After a recent upgrade to Ruby 2.1.0 I noticed a significant increase in memory usage when using hashes of any size w... hanke (Florian Hanke)
09:34 AM Bug #9540 (Rejected): Number formatting with 4.225 fails
Hi,
When I’m trying to floor number with line “"%.2f" % 4.225”, I get 4.22 as result, instead of 4.23. Rounding fo...
Smar (Samu Voutilainen)
09:10 AM Bug #9539 (Closed): REXML XPath UTF8 encoding problem
I found some problems in REXML when processing XPath expressions with Unicode not ascii characters. I attached a samp... mbarcala (Mario Barcala)
04:45 AM Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn
r45061 on ruby_2_1 naruse (Yui NARUSE)
04:01 AM Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn
COMMITS: 44687,44706,44727 naruse (Yui NARUSE)
03:52 AM Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn
I wrote https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestBackport
naruse (Yui NARUSE)
02:27 AM Bug #9533 (Closed): ruby 2.1.0のHash#flattenが以前のバージョンと異なる挙動をする
Applied in changeset r45057.
----------
* hash.c (rb_hash_flatten): fix behavior of flatten(-1).
[ruby-dev:47988] ...
Anonymous
01:59 AM Bug #9533 (Assigned): ruby 2.1.0のHash#flattenが以前のバージョンと異なる挙動をする
Glass_saga (Masaki Matsushita)
12:35 AM Bug #9534: bundle exec rake assets:precompile fails
Hey,
I noticed that you are on ruby 2.1.0p0. I could install ffi gem successfully for ruby-2.1.0 on Maverics. Just...
andhapp (Anuj Dutta)

02/19/2014

08:43 PM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Eric Wong wrote:
> > > Ah, I see. However, if getsockopt() returns no error, we can...
normalperson (Eric Wong)
12:00 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> > Ah, I see. However, if getsockopt() returns no error, we can know
> > that at least connect...
shugo (Shugo Maeda)
09:33 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong <[email protected]> wrote:
> Ah, I forget the outer for(;;) loop. Maybe it's better to not loop,
> ...
normalperson (Eric Wong)
09:33 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Eric Wong wrote:
> > > Could you describe such a race condition in detail?
> >
>...
normalperson (Eric Wong)
09:01 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> > Could you describe such a race condition in detail?
>
> getsockopt(SO_ERROR) => no error...
shugo (Shugo Maeda)
08:19 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Eric Wong wrote:
> > OK. I wonder if we should even use getsockopt(SO_ERROR) at all...
normalperson (Eric Wong)
03:11 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> OK. I wonder if we should even use getsockopt(SO_ERROR) at all.
>
> I know there's much li...
shugo (Shugo Maeda)
05:59 PM Bug #9535 (Closed): Kernel.send(:initialize_copy, Kernel) で segmentation fault
以下のコードを実行すると segmentation fault が起きます。
Kernel.send(:initialize_copy, Kernel)
trunk (45047)、2.1.0p0、2.0.0p35...
ursm (Keita Urashima)
05:56 PM Bug #9534 (Closed): bundle exec rake assets:precompile fails
Hi all
Sorry for the title, I really don't know what to put.
I don't know anything about ruby but when trying to ru...
tux1124 (Jean Dubois)
05:06 PM Bug #9228: rdoc can't generate documentation for ext/thread/thread.c on trunk
r44082 was partially (only for ext/syslog/lib) backported to ruby_2_0_0 at r45052. nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #8817: Method#owner on prepended classes is an instance rather than Class/Method
sorry for my late response. r44175 and r44179 were already backported to ruby_2_0_0. see #7993 nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #9377: Seg fault on call of missing super from self.extended in a Module
r44527 was backported to `ruby_2_0_0` at r45051. nagachika (Tomoyuki Chikanaga)
04:38 PM Bug #8865: OptionParser acceptable bugs
r42844 and r42845 were backported to ruby_2_0_0 at r45050. nagachika (Tomoyuki Chikanaga)
04:28 PM Bug #8433: Mutexes held by background threads at fork not always released
r43148, r43149, and r43152 were backported to ruby_2_0_0 at r45049. nagachika (Tomoyuki Chikanaga)
03:27 PM Bug #9533 (Closed): ruby 2.1.0のHash#flattenが以前のバージョンと異なる挙動をする
ruby 2.1.0で、Hash#flattenに0以下の引数を与えた場合、ruby 2.0.0以前と
異なる結果を返します。例えば、以下のコード
h = {:a=>1, :b=>[2,3], :c=>4}
...
taksski (Takeshi Sasaki)
11:11 AM Feature #9528: mathn.rb library
Please guide how can I contribute, I have code written on my local.
umair.amjad (Umair Amjad)
09:09 AM Bug #9526 (Rejected): Method#owner returns wrong owner if using prepend.
Kaneko Yuichiro wrote:
> Sorry, I misunderstood behavior of prepend. Shugo and Boris are right. Thanks for your quic...
shugo (Shugo Maeda)
06:25 AM Bug #9276 (Closed): "RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead" warning should not be issued when both ENV vars are set.
naruse (Yui NARUSE)
04:55 AM Bug #8770 (Assigned): [PATCH] process.c: avoid EINTR from Process.spawn
tmm1 (Aman Karmani)
03:10 AM Bug #9354 (Closed): timeout() custom exception class cannot require argument
naruse (Yui NARUSE)
01:05 AM Bug #9127 (Assigned): URI::Generic#normalize documentation is vague.
zzak (zzak _)
01:04 AM Misc #9421 (Closed): [PATCH] doc/contributing.rdoc: allow/encourage other git hosts
Resolved by r44729
Thanks Eric!
zzak (zzak _)
12:05 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
@Eric
sure bench needs a bit more love to be totally representative of a rails request. Also this test will do ko...
sam.saffron (Sam Saffron)
12:00 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
[email protected] wrote:
> An artificial test is:
>
> @retained = []
>
> MAX_STRING_SIZE = 100
>
> de...
normalperson (Eric Wong)

02/18/2014

11:53 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
Note, this pattern of
1. Retaining large number of objects
2. Allocating a big chunk of objects (and releasing) ...
sam.saffron (Sam Saffron)
11:39 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
I can confirm 2 findings.
When heaps are small you barely notice a different.
When heaps grow and general memory...
sam.saffron (Sam Saffron)
11:48 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Motohiro KOSAKI wrote:
> I'm not an expert this area. But I guess we don't need to call getaddrinfo() in this case...
akr (Akira Tanaka)
07:35 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Akr-san,
I'm not an expert this area. But I guess we don't need to call getaddrinfo() in this case
because the na...
kosaki (Motohiro KOSAKI)
06:57 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I checked a glibc code. I don't think fa3fc0fe5f fixed this issue. It is a mere optimization patch.
I'm not sure why...
kosaki (Motohiro KOSAKI)
03:38 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think we can accept a workaround if there is a good patch. akr (Akira Tanaka)
05:24 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Thank you! Let me write a note here.
On my current environment, the glibc version was glibc-2.12-1.47.el6.x86_64....
sonots (Naotoshi Seo)
03:48 AM Bug #9525 (Third Party's Issue): Stuck with Socket.pack_sockaddr_in
gdb says __check_pf is guilty.
https://gist.github.com/sonots/9047653#file-gistfile3-txt
(gdb) bt
#0 0x...
naruse (Yui NARUSE)
11:20 PM Bug #9352 (Closed): [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
naruse (Yui NARUSE)
10:17 PM Feature #9532 (Assigned): Expose logger monitor
Please note: a number of libraries are using this class: https://github.com/search?l=ruby&q=LogDeviceMutex&ref=cmdfor... zzak (zzak _)
10:11 PM Feature #9532 (Closed): Expose logger monitor
I was wondering if we could do this type of change on the logger class:
https://github.com/arthurnn/ruby/commit/37...
arthurnn (Arthur Neves)
09:12 PM Bug #9521 (Assigned): [Doc] Fix error in Time.parse documentation (in lib/time)
zzak (zzak _)
09:12 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
Thank you for the patch! zzak (zzak _)
08:32 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
Eric Wong <[email protected]> wrote:
> The design is based on st, but uses linked-list of cache-sized arrays
>...
normalperson (Eric Wong)
07:45 PM Bug #9124 (Third Party's Issue): TestSocket errors in test-all on Arch 64-bit
We don't need to care upstream kernel specific bugs. Nobody except developer uses it.
I've closed this.
kosaki (Motohiro KOSAKI)
03:36 PM Bug #9124: TestSocket errors in test-all on Arch 64-bit
I think we can accept a workaround if there is well commented patch. akr (Akira Tanaka)
03:33 PM Bug #9529 (Assigned): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
luislavena (Luis Lavena)
01:33 PM Bug #9529 (Third Party's Issue): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
* The current TAR header parsing code assumes the size is represented as an octal string
* Because this is a 12-byte...
eranhirsch (Eran Hirsch)
01:46 PM Bug #9526: Method#owner returns wrong owner if using prepend.
Sorry, I misunderstood behavior of prepend. Shugo and Boris are right. Thanks for your quick responce. Please close t... yui-knk (Kaneko Yuichiro)
05:16 AM Bug #9526: Method#owner returns wrong owner if using prepend.
Also for me, this is the expected behavior. `MyMod` is prepended before `Blah`, and therefore `Blah.new.method( :x )`... Anonymous
01:30 AM Bug #9526 (Feedback): Method#owner returns wrong owner if using prepend.
shugo (Shugo Maeda)
01:30 AM Bug #9526: Method#owner returns wrong owner if using prepend.
Kaneko Yuichiro wrote:
> In this case, a class or module that defines a method is Blah.
> So I think Blah.new.metho...
shugo (Shugo Maeda)
01:28 PM Feature #9528 (Rejected): mathn.rb library
I want to add factorial method mathn.rb file as feature of Math module. umair.amjad (Umair Amjad)
10:59 AM Feature #9527 (Open): make Net::HTTP.get_print not only to $stdout but to an IO as a parameter
e.g.
url = 'http://server/path/large-file.zip'
fh = File.new(File.basename(url), 'wb')
Net::HTTP.get_print(URI(u...
bdimych (Dmitry Bolshakov)
10:43 AM Bug #9356: TCPSocket.new does not seem to handle INTR
"U.Nakamura" <[email protected]> wrote:
> In message "[ruby-core:60819] [ruby-trunk - Bug #9356] TCPSocket.new ...
normalperson (Eric Wong)
09:58 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Hi,

In message "[ruby-core:60819] [ruby-trunk - Bug #9356] TCPSocket.new does not seem to handle INTR"
on Fe...
usa (Usaku NAKAMURA)
09:34 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> Eric Wong <[email protected]> wrote:
> > Thanks for trying. This is probably specific to *...
shugo (Shugo Maeda)
08:12 AM Bug #7805: ruby 2.0rc2 core on solaris
Can you please try the following patch?
This is hopefully robust enough for all future compilers:
http://bogomips...
normalperson (Eric Wong)
07:22 AM Bug #7805: ruby 2.0rc2 core on solaris
Sorry about the breakage. Instead of reverting completely and using
volatile again, we should try to make RB_GC_GU...
normalperson (Eric Wong)
07:12 AM Bug #7805 (Open): ruby 2.0rc2 core on solaris
Please completely revert r44994 and r45025.
r45025 partly reverts r44494 and cause regression.
ngoto (Naohisa Goto)

02/17/2014

10:46 PM Feature #8850: Convert Rational to decimal string
I've updated the patch by rebasing and fixing syntax.
https://github.com/mrkn/ruby/compare/64634f92f3474babab93264b3...
mrkn (Kenta Murata)
02:24 PM Bug #9526 (Rejected): Method#owner returns wrong owner if using prepend.
rdoc indicates that Method#owner will return a class or module that defines a method.
http://www.ruby-doc.org/core-2...
yui-knk (Kaneko Yuichiro)
12:12 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think that PF_NETLINK is not a socket to communicate to another host. akr (Akira Tanaka)
12:08 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Following command on CentOS release 6.2 x86_64 returned a line
$ strace -e socket /usr/lib64/fluent/ruby/bin/r...
sonots (Naotoshi Seo)
11:55 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
I guess getaddrinfo() doesn't block if an IP address is given.
At least, following command on Debian GNU/Linux (je...
akr (Akira Tanaka)
11:52 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think it is very difficult to add timeout to getaddrinfo() function in C. akr (Akira Tanaka)
11:49 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Are there any ways to timeout Socket.pack_sockaddr_in?
If so, this problem should be resolved.
EDIT: And, I was...
sonots (Naotoshi Seo)
11:45 AM Bug #9525 (Feedback): Stuck with Socket.pack_sockaddr_in
Socket.pack_sockaddr_in can block with a name resolution.
If you think the name resolution doesn't block, please exp...
akr (Akira Tanaka)
11:30 AM Bug #9525 (Closed): Stuck with Socket.pack_sockaddr_in
We met this trouble with Fluentd https://github.com/fluent/fluentd.
Fluentd is sometimes stuck at `Socket.pack_so...
sonots (Naotoshi Seo)
09:10 AM Bug #8433: Mutexes held by background threads at fork not always released
r43148, r43149, and r43152 are backported into ruby_1_9_3 at r45026. usa (Usaku NAKAMURA)
08:54 AM Bug #8443: -Lprefix/lib
1.9.3では諦めます。 usa (Usaku NAKAMURA)
08:42 AM Bug #9523 (Closed): marshal_dump and callcc causes SEGV
Applied in changeset r45025.
----------
marshal.c: do not recycle wrapper objects
* marshal.c (marshal_dump, marsha...
nobu (Nobuyoshi Nakada)
05:15 AM Feature #9502: Remove deprecated definitions
Koichi Sasada wrote:
> I copied this table to the following page:
> https://bugs.ruby-lang.org/projects/ruby-trunk/...
ko1 (Koichi Sasada)
05:07 AM Feature #9502: Remove deprecated definitions
I copied this table to the following page:
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunction...
ko1 (Koichi Sasada)

02/16/2014

11:05 PM Bug #9523 (Closed): marshal_dump and callcc causes SEGV
Ruby dumps core as follows.
% ./ruby -rcontinuation -e '
class C
def marshal_dump
callc...
akr (Akira Tanaka)
05:03 PM Bug #9385: open-uri always uses proxy set as env var even if proxy flag is set to nil
r44637 was backported to ruby_2_0_0 at r45014. nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #9387: Documentation for Range#size is incomplete
r44549 was backported to ruby_2_0_0 at r45013. nagachika (Tomoyuki Chikanaga)
04:57 PM Bug #8425: webrick show local filesystem charset bug
r40830 and r40848 were backported to ruby_2_0_0 at r45012. nagachika (Tomoyuki Chikanaga)
04:48 PM Bug #9187: st_table leaks when exception is raised in Hash#rehash
r43942, r43957 and r43975 were backported to `ruby_2_0_0` at r45011. nagachika (Tomoyuki Chikanaga)
04:32 PM Bug #9413: Object Metaclass Constants Array doesn't Include Singleton Constant
r44628 was backported to `ruby_2_0_0` at r45010. nagachika (Tomoyuki Chikanaga)
04:17 PM Bug #9374: [PATCH] ext/json: objects depend on $(ruby_headers)
r44514 was backported to ruby_2_0_0 at r45009. nagachika (Tomoyuki Chikanaga)
04:14 PM Bug #8978: Fiddle possibly misuses mprotect
r44731 and r44751 were backported to ruby_2_0_0 at r45008. nagachika (Tomoyuki Chikanaga)
04:11 PM Bug #9430: [PATCH] benchmark/driver: avoid large alloc in driver process
r44772 was backported to ruby_2_0_0 at r45007. nagachika (Tomoyuki Chikanaga)
04:07 PM Bug #8783: ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
r44670, r44671, r44673 and r44675 were backported to ruby_2_0_0 r45006. nagachika (Tomoyuki Chikanaga)
03:26 PM Feature #9362 (Rejected): Minimize cache misshit to gain optimal speed
In the last developer meeting we agreed that sacrificing memory
consumption to gain speed is not a contemporary nice...
shyouhei (Shyouhei Urabe)
02:14 PM Feature #8850: Convert Rational to decimal string
I updated the patch to use rb_check_arity: https://github.com/mrkn/ruby/commit/a6837fab190fed2707ec7e13c494cd4b642ff630 mrkn (Kenta Murata)
05:20 AM Feature #8850 (Assigned): Convert Rational to decimal string
mrkn (Kenta Murata)
05:36 AM Feature #9522 (Open): Float( "NaN" ), Float( "Infinity" )
I have noticed that 0.0 / 0.0 returns NaN, but Float( "#{0.0 / 0.0}" ),
or simply Float( "NaN" ) does not return Flo...
Anonymous
 

Also available in: Atom