Activity
From 07/06/2014 to 07/12/2014
07/12/2014
-
11:37 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- If I replace the whole test for "broken backtrace" with a hardcoded value, then I can run `./configure` without a crash.
See my proof of concept patch (attached) which can be compared to tag v2_1_2 in git. -
11:13 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- > Which conftest?
I think conftest is defined in the `configure` script. For me, it's around line 20376, which looks like:
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Furthermore, line 20389 defines a `sigsegv` function.
... -
10:56 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Simpler steps to reproduce:
1. Download ruby 2.1.2 source
2. ./configure
So, I don't think this has anything to do with ruby-build :) -
10:32 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Steps to reproduce:
1. rbenv uninstall 2.1.2
2. rbenv install 2.1.2
Crash dump:
https://gist.github.com/jaredbeck/127e61aa73a16c614b6d
ruby_build log:
https://gist.github.com/jaredbeck/3f6de8e3e432a51ae707
versions:
gcc... -
02:49 PM Revision 8a29da3b (git): win32/configure.bat: check directory
- * win32/configure.bat: bail out if run in win32 directory.
[ruby-core:63648] [Bug #10027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Bug #10027 (Rejected): make at windows , err : _rb_file_expand_path_internal already defined in file. obj
-
02:05 PM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
- kk kk wrote:
> G:\ruby-2.1.2\win32>nmake
You should follow README.win32 and configure and nmake from parent folder, not from win32.
I.e. inside G:\ruby-2.1.2 call win32\configure.bat and then do nmake from same source code root. N... -
06:17 AM Revision 2822bd29 (git): * ext/win32ole/win32ole.c (fole_record_method_missing): correct
- fields Hash key.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Bug #9985 (Closed): Gems documenation is not generated when installing local gem with --ignore-dependencies option
07/11/2014
-
10:31 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
> Eric Wong wrote:
> ...
Tests completes, my system without changes join stress tests 30 secons for load page, after changes, pages loading in instant all pages loading in less than 1 second.
-
08:34 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Eric Wong wrote:
>
> ...
Hello Eric!!!!
I stayed enjoyed the result of change TIME_QUANTUM_USEC. Changed its value to 1000 only see the results:
ruby 2.
first 17434583
second 2754 <=============
third 16752441
If you have ... -
07:22 PM Revision 00eb7203 (git): * lib/net/smtp.rb (Net::SMTP#data): enable buffering while
- 'data' send for optimizing Net::SMTP#send_message.
[ruby-dev:48329] [misc #9981]
patch by Masahiro Tomita.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 PM Feature #9981 (Assigned): Net::SMTP#send_message が大量の write(2) を発行する
- コードは問題なさそうに見えるし、賛成意見もついているし、メンテナがいないモジュールのようなので、
代理コミットしときますね。 -
02:22 PM Feature #9981: Net::SMTP#send_message が大量の write(2) を発行する
- In message <redmine.journal-47699.20140711064732.e1bfc429d603f917@ruby-lang.org>
on Fri, 11 Jul 2014 06:47:32 +0000,
shibata.hiroshi@gmail.com wrote:
> Issue #9981 has been updated by Hiroshi SHIBATA.
>
>
> どなたか SMTP にお詳しい方はいら... -
06:47 AM Feature #9981: Net::SMTP#send_message が大量の write(2) を発行する
- どなたか SMTP にお詳しい方はいらっしゃいませんか.
-
04:42 PM Bug #10020: TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- r46791 にて、Solaris 9 以降で、以下を満たす場合に、それらの環境変数をセットして invoke_ruby するように変更しました。
* 環境変数 LD_PRELOAD, LD_PRELOAD_64 (または LD_PRELOAD_32), UMEM_OPTIONS がセットされていない
* LD_PRELOAD=libumem.so UMEM_OPTIONS=backend=mmap を付けてrubyを実行して正常終了
* テストケース独自に、... -
04:32 PM Bug #10020 (Closed): TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- Applied in changeset r46791.
----------
* test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later,
if possible, execute child ruby with environment variables
LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap". With these
... -
12:11 PM Bug #10020: TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- TestEnv#test_memory_leak_* に関しては、
Illumos(旧OpenSolaris)のソース usr/src/lib/libc/port/gen/getenv.c を見る限り、
setenv() 内で malloc にて確保した領域を unsetenv() で free する事は無いように見えます。
つまり、少なくとも Solaris 10 / Illumos では、setenv(3C) と unsetenv(3C) を繰り返すと(mal... - 04:32 PM Revision f11c30e8 (git): * 2014-07-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 PM Revision ca1c23e2 (git): * test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later,
- if possible, execute child ruby with environment variables
LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap". With these
variables, freed memory is immediately returned to the OS.
[Bug #10020] [ruby-dev:48391]
git-svn-id: svn+ssh... -
02:10 PM Revision 47adf570 (git): symbol.c: remove dependency on parse.h
- * symbol.c (op_tbl): remove non-regular symbols.
* symbol.c (global_symbols): start from the next of the preserved
ID.
* symbol.c: (rb_id2str): op_tbl does not exceed tLAST_OP_ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46... -
02:10 PM Bug #9499: The Vector.cross_product function returns the opposite vector of the expected result
- backported at r46789.
-
02:09 PM Bug #9499 (Closed): The Vector.cross_product function returns the opposite vector of the expected result
- Applied in changeset ruby-21:r46789.
----------
merge revision(s) r46780: [Backport #9499]
* lib/matrix.rb: Fix sign for cross_product [#9499] -
02:08 PM Revision feea0a9e (git): merge revision(s) r46780: [Backport #9499]
- * lib/matrix.rb: Fix sign for cross_product [#9499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 PM Revision f063a0b5 (git): fix plural form [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 PM Revision d33d22c7 (git): parse.y: rename Init_parser
- * parse.y (rb_init_parse): rename to get rid of name clash with
json/parser at statically linking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:51 AM Revision 803232c8 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:50 AM Revision 61087704 (git): * ext/win32ole/win32ole.c: add WIN32OLE_RECORD class to support
- VT_RECORD OLE variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:39 AM Bug #10029: miss probes.h when nmake
- How did you get the source, and what is the exact revision?
-
08:53 AM Bug #10029: miss probes.h when nmake
- ```
G:\ruby-2.1.2>nmake array.obj -n
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
echo compiling array.c
cl -nologo -MD -Zi -W2 -O2... -
08:50 AM Bug #10029: miss probes.h when nmake
- The version 6.00.8168.0 of nmake.exe is a part of Visual Studio 6.0.
It seems that ruby-2.1.2 cannot be built with Visual C++ 6.0.
-
08:31 AM Bug #10029: miss probes.h when nmake
- Nobuyoshi Nakada wrote:
> I can't reproduce your environment.
Me too.
-
08:23 AM Bug #10029 (Feedback): miss probes.h when nmake
- I can't reproduce your environment.
probes.h should be copied from probes.dmyh.
~~~
> nmake array.obj -n
echo copying dummy probes.h
if exist probes.dmyh ( @ copy > nul probes.dmyh probes.h ) else ( @ copy > nul ..... -
08:10 AM Bug #10029 (Closed): miss probes.h when nmake
- ```
G:\ruby-2.1.2>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
CC = cl -nologo
LD = cl -nologo
LDSHARED = cl -nologo ... -
08:16 AM Revision 28cdf9b1 (git): * lib/abbrev.rb: remove executable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 AM Bug #10028 (Rejected): nested rest keyword argument
- ネストしたrest argumentは通りますが
~~~ruby
def f((*a)) end
~~~
ネストしたrest keyword argumentはsyntax errorになります。
~~~ruby
def f((**a)) end #=> syntax error, unexpected **arg
~~~ -
07:54 AM Bug #10027 (Feedback): make at windows , err : _rb_file_expand_path_internal already defined in file. obj
- I can't reproduce it.
Could you try `nmake V=1`? -
12:55 AM Bug #10027 (Rejected): make at windows , err : _rb_file_expand_path_internal already defined in file. obj
- ```
G:\ruby-2.1.2\win32>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
CC = cl -nologo
LD = cl -nologo
LDSHARED = cl -n... -
07:51 AM Bug #6716 (Closed): FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
- Applied in changeset r46783.
----------
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
non-exists file. [ruby-dev:45933] [Bug #6716] -
07:51 AM Revision c2eac0e7 (git): * lib/fileutils.rb: handle ENOENT error with symlink targeted to
- non-exists file. [ruby-dev:45933] [Bug #6716]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Bug #9775 (Feedback): Segmentation Fault
-
07:00 AM Bug #9901 (Closed): Clarify documentation for Array#insert
- Applied in changeset r46782.
----------
* array.c: Clarify documentation for Array#insert.
[ruby-core:62934] [Bug #9901] -
07:00 AM Revision 94bbd10e (git): * array.c: Clarify documentation for Array#insert.
- [ruby-core:62934] [Bug #9901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:57 AM Feature #9916 (Assigned): Hide Struct internal
-
06:52 AM Bug #9950 (Feedback): Segmentation fault in DateTime class
-
06:50 AM Feature #9963 (Feedback): Symbol.count
-
06:41 AM Bug #10012 (Closed): Improve Documentation for IO.read
- Applied in changeset r46781.
----------
* io.c: Improve Documentation by @dapplebeforedawn.
[fix GH-658] [ruby-core:63579] [Bug #10012] -
06:41 AM Revision dcf296f7 (git): * io.c: Improve Documentation by @dapplebeforedawn.
- [fix GH-658] [ruby-core:63579] [Bug #10012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:19 AM Revision 72d05366 (git): * lib/matrix.rb: Fix sign for cross_product [#9499]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:13 AM Revision 9412551e (git): * benchmark/prepare_so_k_nucleotide.rb: use require_relative.
- * benchmark/prepare_so_reverse_complement.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 AM Bug #10026 (Feedback): Segmentation fault
- Probably `malloc_usable_size` would access the pointer - 8, that means `ruby_xfree` was called with `(void *)1`.
Does this happen with the trunk and recent 2.1 snapshots as the target version is set to `current: 2.2.0`? -
01:09 AM Bug #10019 (Closed): segmentation fault/buffer overrun in pack.c (encodes)
- Applied in changeset r46778.
----------
pack.c: fix buffer overrun
* pack.c (encodes): fix buffer overrun by tail_lf. Thanks to
Mamoru Tasaka and Tomas Hoger. [ruby-core:63604] [Bug #10019] -
01:09 AM Revision 8a608d2b (git): pack.c: fix buffer overrun
- * pack.c (encodes): fix buffer overrun by tail_lf. Thanks to
Mamoru Tasaka and Tomas Hoger. [ruby-core:63604] [Bug #10019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 AM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- OK I will update to TypeError - the method argument does need to support the Pathname interface.
As for the subclass - yes that is mostly it. It's a small detail.
Thanx for the feedback.
07/10/2014
-
11:52 PM Bug #10026: Segmentation fault
- eberner@gmail.com wrote:
> Here is the Other runtime information
>
> https://gist.github.com/maletor/df43091aca5e9b7ee534
URL seems invalid.
> -- C level backtrace information -------------------------------------------
> /ho... -
11:36 PM Bug #10026: Segmentation fault
- Here is the Other runtime information
https://gist.github.com/maletor/df43091aca5e9b7ee534 -
11:30 PM Bug #10026 (Closed): Segmentation fault
- The following segmentation fault is from running tests with RSpec on a somewhat large test suite. The results of the test are always printed *before* the segmentation fault.
~~~
/home/ubuntu/doximity/vendor/bundle/ruby/2.1.0/bin/rspe... -
11:48 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError - At the end of the day, I just want something more friendly than a `NoMethodError` from inside the method, so I won't stand in the way of progress, but...
>1. I didn't want to call Pathname::new if we already had been passed a Pathname... -
11:19 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- I agree with the confusion - initially I thought :to_path could be used, but despite its name it returns a string, hence the suggestion for :to_pathname, that allows things to implement a way to have themselves converted to a Pathname.
... -
03:25 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError - I don't think we should add a method to String; there is an existing path coercion protocol (`to_path` and `File.path`) and even though String does not implement `to_path`, I think having a `to_pathname` would be confusing.
Anyway, co... -
08:08 AM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- ok so I have 2 possible fixes, one of which I've implemented
The unimplemented fix is maybe a new method along the lines of to_s, but for paths, called to_pathname. Then we could reopen String and define
clas String
def to_pathna... -
08:46 PM Bug #7707: FileUtils.mv fails to move symlink between filesystems - In Homebrew, we have code that works around this by shelling out to `mv` when necessary. It would be nice to have this fixed.
-
06:45 PM Bug #10025 (Closed): Incorrect wrapping of base64 output of Array.pack()
- String format directive `m` for Array `pack()` is documented as:
~~~
m | String | base64 encoded string (see RFC 2045, count is width)
| | (if count is 0, no line feed are added, see RFC 4648)
~~~
... -
06:22 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Nobuyoshi Nakada wrote:
> But if `tail_lf` is 1, `len` is a multiple of 3, so it can't be 3070.
`len` in `encodes()` can be anything between 1 and `len` from `pack_pack()` (which is a multiple of 3). It is possible to trigger mentio... -
01:32 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Am I missing something?
-
01:23 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- But if `tail_lf` is 1, `len` is a multiple of 3, so it can't be 3070.
-
09:28 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- ... and type is not 'u'.
-
09:24 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Looking at encodes(), it seems at least when
* len = 3070 (= ((4096 - 4) / 4 * 3 + 1))
* tail_lf = 1
encodes() causes segv at https://github.com/ruby/ruby/blob/trunk/pack.c#L987 -
04:36 PM Bug #10024 (Rejected): Array injection of ternary operators injects boolean rather than ternary result
- `<<` and `>>` are shift operators primarily, and have higher precedence.
-
04:28 PM Bug #10024: Array injection of ternary operators injects boolean rather than ternary result
- The `#<<` has a higher precedence than the ternery operator. Using #<<= seems to make it work just fine.
-
03:40 PM Bug #10024 (Rejected): Array injection of ternary operators injects boolean rather than ternary result
- The following code:
```ruby
a = []
a << ''.blank? ? 'blank' : 'not blank'
puts a
```
renders `[true]`.
I would expect it to render `['blank']`
If I wrap it in parenthesis it does work.
```ruby
a = []
a << ( ''.blank?... - 03:22 PM Revision 70451a56 (git): * 2014-07-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision 90b1b2e6 (git): * hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9.
- When name contains '=', ruby_setenv raises Errno::EINVAL.
That is the same behavior as Solaris 10.
NULL check for malloc return value is also added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46776 b2dd03c8-39d4-4d8f-98ff-82... -
01:44 PM Bug #10023 (Rejected): Hash#merge fails duplicating objects
- Not a bug.
`A[:b]` and `c[:b]` refer the same object.
Check its `object_id`. -
01:44 PM Bug #10023: Hash#merge fails duplicating objects
- Please, note that only Rails' `deep_dup` seems helpful to workaround the issue
-
01:42 PM Bug #10023: Hash#merge fails duplicating objects
- The same with duplication
>> c=A.dup #same .clone
=> {:b=>{}}
> ...
=> {:b=>{}, :c=>{:d=>"e"}}
>> c[:b][:d] = 'bug'
=> "bug"
> ...
=> {:b=>{:d=>"bug"}}
-
01:38 PM Bug #10023: Hash#merge fails duplicating objects
- Please, also note that Rails' `deep_merge` does not help
-
01:36 PM Bug #10023 (Rejected): Hash#merge fails duplicating objects
- Here is an example in IRB (ruby 2.1.2):
>> A={b:{}}
=> {:b=>{}}
> ...
=> {:b=>{}, :c=>{:d=>"e"}}
>> c[:b][:d] = "f"
=> "f"
> ...
=> {:b=>{:d=>"f"}}
Every key, value pair is expected to be duplicated during the merge? Please, inv... -
10:55 AM Bug #9985: Gems documenation is not generated when installing local gem with --ignore-dependencies option
- Fixed: https://github.com/rubygems/rubygems/commit/c16846bf9e0b90521029f0d743620f138ee2236e
-
07:11 AM Feature #8895: Destructuring Assignment for Hash
- +1 for this proposal.
I feel it is fine for me:
```ruby
k1: 1, k2: 2 = h
kr1:, kr2: = h
#=> same as
k1 = h.fetch(:k1, 1)
k2 = h.fetch(:k2, 2)
kr1 = h.fetch(:k1)
kr2 = h.fetch(:k2)
# mixed
k1: 1, k2: 2... -
06:04 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
> information that I consider important
> ...
My results kernel linux BFS/CK + taskset
first 103214331
second 2762 <======
third 24259986
-
06:03 AM Bug #10016 (Closed): Destructuring block arguments with a Hashable last element
- Applied in changeset r46775.
----------
vm_insnhelper.c: fix implicit splat keyword argument
* vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
pointer to get rid of overwriting splat arguments by arguments
for `to_ha... -
06:02 AM Revision 813ad489 (git): vm_insnhelper.c: fix implicit splat keyword argument
- * vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
pointer to get rid of overwriting splat arguments by arguments
for `to_hash` conversion. [ruby-core:63593] [Bug #10016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
04:17 AM Revision 01bced94 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Revision ef3ff649 (git): gc.c: fix typo
- * gc.c (global_list): fix typo, capital 'L'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 AM Feature #10018: Consider adding Sub-Includes as in include Foo::bar
- And method transplanting only works when the method does not call super nor other Enumerable methods.
Automatic resolving is possible, but it would make inclusion far more complex.
Matz.
-
12:45 AM Bug #10022 (Rejected): Inconsistent behavior of gsub replacement
- The second argument is evaluated **before** calling `gsub` method.
Call it with a block:
~~~ruby
puts str.gsub(/(CFBundleVersion<\/key>\n\t.*\.).*(<\/string>)/) {"#{$1}#{ver}#{$2}"}
~~~ -
12:39 AM Bug #10022 (Rejected): Inconsistent behavior of gsub replacement
- In the following code, the two gsub's yield different results. ([[https://gist.github.com/franklsf95/6c0f8938f28706b5644d]])
~~~ruby
ver = 9999
str = "\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleVer...
07/09/2014
-
08:38 PM Bug #10021: OptParse does not handle missing arguments bracketed by valid option switches
- When I try this:
~~~
--re-run x -r --rerun y -- file
~~~
Then I see this
~~~
:in `eval': Only one output filename is permitted (RuntimeError)
~~~
From which I infer that -r has 'eaten' --rerun as its argument and... -
08:21 PM Bug #10021 (Closed): OptParse does not handle missing arguments bracketed by valid option switches
- OS=CentOS-6.5 x86_64
Ruby=2.1.2p95
I have this in an optparse structure:
# Create parser
opts = OptionParser.new do |opts|
opts.banner = <<-BANNER
. . .
opts.on("-r", "--rerun=DATEorTRANSACTION", "-... -
07:28 PM Feature #10017: Add `Hash#fetch_values`
- Please consider the name `fetch_at` carefully: it seems easily confused with `fetch` (1 key), and the name doesn't hint that it's for multiple keys. (`values_at` is plural, so it gives a good clue.) Maybe `fetch_values`?
-
07:00 PM Feature #10017: Add `Hash#fetch_values`
- I attached another patch calling this method fetch_at and I also added missing tests (I couldn't change issue title & body to reflect this changes, though).
Also, perhaps out of scope for this ticket but I'm wondering what're your tho... -
02:12 PM Feature #10017: Add `Hash#fetch_values`
- +1 for `fetch_at`.
-
04:04 AM Feature #10017: Add `Hash#fetch_values`
- `fetch_at` sounds much better than values_at! to me.
-
06:43 PM Bug #10015: Performance regression in Dir#[]
- Btw, you're already paying significant costs for a case-insensitive FS
(not just Ruby, but things like git, too). -
04:05 PM Bug #10015: Performance regression in Dir#[]
- Thanks nobu, I really appreciate it! If it can't be fixed, I have ideas for avoiding the calls to Dir#[], but it will take time to get merged and released.
-
03:59 PM Bug #10015: Performance regression in Dir#[]
- It might affect unintentionally.
I'll check the bottleneck. -
03:25 PM Bug #10015: Performance regression in Dir#[]
- @nobu this change causes a significant increase in Rails boot time on my system.
My application pays a 120ms price for this change. @hsbt will pay 520ms:
http://twitter.com/hsbt/status/486378979138367488
Is there a way we can... -
08:08 AM Bug #10015: Performance regression in Dir#[]
- Yes.
Or use case-sensitive platforms. -
05:06 PM Bug #10019 (Feedback): segmentation fault/buffer overrun in pack.c (encodes)
- `encodes()` fills and flush `buff` gradually by the buffer size.
Could you show the message at the segmentation fault?
Anyway, your patch includes unnecessary garbage. -
02:40 PM Bug #10019 (Closed): segmentation fault/buffer overrun in pack.c (encodes)
- While working with an AWS sample I hit a segmentation fault. The same sample works under 1.9.3. It appeared to be coming from pack.c function encodes. After looking at the source there's a 4K buffer allocated on the stack. I made a m...
-
04:19 PM Revision 96815f1e (git): * symbol.c: remove rb_gc_mark_symbols().
- fstrings refered by static symbols and pinned dynamic symbols
are registerd by rb_gc_register_mark_object().
frstring refered by dynamic symbols (not pinned symbols)
are refered from global_symbols.dsymbol_fstr_hash (Hash object).
... - 03:29 PM Revision 996ff907 (git): * 2014-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 60ee5e03 (git): * common.mk (DTRACE_DEPENDENT_OBJS): fix build failure on Solaris
- introduced in r46768. Object files containing dtrace probes should
be listed in DTRACE_DEPENDENT_OBJS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:16 PM Bug #10020 (Closed): TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- Solaris 10 にて、以下のように memory leak 検出テストの Failure が出ます。(r46762 で確認)
Solarisデフォルトのlibcのmallocでは、freeしてもOSにメモリを返さないのが原因と考えています。
メモリ関係デバッグ用のライブラリ libumem を使い、UMEM_OPTIONS=backend=mmap を指定すると、freeしたら直ちにOSにメモリを返すようになるようです。
dynamic link な... -
02:51 PM Revision 90173785 (git): random.c: fix casts
- * random.c (fill_random_seed): fix type to cast. this may or may
not suppress warnings by icc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 PM Feature #10018 (Feedback): Consider adding Sub-Includes as in include Foo::bar
- You can achieve it by "method transplanting".
~~~ruby
class Foo
define_method(:any?, Enumerable.instance_method(:any?))
end
~~~
Wrapper method like `Module#mix` may help you.
http://www.slideshare.net/yukihiro_matz/rubyconf-... -
11:49 AM Feature #10018: Consider adding Sub-Includes as in include Foo::bar
- Oops sorry!
This is not a bug, it is a feature request.
I am not sure how to move it to features now, sorry. :( -
11:48 AM Feature #10018 (Feedback): Consider adding Sub-Includes as in include Foo::bar
- On IRC someone asked a nice question:
> \<arup_r\> If I write `class Foo; include Enumerable; end` This code include all methods from `Enumerable`. But suppose I want to include `#all?`, `#any?` .. What's the way to include only req... -
11:32 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- r46762 fix this issue
-
11:31 AM Bug #10016: Destructuring block arguments with a Hashable last element
- Elements expanded on the VM stack are overwritten by calling `to_hash` method.
-
08:07 AM Revision 94ce4812 (git): symbol.c, symbol.h: split from parse.y
- * symbol.c, symbol.h: Symbol class implementation and internals,
split from parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Revision d299250a (git): parse.y: adjust argument types
- * parse.y (symbols_i): adjust argument types for st_foreach()
using st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision 92a04a49 (git): io.c: refine error message
- * io.c (do_io_advise): more precise error message, with arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision 209314c2 (git): test_io.rb: fix assertion
- * test/ruby/test_io.rb (test_advise): fix inverted arguments order
by assert_nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Bug #10014 (Closed): Do not expose no-pinned down IDs
- Applied in changeset r46764.
----------
* parse.y: change Symbol <-> ID relationship to avoid
exposing IDs from collectable symbols.
[Bug #10014]
Now, rb_check_id() returns 0 if corresponding symbol is
pinned dynamic symbol.
T... -
01:46 AM Bug #10014: Do not expose no-pinned down IDs
- パッチ作成と内容説明ありがとうございます。賛成します。
-
06:14 AM Revision 76a929a7 (git): * parse.y: change Symbol <-> ID relationship to avoid
- exposing IDs from collectable symbols.
[Bug #10014]
Now, rb_check_id() returns 0 if corresponding symbol is
pinned dynamic symbol.
There is remaining intern_cstr_without_pindown(), it can return
IDs from collectable symbols. We... -
05:00 AM Revision 37f018fd (git): * parse.y (symbols_i): delete garbage symbols for Symbol.all_symbols.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:31 AM Revision 9db5a7f8 (git): require "rbconfig" to use RbConfig
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- information that I consider important
Kernels BFS and ruby 1.9.2 work fine as if applied taskset.
Other kernels like freebsd and macos with ruby 1.9.2 has similar behavior.
http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler
https:/... -
01:28 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- My application is not web-site is an ERP. So reporting and very heavy tasks are performed. Then the system crashes because only one thread using 100% cpu will damage the whole worker, passing any request for at least 2 seconds, then the ...
07/08/2014
-
10:38 PM Feature #8788: use eventfd on newer Linux instead of pipe for timer thread
- Updated patch (from testing for #10009).
Uploading for archival purposes. This version is probably less intrusive and
falls back to pipe in case of ENOSYS (in case glibc supports eventfd and the
kernel has eventfd disabled).
Thi... -
10:37 PM Feature #10017 (Closed): Add `Hash#fetch_values`
- I'm proposing to add a new method `Hash#values_at!` that's basically a combination of `#values_at` and `#fetch`.
When dealing with configuration I prefer to use `#fetch` to fail early and this would be useful to read multiple keys at ... -
09:55 PM Bug #10016 (Closed): Destructuring block arguments with a Hashable last element
- The following code:
~~~ruby
# destructure_bug.rb
def m
x = Object.new
def x.to_hash() {x: 9} end
yield [1, 2, 3, x]
end
p m { |a, *b, c, **k| [a, b, c, k] }
~~~
gives:
~~~
$ ruby -v destructure_bug.rb
ruby 2.1.... - 08:50 PM Revision b10058ae (git): thread_pthread.h: do not expose pthread type for lock
- * thread_pthread.h (struct rb_global_vm_lock_struct):
do not expose pthread type for lock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:47 PM Revision 3e14cdc4 (git): thread_pthread.h: remove unneeded semaphore.h include
- * thread_pthread.h: remove unneeded semaphore.h include
We currently do not use POSIX semaphores.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:37 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- eventfd doesn't help performance (but still reduces FD count),
I never expected eventfd to improve speed, though.
Lowering TIME_QUANTUM_USEC (in thread_pthread.c) helps with the I/O case
(try it yourself if you have a 1000HZ kernel)... -
09:56 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- Eric Wong wrote:
> I'll try resurrecting an old eventfd proposal and maybe also bare futexes
> ...
Tank's Eric,
If an application running Rainbows has only one thread using 100% the worker is affected greatly in the query database. ... -
01:21 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- I'll try resurrecting an old eventfd proposal and maybe also bare futexes
to see if that improves things. -
05:43 PM Bug #10015 (Closed): Performance regression in Dir#[]
- r44802 seems to have introduced a performance regression in Dir#[].
Here is the test program:
~~~ruby
require 'benchmark'
puts Benchmark.realtime {
glob = "minitest/*_plugin.rb{,.rb,.bundle}"
$LOAD_PATH.map { |load_path|
... -
03:32 PM Bug #9975: irb で Hash を 1.9 記法で記述したときに、キーがキーワードだと syntax error
- けいじゅ@いしつかです.
takkanm@gmail.com wrote:
> Issue #9975 has been reported by 三村 益隆.
> irb で Hash を 1.9 記法で記述したとき、以下の end を伴なうキーワードをキーとして使用するとエラーとなります。
>
> ~~~
> if do case def for unless until while begin
確かにバグですが...
> 添付... - 03:19 PM Revision a402e84e (git): * 2014-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Revision 44ab0f8b (git): * lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 PM Revision aae3bcbc (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
- Hi Nobuyoshi, yes, my mistake. The correct results are the ones I added later.
I'm attaching the results for the "Computer Language Benchmarks Game" as well. Check the time enhancement. -
11:33 AM Bug #10010 (Open): Error in TestEnv#test_memory_leak_* on Solaris
- r46756 の make test-all にて、同じ Failure がすべての test/ruby/memory_status.rb 関連の場所で出たので再オープンします。
invoke_ruby によって --diable-gems を付けて呼んだ子プロセスの ruby 内で実行される envutil.rb にて、 require 'rbconfig' より前に find_executable が実行されるため、エラーになっているように見えます。(親プロセ... -
09:41 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- 以下のように test/ruby/test_env.rb を実行すると、なぜか、
uninitialized constant EnvUtil::RbConfig (NameError) になります。
実行に使ったrubyはr46751で、svnレポジトリのローカルコピーr46756 の test/ruby/test_env.rb を相対パス指定にて直接実行した結果のものです。
~~~
$ ruby test/ruby/test_env.rb
Run ... -
07:58 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- Applied in changeset r46755.
----------
memory_status.rb: find proper ps
* test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
outputs expected result. [ruby-dev:48370] [Bug #10010] -
10:56 AM Bug #10014 (Closed): Do not expose no-pinned down IDs
- 概要
----
ID と Symbol の関係を整理し、よりバグの少ないコードへと変更する。
現状と問題点
------------
Symbol GC が導入され、Symbol に dynamic symbol と static symbol に別れる
ことになった。
pindown されていない dynamic symbol は、GC 可能であり、ここでは mortal
symbol と呼ぶことにする。
逆に、static s... -
08:04 AM Revision 8b427e35 (git): sprintf.c: skip non-interned name
- * sprintf.c (rb_str_format): get rid of accessing by symbol of
invalid ID, when the name is not interned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 AM Revision 286eaeb2 (git): memory_status.rb: find proper ps
- * test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
outputs expected result. [ruby-dev:48370] [Bug #10010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Revision 65accad3 (git): parse.y: expand is_asgn_or_id
- * parse.y (new_op_assign_gen): expand is_asgn_or_id(), which call
id_type() function multiple times now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:48 AM Revision 7defa383 (git): * 2014-07-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Revision fd7073f7 (git): * parse.y (dsymbol_alloc): set global_symbols.minor_marked to 0.
- * parse.y (dsymbol_check): set RSYMBOL(sym)->fstr to 0
because we should not touch fstr after that.
* parse.y (rb_gc_free_dsymbol): skip deleting str and sym
from tables if fstr == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
07/07/2014
-
05:09 PM Bug #10013: [CSV] Yielding all elements from a row
- Do you mean that it should consider the block arity to decide whether to yield a Row or destructure it into column parts? i.e.
~~~ruby
CSV.foreach('file.csv', headers: true) do |col1, col2, col3|
col1 == "1"
col2 == "2"
col... -
01:05 PM Bug #10013: [CSV] Yielding all elements from a row
- Sorry, this should be in lib category, but I'm not able to change it now.
-
01:03 PM Bug #10013 (Closed): [CSV] Yielding all elements from a row
- Let's say I have the following CSV file:
col1,col2,col3
1,2,3
4,5,6
(...)
I want to iterate over values yielding them to a block. I can do that like this:
`CSV.foreach('file.csv') { |col1, col2, col3| print col2 + " " } # => "col... -
02:19 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- > 定数の初期化はロードされてモジュール定義のときですから、まだテストでPATHが変更される前です。
確かにそのとおりでした、すみません。
パッチを当てて、PATH=/usr/ucb:$PATH などとした状態でも Error が出なくなるのは確認しました。
Errorのかわりに、下記の2つのFailureに変わりましたが、本件とは別問題として調べてみます。
~~~
1) Failure:
TestEnv#test_memory_leak... -
12:03 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- Naohisa Goto wrote:
> TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
> ...
定数の初期化はロードされてモジュール定義のときですから、まだテストでPATHが変更される前です。
> これでも、Solarisで /usr/ucb を /usr/bin や /bin より先に PATH に入れていた場合は救えません。
使えるpsを探すようにしてみました。
~... -
01:35 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Is conftest part of debugger gem?
-
08:42 AM Revision a560c208 (git): test/ruby/find_executable.rb
- * test/ruby/test_rubyoptions.rb (test_program_name): use expected
ps command from PATH.
* test/ruby/find_executable.rb (EnvUtil#find_executable): find
expected executable path with argument and output pattern.
git-svn-id: svn+ssh:/... -
07:30 AM Bug #9908 (Rejected): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
-
07:11 AM Bug #9908 (Closed): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
-
07:08 AM Revision b1f4bf8a (git): common.mk: integrate clean targets
- * common.mk (clean-rdoc, clean-capi, clean-platform): integrate
from Makefile.in and win32/Makefile.sub.
* win32/Makefile.sub (RMALL): now use rm.bat instead of rmall.bat
which does not handle any options and convert slashes.
* win... -
05:36 AM Revision 8572ed5c (git): * parse.y: remove global_symbols::pinned_dsym
- (and ::pinned_dsym_minor_marked).
Mark pinned dsymbols by rb_gc_register_mark_object() because
they are immortal.
* prase.y (rb_gc_free_dsymbol): rename parameter name `ptr' to `sym'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
04:42 AM Bug #10012 (Closed): Improve Documentation for IO.read
- Duplicates: https://github.com/ruby/ruby/pull/658
- Readability improvements
- English language fixes
- Formatting fixes -
04:09 AM Bug #8523: intermittent unit test failure in test_timeout.rb results in build failures
- backported into `ruby_2_0_0` at r46748.
- 04:08 AM Revision 79d578eb (git): merge revision(s) 46159,46196: [Backport #8523]
- * test/test_timeout.rb (test_timeout): inverted test condition.
[Bug #8523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:58 AM Bug #9729: Hash#each が無限ループする
- backported into `ruby_2_0_0` at r46747.
-
03:58 AM Bug #9646: Infinite loop at Hash#each
- backported into `ruby_2_0_0` at r46747.
- 03:58 AM Revision a383ffa0 (git): merge revision(s) 45642,45643: [Backport #9646] [Backport #9729]
- * st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646]
* st.c (st_foreach_check): change start point of search at check
git-svn-id: svn+ssh://ci.ruby-lang.o... -
03:56 AM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
- backported into `ruby_2_0_0` at r46746.
- 03:55 AM Revision d2d9d6ef (git): merge revision(s) 45344: [Backport #9543]
- * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Bug #9814: Improving documentation example for Enumerator#peek
- backported into `ruby_2_0_0` at r46745.
- 03:52 AM Revision d29595ce (git): merge revision(s) 46099: [Backport #9814]
- * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Bug #9819: changed documentation for enumerable methods find and detect
- backported into `ruby_2_0_0` at r46744.
- 03:51 AM Revision 73d6945f (git): merge revision(s) 46095: [Backport #9819]
- * enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/ruby#34
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Bug #9773: broken link in man/ruby.1
- backported into `ruby_2_0_0` at r46743.
-
03:50 AM Bug #9738: A document fix for Rinda::TupleEntry#renew
- backported into `ruby_2_0_0` at r46742.
- 03:49 AM Revision a30ba8d7 (git): merge revision(s) 45896: [Backport #9773]
- * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:48 AM Revision c579174a (git): merge revision(s) 45786: [Backport #9738]
- * lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:47 AM Bug #9684: Use same error messages in struct.c
- backported into `ruby_2_0_0` at r46741.
- 03:47 AM Revision 8d8c4277 (git): merge revision(s) 45462,45463,45466: [Backport #9684]
- * struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
03:46 AM Revision 2e225e2c (git): * gc.c: revert miss-commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 AM Bug #9662: [Doc] Typo in README.EXT
- backported into `ruby_2_0_0` at r46739.
- 03:44 AM Revision ea5adc4c (git): merge revision(s) 45495: [Backport #9662]
- * README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Bug #8625: IO#read(len, buf) shortens buf even if data is not read actually
- backported into `ruby_2_0_0` at r46738.
- 03:43 AM Revision ae8a4a43 (git): merge revision(s) 46360,46372: [Backport #8625]
- * io.c (io_setstrbuf, io_read): should not shorten the given buffer until
read succeeds. [ruby-core:55951] [Bug #8625]
* io.c (read_all): truncate the buffer before appending read data,
instead of truncating... -
03:42 AM Revision 2c551e47 (git): * parse.y: need to use updated (re-created) symbols.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Bug #416: core_set_method_alias
- backported into `ruby_2_0_0` at r46736.
- 03:37 AM Revision 20666f4a (git): merge revision(s) 45399,45400,46036,46037: [Backport #416]
- vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
- backported into `ruby_2_0_0` at r46735.
- 03:17 AM Revision ea0bf826 (git): merge revision(s) 46457,46458: [Backport #9949]
- * lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
* test/net/ftp/test_buffered_socket.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4... -
03:13 AM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- backported into `ruby_2_0_0` at r46734.
- 03:13 AM Revision 5ff287ad (git): merge revision(s) 46331: [Backport #9885]
- * lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885]
Patch by @rayners (David Raynes). [Fixes GH-622]
https://... -
03:08 AM Bug #8167: net/imap failing to parse IMAP response containing one BODYSTRUCTURE
- backported into `ruby_2_0_0` at r46733.
- 03:07 AM Revision 9f3a1d75 (git): merge revision(s) 40372: [Backport #8167]
- * lib/net/imap.rb (body_type_msg): should accept
message/delivery-status with extra data.
[ruby-core:53741] [Bug #8167]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.r... -
03:00 AM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
- backported into `ruby_2_0_0` at r46732.
- 03:00 AM Revision c8c913c6 (git): merge revision(s) 44505: [Backport #9994]
- 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/branches/ruby_2_0_0@46732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 AM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
- backported r45845 and r45847 into `ruby_2_0_0` at r46731.
skipping r45846 because it's not the test for this change.
And, in fact, what is tested here is another problem that exists in the current state 2.0.0.
It is not known at thi... - 02:49 AM Revision e4256538 (git): merge revision(s) 45845,45847: [Backport #9786]
- * parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
[ruby-core:60501] [Bug #9486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Bug #9759: [TracePoint API] return event missing when raising exception
- r45758 is not enough to resolve this problem for ruby_2_0_0.
But I cannot find what is missing.
ko1, do you have any idea? -
02:10 AM Bug #9912 (Assigned): URI#to_s with an empty host formats the string incorrectly
-
02:07 AM Revision 011b74b7 (git): * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb.
- * lib/rbconfig/obsolete.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision a31219c9 (git): * parse.y: do not use rb_gc_resurrect(), but create a new dynamic
- symbol for garbage dynamic symbol.
* common.mk: use gc.h by parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/06/2014
-
11:47 PM Revision 69e9b27a (git): string.c: do not use garbage object
- * string.c (fstr_update_callback): should not access garbage
object contents, copy from the argument instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
上記コードもその子プロセス内で呼ばれることになるため、つまり、
上記コードを通る際には ENV[PATH]は nil になった状態です。
このため、ENV["PATH"].split の部分でエラーになると思います。
以下のようにPATHを保存して最後に復旧するようにしたら、Errorは出なくなりました。(Failureにはなりますが、OS... -
04:19 PM Bug #10010 (Feedback): Error in TestEnv#test_memory_leak_* on Solaris
- これでどうでしょう。
見つからなかったときにどうするか悩ましいですが。
~~~diff
diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb
index f8e097a..ef973ee 100644
--- a/test/ruby/memory_status.rb
+++ b/test/ruby/memory_status.rb
@@ -82,7 +82,17 @@ ... -
12:55 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- コードをよく読んだら原因の推測が間違っていたので訂正します。
> なお、Solaris では、/proc/self/status は struct pstatus_t の内容のバイナリを返しますが、それには全く対応していないので、nil になるか、偶然バイナリ値が何かに一致した場合にでたらめな値が返されるかのいずれかになります。
は明確に間違いで、ps を利用して、それなりの値を返すようにはなっていました。
しかし、test_env.rb 内のテストコ... -
10:55 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- r46550 くらい以降、Solaris 10 にて make test-all 中、以下のエラーが発生します。
(r44686 にて確認)
test/envutil.rb の 438行目にて、:size や :rss 用の情報が、OS側の何らかの理由で示されず、その結果ハッシュにも格納されず、 a または b が nil になることがあるのに、それに対応していないのが原因と思います。
なお、Solaris では、/proc/self/status は s... -
05:20 PM Revision 7ad35210 (git): * string.c (fstr_update_callback): do not use rb_gc_resurrect()
- any more.
Make new frozen string and replace with garbage frozen string.
* common.mk: use gc.h from string.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Bug #10011 (Closed): Passing a string to Pathname#relative_path_from results in NoMethodError - When a string is passed to Pathname#relative_path_from, a NoMethodError is raised.
```
irb(main):001:0> require "pathname"
=> true
irb(main):002:0> Pathname.new("/usr/bin/cc").relative_path_from Pathname.new("/usr/bin")
=> #<Pathn... -
03:42 PM Revision 2006bfe2 (git): * gc.c: rename is_dying_object() to is_garbage_object().
- * gc.h: rb_objspace_garbage_object_p() as an exported function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 PM Revision 6a9b242a (git): st.c: fix uninitialized variable
- * st.c (st_update): old_key is uninitialized by jump to the label
unpacked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:13 PM Revision d74fdfb1 (git): * 2014-07-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision 783b3c8d (git): st.c: remove equality checks
- * st.c (st_update): remove equality checks, callers should ensure
the equality, otherwise the behavior is undefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision ea74da0c (git): st.c: re-calc hash_val before adding
- * st.c (st_update): re-calculate hash_val before adding if key was
changed, otherwise cannot access the newly added element if it
has different hash value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46722 b2dd03c8-39d4-4d8f-9... -
02:29 PM Bug #9729: Hash#each が無限ループする
- Backported into `ruby_2_1` branch at r46721.
-
02:29 PM Bug #9646: Infinite loop at Hash#each
- Backported into `ruby_2_1` branch at r46721.
-
02:28 PM Revision 068a7dff (git): merge revision(s) r45642,r45643: [Backport #9646] [Backport #9729]
- * st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646]
* st.c (st_foreach_check): change start point of search at check
git-svn-id: svn+ssh://ci.ruby-lang.o... -
02:19 PM Revision e6be6ebc (git): st.c: update the key too if changed
- * st.c (st_update): fix a bug that the key was not updated even if
it was changed by the callback function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 PM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
- Backported into `ruby_2_1` branch at r46719.
-
01:57 PM Revision 1fe220dc (git): merge revision(s) r45344: [Backport #9543]
- * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
I applied tests using Rubinius.
Rubinius uses only 1 processor due to applied taskset, results:
first 18164692
second 10007 <==========
third 18184825
-
07:47 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- My environment is Debian 3.2.0-4-amd64
-
07:35 AM Bug #10009 (Assigned): IO operation is 10x slower in multi-thread environment
- I created this issue #9832 but not have io operation.
In the script attached I simulate IO operation in multi-thread environment.
For ruby 1.9.2 apply `taskset -c -p 2 #{Process.pid}` for regulates threads behavior.
The second Thread ... -
12:45 PM Revision 9f051c80 (git): * file.c, ext/pathname/pathname.c: [DOC] correct position of method rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:33 PM Revision 094949cb (git): * gc.c (is_dying_object): fix missed condition.
- * gc.c (is_live_object): move frequent path first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 PM Revision 38943e80 (git): * gc.c: rename is_dead_object() to is_dying_object().
- This function is not opposite against is_live_object()
because is_dying_object() does *not* check object type.
* gc.c (is_dying_object): change condition.
* gc.c (is_live_object): use T_NONE instead of 0.
* gc.c (rb_objspace_dying_obje... -
05:31 AM Bug #10008 (Feedback): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
-
05:31 AM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Which `conftest`?
Some `conftest`s are expected to segfault.
-
05:16 AM Bug #10008 (Closed): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- crash dump: https://gist.github.com/jaredbeck/be73c376b860d8d6eed9
```bash
cd ~/.rbenv
git log --oneline | head -n1
# 13a474c Get rid of explicit exit in fish branch of `rbenv-init`
cd plugins/ruby-build/
git log --oneline | head... -
05:20 AM Revision ad92b09e (git): split tool/fake.rb
- * tool/fake.rb: split from template/fake.rb.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision a617afc6 (git): * gc.c (rb_gc_register_mark_object): change data structure.
- From single array, to array of arrays. Each array only has 1024
entries.
* vm.c (Init_vm_objects): change default capa from 1 to 128.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 AM Revision 92089610 (git): fake.rb.in: override File::ALT_SEPARATOR
- * template/fake.rb.in (File::ALT_SEPARATOR): override
ALT_SEPARATOR if different, not only a backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 AM Revision 24e41046 (git): mkconstants.rb: remove empty comments
- * ext/etc/mkconstants.rb: remove empty comments, defaut_proc isn't
called by accessing nil-assigned elements, and the same content
is useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 AM Revision 09e36e47 (git): rdoc/stats/normal.rb: fix last_width
- * lib/rdoc/stats/normal.rb (print_file): reset @last_width to the
last line size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:00 AM Revision d054cab6 (git): rdoc/stats/normal.rb: IO.console_size
- * lib/rdoc/stats/normal.rb (print_file): use IO.console_size to
follow window resize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:00 AM Revision 25e8f524 (git): rdoc/stats/normal.rb: clear previous output
- * lib/rdoc/stats/normal.rb (print_file): clear previous output
instead of filling the line, not to leave extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e