Project

General

Profile

Activity

From 12/30/2015 to 01/05/2016

01/05/2016

09:59 PM Feature #11955 (Assigned): Expose Object that Receives logs in Logger
I need to be able to perform logic based on the destination of a current logger, this is currently not possible without `instance_variable_get`. Why would you need to see what destination a logger is going to? There is a common pattern i... schneems (Richard Schneeman)
08:29 PM Bug #11954 (Closed): "self has wrong type to call super in this context" under weird circumstances
See attached file snafu.rb.
This file was obtained by inlining and reducing a large codebase...
schnittchen (Thomas Stratmann)
07:01 PM Bug #11953 (Rejected): ThreadError in 2.3 on code that works on 2.2.4
This is my first bug reporting, so I'm sorry if this isn't exactly correct format. I'll update my report accordingly if pointed in the right direction.
I ran into what appears to be a bug while doing a quiz.
I've included the break...
claytonflesher (Clayton Flesher)
05:17 PM Misc #11904: Why was Thread.exclusive deprecated?
Nobuyoshi Nakada wrote:
> This use of `Thread.exclusive` seems nonsense.
> ...
That's the point; no two threads can call init via this code at the same time.
Of course, require's guarantee of "only once" would do the same thing here.
headius (Charles Nutter)
04:00 PM Bug #11928: Segmentation fault in did_you_mean extension
I was able to replicate it without `did_you_mean`.
1. Save this file as `loader.rb`:
```ruby
-> { require_relative 'segfault' }.call
```
2. Save this file as `segfault.rb`:
```ruby
class Segfault
...
yuki24 (Yuki Nishijima)
02:39 PM Bug #11928: Segmentation fault in did_you_mean extension
I think i encountered similiar or even the same issue, managed to replicate in quite simple env with roda
https://github.com/hirokiraj/roda-2.3.0-bug
Control frame and backtrace -> https://gist.github.com/hirokiraj/83d917de90e0f60253...
hirokiraj (Jakub Jatczak)
03:23 PM Bug #11909: io.popen problem in 2.2 and over
Hi all and thanks to Jens !
If I add $stdout.sync at the beginning of prova5.rb and $stdout.flush at the end all runs OK !!!!
Yesterday we substitute our logic with Nokogiri, but now we can return back to libxml-ruby (it's faster...)...
pierisimone (Simone Pieri)
12:25 PM Bug #11909: io.popen problem in 2.2 and over
Associated libxml-ruby issue: [#115](https://github.com/xml4r/libxml-ruby/issues/115).
Related libxml-ruby issue: [#109](https://github.com/xml4r/libxml-ruby/issues/109) (executing `test.rb` via `IO.popen` exhibits the same problem).
jwille (Jens Wille)
12:15 PM Bug #11909: io.popen problem in 2.2 and over
I don't have time to investigate further right now, but the problem is that the output of `prova5.rb` gets buffered. The `find` and everything else executes just fine. You can work around this problem by adding `$stdout.sync = true` at t... jwille (Jens Wille)
02:54 PM Misc #11876: Scheduled maintenance 2016/01/01
If you got like `svn: E155017: Checksum mismatch for '/XXXXXMakefile.in'`
Please run following instructions.
* svn update --set-depth empty
* remove your local changes
* svn update --set-depth infinity
hsbt (Hiroshi SHIBATA)
02:07 PM Revision 4d0e0a38 (git): id.h.tmpl: no optparse here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
I think I'm getting the same crash in `gc_mark_ptr` with `ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]` when using the pg 0.18.4 gem and activerecord 4.2.4:
```
(lldb) target create "/Users/felix/.rvm/rubies/ruby-2.3.0/...
felixbuenemann (Felix Bünemann)
01:11 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Nobuyoshi Nakada wrote:
> Do you have short code to reproduce it, and what platform?
I do not have code to reproduce it but I'm trying to provide you with a snippet today.
The only thing I found out so far:
It happens in
~~...
felixmohnert (Felix Mohnert)
12:44 PM Revision 96acb6e3 (git): * ChangeLog: fix wrong class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:44 PM Revision e2191d4c (git): * test/ruby/test_string.rb(test_chr): added test for String#chr
[fix GH-1179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:32 PM Revision 2c62030c (git): * test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?
[fix GH-1187]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:26 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
Yes sorry I mean Unicode 7.0.
The JRuby code is at https://github.com/jruby/jcodings/tree/master/scripts.
Ah sorry I misread `name2ctype.{h.blt,kwd,src}` as `name2ctype.{h,blt,kwd,src}`, so I see you aren't proposing removing the `...
chrisseaton (Chris Seaton)
06:52 AM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
Chris Seaton wrote:
> I've been dealing with an issue related to this. When Ruby updated to MRI 7.0
Do you mean Unicode 7.0?
> ...
What do you mean by "now"? What's your current revision/Ruby version? As for inconsistencies, I ind...
duerst (Martin Dürst)
11:59 AM Feature #11952: Use getrusage for Process.times if available
Oops, my description is unexpectedly removed ...
I meant:
before: Process.times #=> #<struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03>
after: Process.times #=> #<struct Process::Tms utime=0.066553, st...
k0kubun (Takashi Kokubun)
11:56 AM Feature #11952 (Closed): Use getrusage for Process.times if available
Since times(3) has poor precision, I want to use getrusage(2) for Process.times to get better precision if getrusage is available.
before: Process.times #=> #<struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03>
afte...
k0kubun (Takashi Kokubun)
07:35 AM Feature #11951 (Closed): `RubyVM::InstructionSequence.compile` should return the error message within the raised error
When `RubyVM::InstructionSequence.compile` raises a syntax error, it outputs the syntax error message to `$stderr`, and then raises a `SyntaxError` anyway, whose message is simply: `"compile error"`.
I don't think this is useful. For ...
sawa (Tsuyoshi Sawada)
06:09 AM Revision 8d666271 (git): leakchecker.rb: remove temporary measure
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#watcher):
make watcher thread restartable.
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#terminate):
new method to terminate watcher thread.
* test/lib/leakchecker.rb ...
nobu (Nobuyoshi Nakada)
02:47 AM Revision b01c28ee (git): Clarify object references example
* doc/marshal.rdoc: Clarify object references example, that the
reference is same object. [Fix GH-1156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision fabb8b45 (git): enc/Makefile.in: get rid of nmake bug
* enc/Makefile.in (ECHO1): expand NULLCMD by configured value to
get rid of a bug of nmake, that it can expand bare single name
variable but cannot in substition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53437 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #11950 (Closed): Please update the "stable" download link
Thank you for your notification. I fixed it. hsbt (Hiroshi SHIBATA)

01/04/2016

08:48 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
nobu@ruby-lang.org wrote:
> Good point.
> Just adjust the indent as the rest, please.

Thanks for the extra eyes, fixed up indent and committed r53435

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<ht...
normalperson (Eric Wong)
08:45 PM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Applied in changeset r53435.
----------
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement...
Anonymous
12:31 PM Bug #11945 (Assigned): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Good point.
Just adjust the indent as the rest, please.
nobu (Nobuyoshi Nakada)
11:33 AM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
normalperson (Eric Wong)
08:45 PM Revision 02144c9f (git): * 2016-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:45 PM Revision dc59c768 (git): stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:...
Eric Wong
05:10 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
I have the exact same problem and message. Wish I had more to add, but I don't. I came on to add an issue and saw Felix beat me to it. I'll follow this issue and participate as I can.
Rails 4.2.5
Ruby 2.3
OS X 10.11.2
Minitest 5....
atstockland (Adam Stockland)
02:34 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Do you have short code to reproduce it, and what platform?
Or if it is reproducible, then run that application from debugger.
`.gdbinit` for gdb is bundled with the source, break at the line and try `rp` macro to see the content of `or...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #11946 (Closed): Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Starting the Rails server or running specs for one of our applications results in:
~~~
Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Abort trap: 6
~~~
Previous Ruby versions didn't ...
felixmohnert (Felix Mohnert)
04:28 PM Bug #11950 (Closed): Please update the "stable" download link
The "stable" URL [1] still points to Ruby 2.2 while it should link to Ruby 2.3.
[1] http://ftp.ruby-lang.org/pub/ruby/stable/
vo.x (Vit Ondruch)
04:22 PM Feature #11949 (Closed): Allow @/$ prefix in Regexp's named captures
fluentd hits the problem that Regexp's named captures doesn't allow @ prefix.
https://github.com/treasure-data/omnibus-td-agent/issues/60
I assume this limitation is for auto variable assign feature.
http://ruby-doc.org/core-2.3...
repeatedly (Masahiro Nakagawa)
03:17 PM Bug #11948 (Rejected): Segfault on blank line in IRB
Segfault on blank line in IRB
Running in Alpine Linux
~~~
bash-4.3# irb
irb(main):001:0>
irb(main):002:0*
/usr/lib/ruby/2.2.0/irb/input-method.rb:149: [BUG] Segmentation fault at 0x00000000000010
ruby 2.2.4p230 (2015-12-1...
gerbal (Grant McLendon)
02:05 PM Bug #11947 (Closed): BigDecimal#coerce: unexpected behavior with Float
I've noticed that:
~~~
BigDecimal('2') + 1 # => BigDecimal(3), OK
1 + BigDecimal('2') # => BigDecimal(3), OK
# whereas
BigDecimal('2') + 1.1 # => BigDecimal(3.1), OK
1.1 + BigDecimal('2') # => Float(3.1), WHY?
~~~
I was e...
lionel_perrin (Lionel PERRIN)
09:49 AM Feature #11939: Syntax sugar to apply a method replace a variable
Nobuyoshi Nakada wrote:
> Maybe an op assign could be used with (1)?
> ...
That is interesting. It would be even more useful.
sawa (Tsuyoshi Sawada)
09:30 AM Feature #11939: Syntax sugar to apply a method replace a variable
According to ruby conventions shouldn't that be
var.some_method!(some_args) if some_condition.
Because you are modifying same object. Why do you need new feature?
codetodya (Sumit Mahamuni)
07:59 AM Revision 812c5798 (git): Revert r53431 "temporally revert r53411 to debug"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:47 AM Revision 014d60ce (git): test_ostruct.rb: sort method names
* test/ostruct/test_ostruct.rb (test_accessor_defines_method):
should not depend on the order of methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 AM Revision bae170f3 (git): common.mk: double quotes
* common.mk (ext/socket/constdefs.c): use double quotes to get rid
of escape by caret in nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:23 AM Revision 853cd402 (git): temporally revert r53411 to debug
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151225T162507Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:16 AM Revision 04a913f2 (git): common.mk: generate socket constdefs
* common.mk (ext/socket/constdefs.c): generate platform
indenpendent constant definitions beforehand under the source
tree at updating the working copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:08 AM Revision d5f4a2ba (git): variable.c (rb_mod_deprecate_constant): [DOC] added
documentation for Module#deprecate_constant. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sho Hashimoto
06:42 AM Bug #11849: Heredoc regression in 2.2.4
Ref: https://github.com/whitequark/parser/issues/231#issuecomment-165921156 wanabe (_ wanabe)
06:38 AM Revision 571fb5b6 (git): thread_sync.c: [DOC] remove SizedQueue#close argument. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sho Hashimoto
03:12 AM Revision 1c8b8173 (git): * version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
03:12 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
Applied in changeset r53427.
----------
* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
ngoto (Naohisa Goto)
02:37 AM Bug #11944 (Assigned): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
まさに今試してもらおうと思っていたパッチでした。
それでお願いします。
nobu (Nobuyoshi Nakada)
02:35 AM Bug #11944: ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
以下のパッチでエラーが出なくなることは確認しました。
~~~diff
Index: version.h
===================================================================
--- version.h (revision 53426)
+++ version.h (working copy)
@@ -3,7 +3,7 @@
#define RUBY_PROGRAM_VERSIO...
ngoto (Naohisa Goto)
01:31 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
おそらく r53314 以降、Solaris にて古い fcc (Fujitsu C Compiler) にて、
以下のエラーによりビルドに失敗します。
~~~
./miniruby -I./lib -I. -I.ext/common ./enc/make_encmake.rb --builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="en...
ngoto (Naohisa Goto)
01:50 AM Revision 8fe2421e (git): ChangeLog: remove unnecessary preposition [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:46 AM Revision 09ecfbf3 (git): ChangeLog: remove stale log [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 AM Revision acc472dd (git): * test/coverage/test_coverage.rb: ignored test when enabled to coverage.
It lead to crash with `make test-all`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

01/03/2016

11:53 PM Bug #11915: File.read reading string starting with | executes it.
Nobuyoshi Nakada wrote:
> Linus Sellberg wrote:
> ...
But File.read DOES. Which is what I find wrong. That File.open doesn't is another reason to not have .read do that.
yxhuvud (Linus Sellberg)
11:14 PM Revision c48abea0 (git): Move a comment to the appropriate position.
The position of `/* fall through */` was moved by r52931.
* insns.def (opt_case_dispatch): Move a comment to the
appropriate position.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53423 b2dd03c8-39d4-4d8f-98ff-823fe6...
yui-knk (Kaneko Yuichiro)
10:11 PM Feature #11818: `Hash#compact`
Prem Sichanugrist wrote:
> Active Support has this: http://api.rubyonrails.org/classes/Hash.html#method-i-compact
> ...
https://github.com/ruby/ruby/pull/1184/files
In anticipation of this being approved, I have raised a PR of a sam...
dwfait (Dwain Faithfull)
05:49 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
I've been dealing with an issue related to this. When Ruby updated to MRI 7.0 the name2ctype.h was updated but not the name2ctype.src, so they're now inconsistent (look at CR_Blank for example).
I found this problem when I tried to up...
chrisseaton (Chris Seaton)
03:24 PM Revision 7d117c70 (git): contributing.rdoc: update [ci skip]
* doc/contributing.rdoc: mention some make targets, check, up, and
love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 PM Revision c4079eec (git): * 2016-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 94519cbb (git): common.mk: up in help
* common.mk (help): mention `up` target briefly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Revision 192b63fd (git): Fix defined? expressions
* lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM):
should check same name as the used constants.
[ruby-core:72674] [Bug #11940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
Luiz Angelo Daros de Luca wrote:
> It seems that `OpenSSL::Digest` is defined by the builtin ext (in miniruby?!),
It might be defined in `rubygems/digest.rb`.
nobu (Nobuyoshi Nakada)
02:36 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
Benoit Daloze wrote:
> 1) Why and when should I do a `make up`?
`make up` is a trigger to update via the network.
Other targets would not access remote hosts, except for some necessary files (config. guess and config.sub).
> ...
...
nobu (Nobuyoshi Nakada)
12:28 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
About 2) it's due to #11876, so after updating the keys it seems to work. Eregon (Benoit Daloze)
11:37 AM Bug #11937: did_you_mean and other bundled gems are not installed by make install
Nobuyoshi Nakada wrote:
> Doesn't `make up` do it?
I guess it would, however I think there are two problems:
1) Why and when should I do a `make up`?
And where is it documented it should be part of the the build process? (make he...
Eregon (Benoit Daloze)
02:31 PM Feature #11939: Syntax sugar to apply a method replace a variable
Maybe an op assign could be used with (1)?
```ruby
var +=.some_method(some_args)
```
nobu (Nobuyoshi Nakada)
02:19 PM Revision 23529f5d (git): Makefile.in: drop dependency
* Makefile.in (aclocal.m4): drop the dependency of aclocal.m4 for
broken autotools installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:26 PM Misc #11876: Scheduled maintenance 2016/01/01
New IP is 52.192.80.219.
(I got a "WARNING: POSSIBLE DNS SPOOFING DETECTED!")
Eregon (Benoit Daloze)
12:00 PM Bug #11942: No rule to make target 'aclocal.m4', needed by 'configure'
Just for the record, if you run into this bug, just redoing 'make up; make install' isn't enough. A manual 'svn up' is necessary. duerst (Martin Dürst)
10:22 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
Applied in changeset r53417.
----------
aclocal.m4: add
* aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942]
nobu (Nobuyoshi Nakada)
09:04 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
When executing 'make up; make install-nodoc' I get the following errors:
(it's an easy guess that this must be related to r53414)
make[1]: Entering directory '/cygdrive/c/Data/ruby'
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncomm...
duerst (Martin Dürst)
10:22 AM Revision 853ef28a (git): aclocal.m4: add
* aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:34 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
/opt/rh/ruby200/root/usr/share/ruby/net/http/response.rb:368: [BUG] Segmentation fault
ruby 2.0.0p645 (2015-04-13) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0032 p:---- s:0170 e:00...
kodabear (dakota riggs)
08:14 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
Check this related issue -https://bugs.ruby-lang.org/issues/7938 codetodya (Sumit Mahamuni)
08:13 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
Check this related issue -https://bugs.ruby-lang.org/issues/7938 codetodya (Sumit Mahamuni)
07:04 AM Feature #11911: Immutable method definitions and/or static dispatch
I suppose I'm talking specifically about the first, that is, the ability to change any method at any time.
The most obvious use case I can imagine is an application that wants to guarantee that it's running the stock stdlib, with no m...
mlarraz (Matt Larraz)
05:52 AM Bug #10196 (Closed): rdoc should not depend on gems
hsbt (Hiroshi SHIBATA)
04:58 AM Bug #10196: rdoc should not depend on gems
Pull Request accepted. Please, close. luizluca (Luiz Angelo Daros de Luca)
05:01 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
yui-knk (Kaneko Yuichiro)
04:59 AM Revision 5cf9b65a (git): Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
* eval_error.c (rb_print_undef): Use `rb_method_visibility_t`
instead of `int`.
* eval_intern.h (rb_print_undef): ditto
* proc.c (mnew_internal): ditto
* vm_method.c (rb_export_method): ditto
[Misc #11649] [ruby-core:71311] [fix GH-1...
yui-knk (Kaneko Yuichiro)
04:05 AM Feature #11934: A feature to drop dynamics dynamically
It would be nice to fine-tune some of ruby's behaviour like that.
So I am encouraging all ideas similar as to the above.
There is only one concern I have - is it possible to become
"less" strict again that is, to revert to the def...
shevegen (Robert A. Heiler)
03:12 AM Revision 21649a0f (git): * 2016-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 AM Revision e05a8537 (git): acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:12 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
Applied in changeset r53414.
----------
acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941]
nobu (Nobuyoshi Nakada)
12:46 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
Hello,
Since rev 52202, ruby added a aclocal.m4 file to its source. Normally, it is expected that aclocal.m4 to be generated by command aclocal that reads m4 directory. In order to avoid using tainted autotools-generated files, some b...
luizluca (Luiz Angelo Daros de Luca)

01/02/2016

10:39 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
Hello,
When I select to include all ext static linked and between them there is openssl, ruby fails to build.
~~~
$ ./configure --disable-install-doc --disable-install-rdoc --disable-install-capi --with-static-linked-e...
luizluca (Luiz Angelo Daros de Luca)
07:40 PM Bug #9569: SecureRandom should try /dev/urandom first
Hi!
I happen to have just given a talk on urandom internals at 32C3: https://media.ccc.de/v/32c3-7441-the_plain_simple_reality_of_entropy
The main takeaway about urandom is that it's a CSPRNG, just like the OpenSSL one. (Just bette...
filippo (Filippo Valsorda)
06:09 PM Bug #9569: SecureRandom should try /dev/urandom first
First off, thank you for providing number. Then we can discuss scientific way.
blog pages are not considered a formal document.
However I can't reproduce your conclusion. In my result, securerandom has one
weak and /dev/urandom has...
kosaki (Motohiro KOSAKI)
03:11 PM Bug #9569: SecureRandom should try /dev/urandom first
The following is the output of your 'SecureRandom' construction vs. the Linux `/dev/urandom` facility:
http://nopaste.narf.at/show/EPVj9ETuMIcrCXKErsS6/
http://nopaste.narf.at/show/i0EJbkQrL3SXurfQZ524/
As you can see your RNG is ...
azet (Aaron Zauner)
02:36 PM Bug #9569: SecureRandom should try /dev/urandom first
>You evidently have no idea what you are talking about. Why would you want to use the PRNG that's local to OpenSSL? It can fail in many ways, is >slower than the kernel and may introduce vulnerabilities. The OpenSSL PRNG is not even fork... kosaki (Motohiro KOSAKI)
10:18 AM Bug #9569: SecureRandom should try /dev/urandom first
Nobuyoshi Nakada wrote:
> SecureRandom without OpenSSL (or compatible alternatives) is nonsense.
You evidently have no idea what you are talking about. Why would you want to use the PRNG that's local to OpenSSL? It can fail in many w...
azet (Aaron Zauner)
06:57 AM Bug #9569: SecureRandom should try /dev/urandom first
Aaron Zauner wrote:
> The issuer before me has linked to various cryptographers telling you in their blogs to use `/dev/urandom`. Why would you rather listen to an out-dated man page? Even how this works (CSPRNG and entropy) in the ke...
akr (Akira Tanaka)
02:16 AM Bug #9569: SecureRandom should try /dev/urandom first
SecureRandom without OpenSSL (or compatible alternatives) is nonsense. nobu (Nobuyoshi Nakada)
01:48 AM Bug #9569: SecureRandom should try /dev/urandom first
Hi,
This still seems to be the case according to the code available on GitHub.
I urge the core team to move to `/dev/urandom`. It is an urban-legend (as Thomas Ptacek notes in the sockpuppet.org blog-post referenced two years ago) ...
azet (Aaron Zauner)
01:59 PM Feature #11939 (Open): Syntax sugar to apply a method replace a variable
There is frequent use case to modify the value of a variable and keep it referred to by the same variable name. When method chaining cannot be done (for example, when the method is conditionally called), the same variable name would have... sawa (Tsuyoshi Sawada)
12:08 PM Revision 004bb16c (git): thread_sync.c: remove unnecessary casts for queue_sleep
"Qfalse" and "(VALUE)0" are equivalent, and do not matter
for an ignored argument, either.
Additionally, there's no reason to cast the pointer to
rb_thread_sleep_deadly when we already have a queue_sleep
wrapper.
* thread_sync.c (queue...
Eric Wong
07:19 AM Revision 32b4a8b3 (git): Allow ERB subclass to add token easily. [Feature #11936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
07:19 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
Applied in changeset r53412.
----------
Allow ERB subclass to add token easily. [Feature #11936]
seki (Masatoshi Seki)
05:44 AM Revision 123313e2 (git): parse.y: use nd_tag
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:20 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64
stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.
normalperson (Eric Wong)
04:39 AM Revision 9c541079 (git): Revert r53409 "parse.y: yylval.num should be u3"
It introduces SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:09 AM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
nobu (Nobuyoshi Nakada)
03:46 AM Bug #11937 (Feedback): did_you_mean and other bundled gems are not installed by make install
Doesn't `make up` do it? nobu (Nobuyoshi Nakada)
02:11 AM Revision 10c2251a (git): parse.y: yylval.num should be u3
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 AM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
Applied in changeset r53409.
----------
parse.y: yylval.num should be u3
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
nobu (Nobuyoshi Nakada)

01/01/2016

11:47 PM Revision 81df39dc (git): * 2016-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:27 PM Feature #10168: Native Object#inspect method should single quote strings that don't need to be double quoted
Peter Halliday wrote:
> From my point of view this is a suggestion to increase overall productivity as I use tools that use this method to print things that I then copy and paste quite a bit - not having to then replace the quotes will ...
jwmittag (Jörg W Mittag)
05:38 PM Bug #11901: Performance Issue with OpenStruct
Marc-Andre Lafortune wrote:
> Yui NARUSE wrote:
> ...
nobu did the latter in r53396.
Eregon (Benoit Daloze)
05:34 PM Bug #11901: Performance Issue with OpenStruct
Yui NARUSE wrote:
> Could you fix rubyspec?
Great, that was a bug
I made an easy fix so `method_missing` doesn't add a method if frozen. I hesitated to redefine `freeze` to add all the needed method definitions, but it's difficult...
marcandre (Marc-Andre Lafortune)
05:27 PM Revision 9543908c (git): * lib/ostruct.rb: Fix case of frozen object with initializer.
Bug revealed by RubySpec [ruby-core:72639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
01:58 PM Feature #11934: A feature to drop dynamics dynamically
I am not sure this would bring much in terms of performance,
and it would definitely limits lots of stuff to run in this mode (Rails as today would certainly not).
It sounds a bit to me like trying another language.
Constant folding...
Eregon (Benoit Daloze)
01:46 PM Feature #11934: A feature to drop dynamics dynamically
All of the dynamic language features described (constant and method redefinition, inclusion of modules etc) can already be done with no runtime cost (http://chrisseaton.com/rubytruffle/deoptimizing/, http://chrisseaton.com/phd/). If thes... chrisseaton (Chris Seaton)
12:04 AM Feature #11934: A feature to drop dynamics dynamically
Eric, thank you for your comment.
> We already allow "freeze" on classes and modules; perhaps we perform
> ...
Is constant folding possible? And method inlining? They may be possible, but I guess the effect will be restricted. To ...
mame (Yusuke Endoh)
01:13 PM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
I finished maintenance and confirmation to svn commit.
SSH fingerprint at our new repository is here:
* RSA: 72:04:c9:95:f5:06:de:57:0a:45:0e:30:9c:4e:57:87
* ECDSA: bd:9d:d7:25:85:12:ab:65:a1:11:78:a9:71:7d:af:af
Please revo...
hsbt (Hiroshi SHIBATA)
01:10 PM Misc #11876: Scheduled maintenance 2016/01/01
Hi, sora.
I replaced your 2nd key from s3 to sorah account.
If you need to register more keys, Please mention to me.
hsbt (Hiroshi SHIBATA)
08:26 AM Misc #11876: Scheduled maintenance 2016/01/01
Shota Fukumori wrote:
> - HTTP + pgp clearsign: http://sorah.jp/sorah-key.txt.asc
Correction: http://sorah.jp/ssh-key.txt.asc
sorah (Sorah Fukumori)
08:24 AM Misc #11876: Scheduled maintenance 2016/01/01
Could you update my ssh keys too? (svn id sorah)
- HTTPS: https://s3-ap-northeast-1.amazonaws.com/sorah.jp/ssh-key.txt https://github.com/sorah/sorah.jp/blob/master/source/ssh-key.txt
- HTTP: http://sorah.jp/ssh-key.txt
- HTTP + pgp...
sorah (Sorah Fukumori)
06:55 AM Misc #11876: Scheduled maintenance 2016/01/01
Happy New Year!
I start maintenance now.
hsbt (Hiroshi SHIBATA)
01:02 PM Revision 428fe14f (git): * NEWS: mention about CSV's liberal_parsing option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:39 PM Revision b8057a5c (git): * ChangeLog: added missing reference for GitHub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:08 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
did_you_mean and other bundled gems are not installed when doing a regular local build:
autoconf
./configure --prefix=...
make install
.../bin/ruby -e 'require "did_you_mean"'
=> LoadError
`make update-gem...
Eregon (Benoit Daloze)
11:06 AM Feature #11936: Allow ERB subclass to add token easily
I fixed a patch to reduce times to compile the same regexp in TrimScanner. k0kubun (Takashi Kokubun)
06:42 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
While I want to use ERB in Rails, escape token "<%==" is not available in ERB and we can't add a new token to ERB easily.
To allow ERB subclass to add a new token easily, I splitted ERB::Compiler#compile to some small methods and create...
k0kubun (Takashi Kokubun)
10:39 AM Revision b4c1a13d (git): * doc/NEWS-2.3.0: fix double words typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:28 AM Revision 910eb983 (git): compile.c: adjust call_info count
* compile.c (remove_unreachable_chunk): decrease count of
call_info in removed instructions. fix up r53402.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:05 AM Revision 00947375 (git): compile.c: remove unreferred label
* compile.c (remove_unreachable_chunk): remove unreferred label
to optimize away unreachable chunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:47 AM Feature #11839 (Closed): CSV: liberal_parsing option
JEG2 (James Gray)
02:44 AM Revision f18f9408 (git): Adding a liberal_parsing option to CSV. Patch by Braden Anderson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
01:27 AM Bug #11881 (Closed): Ruby build uses SDKROOT as if it owns it
Applied in changeset r53400.
----------
mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ruby installation.
[ruby-core:72496] [Bug #11881]
nobu (Nobuyoshi Nakada)
01:27 AM Revision 7d9342ae (git): mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ruby installation.
[ruby-core:72496] [Bug #11881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53400 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)

12/31/2015

11:53 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
Applied in changeset r53399.
----------
Add test for Enumerator::Lazy#take
* test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
code in case of Enumerator::Lazy#take called with negative number.
[ruby-dev:49467] [Bug #...
nobu (Nobuyoshi Nakada)
02:51 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
Add test code in case of Enumerator::Lazy#take called with negative number. ksss (Yuki Kurihara)
11:53 PM Revision bd5d443a (git): Add test for Enumerator::Lazy#take
* test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
code in case of Enumerator::Lazy#take called with negative number.
[ruby-dev:49467] [Bug #11933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53399 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
08:06 PM Bug #11871 (Closed): Heredoc unindentation with <<~ with single-quoted identifier flush-lefts the content
Applied in changeset r53398.
----------
parse.y: single-quote indented heredoc
* parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby-core:72479] [Bug #11871]
nobu (Nobuyoshi Nakada)
08:06 PM Revision b1796737 (git): parse.y: single-quote indented heredoc
* parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby-core:72479] [Bug #11871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:38 PM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
zn@mbf.nifty.com wrote:
> `()` is required, or use `0` instead of `1`.

Thanks, we can omit the second arg entirely.

Will squash the following changes in on top of my previous:

diff --git a/lib/resolv.rb b/lib/resolv.rb
index ...
normalperson (Eric Wong)
11:56 AM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
`()` is required, or use `0` instead of `1`.
```
% rbenv exec irb -r irb/completion --simple-prompt
>> "N"[/([NE])/,1]
=> "N"
> ...
=> nil
>> "N"[/[NE]/,0]
=> "N"
```
znz (Kazuhiro NISHIYAMA)
07:27 PM Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
I reduced buggy files. Seems it's related to parsing regexp. radarek (Radosław Bułat)
02:05 PM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
Test file bug.rb:
```ruby
require "ripper"
puts Dir['**/**.rb'].find_all { |f| Ripper.sexp(File.read(f)) == nil }
```
```
$ make runruby TESTRUN_SCRIPT=bug.rb
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=...
radarek (Radosław Bułat)
06:28 PM Feature #11934: A feature to drop dynamics dynamically
mame@ruby-lang.org wrote:
> So, how about a feature to prohibit some dynamic features in runtime?

We already allow "freeze" on classes and modules; perhaps we perform
some optimizations when they become frozen: perfect hashing,...
normalperson (Eric Wong)
05:34 PM Feature #11934 (Rejected): A feature to drop dynamics dynamically
Ruby is a dynamic language. Everything is possible in runtime.
So, how about a feature to prohibit some dynamic features in runtime?
~~~~
Foo = 1
RubyVM.drop_dynamics
Bar = 2 #=> cannot define new constant
Foo = 2 ...
mame (Yusuke Endoh)
06:26 PM Revision d6c769a5 (git): * 2016-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:26 PM Revision 6e5967e2 (git): ostruct.rb: deferred accessors
* lib/ostruct.rb (freeze): define deferred accessors before
freezing to get rid of an error when just reading frozen
OpenStruct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:03 PM Bug #11935 (Closed): Date.new returns inconsistent errors when passed invalid arguments
When passed invalid data, such as floats and nil values, the Date.new function returns a variety of results that aren't particularly easy to read and understand. The 'undefined method 'div' for nil:NilClass' is particularly unhelpful.
...
CJKinni (C Kinniburgh)
05:10 PM Bug #11901 (Closed): Performance Issue with OpenStruct
Could you fix rubyspec? naruse (Yui NARUSE)
05:40 AM Bug #11901: Performance Issue with OpenStruct
Indeed, the test in `new_ostruct_member` was incorrect now that `respond_to_missing?` has been changed.
Instead, if we look for the actual method I believe this will fix all issues.
marcandre (Marc-Andre Lafortune)
12:52 PM Bug #11915: File.read reading string starting with | executes it.
Linus Sellberg wrote:
> It is one thing that some of the `.open` methods actually can execute stuff, but a method named 'read' should not behave like that.
`File.open` does not.
Some class methods of `IO`, e.g. `IO.foreach` and `IO....
nobu (Nobuyoshi Nakada)
12:46 PM Bug #11906: File.dirname separator stripping from the begining of path
And on Windows, note that `\\foo\bar` is a valid UNC style path, but `\\\foo\bar` is not. nobu (Nobuyoshi Nakada)
06:11 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
```
devbox@devbox:~/code/project_name$ gdb --args /usr/bin/env ruby_executable_hooks /home/devbox/.rvm/gems/ruby-2.3.0/bin/sidekiq
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
Licens...
b264 (Brian Giaraffa)
01:57 AM Bug #11930 (Feedback): Segmentation Fault in gc_mark_ptr in 2.3.0p0
Seems a GC problem with `Proc`.
```
-- C level backtrace information -------------------------------------------
/home/devbox/.rvm/rubies/ruby-2.3.0/bin/../lib/libruby.so.2.3(rb_vm_bugreport+0x51f) [0x7fe25c8c6b7f] vm_dump.c:688
/h...
nobu (Nobuyoshi Nakada)
06:11 AM Bug #11899 (Rejected): `Object#public_methods` returns unordered array in Ruby 2.3.0
It is not guaranteed. nobu (Nobuyoshi Nakada)
05:37 AM Revision 2f2a5c3a (git): * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition
[#11901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:24 AM Bug #11929: No programatic way to check ability to dup/clone an object
[This demonstration](https://eval.in/495653) should clarify the observed behavior. `Symbol`, `Fixnum`, and indeed every other numeric class inherit their `#dup` from `Kernel`, whose implementation does a sanity check before proceeding, t... 0x0dea (D.E. Akers)
01:49 AM Revision 99894e6c (git): test_module.rb: sort constants
* test/ruby/test_module.rb (test_classpath): since r53376, all
results of Module#constants should be sorted to compare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 AM Revision 3e0f09db (git): ruby-additional.el: escape control code
* misc/ruby-additional.el (ruby-encode-unicode): escape control
code except for LF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:39 AM Revision 34167345 (git): ruby-additional.el: encode non-ASCII code only
* misc/ruby-additional.el (ruby-encode-unicode): encode non-ASCII
code only, excluding ASCII control code, e.g. \t, \n, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/30/2015

11:57 PM Bug #11931 (Closed): Segmentation fault with rexml/element.rb
I am experiencing a bug with an API call collecting XML. I have a script that goes through a web catalog of products and writes it to a csv. Eventually I hit this error ( attached ). It's caching the responses so if I run and fail throug... spangltk (travis spangle)
11:40 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
https://github.com/flavorjones/loofah/blob/4887e62da44a5ae772d52f028ee25019e6c3626d/lib/loofah.rb#L12
b264 (Brian Giaraffa)
11:39 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
devbox@devbox:~/code/project_name$ sidekiq
/home/devbox/.rvm/gems/ruby-2.3.0/gems/loofah-2.0.3/lib/loofah.rb:12: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame i...
b264 (Brian Giaraffa)
10:16 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
Brian Giaraffa wrote:
> /home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
> ...
I have discovered more information--
...
b264 (Brian Giaraffa)
07:52 PM Bug #11930 (Closed): Segmentation Fault in gc_mark_ptr in 2.3.0p0
/home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
b264 (Brian Giaraffa)
08:17 PM Bug #11928 (Feedback): Segmentation fault in did_you_mean extension
What exception will raise with `--disable=did_you_mean` command line option? nobu (Nobuyoshi Nakada)
03:27 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
I'm getting a segmentation fault in my Rails application test suite if I attempt to use an undefined method/object.
I was not able to reproduce this outside of the complex environment of my application, but hopefully you might be able...
amw (Adam Wróbel)
07:06 PM Revision 2fad0168 (git): skip if locale is not UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:47 PM Revision 5da0e863 (git): * test/ruby/test_module.rb (test_classpath): r53376 may change
the order of m.constants.
`make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
may fail after that.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz
git-svn-id: svn+ssh://ci.rub...
naruse (Yui NARUSE)
05:20 PM Revision 6bdfd21d (git): * 2015-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:20 PM Revision 6ec9331c (git): * common.mk (help): Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:30 PM Bug #11929 (Closed): No programatic way to check ability to dup/clone an object
We can't dup a Fixnum, and it's ok. But I'm wondering «why is Fixnum saying it can dup?»
~~~
1.respond_to?(:dup) #=> true
~~~
Don't you think that the `dup` method should be undefined in the class Fixnum?
Currently I can do `c...
lkdjiin (xavier nayrac)
12:29 PM Misc #11904: Why was Thread.exclusive deprecated?
Tony Arcieri wrote:
> Is a single-threaded require actually a *guarantee* of every Ruby VM?
Not single-threaded, but each file should be loaded at most once.
Single require per file/path is certainly highly desirable,
otherwise you...
Eregon (Benoit Daloze)
11:53 AM Revision 95aadb14 (git): * lib/net/http/responses.rb: Added new response class for 451 status code.
* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:45 AM Revision 27f00a7a (git): * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
[fix GH-1167] Patch by @MuhammetDilmac
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:40 AM Feature #11927 (Open): Return value for `Module#include` and `Module#prepend`
Currently, `Module#include` and `Module#prepend` return the receiver, regardless of whether the ancestor chain has been modified. It is not straightforward to know whether it actually had effect.
~~~ruby
module A; end
module B; end
...
sawa (Tsuyoshi Sawada)
11:28 AM Bug #11926 (Closed): Backport request r53385
Please backport documentation patch for safe navigation operator. hsbt (Hiroshi SHIBATA)
11:26 AM Revision 8f8f92b5 (git): * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
operator. [ci skip][fix GH-1182] Patch by @dougo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:18 AM Feature #6284: Add composition for procs
With the recent addition of `Hash#to_proc` and performance improvements to `Proc`s in 2.3.0, I have rebased my patch (attached) to add composition between `Proc`s, `Method`s and other objects responding to `call` with `*` in the hope of ... mudge (Paul Mucur)
11:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
On Tue, Dec 29, 2015 at 8:09 AM, <dwfaithfull@gmail.com> wrote:
> Issue #11902 has been updated by Dwain Faithfull.
>
>
> Nobuyoshi Nakada wrote:
>> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
>>
...
kosaki (Motohiro KOSAKI)
10:15 AM Bug #11909: io.popen problem in 2.2 and over
Hi all, I have a confirmation... The problem is with libxml-ruby invoked by io.popen. If we try with Nokogiri all is ok.
So, do you think I have to submit the problem to libxml-ruby gem team or do you think it may be a problem related t...
pierisimone (Simone Pieri)
08:40 AM Bug #11909: io.popen problem in 2.2 and over
OK, excuse me, we have a problem with libxml if it's called via io.popen. I don't want any "heavy lifting" for me ...
I can't reproduce the problem without libxml because I don't have a problem without libxml, like Nobuyoshi says. And ...
pierisimone (Simone Pieri)
09:16 AM Bug #11878: Comparison of prepended modules
I thought that the ordering relation among modules/classes represents the method call priority. `A` < `B` means that method look-up first looks in `A`, then `B`; smaller module/class has higher priority. If so, since a module prepended t... sawa (Tsuyoshi Sawada)
07:36 AM Bug #11878: Comparison of prepended modules
Making prepending class an ancestor of prepended module?
It feels strange a little, to me.
nobu (Nobuyoshi Nakada)
04:28 AM Bug #11878: Comparison of prepended modules
As far as I see the revision r53380 by Nakada san, it looks like my feature proposal part was rejected. Is this the case? sawa (Tsuyoshi Sawada)
12:59 AM Bug #11878 (Closed): Comparison of prepended modules
Applied in changeset r53380.
----------
object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878]
nobu (Nobuyoshi Nakada)
07:44 AM Feature #11925: Struct construction with kwargs
Hi.
I have thought the same thing that want to use kwargs in Struct class.
But I can't come up with a good API.
Finally, I made a gem. https://github.com/ksss/type_struct
ksss (Yuki Kurihara)
07:43 AM Revision f880d5dc (git): Add test for String#ord
* test/ruby/test_string.rb (test_ord): Add test for String#ord.
[Fix GH-1181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:28 AM Revision 6fd18ca5 (git): forwardable.rb: adjust backtrace by tail call
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_delegator): ditto.
git-s...
nobu (Nobuyoshi Nakada)
02:26 AM Revision d8eb5ade (git): fix commit miss
* test/test_forwardable.rb: add tests for r53381.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 AM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
Applied in changeset r53381.
----------
Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 986fb559 (git): Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods. [ruby-core:72579] [Bug #11916]
* lib/forwardable.rb (def_single_delegator): ditto.
If you have...
nobu (Nobuyoshi Nakada)
12:58 AM Revision a974041b (git): object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53380 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:42 AM Misc #11876: Scheduled maintenance 2016/01/01
Hi kou.
Thank you for your comment. I will replace you key at maintenance time.
hsbt (Hiroshi SHIBATA)
12:41 AM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
Ruby's ability to change any method anytime, and C++/Java's ability to overwrite some methods in subclasses, are conceptionally quite different. Which one are you interested in, and why? What is your use case? duerst (Martin Dürst)
12:20 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
Applied in changeset r53379.
----------
test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921]
nobu (Nobuyoshi Nakada)
12:20 AM Revision d252e224 (git): test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom