Project

General

Profile

Activity

From 03/26/2015 to 04/01/2015

04/01/2015

09:44 PM Bug #11018 (Feedback): free(): invalid next size (normal)
Please let us know if you can reproduce it with no gem, no rvm and no extension. kosaki (Motohiro KOSAKI)
09:43 PM Bug #11018: free(): invalid next size (normal)
That seem you used broken C extension. kosaki (Motohiro KOSAKI)
08:46 PM Feature #11024 (Closed): [PATCH] connect_nonblock supports "exception: false"
This is for consistency with accept_nonblock arguments and gives a
minor speedup from avoiding exceptions:
Results:
| user | system | total | real
-----------------|----------:|----------:|-----...
normalperson (Eric Wong)
06:16 PM Bug #11022: opening an eigenclass does not change the class variable definition context
Module.nesting.first
I would think it would be unexpected for most, that a class variable is not being defined in the currently open class.
bughit (bug hit)
06:03 AM Bug #11022 (Rejected): opening an eigenclass does not change the class variable definition context
```ruby
module Mod1
class << Object.new
C = 1
@@cv = 1
p Module.nesting,
constants(false),
class_variables(false),
Mod1.class_variables(false)
end
end
```
```
[#<Class:#<Object:0xb...
bughit (bug hit)
06:12 PM Bug #10901: Object#singleton_methods behaves differently depending on whether the singleton_class exists
Is this a bug, and if not, why? bughit (bug hit)
06:12 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
please explain bughit (bug hit)
06:11 PM Feature #10863: allow protected class methods to be callable from instance methods
Does the proposed feature make sense? bughit (bug hit)
03:06 PM Bug #11023 (Third Party's Issue): segmentation fault
segmentation fault when using *pair_distance_similar* method from *amatch* gem - https://github.com/flori/amatch 70k4m4k (70k4 M4k)
02:30 PM Revision 80dd40f4 (git): common.mk: fool
* common.mk (fool): target to check and test rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 PM Bug #8612: nil in ERB::Util.url_encode
Is this fixed in Ruby 2.0.0 ruby 2.0.0p451 (2014-02-24 revision 45167)?
I am still getting the same error that is mentioned in this issue.
islamazab (Islam Azab)
02:02 PM Bug #11002: Don't abuse ruby_version
I submitted PR [1] which tries to fix this situation. Basically
* The "ruby_version" can't be modified by configuration options anymore and it should be always equal to `ruby -e 'puts RUBY_VERSION'`.
* The version will always have th...
vo.x (Vit Ondruch)
08:14 AM Revision 5e977e7f (git): gmake.mk: CHECK_TARGETS
* defs/gmake.mk (CHECK_TARGETS): goals depending on test and
test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:53 AM Revision c5c0813a (git): test_dir.rb: recursive globbing
* test/ruby/test_dir.rb (test_symlink): add an assertion for
recursive globbing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:02 AM Revision cd322ae5 (git): test_objspace.rb: skip test_count_nodes
* test/objspace/test_objspace.rb (test_count_nodes): NODEs are no
longer used generally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 AM Revision ec85609f (git): dir.c: expand ruby_brace_glob0
* dir.c (ruby_brace_glob_with_enc): call ruby_brace_glob_with_enc
in ruby_brace_glob, and expanded ruby_brace_glob0 which is no
longer used anywhere else.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50144 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
02:09 AM Revision 93f6b2a3 (git): dir.c: reduce indirect arguments
* dir.c (push_glob): remove indirect links of arguments for
trampoline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 AM Bug #10568: segmentation fault after pack & ioctl & unpack
I can still reproduce the segfault with the current ruby_2_1 branch, so I would say backporting the patch mentioned by the OP is still needed:
~~~
$ ruby -v
ruby 2.1.5p329 (2015-03-31) [x86_64-linux-gnu]
$ cat /tmp/test.rb
requir...
terceiro (Antonio Terceiro)
12:59 AM Revision cf0faa96 (git): * 2015-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:59 AM Bug #11021 (Closed): FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
Applied in changeset r50141.
----------
fileutils.rb: fix error message
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destination parent directory
name. patched by João Britto <j...
nobu (Nobuyoshi Nakada)
12:02 AM Bug #11021 (Closed): FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
Suppose we have the following directory structure:
~~~
$ cd /tmp
$ mkdir -p ruby/a
$ mkdir ruby/a/b
$ mkdir ruby/b
$ tree ruby
ruby
├── a
│   └── b
└── b
3 directories, 0 files
~~~
When we try to move `b` inside `a`, t...
britto (João Britto)
12:59 AM Revision 676fe089 (git): fileutils.rb: fix error message
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destination parent directory
name. patched by João Britto <jabcalves AT gmail.com> at
[ruby-core:68706]. [Bug #11021]
git-svn-id: ...
nobu (Nobuyoshi Nakada)

03/31/2015

03:48 PM Bug #11020 (Third Party's Issue): Ruby 2.1.5 crashing when running rails 3.2.21
We are in the process of upgrading our ruby on rails application to 3.2.21 and also ruby from 1.9.latest to 2.1.latest. This process worked fine on our test ubuntu machines. Our developers on Mac OS x 10.10 are running into a variety o... bjm88 (Ben Maisano)
01:49 PM Bug #10649: get rid of NameError in io/console (fixed at r48982)
r48987 and r48989 were backported into `ruby_2_1` branch at r50140.
They are required to get rid of CI failures.
nagachika (Tomoyuki Chikanaga)
01:47 PM Revision ab4c4d3e (git): merge revision(s) r48987,r48989: [Backport #10646]
test_io_console.rb: chomp results
* test/io/console/test_io_console.rb (run_pty): IO#readlines
ignores the given block. need map to chomp the results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50140 b2dd0...
nagachika (Tomoyuki Chikanaga)
08:09 AM Revision c6411c64 (git): test_dir.rb: assert_entries
* test/ruby/test_dir.rb (assert_entries): extract common
assertinos for Dir.entries and Dir#foreach.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 AM Revision a4c92d05 (git): test_dir.rb: test_entries
* test/ruby/test_dir.rb (test_entries): test for Dir#entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 AM Revision 0313635c (git): test_dir.rb: fix arguments order
* test/ruby/test_dir.rb (test_foreach): fix arguments order, the
expected result should be first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:26 AM Revision ffeb6c1b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:26 AM Revision c3c7b61b (git): * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:26 AM Revision 46511288 (git): * 2015-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:25 AM Revision dd659dc3 (git): * doc/ChangeLog-0.06_to_0.52: added archived Changelog.
[ruby-list:50105]
* doc/ChangeLog-0.50_to_0.60: ditto.
* doc/ChangeLog-0.60_to_1.1: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:02 AM Bug #11019 (Rejected): [BUG] Segmentation fault at 0x00000000000418
You mixed Ruby 2.0 extension on vagrant and Ruby 2.2.1.
Please confirm following command and executable runtime.
$ otool -L ~/.vagrant.d/gems/gems/json-1.8.2/lib/json/ext/parser.bundle
hsbt (Hiroshi SHIBATA)
05:37 AM Bug #11019: [BUG] Segmentation fault at 0x00000000000418
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Librar...
pollseed (hoge.sampule shoge)
05:32 AM Bug #11019 (Rejected): [BUG] Segmentation fault at 0x00000000000418
stdout:
stderr: /Users/shn/.vagrant.d/gems/gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
-- Crash Report log information ...
pollseed (hoge.sampule shoge)
04:01 AM Bug #11018 (Closed): free(): invalid next size (normal)
Hello
Got many of those:
*** Error in `/home/py/.rvm/gems/ruby-2.0.0-p643@global/bin/bundle': free(): invalid next size (normal): 0x00000000042d6a10 ***
Abandon (core dumped)
Making a bundle install will take 10 restart becau...
joel23421 (joel Bernard)

03/30/2015

11:11 PM Bug #11017 (Rejected): overridden method Hash#[]= doesn't return correct data
nobu (Nobuyoshi Nakada)
08:20 PM Bug #11017: overridden method Hash#[]= doesn't return correct data
Jeremy Evans wrote:
> Vladislav Zubov wrote:
> ...
Hello Jeremy Evans, thank you. Now all fit in the head.
Close please this issue. I don't find close button.
vladislav.zubov (Vladislav Zubov)
03:05 PM Bug #11017: overridden method Hash#[]= doesn't return correct data
Vladislav Zubov wrote:
> ~~~ruby
> ...
No. In ruby, assignment always returns the right hand side, it doesn't matter what the assignment method returns. So `temp_hash` is the argument you passed to `HashWithIndifferentAccess#[]=` (a p...
jeremyevans0 (Jeremy Evans)
02:24 PM Bug #11017 (Rejected): overridden method Hash#[]= doesn't return correct data
Hello all.
I took the code from the active_support and its simplified
### hash_with_indifferent_access.rb
```ruby
class HashWithIndifferentAccess < Hash
def initialize(constructor = {})
if constructor.is_a?(Hash)
...
vladislav.zubov (Vladislav Zubov)
09:30 PM Bug #11015: IO.copy_stream does not advance Tempfile destination
Closing the loop on one detail...
This didn't affect JRuby because JRuby's Tempfile actually subclasses IO, rather than wrapping and delegating.
headius (Charles Nutter)
02:28 AM Bug #11015 (Closed): IO.copy_stream does not advance Tempfile destination
Applied in changeset r50118.
----------
io.c: use read/write methods if possible
* io.c (copy_stream_body): use the arguments without conversion if
having read, readpartial, and write methods, than conversion by
to_path method. [r...
nobu (Nobuyoshi Nakada)
07:48 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
This might be a duplicate of https://bugs.ruby-lang.org/issues/10933 which has already been fixed (but not released)? dmarkow (Dylan Markow)
11:40 AM Bug #10968 (Feedback): [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
This [1] seems to be the section of the code where the error happened.
@ko1: Could this be a GC issue?
[1] https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ssl.c#L1661
MartinBosslet (Martin Bosslet)
07:27 PM Bug #10871: Sclass thread unsafe due to CREF sharing
I fixed this bug for 2.3 [Bug #10943] and ask to discuss for previous versions. But no discussions....
I will make workaround patch *ONLY* for this issue. That patch does not solve all of issue, but can solve this issue (this sample c...
ko1 (Koichi Sasada)
04:57 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Can anyone update us on the status of this bug? Thanks. clay@dabohealth.com (clay shentrup)
03:49 PM Bug #10646: wmap_final_func の xrealloc で確保するメモリのサイズが1足りないためSEGV
Backported into `ruby_2_1` branch at r50132. nagachika (Tomoyuki Chikanaga)
03:49 PM Revision 4d683d05 (git): merge revision(s) r48999,r49484: [Backport #10646]
* gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
Fix SEGV during finilize of WeakRef on Solaris (though the SEGV
could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646]
Fix SEGV ...
nagachika (Tomoyuki Chikanaga)
03:46 PM Bug #10707: Segmentation fault when get refined new method in BasicObject
Backported into `ruby_2_1` branch at r50131. nagachika (Tomoyuki Chikanaga)
03:45 PM Revision ed22c21a (git): merge revision(s) r49184: [Backport #10707]
* vm_method.c (rb_method_entry): if no super class, no original
method entry. [ruby-core:67389] [Bug #10707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:35 PM Bug #10716: Erroneous semicolon after AC_CASE
Backported into `ruby_2_1` branch at r50130. nagachika (Tomoyuki Chikanaga)
03:35 PM Revision 1b18735b (git): merge revision(s) r49192: [Backport #10716]
* configure.in (RUBY_SETJMP_TYPE): Remove superfluous semicolon
which causes a syntax error with autoconf 2.63.
[ruby-core:67429] [Bug #10716]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50130 b2dd...
nagachika (Tomoyuki Chikanaga)
03:33 PM Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
Backported into `ruby_2_1` at r50129. nagachika (Tomoyuki Chikanaga)
03:32 PM Revision d8edc3e4 (git): merge revision(s) r49157: [Backport #10384]
* test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty
which is always a shared object and is not used by others.
[ruby-dev:48629] [Bug #10384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@5...
nagachika (Tomoyuki Chikanaga)
03:30 PM Bug #10957: seg fault in ruby_yyparse () at parse.y:2105 (null ptr / stack overflow)
Backported into `ruby_2_1` branch at r50128. nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 0eded3c0 (git): merge revision(s) r49964: [Backport #10957]
* parse.y (primary): empty parentheses at cmdarg can be null.
[ruby-core:68477] [Bug #10957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:44 PM Bug #9591: io-console versioning
Backported into `ruby_2_1` branch at r50127. nagachika (Tomoyuki Chikanaga)
02:43 PM Revision 85f33396 (git): merge revision(s) r48878: [Backport #9591]
io-console.gemspec: bump up
* ext/io/console/io-console.gemspec: bump up to 0.4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:42 PM Bug #10649: get rid of NameError in io/console (fixed at r48982)
r46254, r48982 and r48984 were backported into `ruby_2_1` branch at r50126. nagachika (Tomoyuki Chikanaga)
02:41 PM Revision 6a2b4ced (git): merge revision(s) r46254,r48982,r48984: [Backport #10649]
test/io/console/test_io_console.rb: Close FDs.
* ext/io/console/console.c (console_dev): id_console is not a
constant name, use rb_const_remove() to get rid of NameError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b...
nagachika (Tomoyuki Chikanaga)
01:09 PM Revision e7a1c9ca (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:08 PM Revision a118730e (git): README.EXT.ja: add redirect [ruby-core:68631]
see r50090 for detail
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:04 AM Bug #11016: method calls without parenthesis makes SyntaxError when DVAR exists
ng_assoc.rb and ng_sym.rb may be not a bug, as warning says. sorah (Sorah Fukumori)
11:02 AM Bug #11016 (Closed): method calls without parenthesis makes SyntaxError when DVAR exists
It seems like the following situation makes SyntaxError
1. Try to call method which same name of local variable exists, without parenthesis
2. Argument part contains colon (':')
All the following test cases contain empty method de...
sorah (Sorah Fukumori)
10:00 AM Bug #10015: Performance regression in Dir#[]
Mac OS X Yosemite with the standard filesystem, I believe HFS+ Insensitive Intrepidd (Adrien Siami)
09:27 AM Revision c8e2ccec (git): Revert r50122 "* configure.in: ac_cv_func_vfork=no on sparc-solaris."
fork(2) is also deprecated...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:41 AM Feature #11007: Prime.each.with_index should accept offset
Updated the diff.
Thank you for the advice.
By the way, is PseudoPrimeGenerator#with_object covered by the tests? I don't see test_enumerator_with_object stuff.
Perhaps, for example, we can count the number of primes by modulo 4?
ciel (T Yamada)
07:36 AM Revision dcf8ddfb (git): * configure.in: ac_cv_func_vfork=no on sparc-solaris.
sparc-solaris deprecates vfork though i386-solaris doesn't.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:24 AM Revision 27440e67 (git): error.c: update builtin_types
* error.c (builtin_types): update for r49932, insert T_IMEMO and
move T_UNDEF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:42 AM Revision 921bca89 (git): win32.c: symlink than directory
* win32/win32.c (fileattr_to_unixmode, winnt_lstat): deal with
symbolic link than directory, and set executable bits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 AM Revision 5dc51d82 (git): file.c: include terminator
* win32/file.c (rb_readlink): include the terminator, since
rb_w32_mbstr_to_wstr appends a terminator only when the length
is not given explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50119 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
04:18 AM Feature #11003 (Feedback): Fast modular exponentiation
I have two questions:
- Do you have some concrete use cases in which this new feature is used?
- Why don't you make a gem library to provide this feature? or Are there gem libraries providing it?
mrkn (Kenta Murata)
04:07 AM Bug #10989 (Rejected): Complex Exponentiation
It's not a bug but just a floating point arithmetic error.
~~~
$ ruby -e 'p 1i ** 2'
(-1+0i)
~~~
mrkn (Kenta Murata)
02:28 AM Revision efbfd902 (git): io.c: use read/write methods if possible
* io.c (copy_stream_body): use the arguments without conversion if
having read, readpartial, and write methods, than conversion by
to_path method. [ruby-core:68676] [Bug #11015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@501...
nobu (Nobuyoshi Nakada)
01:43 AM Bug #10952: Clarify BigDecimal license
I want to change BigDeciaml's licence to the same license of Ruby.
Now I'm contacting to the original author of BigDecimal.
mrkn (Kenta Murata)
12:50 AM Revision be6ef350 (git): test_case.rb: $make before $MAKE
* lib/rubygems/test_case.rb (make_command): try unusual $make
before usual $MAKE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/29/2015

11:44 PM Bug #11015 (Closed): IO.copy_stream does not advance Tempfile destination
The following script, reported to JRuby in https://github.com/jruby/jruby/issues/2762, shows that MRI does not advance the position of a `Tempfile` when using `copy_stream`:
~~~ruby
require "stringio"
require "tempfile"
file = Temp...
headius (Charles Nutter)
10:36 PM Revision 144484f2 (git): * 2015-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:35 PM Revision d4fc0943 (git): test_case.rb: use $MAKE
* lib/rubygems/test_case.rb (make_command): usually $MAKE is
defined but not $make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 PM Bug #11014 (Closed): String#partition doesn't return correct result on zero-width match
First, to see how `String#match` works on my example:
~~~ruby
match = "foo".match(/^=*/)
match.pre_match #=> ""
match[0] #=> ""
match.post_match #=> "foo"
~~~
Now, if I used `String#partition` instead of `match`, I'd ...
janko (Janko Marohnić)
12:09 PM Bug #11013 (Closed): Typo in gc.c
Applied in changeset r50114.
----------
* gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013]
hsbt (Hiroshi SHIBATA)
10:15 AM Bug #11013 (Closed): Typo in gc.c
`objspaec_allrefs_destruct_i` womble (Matt Palmer)
12:08 PM Revision 2e9f4bfd (git): * gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:03 AM Revision 101d566c (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:48 AM Bug #11012 (Closed): `local_variable_get` crashes on a `Proc` from a method
Applied in changeset r50111.
----------
proc.c: replicate method env
* proc.c (proc_binding): replicate env from method object, and
allocate the local variable area for the iseq local table.
[ruby-core:68673] [Bug #11012]
nobu (Nobuyoshi Nakada)
02:46 AM Bug #11012 (Closed): `local_variable_get` crashes on a `Proc` from a method
The following code shows unexpected random object, or segfaults sometimes.
~~~ruby
class << (obj = Object.new)
src = 1000.times.map {|i|"v#{i} = "}.join("")
eval("def foo()\n""#{src}nil\n""end")
end
b = obj.method(:foo).to_...
nobu (Nobuyoshi Nakada)
06:48 AM Bug #10906 (Closed): Problem building on Solaris 10 - symbol rb_infinity not found
Applied in changeset r50104.
----------
* ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
ruby itself (including numeric.c) is built with strict compile
options including -std=iso9899:1999, but ext/date is not.
B...
naruse (Yui NARUSE)
04:49 AM Revision 0899bd52 (git): proc.c: check iseq before replication
* proc.c (proc_binding): do not replicate when iseq not found as
rb_method_get_iseq() can return NULL.
[ruby-core:68673] [Bug #11012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 AM Revision 509089e9 (git): proc.c: replicate method env
* proc.c (proc_binding): replicate env from method object, and
allocate the local variable area for the iseq local table.
[ruby-core:68673] [Bug #11012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50111 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 4bc9b1d2 (git): * 2015-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:47 AM Revision c45a4d14 (git): test_proc.rb: test_curry_binding
* test/ruby/test_proc.rb (test_curry_binding): rename
test_binding2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:47 AM Revision 485d0425 (git): vm.c: use MEMCPY
* vm.c (vm_make_env_each): use MEMCPY instead of copy by loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/28/2015

11:44 PM Bug #11011 (Feedback): Segmentation fault at 0x0000000000418
Not under `Library/Logs/CrashReporter`, under `Library/Logs/DiagnosticReports`.
And try 2.2.1.
nobu (Nobuyoshi Nakada)
10:22 PM Bug #11011 (Closed): Segmentation fault at 0x0000000000418
Ran command rails server. Receive crash report, bug - segmentation fault at 0x0000000000418. ruby 2.2.0p0 (2014-12-25 revision 49005) running on iMac OS X Yosemite version 10.10.2.
Rails server was running 2 days ago. Installed Git wi...
lasbyb (Brian Lasby)
11:00 AM Bug #11010 (Closed): Failure to Build from Source: stable 2.2.1
Configure command:
~~~
[vhost7825ssh@hamal ~/private_tree_1/m_local/bin_p/Ruby/kompil/ruby-2.2.1]$ nice -n20 ./configure --prefix=/www/apache/domains/www.softf1.com/private_tree_1/m_local/bin_p/Ruby/v_2_2_1 --enable-load-relative --...
martin_vahi (Martin Vahi)
10:51 AM Bug #8438: Kernel.eval can not Reliably Create new Variables
Thank You for the answer, but as a response to Your answer
I change the current flaw report to a feature request.
martin_vahi (Martin Vahi)
05:22 AM Revision 2303483d (git): vm_eval.c: suppress warnings
* vm_eval.c (iterate_method): split to suppress false warnings by
gcc 4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:22 AM Revision dd6ab6b8 (git): vm_eval.c: simplify
* vm_eval.c (rb_iterate0): simplify TAG_BREAK and TAG_RETRY by
sharing common code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Feature #11007: Prime.each.with_index should accept offset
`Kernel#proc` captures the block given to the caller.
~~~ruby
def with_index(offset = 0)
return enum_for(:with_index) unless block_given?
# if offset == 0, use each_with_index, which is faster because of C implement...
nobu (Nobuyoshi Nakada)
02:11 AM Feature #11007: Prime.each.with_index should accept offset
Umm, I don't know how to pass block to each_with_index safely (without capturing).
Of course I can remove calling each_with_index, but...
- Note: I have updated email address, which I'd like for ChangeLog...
ciel (T Yamada)
02:43 AM Bug #10015 (Feedback): Performance regression in Dir#[]
Adrien Siami wrote:
> A slow page was running in 16 seconds with 2.2.1 where it was running in less than 3 seconds with 2.1.5
> ...
What's your platform and filesystem?
As the former seems pretty bigger than the later, they may be cau...
nobu (Nobuyoshi Nakada)
02:38 AM Bug #11009 (Rejected): closed STDOUT status does not get inherited to children processes created with exec
Ruby does not close the standard file descriptors 0..2 actually, but just disconnects them from the corresponding IO objects, since r23705.
And they are filled with broken pipes unless opened, since r33567.
This is because closing thes...
nobu (Nobuyoshi Nakada)
02:30 AM Revision 0a321b21 (git): fix r50104 [Bug #10906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:43 AM Bug #11008 (Feedback): Segmentation fault - ruby 2.2.0, rails
Could you try 2.2.1? nobu (Nobuyoshi Nakada)
12:23 AM Revision 4651b848 (git): * ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
ruby itself (including numeric.c) is built with strict compile
options including -std=iso9899:1999, but ext/date is not.
By the way -std=iso9899:1999 is not only a warning option but also
changes behavior like MACRO definitions for...
naruse (Yui NARUSE)

03/27/2015

11:51 PM Revision 736d95de (git): * 2015-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:51 PM Revision 1c59cc2c (git): vm_eval.c: simplify rb_iterate
* internal.h (IFUNC_NEW): add argument for ID.
* vm_eval.c (rb_iterate): create ifunnc only when it is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:51 PM Revision 55152ae2 (git): internal.h: rb_imemo_new_debug
* internal.h (rb_imemo_new_debug): pretend rb_imemo_new.
* gc.c (rb_imemo_new_debug): share with rb_imemo_new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:20 PM Bug #10015: Performance regression in Dir#[]
I've noticed a significant slowdown of a rails app when using ruby 2.2.1 rather than 2.1.5.
A slow page was running in 16 seconds with 2.2.1 where it was running in less than 3 seconds with 2.1.5
I tested this very simple benchmark...
Intrepidd (Adrien Siami)
10:34 PM Bug #11009: closed STDOUT status does not get inherited to children processes created with exec
Actually, the fails this way only in 1.8.7.
Ruby 2.1 child process reports the `STDOUT` as open and uses successfully `STDOUT`, even if the parent closed it, which is also strange, but not as bad.
costi (Constantin Gavrilescu)
09:01 PM Bug #11009: closed STDOUT status does not get inherited to children processes created with exec
The output of the script is:
~~~
Closing stdout and forking
PARENT STDOUT closed? true
CHILD STDOUT closed? false
Trying to write to STDOUT a test line
Done writing STDOUT. Did you see anything?
costi (Constantin Gavrilescu)
08:23 PM Bug #11009 (Rejected): closed STDOUT status does not get inherited to children processes created with exec
When closing `STDOUT`, then `STDOUT.closed?` returns `true`. In a child process started with exec, `STDOUT` is closed but it does `closed?` returns `false`.
Also, in the child process, writing to `STDOUT` fails silently, so the user h...
costi (Constantin Gavrilescu)
10:32 PM Feature #11007: Prime.each.with_index should accept offset
Looks good, thanks for this.
Only thing is that it would be best to avoid capturing the block (with `&blk`) if it's not required, for performance reason.
You're welcome to tweak your patch, or I can do it if you like.
marcandre (Marc-Andre Lafortune)
03:10 PM Feature #11007 (Closed): Prime.each.with_index should accept offset
I'd like to execute following code:
~~~
Prime.each(10).with_index(1){|e,i|
print i,' ',e,"\n"
}
~~~
Expected output:
~~~
1 2
2 3
3 5
4 7
~~~
I have attached a patch.
ciel (T Yamada)
07:09 PM Bug #11008 (Closed): Segmentation fault - ruby 2.2.0, rails
I had this segv, i hope i'm in the right place to report it.
poulet_a (Arthur Poulet)
08:53 AM Bug #11006 (Closed): Segmentation fault on Ruby 2.2.1
I built a photo hosting app where people can upload and sell photos. I just tried to test the site. Everything worked earlier but now when I try to upload a photo (I use carrierwave) the rails server stops (It crash and shuts down). The ... THpubs (Pubudu Kodikara)
07:35 AM Revision 4f06c9f6 (git): * 2015-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:34 AM Bug #11004 (Closed): make-snapshost does not work
Applied in changeset r50099.
----------
common.mk: revert to MINIRUBY
* common.mk: revert using BOOTSTRAPRUBY for enc.mk, as
enc/depend uses CONFIG. [ruby-core:68647] [Bug #11004]
nobu (Nobuyoshi Nakada)
07:34 AM Revision 62d8e6d1 (git): common.mk: revert to MINIRUBY
* common.mk: revert using BOOTSTRAPRUBY for enc.mk, as
enc/depend uses CONFIG. [ruby-core:68647] [Bug #11004]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:25 AM Bug #11005 (Rejected): why block bind can not be in my_method2
`@proc` binds the scope of `my_method1`, not of `my_method2`.
We are not going to change that.
Matz.
matz (Yukihiro Matsumoto)

03/26/2015

03:57 PM Bug #11005 (Rejected): why block bind can not be in my_method2
~~~ruby
class MyClass
def my_method1
nice_name = "Lucy"
@proc = lambda {|say| "#{say}, #{nice_name}"}
nice_name = "Sophy"
puts @proc.call 'Hi' # => Hi, Sophy
nice_name = "Oleg"
puts @proc.call 'Hi' # =...
gagahappy (Happy GaGa)
02:53 PM Bug #11004: make-snapshost does not work
I tracked down the offending commit to r50093 ... r50092 works just fine vo.x (Vit Ondruch)
11:36 AM Bug #11004: make-snapshost does not work
or may be r49882 vo.x (Vit Ondruch)
11:35 AM Bug #11004 (Closed): make-snapshost does not work
~~~
# rpm -q ruby
ruby-2.2.1-10.fc23.x86_64
# tool/make-snapshot -packages=xz tmp
Exporting trunk@50098
Exported revision 50098.
take a breath, and go ahead
creating configure... done
creating prerequisites...
generating id.h
...
vo.x (Vit Ondruch)
09:03 AM Bug #10952: Clarify BigDecimal license
Stating something in .gemspec which is not aligned with the rest of files does not help. vo.x (Vit Ondruch)
07:37 AM Bug #10952: Clarify BigDecimal license
Can we just add it to the gemspec? zzak (zzak _)
07:46 AM Feature #8667: Unable to set OpenSSL GCM iv_length in Ruby
Without knowing what `HAVE_AUTHENTICATED_ENCRYPTION` is, I'm not really sure.. also we need a test for this. zzak (zzak _)
07:36 AM Bug #10910 (Assigned): NoMethodError when opening SSL connection with OpenSSL::SSL::VERIFY_PEER set and anonymous ciphers allowed
zzak (zzak _)
06:50 AM Revision 785438a3 (git): .gdbinit: T_IMEMO
* .gdbinit (rp_imemo): print the content support of each T_IMEMO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Revision 3f8d0777 (git): .gdbinit: T_IMEMO
* .gdbinit (rp): add support of T_IMEMO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 AM Revision bad657e8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:05 AM Revision 4d6aeebb (git): * test/test_observer.rb: add tests for Observable module.
[fix GH-859] Patch by @brightbits
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:30 AM Revision 733a03c2 (git): mkconfig.rb: embed version substring
* tool/mkconfig.rb (RbConfig): embed substring of the version, not
at the runtime, and fall back to the version itself for the case
it does not include the teeny version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50094 b2dd0...
nobu (Nobuyoshi Nakada)
12:29 AM Revision 95de0e68 (git): common.mk: BOOTSTRAPRUBY for enc.mk
* common.mk (enc.mk): use BOOTSTRAPRUBY since enc/make_encmake.rb
should not depend on recent versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom