Activity
From 04/03/2014 to 04/09/2014
04/09/2014
- 11:16 PM Revision fdddeda6 (git): * 2014-04-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 PM Revision f0cbb868 (git): * signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h
- is not available.
Fixes build on Android (x86).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:32 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- It seems like the fix might not make it out until 2.2.
If anyone runs into this while on 2.1, I was able to stop the segfaults by using BigDecimal coercion instead of to_d (`BigDecimal_coerce` has the GC guard). If you're using the m... -
09:49 PM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Nobuyoshi Nakada wrote:
> Methods of `FileTest` don't expand the arguments implicitly.
Shouldn't they do that? I mean, I can understand `FileTest` not doing it, but `Pathname#exist?` has the same behavior, and I think this is kinda s... -
04:10 AM Bug #9716 (Rejected): FileTest.exist? does not convert relative path to absolute path before testing existence
- Methods of `FileTest` don't expand the arguments implicitly.
-
07:58 PM Bug #9718: Segmentation fault is occurred on trunk and 2.1
- Reproducible on ruby 2.2.0dev (2014-04-09 trunk 45543) [x86_64-linux]
Not reproducible on ruby 2.0.0p451 [x86_64-linux]
I tried the pure Ruby thread.rb from 2.0.0 with trunk, but the segfault
still happens, so I do not think this i... -
01:07 PM Bug #9718 (Closed): Segmentation fault is occurred on trunk and 2.1
- The following code occurs segmentation fault on trunk and 2.1.
```ruby
require 'thread'
queue = Queue.new
thread = Thread.start do
loop do
queue.pop.call
end
end
loop do
queue << -> do
p Time.now
sle... -
07:51 PM Bug #9719 (Closed): longjmp causes uninitialized stack frame on threaded procs
- I'm developing a script that uses tiny_tds and mechanize. There is an implementation of threads spawning connections to a database(tiny_tds) using transactions and rescuing deathlocks, to one site (using mechanize). There are 6 threads s...
-
02:41 PM Feature #5663: Combined map/select method
- I found this issue looking for a single-pass alternative to `.map{...}.compact`.
The former example uses `{ |i| i + 1 if i.even? }`, which reads almost like a comprehension and has a clear separation between the condition and the tran... -
02:32 PM Revision 3f05ee0f (git): Add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:30 PM Bug #9717 (Closed): [BUG] setup_arg: unknown node: NODE_DVAR
- Applied in changeset r45542.
----------
* gc.c (`mark_current_machine_context`): Call `SET_STACK_END`.
This reverts a hunk of r40703 by ko1.
This fixes [ruby-dev:48098] [Bug #9717]. -
10:54 AM Bug #9717: [BUG] setup_arg: unknown node: NODE_DVAR
-
10:42 AM Bug #9717 (Closed): [BUG] setup_arg: unknown node: NODE_DVAR
- 以下のようにすると、[BUG] setup_arg: unknown node: NODE_DVAR というメッセージが出て異常終了します。
% ./miniruby -e 'GC.stress = true; eval("foo += bar")'
-e:1: [BUG] setup_arg: unknown node: NODE_DVAR
ruby 2.2.0dev (2014-04-09 trunk 4... -
02:30 PM Revision 8a8221e6 (git): * gc.c (mark_current_machine_context): Call SET_STACK_END.
- This reverts a hunk of r40703 by ko1.
This fixes [ruby-dev:48098] [Bug #9717].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 PM Bug #9655: Build failure of Arch linux
- It seems that this is a GCC version specific issue.
I cannot reproduce this issue on archlinux with both 2.1.0 and 2.0.0-p353.
~~~
[root@arch ~]# uname -a
Linux arch 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_6... -
12:05 PM Revision 960c8ab1 (git): * process.c (OBJ2UID1): Defined even if getpwnam_r is not usable.
- (OBJ2GID1): Defined even if getgrnam_r is not usable.
This fixes compilation error on Android.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:07 AM Feature #9713 (Assigned): __FILE__ return unexpected encoding - breaks Dir.glob
- Thomas Thomassen wrote:
> In my test `__FILE__` is returned in the OEM encoding - not filesystem encoding.
So, reopened.
-
09:03 AM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Nobuyoshi Nakada wrote:
> * encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
> ...
In my test `__FILE__` is returned in the OEM encoding - not filesystem encoding.
And is it by design that `__FILE__` will return a differ... -
06:17 AM Feature #9713 (Closed): __FILE__ return unexpected encoding - breaks Dir.glob
- Applied in changeset r45539.
----------
encoding.c: fix rdoc of `__FILE__`
* encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
in filesystem encoding but not `default_internal`.
[ruby-core:61894] [Bug #9713] -
08:27 AM Revision 2291ff2e (git): ossl.c: OPENSSL_LIBRARY_VERSION
- * ext/openssl/ossl.c (Init_openssl): add constant OPENSSL_LIBRARY_VERSION
which tells the version running OpenSSL. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Revision 2c12deaf (git): encoding.c: fix rdoc of `__FILE__`
- * encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
in filesystem encoding but not `default_internal`.
[ruby-core:61894] [Bug #9713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45539 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:45 AM Revision 52b6be0a (git): * test/ruby/test_gc.rb: more long timeout.
- This test failed under RGENGC_CHECK_MODE >= 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Bug #9710 (Closed): __builtin_setjmp/longjmp causes SEGV with mingw
- Applied in changeset r45537.
----------
configure.in: no __builtin_setjmp on x64-mingw
* configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
x64-mingw, which causes SEGV with callcc.
[ruby-core:61887] [Bug #9710] -
04:07 AM Revision 1edaa6d2 (git): configure.in: no __builtin_setjmp on x64-mingw
- * configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
x64-mingw, which causes SEGV with callcc.
[ruby-core:61887] [Bug #9710]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision 5c7564c9 (git): string.c: remove unnecessary terminator space
- * string.c (str_buf_cat): remove unnecessary terminator space,
since the capacity does not include its length but RESIZE_CAPA()
considers it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Bug #9709 (Closed): Large string causes SEGV with x64-mingw32
- Applied in changeset r45534.
----------
string.c: fix capacity
* string.c (`str_buf_cat`): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709] - 03:45 AM Revision f2ba9570 (git): * 2014-04-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 AM Revision 68537a42 (git): string.c: fix capacity
- * string.c (str_buf_cat): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/08/2014
-
05:22 PM Bug #9716 (Rejected): FileTest.exist? does not convert relative path to absolute path before testing existence
- `FileTest.exist?(Pathname.new('~/derp').expand_path) => true`
`FileTest.exist?(Pathname.new('~/derp')) => false` - 01:55 PM Revision 0192e15b (git): * lib/mkmf.rb (MakeMakefile#dir_config): Improve documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:45 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- I'm starting to wonder if the three bugs I recently files could all go under one: that the behaviour described under Encoding.default_internal= isn't happening for all the elements it lists. The issues I'm experiencing appear to would ha...
-
12:15 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Referringthe docs (http://www.ruby-doc.org/core-2.1.1/Encoding.html#method-c-default_external-3D) to `Encoding.default_internal=`, `__FILE__` should return strings according to the default internal - but when using `-E` to set it I don't...
- 01:36 PM Revision d37460d7 (git): * 2014-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 PM Revision bdf4eb06 (git): * gc.c: rename `RGENGC_THREEGEN' to `RGENGC_AGE2_PROMOTION'.
- * gc.c (rgengc_rememberset_mark): don't promote, but remain in
remember set for infant objects.
* gc.c (RVALUE_PROMOTE_INFANT, RVALUE_PROMOTE_YOUNG): count numbers
in these functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
12:12 PM Bug #9712: Dir.entries replace Unicode character with questionmarks
- Additional info:
I've made the RB files have `# encoding: UTF-8` and set `-E UTF-8:UTF-8` which from my understanding of the documentation should affect the encoding returned by `Dir`:
~~~
* call-seq:
* Encoding.default_inter... -
12:34 AM Bug #9712 (Assigned): Dir.entries replace Unicode character with questionmarks
-
12:08 PM Bug #9715 (Closed): ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- My testing scenario:
English Windows, Unicode username: てすと
Home directory: C:\Users\てすと\
The values returned from ENV have different encoding depending on their content. It appear to be OEM encoding label to most value, except wh... -
05:20 AM Bug #9714 (Rejected): Ruby configured to call OpenSSL engine API when it shouldn't
- ### (This issue is NOT related to the Heartbleed vulnerability.)
There is an issue compiling under OSX where system dependencies and homebrew dependencies get mixed together, resulting in an incorrectly configured Ruby which fails at ...
04/07/2014
-
11:51 PM Bug #9695: Substring search exhibit quadratic behaviour.
- For example other BM implementation, I compared with Ruby's regexp:
```ruby
12.upto(21).map do |i|
needle='a'*(2**(i-1)) + 'b'
haystack = 'a' * (2**i)
a = Time.now; haystack.include?(needle); b=Time.now
t1 = b-a
a = Ti... -
08:45 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Looking at how Ruby determines the filesystem encoding:
http://rxr.whitequark.org/mri/source/encoding.c#1267
static int enc_set_filesystem_encoding(void)
~~~
1266 char cp[sizeof(int) * 8 / 3 + 4];
1267 snprintf(cp, sizeo... -
08:30 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Thomas Thomassen wrote:
> If I need to represent a file name in the UI some way, or write to file, in a different encoding then I can do the appropriate transposing. But I don't see any reason why Ruby's file related functions under Win... -
07:46 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Usaku NAKAMURA wrote:
> But, the first case, the encoding of __FILE__ should be Windows-1252 (filesystem encoding)
> ...
Seeing how the Windows file system can use Unicode characters I would expect __FILE__ to be unicode encoded. Even ... -
06:38 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- The encoding of the results of Dir.glob are the same encoding with it's parameter.
So, there is no bug about the second case.
But, the first case, the encoding of __FILE__ should be Windows-1252 (filesystem encoding)
or UTF-8 (scrip... -
05:47 PM Feature #9713 (Feedback): __FILE__ return unexpected encoding - breaks Dir.glob
- **C:/てすと/FILE.rb:**
~~~
# encoding: UTF-8
puts "Encoding.find 'filesystem': #{Encoding.find('filesystem').inspect}"
puts "Encoding.find 'locale': #{Encoding.find('locale').inspect}"
puts "Encoding.default internal: #{Encoding.defa... -
07:40 PM Bug #9712: Dir.entries replace Unicode character with questionmarks
- Usaku NAKAMURA wrote:
> check Dir.entries('Foo', encoding: 'utf-8')
Ah, well that worked. I'd been referring to the Ruby 2.0.0 docs where this argument is missing:
http://www.ruby-doc.org/core-2.0/Dir.html#method-c-entries
But wh... -
06:30 PM Bug #9712 (Rejected): Dir.entries replace Unicode character with questionmarks
- check Dir.entries('Foo', encoding: 'utf-8')
-
03:46 PM Bug #9712 (Closed): Dir.entries replace Unicode character with questionmarks
- My basis when testing this is that I have a computer with English OS - codepage Windows-1252. The tests might yield different result if the Windows codepage is different - so please pay attention to that if you are unable to reproduce.
... -
06:50 PM Bug #1685 (Closed): Some windows unicode path issues remain
- This ticket is too old and too various problems.
Now Thomas investigates many things and is making some new tickets. (Thank you!)
Please refer to them from now on. -
03:13 PM Bug #9675: Marshal.load fails with recursive structures and user defined hash method
- There is no documentation for `hash` that if you override it, you should not use instance variables. Either this needs to be prevented by ruby, or the documentation needs to be updated. The actual case that triggered this was `ActiveReco...
-
12:59 PM Feature #9711 (Closed): Remove test-unit and minitest from stdlib.
- ref. #9660
We are hard to maintain test-unit and minitest for standard library.
I poropose to remove to their from stdlib.
see also my patches: https://github.com/hsbt/ruby/compare/extracted-test-suite?expand=1
my solution is t... -
12:14 PM Bug #9697 (Closed): rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- Applied in changeset r45530.
----------
* ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
Reported by Saravana kumar. [ruby-core:61820] [Bug #9697]
Fixed by Heesob Park. [ruby-core:61868] -
12:14 PM Revision 1aa54beb (git): * ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
- Reported by Saravana kumar. [ruby-core:61820] [Bug #9697]
Fixed by Heesob Park. [ruby-core:61868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 AM Bug #9699: Cannot require .so file on Windows if the file path is unicode (Includes patch)
- Can this patch be back ported to Ruby 2.1 or 2.0?
-
08:41 AM Bug #9710 (Closed): __builtin_setjmp/longjmp causes SEGV with mingw
- Now `__builtin_setjmp/__builtin_longjmp` are used with x64-mingw.
ruby 2.2.0dev (2014-04-07 trunk 45529) [x64-mingw32]
gcc version 4.8.2 20130712 (prerelease) (Built by MinGW-builds project)
.ext/include/x64-mingw32/ruby/config.... -
07:00 AM Bug #9709 (Closed): Large string causes SEGV with x64-mingw32
- Creating large string causes SEGV with x64-mingw32 on Windows.
test.rb
~~~
A = ""
1000000.times do |i|
A << "a" * 100000
end
~~~
gdb backtrace of `./miniruby test.rb`
~~~
Program received signal SIGSEGV, Segmentation ... -
06:10 AM Bug #9693: \x{} in regexp
- なぜ OnigSyntaxRuby に ONIG_SYN_OP_ESC_X_BRACE_HEX8 が含まれているのか謎ですが、
挙動・仕様としてはそのままでいいんじゃないでしょうか。
"\x{a}" も許されてないし。
また、これを外したからといって最適化で消えるようになる気もあんまりしないので、気分の問題ですかねぇ。
消してもいいとは思うのでコミットしたい場合はしてくださいですが、した場合はupstreamへの反映をよろしくお願いします。
https:/...
04/06/2014
-
10:27 PM Bug #8182 (Closed): XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- Applied in changeset r45529.
----------
* lib/xmlrpc/client.rb (do_rpc): don't check body length.
If HTTP content-encoding is used, the length may be different.
[Bug #8182] [ruby-core:53811] -
10:26 PM Revision fc3b4d06 (git): * lib/xmlrpc/client.rb (do_rpc): don't check body length.
- If HTTP content-encoding is used, the length may be different.
[Bug #8182] [ruby-core:53811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:46 PM Revision d11d87c3 (git): * lib/matrix.rb: Add Matrix#cofactor [fix GH-568]
- Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 PM Revision b8ba2023 (git): * lib/matrix.rb: Add first_minor [fix GH-568]
- Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 PM Revision 1657d516 (git): * test/matrix/test_matrix: Add tests for trivial cases [fix GH-576]
- Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 PM Revision a5b6bde8 (git): * 2014-04-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:45 PM Revision bcf8dd10 (git): * lib/matrix: Handle empty diagonal matrix case [fix GH-576]
- Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:52 PM Feature #9704: Refinements as files instead of modules
- Yes, the transition from monkey-patching to refinements is a major part of the intention.
But I also do not expect monkey-patching to ever completely go away. (Do you?) Monkey patching is more convenient, in that it can be done via o... -
12:07 PM Feature #9704: Refinements as files instead of modules
- So your key idea is sharing implementation between monkey-patching and refinements.
The motivation behind introducing refinements is discouraging monkey-patching. So it is not attractive for me to something that helps monkey-patching.
... -
08:47 AM Bug #9701 (Assigned): RDoc description for `String#<<` and `String#concat`
-
06:12 AM Bug #9701: RDoc description for `String#<<` and `String#concat`
- True story, in string.c:
rb_define_method(rb_cString, "concat", rb_str_concat, 1);
rb_define_method(rb_cString, "<<", rb_str_concat, 1); -
06:08 AM Bug #9703: Inconsistent profile output
- This is due to `profile.rb`'s `:specialized_instruction => false` compile option, on [line 5](https://github.com/ruby/ruby/blob/trunk/lib/profile.rb#L5). If you comment it out, none of the three cases will show any calls to `#==`. Specia...
-
05:11 AM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
- Wouldn't it be possible to backport this to 2.0.0 and 2.1, where the same issue resides?
04/05/2014
-
11:53 PM Bug #9699 (Closed): Cannot require .so file on Windows if the file path is unicode (Includes patch)
- Applied in changeset r45523.
----------
dln.c: non-ascii path on Windows
* dln.c (dln_load): use wchar version to load a library in
non-ascii path on Windows. based on the patch by Bugra Barin
<bugrabarin AT hotmail.com> in [ruby-... -
11:52 PM Revision a237db5c (git): dln.c: non-ascii path on Windows
- * dln.c (dln_load): use wchar version to load a library in
non-ascii path on Windows. based on the patch by Bugra Barin
<bugrabarin AT hotmail.com> in [ruby-core:61845]. [Bug #9699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... - 11:51 PM Revision acfd09ed (git): * 2014-04-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:51 PM Revision ac4e60bf (git): win32.c: wchar conversion
- * win32/win32.c (rb_w32_wstr_to_mbstr, rb_w32_mbstr_to_wstr): make
WCHAR/mb conversion functions public.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:38 PM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- normalperson@yhbt.net wrote:
> Updated 0001 patch with deduplicated license files:
> http://bogomips.org/ruby.git/patch?id=b5401cdc6f72
Any comment? My main concern is it's a large import of new code;
but it is also highly reu... -
04:33 PM Bug #9706 (Closed): Date#<=> should use #< method(fixed at r45520)
- Date#<=> で #< メソッドを使って比較するようにする修正です。
trunk では r45520 で修正済みで、バックポート管理用にチケット化します。 -
04:05 PM Bug #9695 (Rejected): Substring search exhibit quadratic behaviour.
- The algorithm is Sunday's quick search, which is a variation of BM, whose cost is O(m*n) as nobu said.
The benchmark happens the worst case for BM variants. -
02:53 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- I found the errno is needed for rb_sys_fail function but it is cleared with the rb_freeaddrinfo function call.
Here is a patch
~~~
diff --git a/socket.c b/socket.c
index 67bfcb3..6b145ac 100644
--- a/socket.c
+++ b/socket.c
@... -
02:21 PM Bug #9660: test/unit, minitest & bundler
- Hello,
I take the liberty to link to a branch with a beginning of patch that updates the bundled version of Minitest to 5 (https://github.com/robin850/ruby/compare/minitest-five) since this is more or less related to the problem here.... - 10:53 AM Revision cce3aa75 (git): * ext/date/date_core.c (d_lite_cmp): should compare with #<.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/04/2014
-
08:58 PM Bug #9705 (Closed): Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- Possible relevance with cpu recognition (CPU is amd athlon 1200 32bit)
[[https://gist.github.com/ahibal/f41ee307085f35709704#file-make-log]]
last lines of make.log:
~~~
.
.
.
compiling addr2line.c
compiling dmyext.c
linkin... -
08:41 PM Feature #9704 (Assigned): Refinements as files instead of modules
- If refinements are to remain file-scoped, then it would be more convenient if `using` worked at the file level, akin to `require`, rather than behave like a module `include`. For instance, instead of:
~~~
# foo.rb
module Foo
refi... -
08:16 PM Feature #9678: New heredoc syntax
- I have just realized this would cause a difficulty with pasting code into `irb`. This would not be the first, however, -- the following cannot be pasted into `irb` either:
class C
def f
1
end
end
... -
07:39 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing happening here a few times a day while calling to_d. Same line: bigdecimal/util.rb:18. Rails 3.2.17 and 2.1.1p76.
-
04:02 PM Bug #9703 (Closed): Inconsistent profile output
- The output of the profile lib seems to be partially dependent on how it is required. For example,
~~~
ruby -rprofile -e '0==1'
~~~
shows one call to Fixnum#== as expected
~~~
ruby -e 'require "profile"; 0==1'
~~~
does not sho... -
03:31 PM Bug #9702 (Closed): r45488以降、SolarisStudioで ext/readline がコンパイルエラー(readline 6.2使用)
- Applied in changeset r45518.
----------
`readline/extconf.rb`: `rl_hook_func_t`
* `ext/readline/extconf.rb` (`rl_hook_func_t`): check pointer type.
[ruby-dev:48089] [Bug #9702] -
02:44 PM Bug #9702: r45488以降、SolarisStudioで ext/readline がコンパイルエラー(readline 6.2使用)
- `have_type()` 内では`sizeof` を使って型のサイズをとれるかを元に型の有無を判定しているようですが、
調べたところ、`sizeof` を関数(関数ポインタではなく)に使うのは未定義動作のようです。
http://stackoverflow.com/questions/12259101/why-is-the-size-of-a-function-in-c-always-1-byte
-
02:21 PM Bug #9702 (Closed): r45488以降、SolarisStudioで ext/readline がコンパイルエラー(readline 6.2使用)
- r45488以降、Solarisにて、`ext/readline` が下記のようにコンパイルエラーになります。コンパイラは SolarisStudio 12.3 です。
readline 6.2 との組み合わせになります。
~~~
(前略)
cd ext/readline && exec make -w V=1 all
make[2]: Entering directory `/XXXXXXXXXX/ext/readline'
cc -I. -I../.... - 03:31 PM Revision 685af965 (git): * 2014-04-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 PM Revision d2a8e285 (git): readline/extconf.rb: rl_hook_func_t
- * ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
[ruby-dev:48089] [Bug #9702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 PM Bug #8358: TestSprintf#test_float test failure
- @Zachary
This has been waiting review by Nobu/usa in a long time, why is assigned to you? are you going to revert the SSE2 block? -
03:08 PM Bug #8358 (Feedback): TestSprintf#test_float test failure
-
11:45 AM Bug #1685: Some windows unicode path issues remain
- Martin Dürst wrote:
> If you know of anything that's not yet in Ruby 2.2, please tell us, best
> ...
I've been setting up tests and running them through Ruby 2.2 I find some are fixed but there is still several issues related to file... -
10:38 AM Bug #1685: Some windows unicode path issues remain
- On 2014/04/03 23:07, thomas@thomthom.net wrote:
> Issue #1685 has been updated by Thomas Thomassen.
> In Ruby 2.0 there appear to still be several issues with Ruby and Unicode characters in filenames. Dir.entries fail, load and requ... -
11:19 AM Bug #9694: Bad regexp hangs ruby
- Nikolay Markov wrote:
> Urabe, do you know how Perl does that? Also, i'll be grateful for the link to regexp sources in ruby
Don't know anything about perl's. Ruby's regexp engine is called Onigmo: https://github.com/k-takata/Onigmo -
08:37 AM Revision c3699626 (git): signal.c: check stack overflow by SP
- * signal.c (check_stack_overflow): raise SystemStackError if SP
register and fault address is in the same page, on x86 linux.
[EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:34 AM Revision e1825942 (git): eval_intern.h: VAR_INITIALIZED
- * eval_intern.h (VAR_INITIALIZED): macro to suppress
maybe-uninitialized warnings by gcc 4.7 and 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:52 AM Bug #9701 (Closed): RDoc description for `String#<<` and `String#concat`
- As far as I can see, `String#<<` is an alias of `String#concat`, but in the RDoc, there is no mentioning of the connection between them. `String#<<` should be simply described as an alias of `String#concat`.
-
02:37 AM Revision 9dd01130 (git): configure.in: get rid of clang fatal error
- * configure.in (ac_cv_func___builtin_setjmp): get rid of a bug in
clang 3.3 and 3.4, which __builtin_setjmp() causes fatal error
in backend, linker error, or segmentation fault.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4551...
04/03/2014
-
11:16 PM Feature #9696: More Flexible Refinement Syntax
- Thomas, although I don't deny the possibility of "more flexible refinement syntax", I prefer creating new issues for each design proposals, so that we can refer them by issue numbers. Please resubmit if you have new idea.
Matz. -
04:55 PM Feature #9696: More Flexible Refinement Syntax
- I gave it a try here: https://gist.github.com/rosenfeld/9958332
If you keep your files simple it should be somewhat easy to generate the refinement versions from the original monkey patches... -
03:20 PM Feature #9696: More Flexible Refinement Syntax
- If there "could be better design" could this ticket be set to feedback? Maybe others have some ideas about it.
Am I wrong to think that the most applicable use-cases for refinements by-far are the ActiveSupport and Facets core extens... -
09:58 AM Feature #9696: More Flexible Refinement Syntax
- For a practical solution you might be interested on you might build a
preprocessor that would generate the duplicate files you need which could
be ignored by your VCS but included in your gem.
-
09:10 AM Feature #9696 (Rejected): More Flexible Refinement Syntax
- In that case, string/foo.rb will work differently loaded by #using or #require.
I don't think it is a good design, although I admit there could be better design.
Matz.
-
03:21 AM Feature #9696 (Rejected): More Flexible Refinement Syntax
- I am the maintainer of Ruby Facets, the core extensions library. For the next release of Facets I have long planned to provide support for Refinements. Unfortunately, after working with the code to determine what would be necessary to su...
-
10:13 PM Bug #9698 (Closed): r45509以降、Solarisにて configureが thread model is missing でエラー
- Applied in changeset r45513.
----------
configure.in: restore flags
* configure.in (ac_cv_func___builtin_setjmp): should not skip
flags restoration in RUBY_WERROR_FLAG by `break`.
[ruby-dev:48086] [Bug #9698] -
04:04 PM Bug #9698 (Closed): r45509以降、Solarisにて configureが thread model is missing でエラー
- r45509以降、Solarisにて configureが thread model is missing でエラーになります。
$ autoconf --version
autoconf (GNU Autoconf) 2.68
$ autoconf
$ ./configure --prefix=/XXXXXXXXXX --build=sparc64-sun-solar... - 10:13 PM Revision d41af17d (git): * 2014-04-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:13 PM Revision 5c20b012 (git): configure.in: restore flags
- * configure.in (ac_cv_func___builtin_setjmp): should not skip
flags restoration in RUBY_WERROR_FLAG by `break`.
[ruby-dev:48086] [Bug #9698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:13 PM Revision 80b36a7b (git): configure.in: indent
- * configure.in (ac_cv_func___builtin_setjmp): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:01 PM Bug #9700 (Rejected): [DOC] Fix for documentation of URI::Escape
- I was trying to use URI.escape to encode "."
http://www.ruby-doc.org/stdlib-2.1.0/libdoc/uri/rdoc/URI/Escape.html
the REGEXP::UNSAFE was no longer exist. -
08:50 PM Bug #9699 (Closed): Cannot require .so file on Windows if the file path is unicode (Includes patch)
- It doesn't seem possible to load a C extension that is inside a non-ascii path.
To reproduce:
- Extract the attached zip file (with a decent unzip program such as 7-zip, that preserves unicode paths)
- cd to where you extracted
- lau... -
03:59 PM Bug #9694: Bad regexp hangs ruby
- Rafael, i'm sorry, the bad regexp is not displaying properly, something is obviously wrong with my formatting. Gergo reproduced it same as i have it.
Urabe, do you know how Perl does that? Also, i'll be grateful for the link to regex... -
02:42 AM Bug #9694: Bad regexp hangs ruby
- Ruby's regexp engine is NP-complete. It's ultimately impossible to guarantee
regexp matches to run fast (if you don't think so please send us a proof). It
might be possible to warn your specific bad regexp, but in general it's also
... -
02:27 PM Bug #9695: Substring search exhibit quadratic behaviour.
- It's `O(m*n)`, not `O(m**2)`, where `m` and `n` are the lengths of the receiver and the searching strings respectively.
-
02:17 AM Bug #9695: Substring search exhibit quadratic behaviour.
- Interesting, and I'm pretty sure this also interests matz.
-
02:07 PM Bug #1685: Some windows unicode path issues remain
- B Kelly wrote:
> =begin
> ...
In Ruby 2.0 there appear to still be several issues with Ruby and Unicode characters in filenames. Dir.entries fail, load and require fail. __FILE__ has the wrong encoding. I see some things slated for Rub... -
01:12 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- This is the line am geting the error
http = Net::HTTP.start(host, port)
Its not occuring for all hosts and ports, Some of the hosts and ports are getting error.
Actually am looping 100k hosts and ports to run this code. So am no... -
01:01 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- The ruby 1.9.3-p545 is the patch applied version.
Thus, this issue is not the same bug with bug #8627.
I guess the getaddrinfo call returns EAI_SYSTEM and errno is not ENOENT in your case.
Could you attach strace log or a simple rep... -
10:03 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- So Which version of **ruby patch** i should use for this issue?
My current patch is 1.9.3-p545 -
08:46 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- -- Ruby level backtrace information ----------------------------------------
/home/deploysearch/ruby/1.9.1/gems/celluloid-0.14.1/lib/celluloid/internal_pool.rb:59:in `block in create'
/home/deploysearch/ruby/1.9.1/gems/celluloid-0.14.1... -
07:05 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- It seems that this issue is somewhat similar to the bug #8627( https://bugs.ruby-lang.org/issues/8627 ).
But the bug #8627 was fixed and backported to 1.9.3 already( https://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/4493... -
06:05 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- My Envoronment is ubuntu 13.10
Ruby - 1.9.3
Patch - 535 -
05:50 AM Bug #9697 (Closed): rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- /home/deploysearch/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/net/http.rb:763: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
-- Control frame information -----------------------... -
12:50 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing, but noticed *** glibc detected *** ruby: corrupted double-linked list: 0x00007f9c23f51fc0 *** in backtrace (See attached)
-
09:17 AM Bug #9454: The define_method(:class) segfault
- FYI, `TestException#test_machine_stackoverflow_by_define_method` fails on my environment, too: Linux 2.6.32-71.el6.x86_64 and glibc 2.12-1.7.el6.
~~~
$ ruby -v
ruby 2.2.0dev (2014-04-01 trunk 45498) [x86_64-linux]
~~~
The problem ... -
06:38 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- There are two stacks, VM stack and machine stack.
> ~~~ruby
> ...
causes VM stack overflow, but recursive default proc causes machine stack overflow.
The former is detected by the VM, so no dirty pages is used.
Your patch prevent... -
04:52 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- Nobu, Is p466 an unreleased version? Is it ruby_2_0_0 branch? In any case, you are correct: can reproduce in 2.0.0-p451 and -353. 2.1.x seem to correctly SystemStackError.
There remains a bug in trunk (and 2.1.x), however: the first S... - 05:59 AM Revision 16f07789 (git): * 2014-04-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Revision 22305ffe (git): * lib/csv.rb: fix minor typo by @baroquebobcat [fix GH-583][ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e