Project

General

Profile

Activity

From 01/02/2014 to 01/08/2014

01/08/2014

11:29 PM Bug #9384: Segfault in ruby 2.1.0p0
I tried with ruby-2.1.0-head installed with RVM. It downloaded ruby from ruby_2_1 branch, SHA 41deb12e9d6646b42ef0e01... cbliard (Christophe Bliard)
07:40 PM Bug #9384 (Third Party's Issue): Segfault in ruby 2.1.0p0
I got a stacktrace while capistrano was deploying our rails app to our server. We switched to ruby 2.1.0 recently. It... cbliard (Christophe Bliard)
11:12 PM Bug #9377: Seg fault on call of missing super from self.extended in a Module
Since 2.0, `vm_search_superclass()` doesn't traverse the receiver's ancestors.
It works just because an invalid klas...
nobu (Nobuyoshi Nakada)
10:53 PM Bug #9377 (Closed): Seg fault on call of missing super from self.extended in a Module
This issue was solved with changeset r44527.
Joe, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
09:11 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
=begin
We (((<Planio|URL:https://plan.io>))) are also in need of Windows-1258 to UTF-8 conversion, is there anything...
thegcat (Felix Schäfer)
08:07 PM Bug #9382: [patch] add opt_aref_str and opt_aset_str
With the patch, "allocations per request" in our app is reduced by ~3%. tmm1 (Aman Karmani)
06:07 PM Bug #9382 (Closed): [patch] add opt_aref_str and opt_aset_str
@charliesome, @normalperson and I have been working on a patch to add two new instructions:
https://bugs.ruby-la...
tmm1 (Aman Karmani)
07:08 PM Feature #9383 (Closed): Add unit test for FileUtils.chown_R
There is no unit tests for FileUtils.chown_R.
Here is the patch to add unit test for FileUtils.chown_R.
vajrasky (Vajrasky Kok)
03:55 PM Bug #9381 (Closed): 2.1.0 Regression. Hash lookup with #hash and #eql?
This issue was solved with changeset r44525.
Nick, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
03:38 PM Bug #9381 (Assigned): 2.1.0 Regression. Hash lookup with #hash and #eql?
nobu (Nobuyoshi Nakada)
12:56 PM Bug #9381 (Closed): 2.1.0 Regression. Hash lookup with #hash and #eql?
Ruby 2.1.0 won't fetch objects when the lookup key overrides `#hash` and `#eql?`.
This is a regression as it works a...
nick78 (Nick S)
01:12 PM Bug #9380 (Closed): Enumerator does not work in timeout
This issue was solved with changeset r44523.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
12:46 PM Bug #9380 (Closed): Enumerator does not work in timeout
`Enumerator`と`timeout`の組み合わせで、`Timeout::Error`が起きるべきところで`ArgumentError`が発生します。
```
$ ruby -v -rtimeout -e 'def (o...
nobu (Nobuyoshi Nakada)
10:36 AM Bug #8358: TestSprintf#test_float test failure
In the case of using SSE2, -mstackrealign flag would be required for Windows.
See #8349
h.shirosaki (Hiroshi Shirosaki)
10:26 AM Bug #9109 (Assigned): extend したモジュールメソッドと RSpec の let で 2 つ同名を使ったときに segmentation fault になる
[i386-mingw32] では、SEGVになってしまうようです。
これは直るのでしょうか?
以下、gdbの出力です。
```
sh-3.1$ gdb -args ./ruby -v -I. -I ../../../r...
h.shirosaki (Hiroshi Shirosaki)
12:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
Hello,

2014/1/7 Urabe Shyouhei <[email protected]>:
> My experiment on valgrind clearly shows decreasing...
mame (Yusuke Endoh)
12:32 AM Feature #9379 (Closed): Support for using libxml-ruby as XML parser in xmlrpc-libs
The default backend in the XMLRPC parser is REXML. This should work at most occasions, but it definitely isn't the fa... herwinw (Herwin Quarantainenet)

01/07/2014

11:21 PM Bug #9378 (Closed): Ubuntu 13.10, installed dtrace4linux, now ruby install consistently fails with SEGFAULT
Recently installed [dtrace4linux](https://github.com/dtrace4linux/linux) because I wanted to try out the dtrace suppo... edubkendo (Eric West)
10:29 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/07/2014 07:36 AM, SASADA Koichi wrote:
> Effective on recent CPUs?

Because this is about cache your mil...
shyouhei (Shyouhei Urabe)
10:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> Eric Wong <[email protected]> wrote:
> > I am testing this, it lo...
normalperson (Eric Wong)
07:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
(2014/01/06 23:10), Urabe Shyouhei wrote:
> On 01/06/2014 06:11 PM, Urabe Shyouhei wrote:
>> On 01/06/2014 04:52...
ko1 (Koichi Sasada)
10:24 PM Bug #9367 (Assigned): REXML::XmlDecl doesn't use user specified quotes
duerst (Martin Dürst) wrote:
> It probably won't hurt if this is controllable. But there might be some existing ap...
kou (Kouhei Sutou)
05:40 PM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
bearmini (Takashi Oguma) wrote:
> A direct reason is that my customer wants to have double quotes in the xml declara...
duerst (Martin Dürst)
11:01 AM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
A direct reason is that my customer wants to have double quotes in the xml declaration because their handcrafted 'xml... bearmini (Takashi Oguma)
10:14 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
Compiling with clang produces warnings:
in file included from ./include/ruby/ruby.h:1694:
./include/ruby/intern.h...
drkaes (Stefan Kaes)
08:10 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
It sounds good to me. Any behavior with a balanced count of `call` and `return` events work.
Big thanks @ko1.
deivid (David Rodríguez)
08:06 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
The order of trace events is acceptable.
It's not ideal though: I think one would expect the events for creating t...
drkaes (Stefan Kaes)
06:53 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
I modify the patch and all tests passes.
http://www.atdot.net/sp/raw/6ny0zm

If we can accept the spec of this...
ko1 (Koichi Sasada)
06:23 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
(2014/01/03 3:19), drkaes (Stefan Kaes) wrote:
> @ko1: Why do you think the second patch creates a performance pro...
ko1 (Koichi Sasada)
05:04 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
@drkaes If this only happens in certain c-methods it certainly looks like a bug. Thanks for working on this.
Thank...
deivid (David Rodríguez)
05:35 PM Bug #9308: def's return value causes errors
1.9.3 is not dead... yet. usa (Usaku NAKAMURA)
12:59 PM Bug #9308: def's return value causes errors
I set backport to 2.0 to REQUIRED, because this is an old issue but noone has never been hit.
For source-level compa...
nobu (Nobuyoshi Nakada)
04:15 PM Bug #9377 (Closed): Seg fault on call of missing super from self.extended in a Module
Seg fault on call of missing super from `self.extended` in a Module
on 2.1.0-p0 and on 2.1.0-dev
x86_64 linux
Co...
jemc (Joe McIlvain)
02:05 PM Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013
tadf (tadayoshi funaba) wrote:
> A period of time of seven days within a calendar year, starting on a
> Monday and ...
duerst (Martin Dürst)
08:13 AM Bug #9372 (Rejected): Date function cweek reports innaccurately for the date December 30, 2013
A period of time of seven days within a calendar year, starting on a
Monday and identified by its ordinal number wit...
tadf (tadayoshi funaba)
07:54 AM Bug #9372 (Assigned): Date function cweek reports innaccurately for the date December 30, 2013
tadf (tadayoshi funaba)
01:12 AM Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013
I've added some code for extra clarity.
~~~ruby
2.0.0p247 :017 > require 'date'
=> true
2.0.0p247 :018 > d = ...
pblesi (Patrick Blesi)
01:01 AM Bug #9372 (Rejected): Date function cweek reports innaccurately for the date December 30, 2013
Date function cweek reports innaccurately for the date December 30, 2013. The current week is reported as 1 instead ... pblesi (Patrick Blesi)
02:03 PM Bug #9354 (Open): timeout() custom exception class cannot require argument
Timeout in 2.0 doesn't use catch/throw, so it doesn't need to backport. nobu (Nobuyoshi Nakada)
12:54 PM Bug #9354: timeout() custom exception class cannot require argument
Thanks @nobu. This is causing some failures in the faraday gem, so I think we should backport it to 2.1 tmm1 (Aman Karmani)
12:42 PM Bug #9354 (Closed): timeout() custom exception class cannot require argument
This issue was solved with changeset r44517.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
01:00 PM Bug #9376 (Closed): Passing do/end block inside decorated method fails, while passing {} block works.
nobu (Nobuyoshi Nakada)
12:21 PM Bug #9376 (Closed): Passing do/end block inside decorated method fails, while passing {} block works.
=begin
Since method (({def})) returns the symbol in 2.1, it opens the door for a decorator pattern in which the meth...
jemc (Joe McIlvain)
10:13 AM Bug #9374 (Closed): [PATCH] ext/json: objects depend on $(ruby_headers)
This issue was solved with changeset r44514.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
09:48 AM Bug #9374 (Closed): [PATCH] ext/json: objects depend on $(ruby_headers)
We must rebuild the extension on Ruby ABI changes, otherwise
we'll get mysterious test failures
I encountered thi...
normalperson (Eric Wong)
07:54 AM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
> My concern is performance regression with huge entries of fstring table
> with this technique. Maybe we can avoid ...
tmm1 (Aman Karmani)
05:37 AM Bug #9334: activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
This issue is resolved on trunk, but has not been backported to 2.1 yet. Please confirm on trunk instead of ruby_2_1 tmm1 (Aman Karmani)
05:23 AM Bug #9334: activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
I have attempted with ruby 2.1.0 head ruby 2.1.1p2 (2013-12-31 revision 44467) [x86_64-darwin13.0]
The same issue ...
malagodia (Andrea Malagodi)
04:38 AM Bug #9340 (Closed): Document order related behavior in Array#uniq
This issue was solved with changeset r44512.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is...
tmm1 (Aman Karmani)
01:49 AM Bug #9373 (Third Party's Issue): test_autobind(TestSocket_UNIXSocket) fails on PPC
=begin
test_autobind(TestSocket_UNIXSocket) fails quite often on PPC:
test_autobind(TestSocket_UNIXSocket):
...
vo.x (Vit Ondruch)
01:37 AM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
Hello,
Jan, thank you for your investigation!
r44455, r44458 and r44510 were backported to `ruby_2_0_0` branch at...
nagachika (Tomoyuki Chikanaga)
12:49 AM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
r44458 fixed it.
Now I filled the Backport property, it will be backported.
nobu (Nobuyoshi Nakada)
12:36 AM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
Yes, `ruby 2.2.0dev (2014-01-06 trunk 44510) [x86_64-linux]` indeed works. Looks somehow I missed the most important ... jgraichen (Jan Graichen)

01/06/2014

11:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/06/2014 06:11 PM, Urabe Shyouhei wrote:
> On 01/06/2014 04:52 PM, SASADA Koichi wrote:
>> Could you try sa...
shyouhei (Shyouhei Urabe)
06:29 PM Feature #9362: Minimize cache misshit to gain optimal speed
SASADA Koichi <[email protected]> wrote:
> I doubt that this improvement only for extending embed area, not a cache
...
normalperson (Eric Wong)
06:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/06/2014 04:52 PM, SASADA Koichi wrote:
> Could you try same measurement
> https://github.com/ruby/ruby/pul...
shyouhei (Shyouhei Urabe)
04:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
Intersting challenge.

I doubt that this improvement only for extending embed area, not a cache
line friendly ...
ko1 (Koichi Sasada)
02:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> I am testing this, it looks like GC is confused by EMBED_FLAG being
>...
normalperson (Eric Wong)
01:59 PM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> I am testing this, it looks like GC is confused by EMBED_FLAG being
>...
normalperson (Eric Wong)
01:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
Urabe Shyouhei <[email protected]> wrote:
> On 01/06/2014 12:02 PM, Eric Wong wrote:
> > gdb bt: http://80x...
normalperson (Eric Wong)
12:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/06/2014 12:02 PM, Eric Wong wrote:
> gdb bt: http://80x24.org/fe8820a15f0c7a25a532968601c645d1de7a3f95.bt.gz...
shyouhei (Shyouhei Urabe)
12:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> However, I'm getting occasional segfaults on "make check" :<
> I'll t...
normalperson (Eric Wong)
11:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
Btw, I started working on cachelined-time branch on git://80x24.org/ruby
to embed Time objects.

ruby -r bench...
normalperson (Eric Wong)
10:41 PM Feature #9371 (Closed): Remove NQXML from xmlrpc/parser
In lib/xmlrpc/parser.rb a number of parsing backends exist. One of them uses the library nqxml. There is no gem for t... herwinw (Herwin Quarantainenet)
10:00 PM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
Seems working on the trunk. nobu (Nobuyoshi Nakada)
08:04 PM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
I've finally had time to test my test suite on current ruby heads and encountered some other similar problems again.
...
jgraichen (Jan Graichen)
08:38 PM Bug #9370 (Closed): Parse error when using XMLTreeParser in xmlrpc
When using XMLTreeParser as the parser in the XMLRPC libraries, a simple methodCall parse with a parameter results in... herwinw (Herwin Quarantainenet)
07:30 PM Bug #9369 (Closed): Using XMLScanStreamParser in xmlrpc/parser may result in parse errors
I've tried to use the attached script to test if the XMLScanStreamParser would be a suitable alternative for REXMLPar... herwinw (Herwin Quarantainenet)
05:41 PM Bug #9367 (Feedback): REXML::XmlDecl doesn't use user specified quotes
Strictly speaking, the XML declaration doesn't contain any attributes, only things that look like attributes. They ar... duerst (Martin Dürst)
05:11 PM Bug #9367 (Closed): REXML::XmlDecl doesn't use user specified quotes
=begin
REXML uses double quotes for quoting attributes if :attribute_quote is specified as document's context like b...
bearmini (Takashi Oguma)
04:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
SASADA Koichi <[email protected]> wrote:
> I got it.
>
> My concern is performance regression with huge entries o...
normalperson (Eric Wong)
04:23 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
(2014/01/06 15:49), Eric Wong wrote:
> Mine replaces nd_lit in node directly (seems OK, since other
> rb_fstring...
ko1 (Koichi Sasada)
03:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
SASADA Koichi <[email protected]> wrote:
> (2014/01/03 12:49), Eric Wong wrote:
> > Btw, I took some time to work on...
normalperson (Eric Wong)
03:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
(2014/01/03 12:49), Eric Wong wrote:
> Btw, I took some time to work on this further. Only _very_ lightly
> tes...
ko1 (Koichi Sasada)
04:38 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
The patch isn't ideal yet: in case of const-missing, the c-return event is generated too early. I know how to fix thi... drkaes (Stefan Kaes)
04:25 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
I have extended the patch to also cover method_missing, by changing a single cfp pointer manipulation to a call of rb... drkaes (Stefan Kaes)
05:51 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
You can use rb_profile_frames() in 2.1, but it only reports ruby frames so it won't help identify C-call/return event... tmm1 (Aman Karmani)
03:56 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
In byebug, the problem is I don't manually mantain the call stack, but only keep track of the stack size through the ... deivid (David Rodríguez)
04:23 PM Bug #9262: global_method_cache should be configurable or grow automatically
Hi,

Now, method cache technique is important and we need more measurement
and techniques.

##

From R...
ko1 (Koichi Sasada)
03:59 PM Bug #9366 (Feedback): "make -j32 check TESTS=-j32" occasionally fails on rubygems/specification
This only happens occasionally, maybe 1 out of 10 times during "make check",
so it's probably a bug somewhere with G...
normalperson (Eric Wong)
02:44 PM Bug #9170: Math.sqrt returns different types when mathn is included; breaks various gems - this bug can be reproduced in Ruby 1.8 as well
mrkn (Kenta Murata) wrote:
> It's not a bug.
I'm a middle-man here, but I have gem maintainers claiming that it i...
kranzky (Jason Hutchens)
07:44 AM Bug #9365 (Closed): Sporadic TypeError (wrong argument type Thread (expected VM/thread)) from IO#close (via Net:HTTP)
I'm seeing the occasional error being thrown from Net:HTTP from a Rails app running under unicorn:
TypeError (wron...
ggiesemann (Geoffrey Giesemann)
06:01 AM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
@nobu cleaned up the patch in r44496, so that can be backported instead of r44490 tmm1 (Aman Karmani)
05:20 AM Bug #9364 (Closed): Documentation for curses library still listed under standard library
The documentation for curses library is still listed under standard library, however curses is removed from standard ... steenslag (siep korteling)
12:26 AM Bug #9340: Document order related behavior in Array#uniq
Yes, this should be fixed. I just linked a few failing specs in sass to this issue: https://github.com/nex3/sass/issu... felixbuenemann (Felix Bünemann)

01/05/2014

08:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/05/2014 12:45 PM, Eric Wong wrote:
> This fixes exploding of recursive hashes, as inserting the hash i...
shyouhei (Shyouhei Urabe)
12:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> Only one failure left (doesn't happen on my 32-bit, only amd64 Debian w...
normalperson (Eric Wong)
04:13 AM Bug #9363 (Rejected): test_http.rb and others must be run as root
Sorry, ignore this. I discovered that it was a bug in JRuby's BasicSocket.for_fd logic causing it to try to bind to t... headius (Charles Nutter)
02:41 AM Bug #9363 (Rejected): test_http.rb and others must be run as root
It seems like test/net/test_http.rb (and perhaps other network-related tests) must be run as root to test properly...... headius (Charles Nutter)

01/04/2014

10:46 PM Bug #9353 (Open): Struct setter methods now return the struct object rather than the value
Anonymous
10:44 PM Bug #9353 (Closed): Struct setter methods now return the struct object rather than the value
This issue was solved with changeset r44501.
Charlie, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
08:59 PM Feature #9362: Minimize cache misshit to gain optimal speed
On 01/04/2014 06:14 PM, Eric Wong wrote:
> Potential for future improvement:
>
> st_table and st_table_entry ...
shyouhei (Shyouhei Urabe)
08:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
Sweet! Merged. Thank you.

On 01/04/2014 08:12 PM, Eric Wong wrote:
> Eric Wong <[email protected]> wrote...
shyouhei (Shyouhei Urabe)
08:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> OK, last update of the night :o I think everything is good on 32-bit.....
normalperson (Eric Wong)
06:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
Potential for future improvement:

st_table and st_table_entry are both 48 bytes on 64-bit. That means
those ...
normalperson (Eric Wong)
11:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
OK, last update of the night :o I think everything is good on 32-bit...

The following changes since commit 67a...
normalperson (Eric Wong)
10:23 AM Feature #9362: Minimize cache misshit to gain optimal speed
Btw, I just pushed a few trivial fixes up (a few more failures below):

The following changes since commit 67a86...
normalperson (Eric Wong)
09:29 AM Feature #9362: Minimize cache misshit to gain optimal speed
Eric Wong <[email protected]> wrote:
> 3 bits for embedded array/struct length does not seem to be enough :<
...
normalperson (Eric Wong)
09:23 AM Feature #9362: Minimize cache misshit to gain optimal speed
Hi, I noticed a trivial typo in array.c, and it fails building struct.c
and array.c on 32-bit x86 (with 64-byte ca...
normalperson (Eric Wong)
07:59 AM Feature #9362: Minimize cache misshit to gain optimal speed
Cool. I didn't expect the improvement for largely single-threaded
workloads. I'm not sure if it's feasible, but ...
normalperson (Eric Wong)
07:15 AM Feature #9362 (Rejected): Minimize cache misshit to gain optimal speed
Main features:
- Applies cleanly onto trunk,
- Passes tests,
- RUNS FASTER.
Detailed concepts, the patc...
shyouhei (Shyouhei Urabe)
07:39 PM Bug #9312: Build the ruby executable in bin/
mkrunnable.rb creates symlinks only. nobu (Nobuyoshi Nakada)
04:23 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Thanks for trying. This is probably specific to *BSD sockets
implementation, so I can't reproduce it at the momen...
normalperson (Eric Wong)
02:05 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric: Unfortunately your patch doesn't fix it, still getting the same ENOTCONN error. Anonymous
02:59 AM Bug #9356: TCPSocket.new does not seem to handle INTR
This might be a bug exposed due to r36944
("avoid unnecessary select() calls before doing I/O")
which I don't wa...
normalperson (Eric Wong)
02:29 PM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
Hi,
matz (Yukihiro Matsumoto) wrote:
> OK, I misunderstood something.
>
> In case foo is implemented in Base a...
marcandre (Marc-Andre Lafortune)
10:33 AM Bug #9117 (Closed): 43656 breakes openssl in stalic-ext ruby
hsbt (Hiroshi SHIBATA)
12:57 AM Bug #9117: 43656 breakes openssl in stalic-ext ruby
it works fine for me with 2.0.0-p353 and 2.1.0 - you can close this issue mpapis (Michal Papis)
10:16 AM Bug #9351 (Closed): Make Rinda::RingFinger work correctly on OpenBSD and NetBSD
This issue was solved with changeset r44492.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
08:22 AM Bug #9351 (Assigned): Make Rinda::RingFinger work correctly on OpenBSD and NetBSD
drbrain (Eric Hodel)
06:52 AM Bug #9361 (Closed): gem install --ignore-dependencies fails to install local gems
$ rvm ruby-2.1 do gem install --ignore-dependencies /Users/headius/projects/jruby/lib/ruby/gems/shared/cache/dicks-0.... headius (Charles Nutter)
02:10 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
But when raising an exception from ruby, return events are emitted... Shouldn't this 2 cases be consistent? deivid (David Rodríguez)
02:10 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Today I upgraded a ruby app that uses xmlrpc/client from 1.9.3-p374 to 2.0.0-p353, still not fixed in it… mat (Mathieu Arnold)
02:02 AM Bug #9360 (Third Party's Issue): IO.dup problems in binary ruby
Forwarding problem from https://github.com/wayneeseguin/rvm/issues/2511 - the binary ruby used can be found here http... mpapis (Michal Papis)
01:23 AM Bug #9269: class variable is not being handled correctly
ah, sorry, I saw the comment on the gist. It doesn't notify me by e-mail. rosenfeld (Rodrigo Rosenfeld Rosas)
01:21 AM Bug #9269: class variable is not being handled correctly
Why do you think so? This is not my understanding. Could you please explain why the threads are not joining? I still ... rosenfeld (Rodrigo Rosenfeld Rosas)
12:58 AM Bug #9359 (Rejected): indirect require of OpenSSL issues warning: assigned but unused variable - id
=begin
On OpenSUSE:
(({ruby1.9 -wU -e "require 'resolv'"})) => (({/usr/lib64/ruby/1.9.1/openssl/ssl-internal....
Polyergic (Shad Sterling)

01/03/2014

11:53 PM Bug #9357: TracePoint's c_return traces return from call to 'trace'
Makes sense.

Thanks.

Will close this now.



On 3 January 2014 14:42, deivid (David Rodríguez) <
deivid.r...
Anonymous
11:42 PM Bug #9357: TracePoint's c_return traces return from call to 'trace'
Yes, because tracing is enabled after the 'c_call' and before the 'c_return' event. deivid (David Rodríguez)
11:23 PM Bug #9357: TracePoint's c_return traces return from call to 'trace'
It doesn't cause any issues, however that doesn't seem to happen when one
traces on c_call. Here's the code:

htt...
Anonymous
08:51 PM Bug #9357: TracePoint's c_return traces return from call to 'trace'
I think this is expected because tracing is enabled _inside_ the trace method, not after, nor before.
Does that be...
deivid (David Rodríguez)
07:58 PM Bug #9357 (Closed): TracePoint's c_return traces return from call to 'trace'
=begin
Hello,
In TracePoint, trace on 'c_call' doesn't trace the call made to 'trace' method, where as trace on '...
andhapp (Anuj Dutta)
10:39 PM Bug #9341: IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
r44488 and r44489 were backported to ruby_2_0_0 branch at r44491. nagachika (Tomoyuki Chikanaga)
10:47 AM Bug #9341 (Closed): IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
This issue was solved with changeset r44488.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
tmm1 (Aman Karmani)
09:43 PM Bug #8721 (Closed): require digest.so on OSX
hsbt (Hiroshi SHIBATA)
09:25 PM Bug #8721: require digest.so on OSX
I do not know how, but 2.1.0 and 2.0.0-p353 worked just fine without removing this `require` - can be closed I guess. mpapis (Michal Papis)
09:18 PM Bug #9259: "Could not find 'minitest': test suite errors
This is still issue for ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] vo.x (Vit Ondruch)
09:04 PM Bug #9358 (Closed): TracePoint's raise event should throw 'not supported by this event (RuntimeError)' on calling return_value
=begin
Hello,
In TracePoint class, if a particular introspection method is not supported then 'not supported by t...
andhapp (Anuj Dutta)
08:24 PM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
Thanks Eric, patch fixes the issue for me in ruby 2.2.0dev (2014-01-03 trunk 44490) [x86_64-darwin13.0] kain (Claudio Poli)
07:23 PM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
Thanks for testing. I can't say I like my patch, however, as
it's still error-prone and fragile.

How about s...
normalperson (Eric Wong)
07:15 PM Bug #9352 (Open): [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
Anonymous
07:12 PM Bug #9352 (Closed): [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
This issue was solved with changeset r44490.
Claudio, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
06:59 PM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
I can confirm Eric's patch fixes this [BUG] for me in faraday's test suite. tmm1 (Aman Karmani)
04:35 PM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
I can't reproduce the issue, but I think it has to do with calling functions which may clobber errno before
finally ...
normalperson (Eric Wong)
02:49 PM Bug #9352: [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
Issue persists with ruby 2.2.0dev (2014-01-03 trunk 44488) [x86_64-darwin13.0] kain (Claudio Poli)
01:55 PM Bug #9352 (Closed): [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
I'm seeing this crash attempting to connect to an http unreachable host (127.0.0.1:3000) through Excon, which in turn... kain (Claudio Poli)
08:12 PM Bug #9262: global_method_cache should be configurable or grow automatically
FYI it seems perf of method lookups has regressed in 2.1:
https://gist.github.com/SamSaffron/8232978
This makes...
sam.saffron (Sam Saffron)
07:29 PM Bug #9356 (Closed): TCPSocket.new does not seem to handle INTR
TCPSocket.new does not seem to handle EINTR properly.
In the attached test script, I try to open a TCP connection ...
Anonymous
07:27 PM Feature #9355 (Open): Re: Rename method_id to method_name in TracePoint class
Hello,
I'd like to suggest renaming method_id (http://www.ruby-doc.org/core-2.1.0/TracePoint.html#method-i-method_...
andhapp (Anuj Dutta)
07:09 PM Bug #9354 (Closed): timeout() custom exception class cannot require argument
The following code works on 2.0.0, but raises on 2.1.0:
require 'timeout'
class MyError < StandardError
def in...
tmm1 (Aman Karmani)
06:31 PM Bug #9353 (Closed): Struct setter methods now return the struct object rather than the value
~ ruby-2.1.0 λ irb
>> Struct.new(:foo).new.send(:foo=, 123)
=> #<struct foo=123>
~ ruby-2.0.0-p247 λ irb
>> St...
Anonymous
06:23 PM Bug #9198: Segfault in TestException#test_machine_stackoverflow
Still observe the issue with ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] vo.x (Vit Ondruch)
05:58 PM Bug #9327: Why FileUtils.rmdir ignores Errno::ENOTEMPTY ?
It is because we added :parents option in FileUtils.rmdir. See this ticket for detail: https://bugs.ruby-lang.org/iss... vajrasky (Vajrasky Kok)
05:53 PM Feature #8998: string keys for hash literals should use fstrings
> * Should string freeze-duping in Hash#[]= always dedup, regardless of
> whether the string has already been froz...
normalperson (Eric Wong)
04:44 PM Feature #8998: string keys for hash literals should use fstrings
I ran into a small snag so I think it will be useful to have my JRuby commits here.
First, a background commit... ...
headius (Charles Nutter)
08:44 AM Feature #8998: string keys for hash literals should use fstrings
I've implemented something like this for JRuby 9k. Both the interpreter and the compiler pre-freeze and dedup the key... headius (Charles Nutter)
02:38 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
@tmm1's suspicion was right: c-return is also missing in the case when you try to call a nonexistent method.
It se...
drkaes (Stefan Kaes)
03:19 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
@ko1: Why do you think the second patch creates a performance problem?
Module#const_missing is an exceptional case...
drkaes (Stefan Kaes)
02:05 PM Bug #9309 (Closed): Crash while running tests
fixed by r44458 zzak (zzak _)
06:42 AM Bug #9309: Crash while running tests
Hi,
I had the same problem and reported in #9313.
I tested with r44487 and it's working now.
Thank you
marciotrindade (Marcio Trindade)
02:05 PM Bug #9313 (Closed): Segmentation fault with active_record
fixed by r44458 zzak (zzak _)
06:36 AM Bug #9313: Segmentation fault with active_record
Noted that same issue is reported in issue #9309 and resolved with r44458 marciotrindade (Marcio Trindade)
01:38 PM Bug #9351 (Closed): Make Rinda::RingFinger work correctly on OpenBSD and NetBSD
The current Rinda::RingFinger code assumes that the IP_MULTICAST_LOOP socket option takes int, but in NetBSD and Open... jeremyevans0 (Jeremy Evans)
01:32 PM Bug #9350 (Closed): Handle IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options correctly on OpenBSD
OpenBSD is similar to NetBSD in that the IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options take unsigned char and... jeremyevans0 (Jeremy Evans)
01:23 PM Feature #9347: Accept non callable argument to detect
I think, if it was possible, a call like this `ary.detect(:sym)` would make more sense by using case equality for co... fuadksd (Fuad Saud)
11:38 AM Feature #9347: Accept non callable argument to detect
I am afraid that kind of conditional behavior could error prone (e.g. accidental misbehavior when one forget having #... matz (Yukihiro Matsumoto)
07:37 AM Feature #9347 (Assigned): Accept non callable argument to detect
Currently, the only argument that `Enumerable#detect` accepts is a callable object.
Shouldn't we accept non callab...
marcandre (Marc-Andre Lafortune)
12:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
Btw, I took some time to work on this further. Only _very_ lightly
tested (make check passes)

# GC::Profiler...
normalperson (Eric Wong)
09:19 AM Bug #9310 (Feedback): inheritance.rb: 27: [BUG] Segmentation fault at 0x00000c
Could you try to test with ruby trunk? hsbt (Hiroshi SHIBATA)
09:16 AM Bug #9326: No superclass method in ruby 2.1
I created backport issue #9349 for Ruby 2.1. hsbt (Hiroshi SHIBATA)
03:49 AM Bug #9326: No superclass method in ruby 2.1
Confirmed that it works on trunk. Looks like the fix was r44458. It still fails on ruby_2_1.
I can't explain the...
nmueller (Nate Mueller)
09:09 AM Bug #9334 (Feedback): activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
Could you try to trunk version of Ruby? hsbt (Hiroshi SHIBATA)
09:09 AM Bug #9337 (Feedback): [BUG] Segmentation fault at 0x00000000000018 ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
Could you try to trunk version of Ruby? It seems to be fixed by r44458 probably. hsbt (Hiroshi SHIBATA)
08:43 AM Feature #9346 (Closed): [PATCH] signal.c: avoid repeated disable/enable interrupt
duplicated #9345 hsbt (Hiroshi SHIBATA)
07:26 AM Feature #9346 (Closed): [PATCH] signal.c: avoid repeated disable/enable interrupt
We only install system-level signal handlers during init (before any
threads or user code is running), so there's no...
normalperson (Eric Wong)
08:37 AM Bug #9348 (Closed): --with-tcllib and --with-tklib configure options not working correctly
When using the --with-tcllib=tcl85 -with-tklib=tk85 configure options, ruby still tries to use -ltcl -ltk as linker o... jeremyevans0 (Jeremy Evans)
07:26 AM Feature #9345 (Closed): [PATCH] signal.c: avoid repeated disable/enable interrupt
We only install system-level signal handlers during init (before any
threads or user code is running), so there's no...
normalperson (Eric Wong)
06:31 AM Bug #9335: dynamic rescue regression in Ruby 2.1
On 1 Jan 2014, at 13:19, Avdi Grimm <[email protected]> wrote:

> I believe I can make a solid case for this as an acc...
drbrain (Eric Hodel)
04:15 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
vo.x (Vit Ondruch) wrote:
> Do I understand correctly that patch level won't be anymore part of the released tarball...
luislavena (Luis Lavena)
01:57 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
Do I understand correctly that patch level won't be anymore part of the released tarball name? E.g. retrofitting semv... vo.x (Vit Ondruch)
03:28 AM Bug #8358 (Assigned): TestSprintf#test_float test failure
Sorry, but this is not Mingw specific issue. I am facing the same issue on Fedora [1]. The test passes on rubyci.org,... vo.x (Vit Ondruch)
03:26 AM Bug #9269 (Rejected): class variable is not being handled correctly
That code just starts threads but wait nothing.
Makes no sense.
nobu (Nobuyoshi Nakada)

01/02/2014

09:17 PM Bug #9344 (Closed): warning origin incorrect with instance_eval
File 'test.rb' contains:
~~~ruby
$-w = 2
code = <<-RUBY
x = /]]/
y = /[a-z]+*/
RUBY
instance_eval code, ...
thyresias (Thierry Lambert)
08:30 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
In rblineprof, I maintain a stack of CALL events. When a RETURN event comes in, CALL entries on the internal stack ar... tmm1 (Aman Karmani)
04:25 PM Bug #9343 (Closed): [PATCH] SizedQueue#max= wakes up waiters properly
We were accessing the wrong array and trying to wake up
elements stored in the queue :x
$ git pull git://80x24.or...
normalperson (Eric Wong)
04:23 PM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
I agree this is a problem. This also affects 2.1.0 and trunk (where
SizedQueue is C).
normalperson (Eric Wong)
03:53 PM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
Looks like this is also a problem in 2.0.0, although the implementation is a little different. Attaching patch for 2.... jsc (Justin Collins)
02:00 PM Bug #9342 (Closed): [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
In Ruby 1.9.3, when SizedQueue#clear is called, it empties the queue but does not notify waiting threads that the que... jsc (Justin Collins)
03:05 PM Bug #9341 (Assigned): IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
nobu (Nobuyoshi Nakada)
12:12 PM Bug #9341: IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
You must recreate the certificates.
Refer to http://www.lwithers.me.uk/articles/cacert.html
phasis68 (Heesob Park)
11:52 AM Bug #9341: IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
Yes, I know it, but not how to refresh it. nobu (Nobuyoshi Nakada)
11:37 AM Bug #9341 (Closed): IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
The test IMAPTest#test_imaps_with_ca_file failed with the following error after 2014-01-01 on all platforms in rubyci... phasis68 (Heesob Park)
11:18 AM Bug #9339: Can't Compile Ruby 2.1 without baseruby (Win7, MSYS/MinGW)
If you want to extract from a tarball, you need 'p' option.
I recommend not to include drive letter and even use o...
nobu (Nobuyoshi Nakada)
08:55 AM Bug #9339 (Feedback): Can't Compile Ruby 2.1 without baseruby (Win7, MSYS/MinGW)
Hello,
Even that you're using MSYS bash and make to trigger the compilation process, please use Windows-style path...
luislavena (Luis Lavena)
08:30 AM Bug #9339 (Closed): Can't Compile Ruby 2.1 without baseruby (Win7, MSYS/MinGW)
On my Win7 System in an MSYS/MinGW-environment (more precisely the 'mingw-builds' version) I have been trying to comp... ntor (Peter Wildemann)
09:11 AM Bug #9340 (Closed): Document order related behavior in Array#uniq
The behavior of Array#uniq without a block in Ruby 2.1.0 is inconsistent with the behavior of Array#uniq in Ruby 2.0.... agrimm (Andrew Grimm)
06:54 AM Bug #9334: activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
Noted that same issue, I think, is reported in issue #9309 malagodia (Andrea Malagodi)
06:23 AM Bug #9335: dynamic rescue regression in Ruby 2.1
I believe I can make a solid case for this as an accidental feature rather
than a bug. Should I open a new ticket ...
avdi (Avdi Grimm)
04:15 AM Bug #9338 (Closed): Build failure of trunk with MSVC 2013
This issue was solved with changeset r44483.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
12:19 AM Feature #9336 (Closed): [PATCH (trivial)] remove rb_hash_keys from internal.h
This issue was solved with changeset r44478.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
Anonymous
12:18 AM Feature #9336 (Assigned): [PATCH (trivial)] remove rb_hash_keys from internal.h
Glass_saga (Masaki Matsushita)
 

Also available in: Atom