Activity
From 01/05/2014 to 01/11/2014
01/11/2014
-
08:44 PM Bug #9399 (Closed): [PATCH] iseq: avoid potential memory leak in iseq_load
- The following changes since commit 0e9cad9a8e25282be170d3e4240bd2ba6ce1a419:
test_bigmath.rb: r44558 (2014-01-11 10:26:07 +0000)
are available in the git repository at:
git://80x24.org/ruby.git iseq_load-leak
for you to f... -
07:57 PM Bug #9398 (Rejected): Unexplained core dump error
- Unable to run rspec due to possible Ruby bug.
See Gist file of terminal output here: https://gist.github.com/jacqueline-homan/8373175 -
06:47 PM Bug #9397 (Rejected): Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- Ruby 1.9 introduced `===` on lambdas/procs so that you can put them in case statements. I'm a fan of this, but there's an unfortunate side effect I've run into recently.
If you have a lambda that accepts 0 args (e.g. `lambda { }`) or... -
03:27 PM Bug #9396 (Rejected): SizedQueue broken in Ruby 2.1 - It looks like SizedQueue is broken in Ruby 2.1. The following program deadlocks when running on trunk and 2.1, but works correctly on 1.9.3 and 2.0.0:
require "thread"
q = SizedQueue.new(1)
Thread.start do
... -
11:36 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
- I do not understand the argument about the code presumably looking ugly with curly braces (maybe if code looks ugly, it is better to read poetry? :)).
I do not think that
foo ->> Time.now
is more beautiful or clear than
... -
11:09 AM Feature #8863: New error class: UndefinedBehaviorError
- After thinking about it, and since there is no feedback, i think this my feature request may be closed. I think handling special cases or catching exceptions to raise another exception is an unnecessary complication. Documentation shou...
-
10:26 AM Revision 0e9cad9a (git): test_bigmath.rb: r44558
- * test/bigdecimal/test_bigmath.rb (test_log): add assertion for r44558.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:26 AM Revision 1367f28a (git): test_bigmath.rb: test_log
- * test/bigdecimal/test_bigmath.rb (test_log): add basic test for BigMath.log.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Bug #9393 (Closed): Strange behavior of DelegateClass + loop + method_missing
- Correct behavior.
`loop` is also delegated to the target object now.
- 03:15 AM Revision c855854e (git): * 2014-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 AM Revision 2b1c47da (git): bigdecimal.c: expand buffer
- * ext/bigdecimal/bigdecimal.c (BigMath_s_log): expand buffer size for
64bit platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 AM Bug #9334 (Closed): activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
- 12:06 AM Revision 820b7147 (git): * 2014-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 AM Revision 0957229a (git): merge revision(s) 44544:
- * doc/NEWS-2.1.0: Add mention for litteral.freeze
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/10/2014
-
11:08 PM Misc #9394 (Closed): Remove dead link to raa
- Fixes this bug https://bugs.ruby-lang.org/issues/9268
(I could not update this issue) -
10:28 PM Bug #9393 (Rejected): Strange behavior of DelegateClass + loop + method_missing
- Having the following class in Ruby 2.1:
```
require 'delegate'
class A < DelegateClass(Hash)
def a
loop do
::Kernel.p 'A'
break
end
end
end
```
After calling `A.new({}).a` the output is "A".
H... -
08:19 PM Misc #9392 (Closed): Fix typo
-
07:16 PM Bug #9391 (Closed): Segfault after upgrade from ruby 2.0 to 2.1
- Hi,
I also this message on the rubyforum but no reaction so far, therefor I am posting here as well. I upgraded our Sinatra app to ruby 2.1 and running our tests immediately result in a segfault. Attached my dependencies with versions... -
04:30 PM Feature #9390 (Closed): Support for the ALPN TLS extension
- ALPN [1] is a successor [2] to NPN, support for which was added in 2.0.0 [3].
HTTP/2 [4] is using ALPN to negotiate protocol support, and the spec is moving fast -- it'd be great to have ALPN support in one of the upcoming Ruby releas... -
02:55 PM Bug #9389 (Closed): ruby crashed when crash in gsub function on LARGE string.
- [description]
ruby crashed when crash in gsub function on LARGE string.
[expected result]
"Out of Memory" or any other exception
[actual result]
ruby crash
[platform]
ruby 1.9.3p194/ubuntu 13.10
[code]
stream=Fil... -
12:04 PM Bug #9388 (Closed): Ruby 1.9.3-pxxx segmentation fault
- Hi,
we experience regular segmentation faults on our production server (a Rails web application running at www.torial.com/magazine). I have attached the log showing the segmentation fault and all the information being logged with it. ... -
10:12 AM Bug #9361 (Closed): gem install --ignore-dependencies fails to install local gems
- Eric fixed this by updating RubyGems to 2.2.1 in r44515 (or at least, I think that's the right revision.
-
09:42 AM Revision b89a88f0 (git): test_weakref.rb: find collected weakref
- * test/test_weakref.rb (test_recycled): retry and find a WeakRef
whose the target is collected, to fix circumstance dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision e85e95c4 (git): * vm_exec.c (cfp): Avoid generating invalid binary for
- NativeClient.
r15 on x86_64 is reserved by NativeClient. So r15 to cfp used to
generate invalid binary under some combinations of compiler
optimization flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44554 b2dd03c8-39d4-... -
09:01 AM Revision aee9f287 (git): vm_insnhelper.c: boudn method transplanting
- * vm_insnhelper.c (vm_search_super_method): allow bound method from a
module, yet another method transplanting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Revision 95779dea (git): test_super.rb: remove unneeded code
- * test/ruby/test_super.rb (test_missing_super_in_module_unbound_method):
binding target does not need extending.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM 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
- I will check the docs and see if I can fix it.
> On Jan 6, 2014, at 12:44 AM, "kranzky (Jason Hutchens)" <JasonHutchens@gmail.com> wrote:
>
>
> Issue #9170 has been updated by kranzky (Jason Hutchens).
>
>
> mrkn (Kenta Mur... -
07:48 AM 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
- Isn't this more an issue with the documentation of `mathn` not specifying all the methods it changes and how?
It might be wise to add a warning that it is suggested not to require it from a library because it might induce unexpected c... -
07:42 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- tenderlovemaking (Aaron Patterson) wrote:
> It seems like I would have to implement `==` with
> ...
Not sure I follow... You don't have to implement `==` at all in your example.
Moreover `==` should not return `nil`, it is `<=>` that... -
07:35 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- The method `<=>` should return `nil` for objects that are not comparable, not raise errors.
So this seems to be a misunderstanding/bug in Rails.
It might be best to add a warning to Ruby 2.2 if an exception is caught by `==` and we... -
07:23 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- On Fri, Jan 10, 2014 at 06:03:03AM +0900, Eregon (Benoit Daloze) wrote:
>
> Issue #7688 has been updated by Eregon (Benoit Daloze).
>
>
> @tenderlove These are probably bugs then, is it not? I will try to have a look.
... -
06:02 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- @tenderlove These are probably bugs then, is it not? I will try to have a look.
-
05:13 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- r44502 makes the Rails tests fail spectacularly. We have <=> implementations that raise exceptions and expect == to swallow them. We probably shouldn't be raising exceptions in these methods, but this change definitely breaks our tests.
-
04:54 AM Revision 58f800a2 (git): insns.def: add opt path for Hash#[] and Hash#[]= used with str literal keys
- * insns.def (opt_aref_with): new instruction to optimize Hash#[],
removing any allocation overhead when used with a string literal
key. Patch by normalperson (Eric Wong). [ruby-core:59640] [Bug #9382]
* insns.def (opt_aset_with): new... -
04:13 AM Revision 9bfaeffd (git): gc.c: fix doc typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 AM Bug #9334: activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
- I confirm that on ruby 2.2.0dev (2014-01-10 trunk 44548) the issue is resolved
-
12:58 AM Feature #9047: Alternate hash key syntax for symbols
- I should also mention this allows for similar syntax between JavaScript, Python, and Ruby. In this case, all three languages could translate the same dictionary/hash in a more or less compatible way.
-
12:47 AM Bug #9386 (Closed): Ruby won't build tcl/tk extension, libpathflag expects array
- This issue was solved with changeset r44541.
Josef, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
tk/extconf.rb: fix libpathflag arguments
* ext/tk/extconf.rb: f... -
12:10 AM Bug #9386: Ruby won't build tcl/tk extension, libpathflag expects array
- Including alternative patch if we don't want to change the mkmf. This just fixes the revision.
01/09/2014
-
10:40 PM Bug #9387 (Closed): Documentation for Range#size is incomplete
- The documentation for Range#size does not mention the case where not all arguments are instances of Numeric, in which case it returns nil.
I created a patch here: https://github.com/ruby/ruby/pull/501 -
09:23 PM Revision d31cd065 (git): * range.c (Range#size): [DOC] improve description and add examples.
- Patch by @skade. [Fixes GH-501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Bug #8358 (Closed): TestSprintf#test_float test failure
- This issue was solved with changeset r44538.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: use SSE2
* configure.in: use SSE2 instructions t... -
08:33 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- phasis68 (Heesob Park) wrote:
> As I know, VISCII(Vietnamese Standard Code for Information Interchange) can round trip UTF-8. So the implementation of the converter between VISCII and UTF-8 might be easy.
Yes, it should be easy. Can ... -
07:15 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- As I know, VISCII(Vietnamese Standard Code for Information Interchange) can round trip UTF-8. So the implementation of the converter between VISCII and UTF-8 might be easy.
I am not sure if a converter between Windows-1258 and VISCII ... -
04:26 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- thegcat (Felix Schäfer) wrote:
> =begin
> ...
As explained above, the problem is with normalization. If you are okay with a version that just does one-to-one conversion, then that can be produced rather quickly (maybe even over the wee... -
07:13 PM Bug #9321 (Closed): rb_mod_const_missing does not generate a c-return event
- This issue was solved with changeset r44535.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event... -
06:59 PM Bug #9386 (Closed): Ruby won't build tcl/tk extension, libpathflag expects array
- Hi,
I wasn't successful building Ruby tcl/tk extension from trunk, since the last revision[1] switched to use libpathflag method
that expects an array, but on my Fedora "/usr/lib64":String would be passed to the method.
I believe ... -
05:59 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> OK, so I found a way to enable Intel Turbo Boost on this CPU. I went
> through the benchmarks again and got this for object paddings (minus
> embedding; same as previous chart I po... -
05:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
- OK, so I found a way to enable Intel Turbo Boost on this CPU. I went
through the benchmarks again and got this for object paddings (minus
embedding; same as previous chart I posted here).
http://www.atdot.net/fp/view/zoj4zm
... - 05:49 PM Revision e5839862 (git): * gc.c: Oups, symbols are immediates too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision 705f9a7e (git): * gc.c: Supplement object_id's rdoc for immediate and frozen string litterals
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision cc366241 (git): * gc.c: Fix and remove outdated rdoc for object_id
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision a91bad28 (git): * object.c: Add rdoc for classes frozen by default
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision 291be099 (git): * doc/NEWS-2.1.0: Add mention for litteral.freeze
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:33 PM Revision e030b4ee (git): * array.c: rdoc clarification for <=>
- * file.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 PM Bug #9186 (Rejected): json/pure.rb missing on trunk
- I intentionally removed pure.rb on ruby's repo because CRuby always have C exts.
If C exts is not properly build, the binary shouldn't work. -
05:07 PM Misc #8288 (Closed): Ruby 2.1.0 release engeneering
- 03:48 PM Revision 363e189a (git): * 2014-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision f06ee90f (git): tk/extconf.rb: fix libpathflag arguments
- * ext/tk/extconf.rb: fix to pass arrays instead of strings to
libpathflag. patch at [ruby-core:59665]. [Bug #9386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 PM Bug #9341: IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
- backported into ruby_1_9_3 at r44533.
and, seems to be backported into ruby_2_1 at r44528. -
01:19 PM Revision 791ff0a2 (git): ChangeLog: commit miss
- * ChangeLog: remove duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
- @duerst, @kou,
Thanks for the comments!
I'll revise my patch to use :xml_declaration_quote and back to you soon. -
11:49 AM Revision b5faf430 (git): configure.in: -mstackrealign
- * configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision 40967a5c (git): configure.in: use SSE2
- * configure.in: use SSE2 instructions to drop unexpected precisions on
other than mingw. [ruby-core:59472] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:34 AM Revision ac2864a8 (git): * hash.c (rb_objid_hash): should return `long'. brushup r44534.
- * object.c (rb_obj_hash): follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 AM Revision 4ee57e08 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Bug #9300: YAML Regression Concerning Escaping of Strings
- On Sat, Dec 28, 2013 at 01:35:02AM +0900, schneems (Richard Schneeman) wrote:
>
> Issue #9300 has been updated by schneems (Richard Schneeman).
>
>
> Do we know what changed in psych to cause this? Was this the result of a ... -
09:56 AM Bug #9300 (Closed): YAML Regression Concerning Escaping of Strings
- This issue was solved with changeset r44531.
Richard, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings w... -
10:12 AM Revision c2e72fb3 (git): * vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
- The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_frame_pop().
* vm_eval.c (raise_method_missing): ditto.
* vm_eval.c (rb_iterate): ditto.
* internal.h ... - 08:42 AM Revision 8abc55bc (git): * hash.c (rb_any_hash): should treat the return value of rb_objid_hash()
- as `long', because ruby assumes the object id of an object is `long'.
this fixes test failures on mswin64 introduced at r44525.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Bug #9385 (Closed): open-uri always uses proxy set as env var even if proxy flag is set to nil
- According to doc http://ruby-doc.org/stdlib-2.1.0/libdoc/open-uri/rdoc/OpenURI.html we can disable the proxy by doing
open("http://www.ruby-lang.org/en/raa.html", :proxy => nil)
and "environment variables for proxy are ignored and ... - 05:28 AM Revision 21d29b3a (git): merge revision(s) 44488,44489: [Backport #9341]
- * test/net/imap/cacert.pem: generate new CA cert, since the last one
expired. [Bug #9341] [ruby-core:59459]
* test/net/imap/server.crt: new server cert signed with updated CA.
* test/net/imap/Makefile: add `ma... -
05:06 AM Revision f0722322 (git): merge revision(s) 44440,44444: [Backport #9306]
- * win32/Makefile.sub (fake.rb): should depend on version.h because
if RUBY_VERSION is updated, fake.rb need to say the new version
to avoid install error in rbconfig.rb.
* win32/{setup.mak,Makefile.sub}: upda... -
02:01 AM Bug #9384: Segfault in ruby 2.1.0p0
- With 2.0.0, it works (ruby -v is "ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]").
With trunk, it still segfaults (ruby -v is "ruby 2.2.0dev (2014-01-08 trunk 44527) [x86_64-linux]"). I attached the log bundle_exec_rake_asse... -
12:13 AM Bug #9384: Segfault in ruby 2.1.0p0
- Could you try with the trunk?
It seems something dead object is used in a finalizer. -
12:56 AM Revision b90076e8 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings with
- quotes should not have changed. [ruby-core:59316] [Bug #9300]
* ext/psych/lib/psych.rb: fixed missing require.
* test/psych/test_string.rb: test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44531 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 12:54 AM Revision 73b046d0 (git): * 2014-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 AM Revision 7c6e4f8f (git): * ext/psych/lib/psych/visitors/to_ruby.rb: anonymous structs
- should be able to roundtrip. Thanks @splattael!
* test/psych/test_object_references.rb: test for change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 41deb12e9d6646b42ef0e011509870f6ddf383c5.
ruby -v: ruby 2.1.1p2 (2013-12-31 revision 44467) [x86_64-linux]
It still segfaults with this l... -
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 worked on my dev station, not in staging.
I attached the ruby stderr as output by capistrano and every line was prep... -
11:21 PM Revision a1d56b18 (git): merge revision(s) 44488: [Backport #9341]
- * test/net/imap/cacert.pem: generate new CA cert, since the last one
expired. [Bug #9341] [ruby-core:59459]
* test/net/imap/server.crt: new server cert signed with updated CA.
* test/net/imap/Makefile: add `ma... -
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 klass is not dereferenced accidentally. -
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 greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: revive r44455 for bound module method
*... -
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 we can do to help?
=end -
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%.
-
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-lang.org/issues/9188#note-9
These optimize Hash#[] and Hash#[]=, when used with a string literal key.
Before:
0... -
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. -
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 greatly appreciated.
May Ruby be with you.
----------
object.c: hash value from objid with salt
* hash.c (`rb... -
03:38 PM Bug #9381 (Assigned): 2.1.0 Regression. Hash lookup with #hash and #eql?
-
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 as expected in ruby 1.8, 1.9 and 2.0.
```ruby
class Wrapper
def initialize(obj)
@obj = obj
end
def me... -
01:53 PM Revision 5c0d17c9 (git): vm_insnhelper.c: revive r44455 for bound module method
- * vm_insnhelper.c (vm_search_super_method): when super called in a
bound UnboundMethod generated from a module, no superclass is
found since the current defined class is the module, then call
method_missing in that case. [ruby-cor... -
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 is greatly appreciated.
May Ruby be with you.
----------
lib/timeout.rb: fallback to Timeout::Error
* lib/timeout.rb... -
12:46 PM Bug #9380 (Closed): Enumerator does not work in timeout
- `Enumerator`と`timeout`の組み合わせで、`Timeout::Error`が起きるべきところで`ArgumentError`が発生します。
```
$ ruby -v -rtimeout -e 'def (o=Object.new).each; sleep; end' -e 'Timeout.timeout(0.01) {o.to_enum.next}'
ruby 2.2.0dev (2014-01-07 trunk 44522) [univ... -
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 -
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 ../../../ruby/lib -I .ext/i386-mingw32 -e 'h = {a: ->{h[:a].call}};h[:a].call'
GNU gdb (rubenvb-4.7.2-release) 7.5.50.20120920-c... -
08:13 AM Revision fe46b2d5 (git): rubygems/test_case.rb: fix errors in mkmf tests
- * lib/rubygems/test_case.rb (Gem#teardown): BASERUBY is not set
usually. fix errors in mkmf tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:55 AM Revision ab6efa5b (git): object.c: hash value from objid with salt
- * hash.c (rb_objid_hash): return hash value from object ID with a
salt, extract from rb_any_hash().
* object.c (rb_obj_hash): return same value as rb_any_hash().
fix r44125. [ruby-core:59638] [Bug #9381]
git-svn-id: svn+ssh://ci.ru... - 04:12 AM Revision 06f624b8 (git): * 2014-01-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:12 AM Revision 3e9e4a6a (git): lib/timeout.rb: fallback to Timeout::Error
- * lib/timeout.rb (Timeout::ExitException.catch): pass arguments
for new instance.
* lib/timeout.rb (Timeout::ExitException#exception): fallback to
Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380]
* lib/timeout.rb (Time... -
12:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
- Hello,
2014/1/7 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> My experiment on valgrind clearly shows decreasing number of L1 data read
> misshits. I can say that at least.
Something is wrong. In principle, using more memor... -
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 fastest implementation. The attached patch allows a backend using libxml-ruby <http://xml4r.github.io/libxml-ruby/> which ...
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 support in ruby. However, when I went to install ruby, it dies during the build with the following error:
processing probe... -
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 mileage might vary from model to model.
I don't say this is because my CPU is new; I doubt if it has something
to do wi... -
10:53 AM Feature #9362: Minimize cache misshit to gain optimal speed
- Eric Wong <normalperson@yhbt.net> wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > I am testing this, it looks like GC is confused by EMBED_FLAG being
> > set and having ->ntbl:
> >
> > --- a/hash.c
> > +++ b/hash.c
... -
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 PM, SASADA Koichi wrote:
>>> Could you try same measurement
>>> https://github.com/ruby/ruby/pull/495#issuecomment-... -
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 applications (and tests) that expect single-quoted pseudo-attributes in XML declarations, and they would get problems if
... -
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 declaration because their handcrafted 'xml lint' tool complains the xml document produced by my ruby script contains single quo... -
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 lint' tool complains the xml document produced by my ruby script contains single quotes. (Their convention requires all...
-
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:955:40: warning: unknown attribute 'warning' ignored [-Wattributes]
void rb_frame_pop(void) __attribute__((warning("rb... -
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. -
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 the exception and attaching the backtrace to it to happen inside const_missing/method_missing.
But it seems to me this... -
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 behavior (order of tracing events), I
will commit it.
--
// SASADA Koichi at atdot dot net -
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 problem?
>
> Module#const_missing is an exceptional case. Am I missing something?
Sorry for my misunderstanding.
... -
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.
Thanks @tmm1, I guess I would have to store the method_id provided by the TracePoint API to be able to match it later. -
05:35 PM Bug #9308: def's return value causes errors
- 1.9.3 is not dead... yet.
-
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 compatibility, it's better that 2.0 also accepts this syntax.
# 1.9? It has died almost. -
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
Code to reproduce:
```ruby
module A
def foo; super end
def self.extended(obj)
instance_method(:foo).bind(... -
02:29 PM Revision 38e89273 (git): * numeric.c: Fix typo in an error message
- s/unsgined/unsigned/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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
> ...
This may not yet be completely clear, because it says "within a [calendar] year" twice. The following quote, from http://en.wik... -
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 within the year; the first
calendar week of the year is the one that includes the first Thursday
of that year. In the Gre... -
07:54 AM Bug #9372 (Assigned): Date function cweek reports innaccurately for the date December 30, 2013
-
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 = Date.new(2013,12,30)
=> #<Date: 2013-12-30 ((2456657j,0s,0n),+0s,2299161j)>
2.0.0p247 :019 > d.cweek
=> 1
2.0.... -
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 of 53.
-
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.
-
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
-
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 greatly appreciated.
May Ruby be with you.
----------
timeout.rb: defer creating custom exception
* lib/timeout.rb (Ti... -
01:00 PM Bug #9376 (Closed): Passing do/end block inside decorated method fails, while passing {} block works.
-
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 method def is the argument to a method.
This currently works, unless the method happens to call another method and pass it ... -
12:21 PM Revision 1fa01c12 (git): timeout.rb: revert r44520
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Revision 82b1790d (git): timeout.rb: current_target
- * lib/timeout.rb (Timeout::ExitException#target): rename attribute.
* lib/timeout.rb (Timeout::ExitException.current_target): extract a
method to achieve the target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44520 b2dd03c8-39... -
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 greatly appreciated.
May Ruby be with you.
----------
ext/json: objects depend on $(ruby_headers)
* ext/json/generator... -
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 this when switching between cachelined and normal trunk.
pull request:
The following changes since commit 2030e19a04e... -
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
> ...
The new opt_aset_str and opt_aref_str instructions only affect string literals, and all strings literals are already in the fstring table in 2.1.
I don't t... -
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
-
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 is encountered -
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 greatly appreciated.
May Ruby be with you.
----------
array.c: return first unique element in Array#uniq
* array.c (... -
03:43 AM Revision ed9f79df (git): timeout.rb: unused attribute
- * lib/timeout.rb (Timeout::ExitException): remove unused attribute,
klass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 97c0aaea (git): timeout.rb: fix for ExitException
- * lib/timeout.rb (Timeout#timeout): should not rescue ordinarily
raised ExitException, which should not be thrown.
* lib/timeout.rb (Timeout::ExitException.catch): set @thread only if
it ought to be caught.
git-svn-id: svn+ssh://ci.... -
03:42 AM Revision 9f5537c5 (git): timeout.rb: defer creating custom exception
- * lib/timeout.rb (Timeout#timeout): when a custom exception is given,
no instance is needed to be caught, so defer creating new instance
until it is raised. [ruby-core:59511] [Bug #9354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
03:41 AM Revision 765ec401 (git): test_timeout.rb: shorten waiting times
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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):
Errno::ECONNREFUSED: Connection refused - connect(2)
/builddir/build/BUILD/ruby-2.0.0-p247/.ext/common/socket.rb:6... -
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 r44511.
Thanks again. -
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. -
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 head. Sorry.
At least the error on current 2.0.0-head seems interesting, should I open another bug for it?
-
01:19 AM Revision d5e810db (git): * ChangeLog:
- * lib/rubygems/basic_specification.rb (class Gem):
* lib/rubygems/commands/contents_command.rb (prefix or only the files that are requir):
* lib/rubygems/commands/install_command.rb (to write the specification by hand):
... -
01:13 AM Revision 738b8872 (git): ext/json: objects depend on $(ruby_headers)
- * ext/json/generator/depend: add build dependencies for json extension
Patch by normalperson (Eric Wong) [Bug #9374] [ruby-core:59609]
* ext/json/parser/depend: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44514 b2dd03c8-39...
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 same measurement
>> https://github.com/ruby/ruby/pull/495#issuecomment-31580604
>> with only addding dummy padding to ... -
06:29 PM Feature #9362: Minimize cache misshit to gain optimal speed
- SASADA Koichi <ko1@atdot.net> wrote:
> I doubt that this improvement only for extending embed area, not a cache
> line friendly technique.
Cache alignment becomes more important if we move away from GVL :)
I also notice so... -
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/pull/495#issuecomment-31580604
> with only addding dummy padding to RVALUE (and not extend embed area) if
> it is easy ... -
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 technique.
Could you try same measurement
https://github.com/ruby/ruby/pull/495#issuecomment-31580604
with only... -
02:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Eric Wong <normalperson@yhbt.net> wrote:
> I am testing this, it looks like GC is confused by EMBED_FLAG being
> set and having ->ntbl:
>
> --- a/hash.c
> +++ b/hash.c
> @@ -866,7 +866,8 @@ rb_hash_rehash(VALUE hash)
> ... -
01:59 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Eric Wong <normalperson@yhbt.net> wrote:
> I am testing this, it looks like GC is confused by EMBED_FLAG being
> set and having ->ntbl:
>
> --- a/hash.c
> +++ b/hash.c
> @@ -866,7 +866,8 @@ rb_hash_rehash(VALUE hash)
> ... -
01:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> On 01/06/2014 12:02 PM, Eric Wong wrote:
> > gdb bt: http://80x24.org/fe8820a15f0c7a25a532968601c645d1de7a3f95.bt.gz
>
> Hmm, seems like someone (most possibly me) forgot to add ... -
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
Hmm, seems like someone (most possibly me) forgot to add write barrier
to properly interact with RGenGC.
I'... -
12:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Eric Wong <normalperson@yhbt.net> wrote:
> However, I'm getting occasional segfaults on "make check" :<
> I'll try to fix it later, but maybe somebody else can spot something
> I missed in the meantime.
This happens without m... -
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 benchmark -e 'puts(Benchmark.measure {30_000_000.times { Time.now }})'
after: 33.800000 0.000000 33.800000 ( 33.835889)... -
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 this library, the sourceforge page shows this library hasn't been updated for almost 12 years, and the official page has ...
-
10:00 PM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
- Seems working on the trunk.
-
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.
Given the following example:
~~~ruby
module Persistence
def save!
# save to disk etc.
puts "saved!"
... -
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 an assertion error. A script to test this is attached.
- 07:38 PM Revision 2030e19a (git): * 2014-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:38 PM Revision 3cf4fe47 (git): array.c: return first unique element in Array#uniq
- * array.c (ary_add_hash): Fix consistency issue between Array#uniq and
Array#uniq! [Bug #9340] [ruby-core:59457]
* test/ruby/test_array.rb (class TestArray): regression test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
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 REXMLParser (which often results in out-of-memory-errors when using large data chunks). Unfortunately, using this parser results...
-
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 are sometimes called pseudo-attributes. So it is not unreasonable that
doc.context[:attribute_quote] = :quote
does not a... -
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 below:
doc = REXML::Document.new
doc.context[:attribute_quote] = :quote
This looks working well on all elements ... -
04:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
- SASADA Koichi <ko1@atdot.net> wrote:
> I got it.
>
> My concern is performance regression with huge entries of fstring table
> with this technique. Maybe we can avoid such regression with smart data
> structure (for example, ... -
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 uses do that). I also implement aref, not just aset.
>
> This is my first time working in compile.c and I'm not f... -
03:53 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
- SASADA Koichi <ko1@atdot.net> wrote:
> (2014/01/03 12:49), Eric Wong wrote:
> > Btw, I took some time to work on this further. Only _very_ lightly
> > tested (make check passes)
>
> What the difference between charliesome/tm... -
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
> tested (make check passes)
What the difference between charliesome/tmm1's patch?
(just curious, I want to know)
... -
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 this. Will upload a modified patch later.
-
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_frame_pop().
See https://github.com/skaes/rvm-patchsets/blob/master/patches/ruby/2.1.0/head/railsexpress/05-fix-missin... -
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 events.
You could also use TracePoint#method_id either from ruby or C, but @skaes reports the method ids sometimes don't m... -
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 TracePoint API events. The only time I load the call stack is through the DebugInspector API right before the debugger s...
-
04:35 PM Revision 968b6238 (git): merge revision(s) 44455,44458,44510: [Backport #9315]
- * vm_insnhelper.c (vm_search_super_method): direct superclass of a
module is found when super called in a Method object generated a
method defined in a module, call method_missing in that case.
[ruby-core:59... -
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 Ruby 2.0, we use inline/global method cache aggressively. So
performance impact on method cache miss has huge impact (c... -
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 GC.
I'll try to reproduce without parallel tests (could take a while).
It seems to reproduce more easily on slower ma... -
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 is a bug, because the documentation for Math.sqrt() indicates that it returns a Float, and that it's therefore OK to assu... -
02:34 PM Revision 7dfbcc85 (git): test_super.rb: test_module_super_in_method_module
- * test/ruby/test_super.rb (test_module_super_in_method_module): more
test for the case searching super method from a method defined in a
module. [ruby-core:59589] [Bug #9315]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44510 ... - 12:29 PM Revision 15bd216c (git): * 2014-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Revision 0a5b70e3 (git): ignore *-fake.rb
- * .gitignore: ignore *-fake.rb generated even when CROSS_COMPILING = no
since r42862.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 (wrong argument type Thread (expected VM/thread))
The two difference stack traces I see point back to IO#close:
/opt/... -
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
-
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 lib in 2.1.0
-
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/issues/1064
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 into
> itself would trigger an explode and lead to a corrupted hash and
> wasted memory.
Ah, explode... -
12:53 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Eric Wong <normalperson@yhbt.net> wrote:
> Only one failure left (doesn't happen on my 32-bit, only amd64 Debian wheezy):
>
> 1) Error:
> TestGemSpecification#test_to_ruby_nested_hash:
> ArgumentError: comparison of Hash wi... -
12:48 PM Revision dc4922b8 (git): tk/extconf.rb: rpath by libpathflag
- * ext/tk/extconf.rb: use libpathflag method instead of dealing with
rpath options directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 PM Revision c5bab032 (git): configure.in: fix rpath flag
- * configure.in (RPATHFLAG): use -rpath if -R is not available.
* configure.in (LIBRUBY_RPATHFLAGS): use RPATHFLAG instead of
hardcoded -R option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44506 b2dd03c8-39d4-4d8f-98ff-823fe69... -
12:33 PM Revision 006e66b6 (git): numeric.c: isfinite
- * numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than
deprecated finite().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision 368aa6e3 (git): configure.in: deprecated-declarations
- * configure.in: make deprecated declarations error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:15 AM Revision fff5f674 (git): * 2014-01-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:14 AM Revision d781caaf (git): * compar.c (cmp_equal): remove error hiding in Comparable#==.
- Comparable#== no longer rescues exceptions silently.
This was the cause of quite a couple bugs. See #7688. [EXPERIMENTAL]
* test/ruby/test_comparable.rb: adapt assertion to match new behavior.
* lib/rdoc/method_attr.rb: fix bugs discov... -
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 the fd as if it were a port.
-
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...or I am not seeing how to run them without using privileged ports.
We would like to use these tests in JRuby, and cur...