Activity
From 07/18/2017 to 07/24/2017
07/24/2017
-
10:40 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- There isn't noticable difference on Linux, it's even slightly faster.
Linux
~~~
2.1.9 77991 i/s
2.4.1 78497 i/s
~~~
Windows
~~~
2.1.9 1143000 i/s
2.4.1 39829 i/s
~~~
https://github.com/ruby/ruby/blob/trunk/dir.c -
09:41 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- Eric Wong <normalperson@yhbt.net> wrote:
> $ strace -c -e getdents ruby --disable=gems -e 'Dir.glob("*/*.{flac}")'
> => 935 getdents calls
>
> $ strace -c -e getdents ruby --disable=gems -e 'Dir.glob("*/*.{flac,ogg}")'
> => 1870 g... -
08:32 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- pdahorek@seznam.cz wrote:
> Bug #13167: Dir.glob is 25x slower since Ruby 2.2
> https://bugs.ruby-lang.org/issues/13167#change-65905
I didn't see a difference in Linux between 2.1 and trunk;
but this seems wrong on Linux and could... -
07:42 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- I used Procmon.exe https://live.sysinternals.com to monitor system calls
and it looks like ruby 2.4.1 is traversing the whole directory tree over and over again for each {} matcher. This should be definitely avoided!
take a look, the... -
09:08 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
- Rei.Odaira@gmail.com wrote:
> Ruby CI on AIX have frequently hit SystemStackError since this change was introduced.
> http://rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/recent.html
> http://rubyci.s3.amazonaws.com/aix71_ppc/ruby-tru... -
08:28 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
- Ruby CI on AIX have frequently hit SystemStackError since this change was introduced.
http://rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/recent.html
http://rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20170723T103301Z.fail.html.gz... -
09:04 PM Feature #13765 (Open): Add Proc#bind
- `Proc` has [`curry`](https://ruby-doc.org/core-2.4.1/Proc.html#method-i-curry) but no method to do [partial application](https://en.wikipedia.org/wiki/Partial_application). Something like `Proc#bind` might be handy.
A naive implementa... -
06:09 PM Feature #13763: Trigger "unused variable warning" for unused variables in parameter lists
- I am indifferent, so neither pro or con. I can see both points, more warnings or "hints"
and less warnings. There may be a practical reason to not change towards this as it may
lead to many more warnings all of a sudden? I don't know, ... -
04:25 PM Feature #13763: Trigger "unused variable warning" for unused variables in parameter lists
- i am against this, becauese such functions could be used as hookups too for other functions to overwrite them.
like:
~~~ ruby
def xyz
do_something(temp)
end
def do_something(x)
end
~~~
then something else can overwrite... -
12:16 PM Feature #13763 (Open): Trigger "unused variable warning" for unused variables in parameter lists
- Consider the following program nowa.rb:
~~~
def foo(a)
end
%w(x).each {|y|}
foo(1)
z=5
~~~
If I syntax-check it with *ruby -cw nowa.rb* I get the following warning:
~~~
nowa.rb:5: warning: assigned but unused variable - z... -
02:04 PM Bug #13764 (Rejected): Ruby 2.3.4 build problem with "-fstack-check"
- pkgsrcで PKGSRC_USE_STACK_CHECK を yes に設定すると Ruby 2.3.4 のビルドに失敗します。
現象としては、tool/generic_erb.rb で encdb.h を生成する際に erb.rb でエラーとなります。
~~~
lib/erb.rb:654:in `block in compile': can't modify frozen String (RuntimeError)
~~~
調べたところ、作成した mi... -
05:31 AM Bug #13716 (Feedback): Unexpected or undocumented (or maybe both) behaviour when mixing String#scan with named captures
- When you use a named capture, parenthesises are not considered as a capture.
So, you need to add name for all captures as:
```
% ruby -e 'p "1q2w3e4r".scan(/(?<bar>\w\d)(?<foo>foo){0}/)'
[["q2", nil], ["w3", nil], ["e4", nil]]
`... -
03:14 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- Hiroshi,
Thank you for the patch. I just decided to start doing regular MinGW builds with ruby_2_3 & ruby_2_4. I also recently updated to gcc 7.1.0 from 6.3.0. With 7.1.0, ruby_2_4 was fine, but ruby_2_3 didn't get very far. Your ... - 01:56 AM Revision 20da3e51 (git): * 2017-07-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 AM Revision 3fe5d355 (git): optparse.rb: case-sensitive candidate
- * lib/optparse.rb (candidate): short options are case-sensitive by
the default, should not match case-different options..
https://github.com/mernen/completion-ruby/pull/9#issuecomment-317287946
git-svn-id: svn+ssh://ci.ruby-lang.org... -
01:24 AM Bug #13742: SIGSEGV in parser_yyerror()
- Note that this is not a vulnerability.
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11465 is invalid. -
01:17 AM Bug #13762 (Rejected): Change in `#==` in Ruby 2.4?
- When you write your custom `method_missing`, you have to write your custom `respond_to_missing?` too.
-
12:29 AM Bug #13762 (Rejected): Change in `#==` in Ruby 2.4?
- Given this code:
```ruby
# frozen_string_literal: true
class MyProxy < BasicObject
def initialize(target)
@target = target
end
undef_method :==
def method_missing(method_name, *args, &block)
if target_res... -
12:26 AM Feature #13683: Add strict Enumerable#single
- +1 to this proposal!! I have a `Util.one(...)` method in a half dozen or more projects. IMO `#one` is a nicer name than `#single`.
[ROM](https://github.com/rom-rb/rom/blob/6016d323ca0a2aa38167e84a4eb2da0384e75b13/core/lib/rom/relation...
07/23/2017
- 09:44 AM Revision bb52d2be (git): * 2017-07-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 53737990 (git): sprintf.c: width too big
- * sprintf.c (rb_str_format): explicitly reject too big negative
width, instead of an empty string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 AM Bug #13547: [].delete 1 { 'NG' }
- ruby_2_4 r59409 merged revision(s) 58641.
-
08:59 AM Revision fd2fca83 (git): merge revision(s) 58641: [Backport #13547]
- parse.y: brace after literal arg
* parse.y (symbol, dsym, parser_set_number_literal, parser_yylex):
set state to END too not only ENDARG and after a literal, so
that a left brace after it should be a primary ... -
08:49 AM Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
- ruby_2_4 r59408 merged revision(s) 58902.
-
08:49 AM Revision e7358e60 (git): merge revision(s) 58902: [Backport #13595]
- attempt to fix rb_alloc_tmp_buffer2 for ALLOCV_N
This is a confusing function to my arithmetic-challenged mind,
but nobu seems alright with this. Anyways this lets me use
large values of elsize without segfaulti... -
08:39 AM Bug #13358: OpenStruct overriding allocate
- ruby_2_4 r59407 merged revision(s) 58077,58229.
-
08:39 AM Revision 7867dbdd (git): merge revision(s) 58077,58229: [Backport #13358]
- ostruct.rb: fix OpenStruct.allocate
* lib/ostruct.rb (OpenStruct.allocate): initialize an instance
variable directly, without calling `intialize` method which may
be overridden in a subclass. [ruby-core:8029... -
08:22 AM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
- Backported into ruby_2_4 at r57939.
-
08:16 AM Bug #11873: Syntax error and parse problem when calling a method without parentheses
- ruby_2_4 r59406 merged revision(s) 58638,58640.
-
08:15 AM Revision 524e628f (git): merge revision(s) 58638,58640: [Backport #11873]
- test_syntax.rb: test_brace_after_local_variable
* test/ruby/test_syntax.rb (test_brace_after_local_variable):
another test using braces. [Bug #11873]
parse.y: do after cmdarg in paren
* parse.y (parse... -
08:05 AM Bug #13284: IA64 ruby 2.4 miniruby segfault
- ruby_2_4 r59405 merged revision(s) 59307.
-
08:05 AM Revision 66163b77 (git): merge revision(s) 59307: [Backport #13284]
- a64: fix crash on register stack mark/sweep pass
* thread_pthread.c: move 'register_stack_start' earlier.
[ruby-core:79928] [Bug #13284] [Fix GH-1625]
Author: Sergei Trofimovich <slyfox@gentoo.org>
git-sv... -
07:50 AM Bug #13191: sample/pty/shl.rb がうまく動かない
- ruby_2_4 r59404 merged revision(s) 57530.
-
07:50 AM Revision fffc133d (git): merge revision(s) 57530: [Backport #13191]
- sample/pty/shl.rb: update sample
* Specify frozen_string_literal: true.
* Fix TypeError of raise.
* Use a character literal instead of Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59404... -
07:48 AM Bug #13621: String#split returns an array longer than given limit, when passing a regexp with groups
- ruby_2_4 r59403 merged revision(s) 59002.
-
07:48 AM Revision 873c37ce (git): merge revision(s) 59002: [Backport #13621]
- string.c: docs for String#split
* string.c: [DOC] clarify docs for String#split when called
with limit and capture groups.
Reported by Cichol Tsai. [ruby-core:81505] [Bug #13621]
git-svn-id: svn+ssh://ci.ru... -
07:46 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
- ruby_2_4 r59402 merged revision(s) 57446.
-
07:46 AM Revision b1b4772f (git): merge revision(s) 57446: [Backport #13413]
- mkmf.rb: fix script installation
* lib/mkmf.rb (MakeMakefile): fix condition to install script
files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:45 AM Bug #13672: Garbage input hangs ruby (not responding ^C)
- ruby_2_4 r59401 merged revision(s) 59161.
-
07:44 AM Revision e9ef3cfd (git): merge revision(s) 59161: [Backport #13672]
- parse.y: check multibyte char
* parse.y (parser_precise_mbclen): check invalid multibyte char at
skipping strings following `?x` literal string, not to stuck in
a infinite loop. [ruby-core:81746] [Bug #13672... -
07:36 AM Bug #13515: Pathname#join doesn't add separator on UNC paths
- ruby_2_4 r59400 merged revision(s) 59102.
-
07:36 AM Revision e52f95a6 (git): merge revision(s) 59102: [Backport #13515]
- pathname.rb: UNC root pathname needs a separator
* ext/pathname/lib/pathname.rb (Pathname#plus): UNC root pathname
needs a separator. File.basename returns "/" on UNC root, as
well as sole drive letter, even... -
07:33 AM Bug #13636: REXML::Document.parse_stream doesn't handle when closing tag not provided
- ruby_2_4 r59399 merged revision(s) 59033,59034.
-
07:33 AM Revision 3fd2cbec (git): merge revision(s) 59033,59034: [Backport #13636]
- rexml: add close tag check on end of document to StreamParser
[ruby-core:81593] [Bug #13636]
Reported by Anton Sivakov. Thanks!!!
* properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@593... -
07:30 AM Bug #13558: Array#insert does not typecheck the position argument if it's the only argument
- ruby_2_4 r59398 merged revision(s) 58693.
-
07:30 AM Revision acfaa331 (git): merge revision(s) 58693: [Backport #13558]
- array.c: check position to insert
* array.c (rb_ary_insert): check position to insert even if no
elements to be inserted. [ruby-core:81125] [Bug #13558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5... -
07:21 AM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- ruby_2_4 r59397 merged revision(s) 58643.
-
07:21 AM Revision 731b534e (git): merge revision(s) 58643: [Backport #13231]
- date_core.c: fix docs for %Z format
* ext/date/date_core.c: [DOC] fix documentation for %Z format
of {Date,DateTime}.strftime.
Reported by Damon Timm. Based on a patch by nano.
[ruby-core:79602] [... -
07:20 AM Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion
- ruby_2_4 r59396 merged revision(s) 58552.
-
07:20 AM Revision 5beaa53a (git): merge revision(s) 58552: [Backport #13531]
- rss: Accept empty text element as valid element
Parser has been accepted it but XML serializer wasn't accepted.
Reported by stefano frabetti. Thanks!!!
[ruby-core:80965] [Bug #13531]
git-svn-id: svn+ssh://ci.... -
07:02 AM Bug #13656: Method#super_method returns incorrect result dependent on unrelated module
- ruby_2_4 r59395 merged revision(s) 59080,59082.
-
07:02 AM Revision c358595a (git): merge revision(s) 59080,59082: [Backport #13656]
- proc.c: skip prepended modules
* proc.c (method_super_method): skip prepended modules and
continue from the super class of the original class.
[ruby-core:81666] [Bug #13656]
test/ruby/test_method.rb: ... -
06:47 AM Bug #13720 (Closed): appveyor.yml nmake arguments - not *nix style
07/22/2017
- 12:26 PM Revision 151c1704 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 PM Revision b44a588e (git): Add Doxygen comments
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:07 AM Revision 1782a2cf (git): Fix documents
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:07 AM Revision 135204eb (git): Fix typos and indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:30 AM Revision 22224a45 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 AM Revision 7b19e6f3 (git): Add documents
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:01 AM Revision 52bb1dad (git): compile.c: COMPILE_ERROR
- * compile.c: raise COMPILE_ERROR instead of compile_bug which is
very rarely (or never, actually) useful to debug instruction
sequence. COMPILE_ERROR is usually SyntaxError, or fatal error
if compile_debug is enabled,
git-svn-id:...
07/21/2017
-
10:45 PM Revision 86dc8c81 (git): compile.c: dump iseq at adjust bug
- * compile.c (fix_sp_depth): dump instructions at adjust bug too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:06 PM Revision f0f7098c (git): * 2017-07-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:06 PM Revision 17bf0c00 (git): NEWS: add entries for thread_sync.c changes
- I'm slightly worried about some external code subclassing
ConditionVariable, Queue, and SizedQueue and relying on them
being Structs. However, they only started being Structs with
Ruby 2.1, and were implemented in pure Ruby before that;... -
01:41 PM Bug #13759: SEGV in StringScanner
- A bug since 2.1.
-
01:30 PM Bug #13759 (Closed): SEGV in StringScanner
- Applied in changeset trunk|r59384.
----------
strscan.c: fix segfault in aref
* ext/strscan/strscan.c (strscan_aref): fix segfault after
get_byte or getch which do not apply regexp.
[ruby-core:82116] [Bug #13759] -
01:30 PM Revision 90311f37 (git): strscan.c: fix segfault in aref
- * ext/strscan/strscan.c (strscan_aref): fix segfault after
get_byte or getch which do not apply regexp.
[ruby-core:82116] [Bug #13759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:03 AM Bug #13760 (Closed): Another iseq_set_sequence: adjust bug 1 < 2
-
02:51 AM Bug #13760: Another iseq_set_sequence: adjust bug 1 < 2
- Seems a duplicate of #13755.
-
02:14 AM Bug #13760 (Feedback): Another iseq_set_sequence: adjust bug 1 < 2
- Can't reproduce on `ruby 2.5.0dev (2017-07-21 trunk 59374) [x86_64-darwin15]`. Maybe fixed already. Would you mind trying a recent trunk?
-
08:31 AM Revision 5f534b7d (git): optparse.rb: [DOC] fix keys
- * lib/optparse.rb (getopts): [DOC] parameter keys are strings, not
symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 AM Feature #12387: ripper: new parser event for kwrest parameter
- nobu (Nobuyoshi Nakada) wrote:
> Seems OK.
Thanks, committed as r59382. -
04:29 AM Feature #12387 (Closed): ripper: new parser event for kwrest parameter - Applied in changeset trunk|r59382.
----------
ripper: add kwrest_param parser event
* parse.y (f_kwrest): Dispatch kwrest_param event. This is especially
useful for unnamed kwrest parameter for which we expose the internal
ID curre... -
04:29 AM Revision c4dfd0cc (git): ripper: add kwrest_param parser event
- * parse.y (f_kwrest): Dispatch kwrest_param event. This is especially
useful for unnamed kwrest parameter for which we expose the internal
ID currently. [ruby-core:75528] [Feature #12387]
* test/ripper/dummyparser.rb (on_kwrest_par... -
02:47 AM Bug #13728 (Rejected): How to design websites?
07/20/2017
-
11:34 PM Revision 0055f09b (git): Use `unpack1` instead of `unpack` and `[0]`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:06 PM Bug #13761 (Closed): incomplete format specifier
- No, it's not a bug. Use "%0.0f%%" (double %) instead.
Matz
-
08:49 PM Bug #13761 (Closed): incomplete format specifier
- is it a bug?
```
'%0.0f%' % 45
expected
ruby 2.4.1 => '45%'
actual
ruby trunk => ArgumentError: incomplete format specifier
```
workaround
```
'%0.0f%s' % [45, '%']
=> '45%'
```
```
ruby -v
ruby 2.5.0dev (... -
04:47 PM Revision 93fe0ff2 (git): logger.rb: Fix handling progname
- Because progname was memoized with ||= a logger call that involved
outputting false would be nil. Example code:
logger = Logger.new(STDOUT)
logger.info(false) # => nil
Perform an explicit nil check instead of ||= so that false wil... -
04:29 PM Feature #13665 (Closed): String#delete_suffix
- Applied in changeset trunk|r59377.
----------
string.c: add String#delete_suffix and String#delete_suffix!
to remove trailing suffix [Feature #13665] [Fix GH-1661]
* string.c (rb_str_delete_suffix_bang): add a new method
to remove su... -
04:29 PM Revision 1da64831 (git): NEWS: Add String#delete_suffix and String#delete_suffix!
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:29 PM Revision 3f919fec (git): * 2017-07-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 PM Revision 510957df (git): string.c: add String#delete_suffix and String#delete_suffix!
- to remove trailing suffix [Feature #13665] [Fix GH-1661]
* string.c (rb_str_delete_suffix_bang): add a new method
to remove suffix destuctively.
* string.c (rb_str_delete_suffix): add a new method
to remove suffix non-destuctively.... -
04:25 PM Bug #13760 (Closed): Another iseq_set_sequence: adjust bug 1 < 2
- After some fuzz testing I found a crashing test case.
To reproduce: miniruby ruby_iseq_set_sequence
Context:
~~~
ruby_iseq_set_sequence:3: [BUG] iseq_set_sequence: adjust bug 1 < 2
ruby 2.5.0dev (2017-07-11 trunk 59311) [x86_6... -
04:08 PM Bug #13759 (Closed): SEGV in StringScanner
- ruby -rstrscan -e 's=StringScanner.new("a"); s.getbyte; s[:c]'
-
02:56 PM Bug #13758 (Closed): TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
- Or may be does not segfault properly?
~~~
1) Failure:
TestRubyOptions#test_segv_setproctitle [/builddir/build/BUILD/ruby-2.5.0-r59376/test/ruby/test_rubyoptions.rb:633]:
1. [2/2] Assertion for "stderr"
| Expected /
| ... -
02:53 PM Bug #13757 (Closed): TestBacktrace#test_caller_lev segaults on PPC
- ~~~
[ 3279/17009] TestAutoload#test_threaded_accessing_inner_constant = 0.52 s
[ 3280/17009] TestBacktrace#test_argument_error_backtrace_locations = 0.00 s
[ 3281/17009] TestBacktrace#test_caller_lev/builddir/build/BUILD/ruby-2.5.0-r5... -
11:00 AM Revision 515ac69f (git): Remove dead code
- * eval.c (errinfo_setter): dead for 10 years since r13091.
(rb_rubylevel_errinfo): not used and not exported.
usually removed or hidden by linker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59376 b2dd03c8-39d4-4d8f-98ff-823fe... -
05:48 AM Bug #13756 (Closed): tDSTAR inside of defined causes [BUG]
- Applied in changeset trunk|r59375.
----------
parse.y: empty hash in defined
* parse.y (command): NODE_ARRAY with NULL is invalid. traversal
in defined_expr0 is simplified than iseq_compile_each0.
[ruby-core:82113] [Bug #13756] -
04:05 AM Bug #13756 (Closed): tDSTAR inside of defined causes [BUG]
- Attached script dumps core.
-
05:48 AM Revision 19e687ff (git): parse.y: empty hash in defined
- * parse.y (command): NODE_ARRAY with NULL is invalid. traversal
in defined_expr0 is simplified than iseq_compile_each0.
[ruby-core:82113] [Bug #13756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59375 b2dd03c8-39d4-4d8f-98ff-... -
02:51 AM Bug #13746: windows-pr gemのRuby 2.4 32bit版でのSEGV
- gdbを使ってスタックトレースを取ったところ、以下のスタックトレースが採取できました。
test/tc_segv.rb
```ruby
require 'windows/msvcrt/directory'
class Test
include Windows::MSVCRT::Directory
def test
chdir('..')
end
end
t = Test.new
t.test
```
... -
02:43 AM Bug #13755 (Closed): Null pointer dereference in hash_table_index()
- Applied in changeset trunk|r59374.
----------
compile.c: restore stack at return
* compile.c (iseq_compile_each0): restore the stack depth after
return to the previous depth, to fix the stack depth at
returning from rescue iseq. [... -
02:43 AM Revision 8c5e7c59 (git): compile.c: restore stack at return
- * compile.c (iseq_compile_each0): restore the stack depth after
return to the previous depth, to fix the stack depth at
returning from rescue iseq. [ruby-core:82108] [Bug #13755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59...
07/19/2017
-
11:39 PM Feature #13389: [PATCH] POP3 support timeout for TLS handshake
- naruse (Yui NARUSE) wrote:
> @shugo Could you review this patch?
I've tested and have merged the patch.
Thanks.
-
11:38 PM Feature #13389 (Closed): [PATCH] POP3 support timeout for TLS handshake
- Applied in changeset trunk|r59373.
----------
lib/net/pop.rb: support timeout for TLS handshake
Patch by ahorek (Pavel Rosický). [ruby-core:80490] [Feature #13389] -
11:38 PM Revision ece6c674 (git): lib/net/pop.rb: support timeout for TLS handshake
- Patch by ahorek (Pavel Rosický). [ruby-core:80490] [Feature #13389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:08 PM Bug #13649 (Closed): Net::IMAP doesn't support response from a Microsoft Exchange server (which is not compliant with RFC standards)
- Applied in changeset trunk|r59372.
----------
lib/net/imap.rb: Ignore trailing space for Microsoft Exchange Server
Based on the patch by keysen (Jérémy Carlier).
[ruby-core:81641] [Bug #13649] -
11:08 PM Revision 01658682 (git): lib/net/imap.rb: Ignore trailing space for Microsoft Exchange Server
- Based on the patch by keysen (Jérémy Carlier).
[ruby-core:81641] [Bug #13649]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:59 PM Bug #13280 (Rejected): net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
- MarkDBlackwell (Mark D Blackwell) wrote:
> Just now, I returned to my client's site. I couldn't reproduce the problematic reported behavior, either. (And the Windows and Ruby versions remain unchanged.)
> ...
So I close this issue. Th... -
09:54 PM Feature #10119 (Assigned): [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
-
09:53 PM Feature #13721 (Assigned): [PATCH] net/imap: dedupe attr keys in Net::IMAP::FetchData
-
09:27 PM Feature #12733: Bundle bundler to ruby core
- > I added test-bundler task to my experimental branch.
Thank you for your work on this. Please contact me in the Bundler slack if you have any questions or would like any help with this. I am happy to help fix the tests. - 03:01 PM Revision 02d1c089 (git): * 2017-07-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 29029217 (git): Sort entries [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 PM Revision ae1c9f13 (git): NEWS: Add Hash#transform_keys and Hash#transform_keys!
- [Feature #13583] [ruby-core:81290] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Bug #13755 (Closed): Null pointer dereference in hash_table_index()
- After some fuzz testing I found a crashing test case.
To reproduce: miniruby ruby_null_ptr_hash_table_index
Valgrind Context:
~~~
==945== Memcheck, a memory error detector
==945== Copyright (C) 2002-2015, and GNU GPL'd, by Jul... -
09:50 AM Bug #13754 (Third Party's Issue): bigdecimal with lower precision that Float
- Hello,
I'm not sure if I've misunderstood the bigdecimal class but in the following example, I only get 12 significant digits using bigdecimal while using Float, I get a correct value with 17 significant digits.
~~~ ruby
# using f... -
03:17 AM Bug #13753 (Closed): Segfault when calling `Random::DEFAULT.rand` in forked child
- Applied in changeset trunk|r59368.
----------
random.c: ensure initialized
* random.c (get_rnd, try_get_rnd): ensure initialized to get rid
of crash in forked processes. [ruby-core:82100] [Bug #13753] -
03:16 AM Revision a14cb8ad (git): random.c: ensure initialized
- * random.c (get_rnd, try_get_rnd): ensure initialized to get rid
of crash in forked processes. [ruby-core:82100] [Bug #13753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:16 AM Revision 77f1277e (git): test_rand.rb: improved assert_fork_status
- * test/ruby/test_rand.rb (assert_fork_status): deal with errors
from children.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:04 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- > usa
I got a report for this issue about ruby-build repository.
https://github.com/rbenv/ruby-build/issues/1115
I created a patch for ruby_2_3 branch with gcc7. this patch contains r54158, r57410, r57631 and r57954.
-
02:28 AM Revision 2cc3946d (git): st.c: adjust style
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:35 AM Revision 8c57548d (git): * 2017-07-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:35 AM Revision 0493b1ce (git): revert r59359, r59356, r59355, r59354
- These caused numerous CI failures I haven't been able to
reproduce [ruby-core:82102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/18/2017
-
04:47 PM Bug #13753: Segfault when calling `Random::DEFAULT.rand` in forked child
- The attached patch fixes the issue by re-initialising the random instance such that calls to `Random::DEFAULT.rand` after forking will succeed.
This now gives the same after-fork behaviour as `Random.rand`. Incidentally, there is a c... -
04:33 PM Bug #13753 (Closed): Segfault when calling `Random::DEFAULT.rand` in forked child
- Hi,
The following causes a segfault on 2.3.4, 2.4.1 and current (`ruby 2.5.0dev (2017-07-18 trunk 59362) [x86_64-linux]`)
~~~ ruby
puts "before fork: #{Random::DEFAULT.rand(42)}"
fork do
puts "child: #{Random::DEFAULT.rand(4... -
12:43 PM Bug #13699: Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
- ruby_2_4 r59363 merged revision(s) 59056.
-
12:42 PM Bug #13648: [PATCH] Nested map of Enumerator::Lazy with packed values gives wrong result
- ruby_2_4 r59363 merged revision(s) 59056.
-
12:42 PM Revision f03997d3 (git): merge revision(s) 59056: [Backport #13648] [Backport #13699]
- enumerator.c: fix nested maps
* enumerator.c (lazy_map_proc, lazy_grep_iter_proc): marks values
returned by blocks are not packed in the case of nested maps, so
that the result will be same as non-lazy versio... -
12:37 PM Feature #13726 (Assigned): PATCH: Windows builds - fractional second file times
-
12:37 PM Misc #13702 (Assigned): TZ checking in rb_w32_fstati64()
-
12:36 PM Feature #13731: inode for Windows on ReFS
- 2.5でやりましょう。
-
12:34 PM Bug #13429 (Closed): Net::SMTP has no read timeout when connexion over TLS
- Ok, I'll backport this later.
-
11:28 AM Revision 13155d4d (git): Copy openssl library finder for ext/digest from OpenSSL extention.
- * ext/digest/digest_conf.rb: Support to search variaous filenames of
OpenSSL/LibreSSL libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Bug #13647 (Feedback): Some weird behaviour with keyword arguments
- I couldn't reproduce it with hashie-3.5.6, from 2.0.0 through trunk.
-
10:49 AM Revision e69dd14a (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 AM Revision 2e596f68 (git): descriptive asssertions
- * test/ruby/test_string.rb (test_uplus_minus): prefer more
descriptive asssertions than assert_equal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:52 AM Revision 86e266bb (git): string: preserve taint flag with String#-@ (uminus)
- * string.c (tainted_fstr_update): move up
(rb_fstring): support registering tainted strings
(register_fstring_tainted): extract from rb_fstring_existing0
(rb_tainted_fstring_existing): use register_fstring_tainted instead
git-svn-... -
08:31 AM Bug #13391 (Closed): wrong number of arguments error for Hash#map when lambda given
- Applied in changeset trunk|r59358.
----------
vm_eval.c: rb_lambda_call
* enum.c (enum_collect): make the block arity same as the given
block. [Bug #13391]
* internal.h (vm_ifunc): store arity instead of unused id.
* proc.c (rb_vm... -
08:31 AM Revision 1f67a390 (git): vm_eval.c: rb_lambda_call
- * enum.c (enum_collect): make the block arity same as the given
block. [Bug #13391]
* internal.h (vm_ifunc): store arity instead of unused id.
* proc.c (rb_vm_block_min_max_arity): return ifunc arity.
* vm_eval.c (rb_lambda_call): ... -
07:48 AM Revision 8ffb23c2 (git): proc.c: rb_block_min_max_arity
- * proc.c (rb_block_min_max_arity): new function to get arity range
from the current block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:21 AM Revision 6607266e (git): test/ruby/test_string.rb: ensure we do not have tainted strings
- Trying to figure out [ruby-core:82092]
cf. https://gist.github.com/e2c899c453f3f66e7934095c32505486
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 AM Bug #13752 (Closed): Can't observe sibling refinements
- Sorry in advance if already reported elsewhere, but is this intentional?
```ruby
class Foo
using Module.new {
refine Foo do
def foo
puts "foo"
end
end
}
using Module.new {
refine Foo d... - 04:30 AM Revision 4f473905 (git): newhash insn reuses existing keys
- This gives the newhash VM instruction the same string reuse
capabilities as rb_hash_aset.
* st.c (str_key): new wrapper function to call rb_fstring_existing
(rb_hash_bulk_insert): use str_key
* test/ruby/test_optimization.rb (test_has... -
02:30 AM Bug #13737 (Closed): "can't modify frozen String" when installing bundled gems - Applied in changeset trunk|r59354.
----------
hash: keep fstrings of tainted strings for string keys
The same hash keys may be loaded from tainted data sources
frequently (e.g. parsing headers from socket or loading
YAML data from a fi... - 02:29 AM Revision d04c085b (git): hash: keep fstrings of tainted strings for string keys
- The same hash keys may be loaded from tainted data sources
frequently (e.g. parsing headers from socket or loading
YAML data from a file). If a non-tainted fstring already
exists (because the application expects the hash key),
cache and... -
02:10 AM Feature #13740 (Closed): [PATCH] doc/extension.rdoc: start entries for threading and IO - Applied in changeset trunk|r59353.
----------
doc/extension.rdoc: start documenting threading and IO APIs
This will hopefully be useful for folks writing C extensions.
* doc/extension.rdoc: start documenting threading and IO APIs
[r... - 02:10 AM Revision ed831a6c (git): doc/extension.rdoc: start documenting threading and IO APIs
- This will hopefully be useful for folks writing C extensions.
* doc/extension.rdoc: start documenting threading and IO APIs
[ruby-core:82016] [Feature #13740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59353 b2dd03c8-39d4-4d8f... -
01:59 AM Feature #13729 (Closed): PATCH: Add Server Name Indication (SNI) support to WEBrick - Applied in changeset trunk|r59351.
----------
webrick: fix SNI support
* lib/webrick/https.rb: check ssl context of virtual host.
* lib/webrick/ssl.rb: ensure to return ssl context.
* test/webrick/test_https.rb: test returned cert is c... -
12:00 AM Feature #13729 (Assigned): PATCH: Add Server Name Indication (SNI) support to WEBrick
- 01:59 AM Revision a7b7d403 (git): * 2017-07-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 AM Revision a6c13d08 (git): webrick: fix SNI support
- * lib/webrick/https.rb: check ssl context of virtual host.
* lib/webrick/ssl.rb: ensure to return ssl context.
* test/webrick/test_https.rb: test returned cert is correct.
[Feature #13729][ruby-dev:50173]
Author: Tietew <tietew@gmail....