Project

General

Profile

Activity

From 05/24/2016 to 05/30/2016

05/30/2016

11:28 PM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> Btw, I haven't forgotten about this, just haven't gotten around
> to looking at it, more. But ...
vmakarov (Vladimir Makarov)
03:11 AM Feature #12142: Hash tables with open addressing
Btw, I haven't forgotten about this, just haven't gotten around
to looking at it, more. But I still run it daily f...
normalperson (Eric Wong)
08:12 PM Bug #9569: SecureRandom should try /dev/urandom first
I'm now actively discouraging anyone from ever using the incorrectly-named SecureRandom, in favor of Tony Arcieri's S... sarciszewski (Scott Arciszewski)
03:41 PM Bug #12438 (Closed): OptParse: Short style switch with range does not work
This does not seems to be working:
```
$ irb
irb(main):001:0> require 'optparse'
irb(main):002:0> o = OptionPar...
vo.x (Vit Ondruch)
02:16 PM Bug #12437 (Assigned): Is it "legal" to call collect! in class initializer?
nobu (Nobuyoshi Nakada)
10:43 AM Bug #12437 (Closed): Is it "legal" to call collect! in class initializer?
Is there any reason the following script should not work?
```ruby
#! /usr/bin/ruby
require 'set'
class Cate...
vo.x (Vit Ondruch)
01:32 PM Feature #6647: Exceptions raised in threads should be logged
Koichi Sasada wrote:
> any conclusion?
>
> (2) Thread#report_on_exception = false (default)
> Show exception and...
Eregon (Benoit Daloze)
01:02 PM Bug #6571 (Closed): Time.mktime Y2K38 problem on 1.9.3p125 i386-mingw32
Applied in changeset r55219.
----------
openssl: use NUM2TIMET() to convert Integer to time_t
* ext/openssl/ossl_as...
Anonymous

05/29/2016

01:39 PM Bug #12349 (Closed): Can't load OpenStruct with Syck with Ruby 2.3.x
This has already been reported in #11884, thanks marcandre (Marc-Andre Lafortune)
11:28 AM Bug #12436 (Closed): newline argument of File.open seems not respected on Windows
~~~ruby
File.open("abc", "wt", newline: :lf) { |f|
f.write "a\n"
f.puts "b"
}
~~~
will create a file with...
Eregon (Benoit Daloze)
12:19 AM Bug #9569: SecureRandom should try /dev/urandom first
I've created a new gem which packages the libsodium's "randombytes_sysrandom" as a self-contained RubyGem. It's calle... bascule (Tony Arcieri)
12:15 AM Bug #12434: Marshal.dump does not dump some numbers as Fixnum
Thank you. I should have looked up ruby spec. https://github.com/ruby/spec/blob/master/core/marshal/dump_spec.rb#L40-L48 eitoball (Eito Katagiri)

05/28/2016

11:19 PM Bug #12434 (Rejected): Marshal.dump does not dump some numbers as Fixnum
It is intentionally dumped as a Bignum for marshal data compatibility across architectures.
Current behavior:
`...
nobu (Nobuyoshi Nakada)
12:56 PM Bug #12434 (Rejected): Marshal.dump does not dump some numbers as Fixnum
`Marshal.dump` dumps numbers between 1073741824 and 4294967295 and between -4294967296 and -1073741825 as `Bignum`, b... eitoball (Eito Katagiri)
07:57 PM Feature #12435 (Open): Using connect_nonblock to open TCP connections in Net::HTTP#connect
Hey all, I've got a pull request at https://github.com/ruby/ruby/pull/1370 to start using connect_nonblock to open th... mohamedhafez (Mohamed Hafez)
09:55 AM Feature #12079 (Assigned): Loosening the condition for refinement
hsbt (Hiroshi SHIBATA)
09:43 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I added commit-bit to Kazuki Yamaguchi-san few weeks ago.
Please do apply your proposal by yourself.
hsbt (Hiroshi SHIBATA)
05:07 AM Bug #12327 (Feedback): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
Can you try with Ruby 2.3.1? hsbt (Hiroshi SHIBATA)
05:04 AM Bug #6233 (Closed): Definition of EVP_MD_CTX_cleanup incomplete.
r55162 (openssl: drop OpenSSL 0.9.6/0.9.7 support, 2016-05-25) removed the code. rhenium (Kazuki Yamaguchi)
05:03 AM Bug #12373 (Assigned): Optimize CSV#shift
hsbt (Hiroshi SHIBATA)
05:03 AM Feature #12347 (Assigned): [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
hsbt (Hiroshi SHIBATA)
05:02 AM Bug #12349 (Third Party's Issue): Can't load OpenStruct with Syck with Ruby 2.3.x
Syck is not part of ruby core. Please submit your issue to https://github.com/tenderlove/syck hsbt (Hiroshi SHIBATA)
05:01 AM Bug #12329 (Rejected): Minitest not in the documentation
minitest is extracted from ruby core repository at Ruby 2.1. hsbt (Hiroshi SHIBATA)
05:00 AM Bug #11724 (Closed): SNIでsessionが無効だったときにhostnameがサーバに送られない
Applied in changeset r55191.
----------
openssl: move SSLSocket#initialize to C extension
* ext/openssl/lib/openssl...
Anonymous
04:46 AM Bug #12325 (Feedback): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
Please try with Ruby 2.2.5 or 2.3.1 hsbt (Hiroshi SHIBATA)
04:45 AM Bug #12248 (Closed): Backport rubygems fix from upstream repo for Ruby 2.2.x
hsbt (Hiroshi SHIBATA)
04:44 AM Bug #12258 (Assigned): RDoc bug when handling comments in C code examples
I will pick commits from upstream when it was fixed. hsbt (Hiroshi SHIBATA)
04:39 AM Bug #12207 (Feedback): [BUG] Segmentation fault at 0x00000000000000 ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
Can you try with Ruby 2.2.5 or 2.3.1? hsbt (Hiroshi SHIBATA)
03:44 AM Feature #6647: Exceptions raised in threads should be logged
Here's an implementation in JRuby: https://github.com/jruby/jruby/pull/3937
From the primary commit:
Implement ...
headius (Charles Nutter)
01:08 AM Feature #6647: Exceptions raised in threads should be logged
> (1) Thread#report_on_exception = true
> Show exception and backlog immediately (already proposed)
>
> (2) Threa...
headius (Charles Nutter)
01:41 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
In r55188, I have changed the testing so that it doesn't produce an exception anymore, but just fails a test. However... duerst (Martin Dürst)
01:00 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
Vit Ondruch wrote:
> ```
> /builddir/build/BUILD/ruby-2.4.0-r55184/test/ruby/enc/test_case_comprehensive.rb:25:in...
duerst (Martin Dürst)

05/27/2016

06:58 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
Tom Mornini wrote:
> We'll try it under 2.2.4 and report back.
We actually tested against 2.2.5, and we're seei...
tmornini (Tom Mornini)
07:01 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
With 1.9..trunk, I got same behaviors with both examples, no error with Clayton's and `ThreadError` with James's.
nobu (Nobuyoshi Nakada)
06:39 PM Feature #11098: Thread-level allocation counting
I'd be happy to spin up a gem version of this and see what the difference is. I'll report back once I have some code ... jasonrclark (Jason Clark)
09:12 AM Feature #11098: Thread-level allocation counting
Thank you for your explanation.
After that we need to measure the gem version of this feature.
Can you write it? ...
ko1 (Koichi Sasada)
04:31 PM Bug #12433 (Closed): uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
Trying to run `make check` from latest snapshot, the test suite fails:
```
/builddir/build/BUILD/ruby-2.4.0-r5518...
vo.x (Vit Ondruch)
08:44 AM Feature #6647: Exceptions raised in threads should be logged
any conclusion?
Another idea:
(1) Thread#report_on_exception = true
Show exception and backlog immediately (al...
ko1 (Koichi Sasada)
08:38 AM Bug #12389 (Closed): Module#constants includes non-constants
Applied in changeset r55182.
----------
variable.c: hidden constants
* variable.c (rb_local_constants_i): exclude h...
nobu (Nobuyoshi Nakada)
08:09 AM Bug #12431 (Closed): Strange behavior of String#encode('UTF-8', 'UTF-8', ...) when the encoding of the source string is not UTF-8
Applied in changeset r55181.
----------
transcode.c: scrub in the given encoding
* transcode.c (str_transcode0): sc...
nobu (Nobuyoshi Nakada)
07:13 AM Bug #12432 (Third Party's Issue): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
Seems an issue with unicorn and rcdk gem caused by a system restriction.
I think you should `exec` or `spawn` somewh...
nobu (Nobuyoshi Nakada)

05/26/2016

09:46 PM Bug #12432 (Third Party's Issue): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
Hi all,
I'm Running a server with ruby 2.1.5 with Rails 3.2.21 on Mac OS X El Capitan.
The server works until I t...
hadasl (Hadas Leonov)
09:17 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
James Gray wrote:
> The following code works fine on Ruby 2.2.4
> It raises this error in Ruby 2.3.0
> ThreadErr...
tmornini (Tom Mornini)
06:23 PM Bug #12431 (Closed): Strange behavior of String#encode('UTF-8', 'UTF-8', ...) when the encoding of the source string is not UTF-8
When the dst_encoding and src_encoding options of String#encode are the same, it appears to ignore the encoding given... pdg137 (Paul Grayson)
04:13 PM Feature #12375: Net::HTTP.post
Just a note, I sometimes happen to write Net::HTTPS.open naruse (Yui NARUSE)
05:42 AM Feature #12375: Net::HTTP.post
Shugo Maeda wrote:
> > > * The first argument must be a URI object, but it might be better to accept a String.
> > ...
shugo (Shugo Maeda)
11:48 AM Bug #12055: `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
? ggcampinho (Glauber Campinho)
06:59 AM Misc #12424 (Rejected): Inaccurate example in documentation
nobu (Nobuyoshi Nakada)
06:54 AM Bug #12422 (Assigned): CSV.Table.== fails to check object type
nobu (Nobuyoshi Nakada)
05:25 AM Bug #12428 (Closed): OpenSSL::PKey::RSA.public_encrypt crashes ruby when initiated without key size.
Applied in changeset r55175.
----------
openssl: avoid NULL dereference in {DH,DSA,RSA}_size()
* ext/openssl/ossl_p...
Anonymous
04:49 AM Bug #9569: SecureRandom should try /dev/urandom first
Mike Pastore wrote:
> Yui NARUSE wrote:
> > Mike Pastore wrote:
> > > Yui NARUSE wrote:
> > > > Anyway I'm creati...
naruse (Yui NARUSE)

05/25/2016

09:14 PM Bug #12430 (Closed): Segfault in irb when improperly using coerce in combination with method_missing
Don't ask how or why I wrote this code, but suppose you have a class like this:
~~~
class BrokenNumber
def ini...
sandal (Gregory Brown)
04:52 PM Bug #12429 (Closed): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
/Users/ecleel/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:933: [BUG] Segmentation fault at 0x00000000000000
rub...
ecleel (Abdualziz AlShetwi)
11:32 AM Bug #12428 (Closed): OpenSSL::PKey::RSA.public_encrypt crashes ruby when initiated without key size.
Hi, I think I found a bug. OpenSSL::PKey::RSA initiated without keysize crashes when public_encrypt is called.
Below...
cjeon (CHEOLHO JEON)
09:45 AM Bug #12423 (Closed): Regexp: Heap Buffer Overflow in regparse.c : next_state_value()
Applied in changeset r55163.
----------
* regparse.c (fetch_token_in_cc): raise error if given octal escaped
chara...
naruse (Yui NARUSE)
09:45 AM Bug #12420 (Closed): Regexp: Segfault due to Invalid Read in regparse.c : bbuf_free()
Applied in changeset r55163.
----------
* regparse.c (fetch_token_in_cc): raise error if given octal escaped
chara...
naruse (Yui NARUSE)
08:30 AM Bug #12427 (Feedback): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
https://github.com/ruby/ruby/compare/trunk...nobu:bug/12427-integer-integration
This patch does:
> Concern 1 is t...
nobu (Nobuyoshi Nakada)
07:23 AM Bug #12427 (Closed): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
My gem (msgpack.gem) includes C extension with following pseudo code.
This code is working well with released ruby v...
frsyuki (Sadayuki Furuhashi)
08:11 AM Bug #12426 (Closed): Error when compiling win32ole.c on cygwin
Applied in changeset r55158.
----------
ruby.h: rb_scan_args_validate
* include/ruby/ruby.h (rb_scan_args_validate)...
nobu (Nobuyoshi Nakada)
06:13 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Mike Pastore wrote:
> > Yui NARUSE wrote:
> > > Anyway I'm creating a securerandom.gem which u...
mwpastore (Mike Pastore)
05:12 AM Bug #9569: SecureRandom should try /dev/urandom first
Mike Pastore wrote:
> Yui NARUSE wrote:
> > Anyway I'm creating a securerandom.gem which uses arc4random_buf intern...
naruse (Yui NARUSE)
04:21 AM Bug #12418 (Closed): Regexp: Segfault due to Invalid Read in regerror.c : to_ascii()
Applied in changeset r55154.
----------
* regcomp.c (compile_length_tree): return error code immediately
if compil...
naruse (Yui NARUSE)

05/24/2016

11:28 PM Bug #12426 (Closed): Error when compiling win32ole.c on cygwin
I get the following error when compiling ruby on cygwin:
```
compiling win32ole.c
In file included from win32ole...
duerst (Martin Dürst)
10:23 PM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Anyway I'm creating a securerandom.gem which uses arc4random_buf internally like libressl RAND_b...
mwpastore (Mike Pastore)
04:24 PM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> My private feeling is it's even worse than current situation to copy & paste arc4random sour...
naruse (Yui NARUSE)
07:46 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Shyouhei Urabe wrote:
> > @naruse Do you think it's inadequate for Linux users to fall back to ...
shyouhei (Shyouhei Urabe)
06:43 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> getrandom has some limitations like its max output (33554431), and consumes entropy.
This pro...
delan (Delan Azabani)
05:19 AM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> @naruse Do you think it's inadequate for Linux users to fall back to getrandom(2)? If so, w...
naruse (Yui NARUSE)
08:52 PM Bug #12425 (Closed): encoding string to UTF-16 is causing a segfault
While trying to create a Yaml file in UTF-16 format for testing I found that with the attached script ruby dies with ... ericldelaney (Eric Delaney)
08:06 PM Misc #12424 (Rejected): Inaccurate example in documentation
in https://github.com/ruby/ruby/blob/ffb34cce89c63d43e2ae6a5c3956489fd3c5c4c7/ext/date/date_core.c#L9478
* ...
ja (JoseAlberto Suarez)
06:02 PM Bug #12423 (Closed): Regexp: Heap Buffer Overflow in regparse.c : next_state_value()
A crafted regular expression will cause a heap buffer overflow leading to invalid 4 byte reads/writes on 32-bit Ubunt... grajagandev (David Moore)
04:17 PM Bug #12422 (Closed): CSV.Table.== fails to check object type
`CSV::Table`'s equality method presumes it is comparing another `CSV::Table`. It fails when the object to be compared... robotfelix (Felix Kenton)
03:29 PM Bug #12421 (Closed): Please backport r53816, r53817
Since there was request to fix this issue on RHEL7 [1], which ships Ruby 2.0.0 and the fix was applied just to trunk,... vo.x (Vit Ondruch)
01:42 PM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
Ernest Prabhakar wrote:
> =begin
> http://ruby-doc.org/stdlib/libdoc/benchmark/rdoc/classes/Benchmark/Tms.html#M00...
cjeon (CHEOLHO JEON)
01:38 PM Bug #12420 (Closed): Regexp: Segfault due to Invalid Read in regparse.c : bbuf_free()
A crafted regular expression will cause an invalid 4 byte read on 32-bit Ubuntu 14.04. The regular expression fails t... grajagandev (David Moore)
08:26 AM Feature #12419 (Closed): Improve String#dump for Unicode output (from "\u{130}" to "\u0130")
Currently, `"İİİ".dump` produces `"\u{130}\u{130}\u{130}"`.
This is rather suboptimal, `"\u0130\u0130\u0130"` is s...
duerst (Martin Dürst)
08:11 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
We have a system where
* Ruby 1.8.7-p374 is installed system wide from distribution packages
* There is a user se...
onur (Onur Küçük)
07:49 AM Bug #12409 (Closed): -fexcess-precision=standard is making it hard to compile my gem
Applied in changeset r55142.
----------
* configure.in (ruby_cflags): separate from optflags [Bug #12409]
-fexcess...
naruse (Yui NARUSE)
07:41 AM Bug #12409: -fexcess-precision=standard is making it hard to compile my gem
Don't change Backport field.
add description about backport field: https://bugs.ruby-lang.org/projects/ruby/wiki/H...
naruse (Yui NARUSE)
05:54 AM Feature #12403: Optimise Regexp#match?
Sam Saffron wrote:
> Naruse, I see this was reverted? any way to get rb_scan_args inlined it would be beneficial eve...
naruse (Yui NARUSE)
 

Also available in: Atom