Project

General

Profile

Activity

From 06/21/2011 to 06/27/2011

06/27/2011

11:58 PM Bug #4937 (Closed): trunk@32244 MinGW build failure - thread_win32.c
The signature of `native_stop_timer_thread` at
https://github.com/ruby/ruby/blob/trunk/thread_win32.c#L748
conflicts with it's usage by `rb_thread_stop_timer_thread` at
https://github.com/ruby/ruby/blob/trunk/thread.c#L2...
jonforums (Jon Forums)
11:38 PM Revision 1f2478a7 (git): * dir.c: Make RDoc more precise about order of Dir.glob
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:01 PM Bug #3880 (Feedback): Ruby 1.9.1 - crash in timeout.rb
Hi Elvita, sorry for late response. We're planning 1.9.3 release soon and we want to know if it still causes SEGV or not.
I installed RubyInstaller (ruby 1.9.2p180 (2011-02-18) [i386-mingw32]) and DevKit on Windows 7 64bit, then insta...
nahi (Hiroshi Nakamura)
10:51 PM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
Version concerns aside, do any mods need to be made, or does it appear to be OK as-is? jonforums (Jon Forums)
04:10 PM Feature #4906 (Assigned): rb_w32_add_socket / rb_w32_remove_socket
1.9.3 feature is already freezed.
Wait next version, sorry.
usa (Usaku NAKAMURA)
10:51 PM Revision 0de3c24e (git): * object.c (Init_Object): Teach RDoc what Init_class_hierarchy does to
hook up ri for BasicObject, Object, Module and Class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:24 PM Feature #4936 (Closed): Android標準ブラウザに対してWEBrickのDigest認証を行った際の挙動
Android標準ブラウザはDigest認証時に、Authorizationリクエストヘッダで「algorithm=MD5」と送るべきところを「algorithm=md5」としてしまう(小文字で送ってしまう)ため、WEBrickではアルゴリズム不一致として認証に失敗します。
クライアント側のバグではありますが、WEBrickの側で「OperaHack」のような対応はできないでしょうか。
blueday (blue day)
08:23 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Yes, I'll look into it! MartinBosslet (Martin Bosslet)
08:09 PM Revision 4a42dda4 (git): * thread.c (rb_thread_local_aref): RDoc fix. Thread#[] example
had a race. See #4480.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
07:23 PM Bug #4045: build error on mswin
こんにちは、なかむら(う)です。

In message "[ruby-dev:43962] Re: [Ruby 1.9 - Bug #4045][Closed] build error on mswin"
on Jun.27,2011 16:45:16, <kosaki.motohiro@jp.fujitsu.com> wrote:
> 便乗質問させてください。僕は32bit mswin でこの現象を観測したことないのですが
> 64bi...
usa (Usaku NAKAMURA)
07:23 PM Bug #4045: build error on mswin
こんにちは、なかむら(う)です。

In message "[ruby-dev:43962] Re: [Ruby 1.9 - Bug #4045][Closed] build error on mswin"
on Jun.27,2011 16:45:16, <kosaki.motohiro@jp.fujitsu.com> wrote:
> 便乗質問させてください。僕は32bit mswin でこの現象を観測したことないのですが
> 64bi...
usa (Usaku NAKAMURA)
04:18 PM Bug #4045 (Closed): build error on mswin
その後起きたり起きなかったり。
2週間ほど見てないけど、直ったのかどうかもよくわからない。
なんかよくわからんのでいったんクローズしておきます。
usa (Usaku NAKAMURA)
07:11 PM Feature #4893: Literal Instantiation breaks Object Model
Not sure about IBM737 but yes, 1.9.3 branch will be created from trunk. shyouhei (Shyouhei Urabe)
06:47 PM Feature #4893: Literal Instantiation breaks Object Model
I'd like to test the modification against the sources which are to become 1.9.3 (and which contain the IBM737 transcoder). Would this be "trunk"?
lazaridis.com (Lazaridis Ilias)
06:36 PM Revision 801bac09 (git): Temporary hack for SIGILL of miniruby on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:28 PM Bug #4332 (Feedback): Some seemingly random segfaults
Meh, sorry for late response.
I tried failircd with the latest ruby (1.9.3dev of today) but it seems to work with 1 or 2 clients. I don't have a way to run multiple IRC clients on my machine... And according to the source, it uses op...
nahi (Hiroshi Nakamura)
04:53 PM Bug #4611: [BUG] Segementation fault reported
On Mon, Jun 27, 2011 at 11:32, Hiroshi Nakamura <nakahiro@gmail.com> wrote:
>> could you attach a crash log in ~/Library/Logs/CrashReporter ?
>
> Shota, do you mind helping us to add above notification to crash log
> reporter of...
nahi (Hiroshi Nakamura)
11:53 AM Bug #4611: [BUG] Segementation fault reported
Hi,

On Tue, Apr 26, 2011 at 02:40, Shota Fukumori <sorah@tubusu.net> wrote:
> Issue #4611 has been updated by Shota Fukumori.

> could you attach a crash log in ~/Library/Logs/CrashReporter ?

Shota, do you mind helping u...
nahi (Hiroshi Nakamura)
04:34 PM Bug #3976 (Third Party's Issue): ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation fault
It looks like ruby-debug19 issue. Please see https://redmine.ruby-lang.org/issues/3826#note-6
I close this as duplicated.
nahi (Hiroshi Nakamura)
04:31 PM Bug #3826: Repeatable SEGV(seg fault) with ruby-debug19/ruby-debug-ide
I'll point ruby-debug19/ruby-debug-ide19 issues to this.
* Please check the version of ruby-debug19, and try the latest gem if available.
* Please consult with ruby-debug19 maintainer: https://github.com/mark-moseley/ruby-debug/wik...
nahi (Hiroshi Nakamura)
04:26 PM Revision bb638476 (git): * ext/bigdecimal/bigdecimal.c (BigMath_s_log): move BigMath.log from
bigdecimal/math.rb.
* ext/bigdecimal/lib/bigdecimal/math.rb: ditto.
* test/bigdecimal/test_bigdecimal.rb: move test for BigMath.log from
test/bigdecimal/test_bigmath.rb.
* test/bigdecimal/test_bigmath.rb: ditto.
git-svn-id: svn+ssh://...
Kenta Murata
04:23 PM Bug #4480: Thread-local variables issue: Thread#[] returns nil when called first time
On Sun, Jun 26, 2011 at 20:12, SASADA Koichi <ko1@atdot.net> wrote:
> It seems intentional.  When the first access, the Thread.current[:var]
> is not initialized (not reached the initialization code).

You're right. I took this tic...
nahi (Hiroshi Nakamura)
04:20 PM Revision 576b4416 (git): * lib/irb/ruby-lex.rb: fix [Bug #4232].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
04:13 PM Bug #3323 (Closed): Spawning process on unicode path is not supported on windows
fixed at r29166. usa (Usaku NAKAMURA)
04:08 PM Bug #2137 (Closed): Dir.glob does not support unicode on Windows
p Dir.glob('*'.force_encoding('utf-8')).first.encoding #=> #<Encoding:UTF-8> usa (Usaku NAKAMURA)
04:04 PM Bug #4404 (Rejected): Make Dir.glob respect backslash as if slash in windows
\ in glob parameter has special meaning.
So, we can't treat it as directory separator.
This is described in RDoc of Dir#[].
usa (Usaku NAKAMURA)
03:42 PM Revision bad9f407 (git): * NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:42 PM Revision 3f5e567a (git): * random.c: Documentation fix for Random#bytes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:18 PM Revision 190bc7ae (git): fix [Bug #4409]. add DRbServer#here?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
03:10 PM Revision eda3f1be (git): * 2011-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision f3eed6a7 (git): * lib/irb/workspace.rb: fix BUG#4793.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
02:54 PM Bug #3198 (Rejected): O_APPEND for redirect fd is ignored on windows
なぜかartonさんに割り当てられてるけど勝手に分捕ります。
で、「仕様」ということで今回はreject。
なんか新しい解決策を誰かが思いついたらまた考えましょう。
# 子プロセスをsuspend状態で作ってremote thread注入して、というのが
# 今突然ひらめいたけどもちろんやらない。
usa (Usaku NAKAMURA)
01:10 PM Revision 3639736d (git): * thread_pthread.c (consume_communication_pipe): don't use C99
style variable length array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:05 PM Revision f8cc7796 (git): * thread_pthread.c (consume_communication_pipe): change return
type to void. caller doesn't use it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:02 PM Bug #4008: Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
Here's a summary of crash.log: https://gist.github.com/1048296
As nobu said, infinite recursion should be the cause.
mike, would you please contact to declarative_authorization author for help?
Sasada-san, please close this ticket...
nahi (Hiroshi Nakamura)
01:02 PM Bug #4157 (Assigned): test_pty で、たまに出る Failure
いやいや、再現するならreopenしましょうよ。closeされたチケットを追っかけてくれる人が
この世にいるだろうか(反語)
というわけで Kishimotoさんアサインでリザレクトします。
kosaki (Motohiro KOSAKI)
12:18 PM Bug #4157: test_pty で、たまに出る Failure
すいません。かなり頻度は低くなっているようなのですが、while make test-all TESTS="test_pty.rb" ; do : ; done をしばらく(100回ほどやってみると最長で3分ほど)動かしてみるとやはり trunk(r32037)でも起きました
ステータスそのままでいいと思いますが、一応報告します
metanest (Makoto Kishimoto)
12:59 PM Revision d647b535 (git): * thread_pthread.h (rb_global_vm_lock_struct): add volatile to
gvl->waiting. now thread_timer() access it w/o lock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:18 PM Revision ea3da57e (git): * thread_pthread.c: s/__gvl_acquire/gvl_acquire_common/ and
s/__gvl_release/gvl_release_common/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:31 AM Feature #4935: Quoted Label Form for 1.9 Hashes
Sorry, meant to list this as a feature. Test attached. adgar (Michael Edgar)
11:28 AM Feature #4935 (Closed): Quoted Label Form for 1.9 Hashes
As discussed in the "Shorthand Hash Syntax for Strings" thread/feature request, several (including Matz) expressed interest in a parallel quoted form for the 1.9 label syntax:
{ foo: bar }
{ 'only-19': true }

x = "hello"
...
adgar (Michael Edgar)
10:48 AM Feature #4891: Vector#normalize
=begin
Just for curiosity's sake, what is expected from Vector[0,0,0].normalize ?
* ((<WolframAlpha|URL:http://www.wolframalpha.com/input/?i=normalize+%280%2C0%2C0%29>)) says: the zero vector cannot be normalized.
* The patch gives ...
sakuro (Sakuro OZAWA)
07:53 AM Bug #4934: winsock listen backlog may only be set once, and is set to 5
Here is a patch to set the default value to 1024. ghazel (Greg Hazel)
07:22 AM Bug #4934: winsock listen backlog may only be set once, and is set to 5
Also set on win32 in ruby for socketpair here:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/win32/win32.c?view=markup&pathrev=27529#l3365
ghazel (Greg Hazel)
07:19 AM Bug #4934 (Closed): winsock listen backlog may only be set once, and is set to 5
This is commonly observed as a bug in Windows servers, where under light load clients begin to get ECONNREFUSED. This occurs even if the listen backlog is set to a high value, like 1024. The bug is that Ruby sets the value to 5 on creati... ghazel (Greg Hazel)
07:29 AM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
 ささだです.

(2011/06/26 16:19), Kazuki Tsujimoto wrote:
> ちなみに、ポストしたパッチはキャッシュヒット率を向上させる面もあるので
> 別途取り込みを検討していただければと思います。
>
> 現在の実装では、以下のコードでのm呼び出しによる@ivへのアクセスはいずれもキャッシュミスしますが、
> パッチを当てると初回のo0.m以外はキャッシュヒットするようになります。

 この話は...
ko1 (Koichi Sasada)
07:29 AM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
 ささだです.

(2011/06/26 16:19), Kazuki Tsujimoto wrote:
> ちなみに、ポストしたパッチはキャッシュヒット率を向上させる面もあるので
> 別途取り込みを検討していただければと思います。
>
> 現在の実装では、以下のコードでのm呼び出しによる@ivへのアクセスはいずれもキャッシュミスしますが、
> パッチを当てると初回のo0.m以外はキャッシュヒットするようになります。

 この話は...
ko1 (Koichi Sasada)
03:23 AM Feature #4553: Add Set#pick and Set#pop
Any update on this? It seems like a reasonable hole to fill in Ruby 1.9.3. adgar (Michael Edgar)
02:45 AM Revision c32869df (git): Addtitional fix for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:43 AM Revision 657e9e28 (git): * thread_pthread.c (rb_thread_create_timer_thread):
the type of retrun value of write(2) is ssize_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:08 AM Bug #3022: What are $. and ARGF.lineno ?
Perl actually keeps a separate document to explain these variables, 'Perlvar' http://perldoc.perl.org/perlvar.html steveklabnik (Steve Klabnik)
02:04 AM Bug #4930: $prefix/lib/ruby/gems and its subdirs are world writable
=begin
Or simply add (({File.umask(022)})) before calling (({Gem.ensure_gem_subdirectories})) in tool/rbinstall.rb.
=end
sakuro (Sakuro OZAWA)
01:31 AM Bug #4930: $prefix/lib/ruby/gems and its subdirs are world writable
=begin
Patch attached.
Tested on OSX. I'm sorry I don't know how permission stuff works on Windows:)
=end
sakuro (Sakuro OZAWA)
01:59 AM Bug #1650: Time range === is slow
Ah bug I pointed out in ruby-core:8609
currently there is following error.
-:1:in `each': can't iterate from Time (TypeError)
from -:1:in `include?'
from -:1:in `include?'
from -:1:in `==='
from -:1:in `<main>'

Anyw...
neleai (Ondrej Bilka)
01:42 AM Feature #4917: `NilClass#to_ary`
This minor performance issue becomes a huge problem when NilClass#method_missing is defined, such as in ActiveSupport (https://github.com/rails/rails/blob/master/activesupport/lib/active_support/whiny_nil.rb), which is a popular choice w... y_feldblum (Jay Feldblum)
01:34 AM Bug #3683 (Closed): getgrnam on computer with NIS group (+)?
This issue was solved with changeset r32242.
Rocky, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/etc/test_etc.rb (TestEtc#test_get{pw,gr}nam): skip entrie...
nobu (Nobuyoshi Nakada)
12:59 AM Revision f18cf4f0 (git): * thread_pthread.c (rb_thread_create_timer_thread):
Fixes missing initialization of oflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:55 AM Feature #4142 (Closed): multipart/form-data for net/http
r32241 で書きました。 naruse (Yui NARUSE)
12:50 AM Bug #4844 (Feedback): RVM crash while running resque worker pool
It is not a reproducible code. naruse (Yui NARUSE)
12:45 AM Bug #4511 (Closed): Ripper#end_seen? の戻り値に関するコメント
This issue was solved with changeset r32239.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (rb_parser_end_seen_p): fix documentation about return
...
naruse (Yui NARUSE)
12:45 AM Bug #4847 (Closed): Documentation Error for Hash#reject
This issue was solved with changeset r32238.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* hash.c (rb_hash_reject): add documentation that Hash#reject
...
naruse (Yui NARUSE)
12:39 AM Bug #4700 (Feedback): JSON Documentation
https://github.com/flori/json/issues/79 naruse (Yui NARUSE)
12:38 AM Bug #4223: GC.stress = true で謎の ArgumentError
うーん、UFSでもZFSでも再現しなくて謎なので、再現できる岸本さんが頑張ってください naruse (Yui NARUSE)
12:30 AM Revision d1d5d5e7 (git): * thread_pthread.c: Stop polling in the timer thread when there are
no waiting thread. If there are 2 or more runnable threads,
the timer thread does polling. Avoid polling makes power save
for several computers (0.2W per a Ruby process, when I measured).
If outside-event such as signal or Thread...
ko1 (Koichi Sasada)
12:20 AM Bug #4438: rescue args type check omitted
=begin
Right now, the current behavior simply calls (({===})) on whichever handlers are listed; this
results in interesting possibilities ((<I briefly explored on my blog|URL:http://carboni.ca/blog/p/Ruby-Did-You-Know-That-2-Exception-...
adgar (Michael Edgar)

06/26/2011

11:57 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Martin, can you handle this? Original reporter said that verify_cb does not use rb_protect to invoke a callback so an error raised from the callback passed directly to Ruby interpreter. Proposed patch looks good but we should check the r... nahi (Hiroshi Nakamura)
06:12 PM Bug #4445 (Assigned): ext/openssl の verify_callback が rb_protect で保護されていない
naruse (Yui NARUSE)
11:54 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
I'm particularly worried if current documentation of WeakRef states it is currently unreliable until this can be fixed.
I mean, 1.9.3 should change the documentation to reflect this issue so people know they shouldn't use it, while ke...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:44 PM Feature #4168 (Open): WeakRef is unsafe to use in Ruby 1.9
I have to say this is an open problem. No one is responding comment # 43. shyouhei (Shyouhei Urabe)
04:35 PM Feature #4168 (Assigned): WeakRef is unsafe to use in Ruby 1.9
naruse (Yui NARUSE)
11:53 PM Feature #3793: No test for OpenSSL::PKCS12
Hiroshi Nakamura wrote:
> Martin, thank you for your concern. I'll change 'Assignee' of ext/openssl tickets to you. Please send those ticket back to me as you like.
Ok, thanks! Once we're done with the tickets and reach the code free...
MartinBosslet (Martin Bosslet)
11:41 PM Feature #3793: No test for OpenSSL::PKCS12
Martin, thank you for your concern. I'll change 'Assignee' of ext/openssl tickets to you. Please send those ticket back to me as you like.
For this ticket, Aaron added test_pkcs12.rb IIRC so you should be able to close it soon.
nahi (Hiroshi Nakamura)
10:48 PM Feature #3793: No test for OpenSSL::PKCS12
Hiroshi, I could take this if you'd like?
I'm basically through with 1.9.3 issues assigned to me, please let
me know how I can help further for the upcoming release!
Regards,
Martin
MartinBosslet (Martin Bosslet)
11:01 PM Revision 8ce62003 (git): * ext/date/date_parse.c: should use ALLOCA_N.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:43 PM Bug #4325 (Closed): [ext/openssl] Encoding of subclasses fails when it shouldn't
I agree to wait until this causes problems for anyone. The current solution seems fine for now. MartinBosslet (Martin Bosslet)
10:39 PM Bug #4931 (Assigned): debug.rbでvarコマンドを実行するとTypeErrorで落ちる
nahi (Hiroshi Nakamura)
10:17 PM Bug #4931 (Closed): debug.rbでvarコマンドを実行するとTypeErrorで落ちる
=begin
辻本です。
debug.rbをロードしてvarコマンドを実行すると例外を吐いて落ちます。
$ ./ruby -Ilib -rdebug -e '0'
Debug.rb
Emacs support available.

-e:1:0
(rdb:1) var g
/home/k_tsj/work/ruby-trunk/lib/debug.rb:150:in `eval': can't convert Symbol in...
ktsj (Kazuki Tsujimoto)
08:23 PM Bug #4480: Thread-local variables issue: Thread#[] returns nil when called first time
(2011/06/26 18:24), Yui NARUSE wrote:
> In ruby 1.9.2p180
> t = Thread.new do
> Thread.current[:var] = "var"
> Thread.stop
> end
>
> p t[:var] #=> nil
> p t[:var] #=> "var"
>
> In ruby 1.8.7
> p t[:va...
ko1 (Koichi Sasada)
06:24 PM Bug #4480 (Assigned): Thread-local variables issue: Thread#[] returns nil when called first time
naruse (Yui NARUSE)
08:06 PM Feature #4893: Literal Instantiation breaks Object Model
Lazaridis Ilias wrote:
[...]
> I've to call "initialize" from "rb_str_new" instead from "str_new".
> ...
The v2 patch works on my site, tested with "nmake test" whilst adding a String running_counter (see file "bootstraptest_runner_ad...
lazaridis.com (Lazaridis Ilias)
06:36 PM Feature #4893: Literal Instantiation breaks Object Model
Lazaridis Ilias wrote:
> John Higgins wrote:
> ...
Seems you were right, essentially it does not work (only in my small scope test)
> The error occurs when "rb_str_new_frozen" is used to create the string internally. Will look into ...
lazaridis.com (Lazaridis Ilias)
04:54 PM Feature #4893: Literal Instantiation breaks Object Model
John Higgins wrote:
> The patch doesn't work....
The basic functionality works (see a simple test StringInit.rb), although there's work to do for a final version.
Remember that this is a draft version, mainly to demonstrate how it...
lazaridis.com (Lazaridis Ilias)
12:56 PM Feature #4893: Literal Instantiation breaks Object Model
Actually I stand slightly corrected - require/load seems to work on the empty file - but require_relative does not.
I apologize for the slightly misleading report.
wishdev (John Higgins)
12:43 PM Feature #4893: Literal Instantiation breaks Object Model
The patch doesn't work....
The 'strings.rb' file I believe is about as simple as we can get. The 'empty_file' attempted to be required in the file is just that - a completely empty file with nothing in it at all.
ruby strings.rb yi...
wishdev (John Higgins)
11:39 AM Feature #4893 (Assigned): Literal Instantiation breaks Object Model
OK, Ilias did his homework. It's your move matz. Though I don't like the call_initialize= thing (thread unsafe), the idea of calling initialize at string creation is clearly explained in the patch. I think it's worth considering. shyouhei (Shyouhei Urabe)
11:01 AM Feature #4893: Literal Instantiation breaks Object Model
Yukihiro Matsumoto wrote:
> Your request has been too vague for me. Your definition of terms such as "object model" seems different from others. Probably the code will tell what you want. I will reopen this issue when a patch is post...
lazaridis.com (Lazaridis Ilias)
11:01 AM Feature #4893: Literal Instantiation breaks Object Model
Deleted by myself, duplicate post. lazaridis.com (Lazaridis Ilias)
07:54 PM Bug #4062: "gem uninstall" does not honor --program-suffix
=begin
Following tests appear to test this feature.
* source:test/rubygems/test_gem_uninstaller.rb#L91
* source:test/rubygems/test_gem_commands_uninstall_command.rb#L59
But these files require 'rubygems/installer_test_case.rb' which ...
sakuro (Sakuro OZAWA)
05:19 PM Bug #4062: "gem uninstall" does not honor --program-suffix
=begin
Reproducible with r32231.
Environment setup.
$ ruby-r32231 -v
ruby 1.9.3dev (2011-06-26 trunk 32231) [x86_64-darwin10.8.0]
$ mv ~/.gemrc ~/.gemrc.hidden
$ mv ~/.gem ~/.gem.hidden

Install a gem with suffix.
$ gem-r32231 ins...
sakuro (Sakuro OZAWA)
04:22 PM Bug #4062 (Assigned): "gem uninstall" does not honor --program-suffix
naruse (Yui NARUSE)
07:49 PM Bug #4561 (Closed): 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
ko1 (Koichi Sasada)
07:31 PM Bug #3080: class_variable_set issue with duped Module
Let's discuss after 1.9.3. Sorry.
ko1 (Koichi Sasada)
02:52 PM Bug #3080 (Assigned): class_variable_set issue with duped Module
naruse (Yui NARUSE)
07:31 PM Bug #4769: Updated SMTP standards
Net::SMTP has no maintainer. naruse (Yui NARUSE)
07:29 PM Bug #982: stack level too deep for long Array initialization
すみません,1.9.3 の後の課題とさせて下さい.
ko1 (Koichi Sasada)
07:26 PM Bug #4029 (Rejected): Stack consistency error (sp: 7, bp: 8) using external libs
Is it reproducible? If so, we'll reopen it. ko1 (Koichi Sasada)
04:10 PM Bug #4029 (Assigned): Stack consistency error (sp: 7, bp: 8) using external libs
Do you have any information? naruse (Yui NARUSE)
07:21 PM Bug #4930: $prefix/lib/ruby/gems and its subdirs are world writable
I confirmed this on FreeBSD... naruse (Yui NARUSE)
07:20 PM Bug #4930 (Assigned): $prefix/lib/ruby/gems and its subdirs are world writable
naruse (Yui NARUSE)
06:43 PM Bug #4930 (Closed): $prefix/lib/ruby/gems and its subdirs are world writable
=begin
$ sudo rm -rf /usr/local/lib/ruby
$ umask
022
$ sudo sh -c umask
0022
$ sudo make install-nodoc
./miniruby -I../lib -I. -I.ext/common ../tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --ma...
sakuro (Sakuro OZAWA)
07:17 PM Bug #4926 (Assigned): --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
naruse (Yui NARUSE)
04:19 PM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
=begin
辻本です。
すみません、vm_clear_all_inline_method_cacheの動きについては勘違いしていました。
ちなみに、ポストしたパッチはキャッシュヒット率を向上させる面もあるので
別途取り込みを検討していただければと思います。
現在の実装では、以下のコードでのm呼び出しによる@ivへのアクセスはいずれもキャッシュミスしますが、
パッチを当てると初回のo0.m以外はキャッシュヒットするようになります。
cla...
ktsj (Kazuki Tsujimoto)
10:53 AM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
 ささだです.

 なかなか見つけづらいバグを見つけて頂いてありがとうございます.

 この問題は,vm_clear_all_inline_method_cache() が未実装だから,という
理由 *ではなく*,単に vm_getivar() が vm state を見ていないから,ではな
いかと思っています.そもそも,なんで見てないのか,記憶が確かではないんで
すが....

 vm_method_search() で行っている...
ko1 (Koichi Sasada)
10:53 AM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
 ささだです.

 なかなか見つけづらいバグを見つけて頂いてありがとうございます.

 この問題は,vm_clear_all_inline_method_cache() が未実装だから,という
理由 *ではなく*,単に vm_getivar() が vm state を見ていないから,ではな
いかと思っています.そもそも,なんで見てないのか,記憶が確かではないんで
すが....

 vm_method_search() で行っている...
ko1 (Koichi Sasada)
10:31 AM Bug #4926: --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
=begin
辻本です。
自己レスです。
チケット登録してから気づいたのですが、これは本質的にはvm_clear_all_inline_method_cacheを
実装しないといけないという話でした。
vm.c=63=static void
vm.c:64:vm_clear_all_inline_method_cache(void)
vm.c-65-{
vm.c-66- /* TODO: Clear all inline cache...
ktsj (Kazuki Tsujimoto)
02:44 AM Bug #4926 (Closed): --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
=begin
辻本です。
--gc-stressオプションをつけてtest/ruby/enc/test_emoji.rbを実行するとテストに失敗します。
$ make RUBYOPT=-W TESTS='ruby/enc/test_emoji.rb --gc-stress' test-all
/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:154: warning: instance v...
ktsj (Kazuki Tsujimoto)
07:15 PM Bug #4925 (Assigned): Infinite recursion allowed in rescue clause
naruse (Yui NARUSE)
07:11 PM Bug #4882 (Assigned): Delegator#methods should accept the singleton flag argument
naruse (Yui NARUSE)
07:10 PM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
Let's talk it after 1.9.3 release.
ko1 (Koichi Sasada)
07:09 PM Bug #4875 (Assigned): Segmentation fault in http.rb
naruse (Yui NARUSE)
07:07 PM Bug #4847 (Assigned): Documentation Error for Hash#reject
naruse (Yui NARUSE)
07:06 PM Bug #4844 (Assigned): RVM crash while running resque worker pool
naruse (Yui NARUSE)
07:05 PM Bug #4623 (Feedback): Consistent crash related to action_mailer
nahi (Hiroshi Nakamura)
06:50 PM Bug #4623 (Assigned): Consistent crash related to action_mailer
naruse (Yui NARUSE)
07:05 PM Bug #4613 (Assigned): define_method lacks trace events
Please close it. nahi (Hiroshi Nakamura)
07:03 PM Bug #4821 (Assigned): Random Segfaults (in start_thread?)
naruse (Yui NARUSE)
06:59 PM Bug #4537: Incorrectly creating private method via attr_accessor
Behavior: It inherits current visibility (visibility of top-level is "private"). 1.8 also causes an exception. It seems to be a spec.
However, the following code:
```ruby
::String.send(:define_method, :x=){|v|}
s = ''
s.x = 10...
ko1 (Koichi Sasada)
06:45 PM Bug #4537 (Assigned): Incorrectly creating private method via attr_accessor
naruse (Yui NARUSE)
06:58 PM Bug #4681 (Assigned): Timeout.timeout doesn't actually time out?
naruse (Yui NARUSE)
06:55 PM Bug #4675 (Third Party's Issue): rails script/server abort trap [BUG] Segmentation fault
It seems mongrel's issue. naruse (Yui NARUSE)
06:54 PM Bug #4673 (Feedback): URI::Generic registry is not properly set.
naruse (Yui NARUSE)
06:52 PM Bug #4651 (Closed): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
naruse (Yui NARUSE)
12:43 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
this seems to be fixed in trunk by https://github.com/ruby/ruby/commit/be953b4d1ce3f0dfc7f24c84ec7a51e027102557
(tested with the latest XCode Beta, Version 4.2 (4C114))
the commit applies cleanly on ruby_1_9_2 and also fixes `mak...
levinalex (Levin Alexander)
06:49 PM Bug #4611 (Assigned): [BUG] Segementation fault reported
naruse (Yui NARUSE)
06:47 PM Bug #4594 (Rejected): Don't depend on extension automagic
naruse (Yui NARUSE)
06:46 PM Bug #4546 (Assigned): ruby-indent-beg-re の値が壊れている
naruse (Yui NARUSE)
06:43 PM Bug #4533 (Assigned): rake db:migrate ----Segmentation fault
naruse (Yui NARUSE)
06:41 PM Bug #4525 (Assigned): Exponential performance when summing Enumerable
naruse (Yui NARUSE)
06:39 PM Bug #4403 (Assigned): require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
nahi (Hiroshi Nakamura)
06:37 PM Bug #4517 (Feedback): ArgumentError when sorting array of objects
naruse (Yui NARUSE)
06:36 PM Bug #4511 (Assigned): Ripper#end_seen? の戻り値に関するコメント
naruse (Yui NARUSE)
06:35 PM Bug #4501 (Feedback): 1.9.2-p180 fails to compile on OSX 10.7
Is this still reproducible? naruse (Yui NARUSE)
06:33 PM Bug #4492 (Assigned): Segfault on successive stack overflows
naruse (Yui NARUSE)
06:31 PM Bug #4490 (Assigned): struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.
naruse (Yui NARUSE)
06:30 PM Bug #4488 (Feedback): Segmentation fault when calling new (or in rspec)
Would you show a reproducible code? naruse (Yui NARUSE)
06:27 PM Bug #4487 (Assigned): require_relative fails in an eval'ed file
naruse (Yui NARUSE)
06:24 PM Bug #4485 (Assigned): Gem.bin_path('rake') does not return the path of the system-installed rake
naruse (Yui NARUSE)
06:21 PM Bug #4478 (Rejected): hash order preservation fails on 64bit machine
1.9.0 is too old (and this is pre released one) and obsoleted.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
06:18 PM Bug #4472 (Third Party's Issue): mongrel on Windows XP
It looks like mongrel's issue. naruse (Yui NARUSE)
06:14 PM Bug #4458 (Assigned): Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
naruse (Yui NARUSE)
06:13 PM Bug #4457 (Assigned): Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
naruse (Yui NARUSE)
06:11 PM Bug #4438 (Assigned): rescue args type check omitted
naruse (Yui NARUSE)
06:10 PM Bug #4437 (Feedback): Hash does not match character read from file via IO#getc
I can't reproduce this with 1.9.2p188 on FreeBSD.
Can you reproduce with p180 (or latest ruby_1_9_2 branch)?
naruse (Yui NARUSE)
06:09 PM Bug #3456 (Closed): bisarre comma
This issue was solved with changeset r32235.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y: comma at the end of line is no longer allowed.
A...
shyouhei (Shyouhei Urabe)
06:01 PM Bug #4435 (Third Party's Issue): Step over/step into extend statement causes bus error in ruby 1.9.2p180
It seems ruby-debug's issue. naruse (Yui NARUSE)
05:58 PM Bug #4410 (Third Party's Issue): Install fails with missing readline.so in fileutils.rb
It seems debian package's issue; please report this to ruby-deb/lucas. naruse (Yui NARUSE)
05:54 PM Bug #4409 (Assigned): DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
naruse (Yui NARUSE)
05:53 PM Bug #4408 (Assigned): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
naruse (Yui NARUSE)
05:52 PM Bug #4405 (Assigned): WIN32OLE & Threads incompatible
naruse (Yui NARUSE)
05:51 PM Bug #4404 (Assigned): Make Dir.glob respect backslash as if slash in windows
naruse (Yui NARUSE)
05:48 PM Bug #4398 (Assigned): Highlighting of "'?" in Emacs
naruse (Yui NARUSE)
05:47 PM Bug #4386 (Rejected): encoding: directive does not affect regex expressions
naruse (Yui NARUSE)
05:44 PM Bug #4379 (Assigned): [patch] eval(s, b, "(eval)", n) discards location
Matz, how do you think, 1.8's result is:
% ruby -ve 'p eval("raise", binding, "(eval)", 999)'
ruby 1.8.7 (2010-08-16 patchlevel 302) [amd64-freebsd8]
-e:1:in `eval': (eval):999: (RuntimeError)
from -e:1
naruse (Yui NARUSE)
05:41 PM Bug #4372 (Rejected): Segmentation fault - hpricot
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
05:41 PM Bug #4363 (Rejected): Ruby segfaults when any gem module is required
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
05:39 PM Bug #4355 (Third Party's Issue): Segmentation Fault
It seems ruby-debug's issue. naruse (Yui NARUSE)
05:38 PM Bug #4241: IMAPTest#test_imaps_verify_none does not stop
Aaron, do you still gets a SEGV? Or do you want to someone take over this? nahi (Hiroshi Nakamura)
05:37 PM Bug #4223 (Assigned): GC.stress = true で謎の ArgumentError
nahi (Hiroshi Nakamura)
05:04 PM Bug #4223: GC.stress = true で謎の ArgumentError
私の手元の環境では変わってません。
$ cat foo.rb
# foo.rb
GC.stress = true
t = Time.local(2000)
File.utime(t + 1, t + 2, "foo.rb")
$ ruby19 -v foo.rb
ruby 1.9.3dev (2011-06-26 trunk 32231) [x86_64-freebsd8.2]
foo.rb:4:in `utime': time out of s...
metanest (Makoto Kishimoto)
04:49 PM Bug #4223 (Feedback): GC.stress = true で謎の ArgumentError
現在のtrunkで再現しませんがどうでしょう naruse (Yui NARUSE)
05:37 PM Bug #4353 (Rejected): Missing Patch Level on ruby-lang.org FTP
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
05:36 PM Bug #4157 (Closed): test_pty で、たまに出る Failure
ありがとうございます。修正済み扱いで閉じますので、再現したらご連絡をお願いします。 nahi (Hiroshi Nakamura)
05:00 PM Bug #4157: test_pty で、たまに出る Failure
trunk の r32231 で再現できませんでした metanest (Makoto Kishimoto)
04:28 PM Bug #4157 (Assigned): test_pty で、たまに出る Failure
もうこれ再現しないと思うんですがいかがでしょうが naruse (Yui NARUSE)
05:35 PM Bug #4352 (Assigned): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
naruse (Yui NARUSE)
05:32 PM Bug #4350 (Feedback): Segmentation fault and Bus Error
Would you show a small reproducible code? naruse (Yui NARUSE)
05:29 PM Feature #4347 (Assigned): Tracing cannot be re-enabled after callcc [patch]
naruse (Yui NARUSE)
05:28 PM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
This seems resolved. naruse (Yui NARUSE)
05:27 PM Bug #4341 (Assigned): baserubyに1.8.xを指定すると make benchmark がエラー
naruse (Yui NARUSE)
05:24 PM Bug #4332 (Assigned): Some seemingly random segfaults
naruse (Yui NARUSE)
05:19 PM Bug #4323 (Assigned): Proc#hash is Ill-Behaved
naruse (Yui NARUSE)
05:11 PM Bug #4307 (Assigned): include fails after undef_method
naruse (Yui NARUSE)
05:08 PM Feature #4299 (Assigned): no warning: found = in conditional, should be ==
naruse (Yui NARUSE)
05:06 PM Bug #4294 (Closed): IO.popen ['"ping"', 'localhost -n 3'] fails
I think current IO.popen should have enough doc.
> * [env, cmdname, arg1, ..., opts] : command name and zero or more arguments (no shell)
"no shell" means you must not quote command name and arguments.
naruse (Yui NARUSE)
04:58 PM Bug #4251 (Third Party's Issue): Segmentation fault when using ruby-prof and Ruby 1.9.2
It seems ruby-prof's issue. naruse (Yui NARUSE)
04:56 PM Feature #4234 (Assigned): Hash#default_proc= Doesn't Accept nil Argument
naruse (Yui NARUSE)
04:53 PM Feature #4233 (Assigned): autoload Can't Require Gems
naruse (Yui NARUSE)
04:47 PM Bug #4199 (Feedback): make test ruby-1.9.2-p0 failed on Solaris10 x86
Contribution is welcomed. naruse (Yui NARUSE)
04:46 PM Bug #4198 (Rejected): parse error involving spaceship operator
Spaceship operator doesn't have asociativity, so a <=> b <=> c is parse error. naruse (Yui NARUSE)
04:40 PM Bug #4173 (Assigned): TestProcess#test_wait_and_sigchild が、たまに失敗する
とりあえず現在FreeBSDではskipにしてます naruse (Yui NARUSE)
04:40 PM Bug #921: autoload is not thread-safe
I discussed this with Shyouhei, Sasada, Tanaka and Naruse. And we don't have a consensus. nahi (Hiroshi Nakamura)
04:37 PM Feature #859: open-uri doesn't allow redirection to https
Tanaka-san, please handle this. nahi (Hiroshi Nakamura)
04:34 PM Revision 61a34d62 (git): * test/etc/test_etc.rb (TestEtc#test_get{pw,gr}nam): skip entries
start with + sign, which means NIS. these are returned in the
case that passwd and group entries in /etc/nsswitch.conf are set
to use "nis" explicitly on Debian. fixed #3683
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32242 ...
nobu (Nobuyoshi Nakada)
04:33 PM Bug #4167 (Closed): URI.encode encodes reserved character of #
URI.encode is obsoleted.
Note that HTML5 seems specify the behavior of escaping and unescaping for addressbar.
Future URI module may have such methods.
naruse (Yui NARUSE)
04:32 PM Bug #2460: RubySpecでFiberのSpecがおちる
> 「単独では無理」というのはFiberに限った事でしょうか。
> ...
後者だと思います。
Fiber に限らず、Ruby プロセス終了時の挙動は実際に終了させなければテストでき
ないので。
この件に関しては、実行終了というよりは、「Fiber が途中状態のまま GC されたときに
ensure 節が実行される」という仕様を検査したいわけですが、確実に GC させるには
Ruby プロセスを終了させるくらいしか手がないですかね。
--
Yu...
mame (Yusuke Endoh)
04:28 PM Bug #4160 (Assigned): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
naruse (Yui NARUSE)
04:26 PM Bug #4140 (Rejected): segfault recursion inside a thread
Ruby cannot guarantee SystemStackError to be thrown. naruse (Yui NARUSE)
04:24 PM Bug #4079 (Rejected): Segmentation fault
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
04:23 PM Bug #4070 (Assigned): possible XMLRPC connectino leak
naruse (Yui NARUSE)
04:21 PM Bug #4058 (Closed): __method__ does not return correct method name for aliased methods
naruse (Yui NARUSE)
04:14 PM Bug #4056 (Rejected): Crash in non-blocking read
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
04:12 PM Bug #4054 (Closed): Segmentation Fault
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
04:10 PM Bug #4040 (Assigned): SystemStackError with Hash[*a] for Large _a_
naruse (Yui NARUSE)
04:08 PM Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
At least, My Mac OS X 10.6.7 can't reproduce this issue.
kosaki (Motohiro KOSAKI)
04:07 PM Bug #4012 (Assigned): Get segmentation fault when trying to call method from 3rd party's API
naruse (Yui NARUSE)
04:04 PM Bug #4008 (Assigned): Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
naruse (Yui NARUSE)
04:00 PM Bug #3128 (Assigned): Randomness specs
nahi (Hiroshi Nakamura)
03:59 PM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
(2011/06/26 10:43), Martin Bosslet wrote:
> Could you please verify that it works for you, too?

It works. Thanks!

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
10:43 AM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
I added the wrapper solution in r32230 and tested it with OpenSSL 0.9.7m and 1.0.0d on Fedora 15 32bit.
Fortunately it turns out to be much less overhead than I initially thought.
Could you please verify that it works for you, too?
...
MartinBosslet (Martin Bosslet)
10:32 AM Bug #4916 (Closed): [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
This issue was solved with changeset r32230.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/extconf.rb
* ext/openssl/ossl_missing.h/.c: add ...
Anonymous
03:58 PM Bug #4005 (Closed): YAML fails to roundtrip Time objects
1.9.3's YAML now dumps 9 digits of fractional (6 digits before).
So this seems resolved.
naruse (Yui NARUSE)
03:55 PM Revision e8e7ad81 (git): Add news about r30188 (Net::HTTPRequest#set_form).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:52 PM Bug #3975 (Rejected): German Umlaut in environment variable breaks usage of FileUtils
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
03:52 PM Bug #3952 (Rejected): Abort in thread.c:2501
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
03:51 PM Bug #3927 (Third Party's Issue): Ruby can't interprete rmagick library
This looks rmagick's issue. naruse (Yui NARUSE)
03:48 PM Bug #3919 (Assigned): Ruby in PowerTOP - too many CPU wakeups
naruse (Yui NARUSE)
03:48 PM Bug #3880 (Assigned): Ruby 1.9.1 - crash in timeout.rb
naruse (Yui NARUSE)
03:45 PM Revision 19ef07bb (git): * 2011-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision 8d00a7c2 (git): * parse.y (rb_parser_end_seen_p): fix documentation about return
value. patched by Sho Hashimoto. [Bug #4511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:45 PM Revision 145fccbd (git): * hash.c (rb_hash_reject): add documentation that Hash#reject
without block returns enumerator.
patched by Michael Edgar [Bug #4847] [ruby-core:36800]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:40 PM Bug #3867 (Feedback): Bus Error when running drb/ssl regression tests on loongson/OpenBSD
We don't have loongson.
Contribution is welcomed.
naruse (Yui NARUSE)
03:38 PM Bug #3844 (Feedback): Kernel.methods(false) not documented
Documentation contribution is welcomed. naruse (Yui NARUSE)
03:35 PM Bug #3826 (Third Party's Issue): Repeatable SEGV(seg fault) with ruby-debug19/ruby-debug-ide
It seems ruby-debug-ide's issue.
Please reopen this if this is ruby's issue.
naruse (Yui NARUSE)
03:32 PM Bug #3739 (Rejected): IO sets streams attached to pseudo-terminal devices to buffered
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
03:29 PM Bug #3744 (Feedback): Fails to compile on OpenSolaris
We don't have Solaris.
Contribution is welcomed.
naruse (Yui NARUSE)
03:18 PM Bug #3796 (Feedback): make check fails on powerpc64 linux
Contribution is welcomed. naruse (Yui NARUSE)
03:14 PM Bug #3726 (Closed): require degradation from 1.9.1
On 1.9.3, require gets faster than 1.9.2.
So I close this as duplicated.
naruse (Yui NARUSE)
03:10 PM Bug #3716 (Rejected): segfault on String.gsub
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
03:10 PM Bug #4929: test/dl/test_func.rb was crashed on Mac
This issue is only happend w/ --gc-stress.
i.e. seems similar with Bug#4927.
kosaki (Motohiro KOSAKI)
03:09 PM Bug #4929 (Closed): test/dl/test_func.rb was crashed on Mac
% time make test-all TESTS="-v -q --gc-stress ../test/dl/test_func.rb"
./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- "../test/runner.rb" --ruby="./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb ...
kosaki (Motohiro KOSAKI)
03:08 PM Bug #3683 (Assigned): getgrnam on computer with NIS group (+)?
naruse (Yui NARUSE)
03:07 PM Bug #3606 (Assigned): Thread.stop and puts fail to work as documented.
naruse (Yui NARUSE)
03:05 PM Bug #3600 (Feedback): HP-UX compilation
Contribution is welcomed. naruse (Yui NARUSE)
03:02 PM Bug #3586 (Closed): Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
naruse (Yui NARUSE)
03:01 PM Bug #3531 (Rejected): segmentation fault caused by etc/activation.rb (wxruby)
timeout naruse (Yui NARUSE)
03:00 PM Bug #3423 (Assigned): Inconsistent behaviour of Module#const_get with included modules
naruse (Yui NARUSE)
02:59 PM Bug #3422 (Assigned): Object.const_get(:A, false) can access BasicObject::A
naruse (Yui NARUSE)
02:58 PM Bug #3351 (Assigned): stack overflow on super
naruse (Yui NARUSE)
02:58 PM Feature #4796 (Open): Coverage should be restartable
Unfortunately this patch seems to cause SEGV on os x. [#4927]
I cannot fix it because I have no os x. So I can't help but
revert it.
Anyone who wants this feature, please fix it by yourself or
please give me a Mac :-)
--
Yusu...
mame (Yusuke Endoh)
02:57 PM Feature #3348 (Assigned): rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR
naruse (Yui NARUSE)
02:55 PM Bug #3332 (Rejected): r27953: gem install causes "uninitialized constant Gem::Commands::InstallCommand"
timeout naruse (Yui NARUSE)
02:54 PM Bug #3198 (Assigned): O_APPEND for redirect fd is ignored on windows
決定の問題だと思うので、決めてください naruse (Yui NARUSE)
02:50 PM Bug #4927: crash on test/coverage/test_coverage.rb
This crash disappered when I revert r32071.
But instead, following test failure was shown.
----------------------------------------------
TestCoverage#test_restarting_coverage = 0.54 s = F
TestCoverage#test_result_with_nothing = 0....
kosaki (Motohiro KOSAKI)
01:12 PM Bug #4927 (Assigned): crash on test/coverage/test_coverage.rb
> Could you try this patch?

I have no luck. crashed again.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff885225d6 __kill + 10
1 libSystem.B.dylib 0x00007fff8...
kosaki (Motohiro KOSAKI)
09:23 AM Bug #4927: crash on test/coverage/test_coverage.rb
Hello.

2011/6/26 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> test-all w/ --gc-stress got crash on may mac os x.

Could you try this patch?

diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c
index 3a26aaa...
mame (Yusuke Endoh)
03:06 AM Bug #4927 (Closed): crash on test/coverage/test_coverage.rb
test-all w/ --gc-stress got crash on may mac os x.
% time make test-all TESTS="-v -q -j8 --gc-stress"
/Users/kosaki/ruby/test/coverage/test_coverage.rb:11: [BUG] Segmentation fault
ruby 1.9.3dev (2011-06-26 trunk 32229) [x86_64-...
kosaki (Motohiro KOSAKI)
02:50 PM Revision a252c17e (git): * test/date/test_switch_hitter.rb: added a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:48 PM Bug #3024 (Assigned): mkmf: Directory names with spaces cause invalid Makefiles to be generated
naruse (Yui NARUSE)
02:47 PM Bug #3022 (Assigned): What are $. and ARGF.lineno ?
Eric, how do we document $.? naruse (Yui NARUSE)
02:46 PM Bug #2756 (Assigned): Issues with Math and Complex behavior on 1.9
naruse (Yui NARUSE)
02:43 PM Bug #2729 (Assigned): `unexpected break' occurs when a proc is called in ensure
naruse (Yui NARUSE)
02:42 PM Bug #2641 (Rejected): Seg fault running miniruby during ruby build on Haiku
timeout naruse (Yui NARUSE)
02:41 PM Bug #2550 (Assigned): failed to build with Solaris's make
naruse (Yui NARUSE)
02:37 PM Bug #2137 (Assigned): Dir.glob does not support unicode on Windows
What's happened on this, please explain. naruse (Yui NARUSE)
02:27 PM Bug #1679 (Assigned): rb_w32_getenv() invalidates previous environment pointers
naruse (Yui NARUSE)
02:24 PM Bug #1342 (Feedback): signal handling on HP-UX
Graham, the patch is still available?
If so, I'll merge it.
naruse (Yui NARUSE)
02:20 PM Bug #1152 (Assigned): profiler.rb is not concurrent-execution threadsafe
naruse (Yui NARUSE)
02:16 PM Feature #3112 (Closed): require "yaml" doesn't use psych as default
naruse (Yui NARUSE)
02:08 PM Feature #1906 (Assigned): Kernel#backtrace: Objectifying Kernel#caller
naruse (Yui NARUSE)
02:06 PM Bug #1813 (Assigned): Threading seg fault (1.9.1-p129 Linux/Mac)
naruse (Yui NARUSE)
02:04 PM Bug #1801 (Rejected): parse error on variable/method collision
This is intentional. naruse (Yui NARUSE)
01:59 PM Feature #1400 (Assigned): Please add a method to enumerate fields in OpenStruct
naruse (Yui NARUSE)
01:57 PM Bug #1650 (Assigned): Time range === is slow
naruse (Yui NARUSE)
01:51 PM Bug #1145 (Assigned): IRB adds trailing quote to wtring methods when performing auto-completion
naruse (Yui NARUSE)
01:45 PM Bug #3448 (Rejected): broken iconv library
//ignore is GNU libiconv's feature naruse (Yui NARUSE)
01:23 PM Revision 51a0501a (git): * ext/date/date_core.c: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:09 AM Revision d6e89e0c (git): * parse.y: comma at the end of line is no longer allowed.
A patch from Yukihiro Matsumoto <matz AT ruby-lang.org>.
(fixed #3456).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:58 AM Revision 488fcde0 (git): merge revision(s) 31346,31528:
* ext/openssl/extconf.rb: Should check SSLv2_*method.
openssl compiled with "no-ssl2" the extconf don't fail
when running `make' having this compilation errors.
Patched by Laurent Arnoud. fixes #4562, #4556
...
shyouhei (Shyouhei Urabe)
08:47 AM Revision 46ae2d90 (git): * ext/tk/extconf.rb: copy from trunk, as requested by Hidetoshi NAGAI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@32233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:24 AM Revision d5bd29d3 (git): patchlevel++
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@32232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:14 AM Bug #3862 (Feedback): Bugs in the OpenSSL extension on sparc64
Jeremy Evans wrote:
> =begin
> ...
The former encoding is that of @basic_constraints in test_x509ext.rb.
It is defined as
@basic_constraints_value = OpenSSL::ASN1::Sequence([
OpenSSL::ASN1::Boolean(true), # CA
OpenSSL::A...
MartinBosslet (Martin Bosslet)
04:49 AM Revision 230be2a7 (git): * vm_dump.c (rb_vm_bugreport): change CrashReporter suggestion messages
on Mac. It should be placed after "-- C level backtrace" line.
Suggested by Endoh-san.
<before>
-- See Crash Report log file under ~/Library/Logs/CrashReporter or ---------
-- /Library/Logs/CrashReporter, for the more detail of ...
kosaki (Motohiro KOSAKI)
01:32 AM Revision 93e1583d (git): * ext/openssl/extconf.rb
* ext/openssl/ossl_missing.h/.c: add ASN1_put_eoc if missing.
* ext/openssl/ossl_asn1.c: introduce ossl_asn1_object_size and
ossl_asn1_put_object to wrap functionality depending on OpenSSL
version in use.
Fixes [ Ruby 1.9 - Bug #4...
MartinBosslet (Martin Bosslet)
12:05 AM Bug #4881 (Closed): super() in define_method which returns proc causes SEGV
This issue was solved with changeset r32227.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_search_superclass): avoid control frame
...
nagachika (Tomoyuki Chikanaga)

06/25/2011

11:28 PM Bug #4072 (Closed): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
This issue was solved with changeset r32226.
三村, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (sleep_forever): now Kernel#sleep don't wakeup by
sign...
nagachika (Tomoyuki Chikanaga)
10:23 AM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
まつもと ゆきひろです

In message "Re: [ruby-dev:43895] [Ruby 1.9 - Bug #4072][Assigned] dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう"
on Sat, 25 Jun 2011 09:20:27 +0900, Motohiro KOSAKI <kosaki.motohiro@gmail.com> writes:

|ただIRCで聞いたところに...
matz (Yukihiro Matsumoto)
10:23 AM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
まつもと ゆきひろです

In message "Re: [ruby-dev:43895] [Ruby 1.9 - Bug #4072][Assigned] dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう"
on Sat, 25 Jun 2011 09:20:27 +0900, Motohiro KOSAKI <kosaki.motohiro@gmail.com> writes:

|ただIRCで聞いたところに...
matz (Yukihiro Matsumoto)
09:53 AM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
> 遠藤です。
>
> 2011年6月24日14:43 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> ところで、話は変わるのですが thread.stopも process.sleep の「thread.run するまで
>> スリープする」と書いて有るのにシグナル受信したときの挙動が違うのはなぜなんでしょうね?
>> deadlock check作った遠藤さんに聞くべきなのかも知れません...
kosaki (Motohiro KOSAKI)
09:53 AM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
> 遠藤です。
>
> 2011年6月24日14:43 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> ところで、話は変わるのですが thread.stopも process.sleep の「thread.run するまで
>> スリープする」と書いて有るのにシグナル受信したときの挙動が違うのはなぜなんでしょうね?
>> deadlock check作った遠藤さんに聞くべきなのかも知れません...
kosaki (Motohiro KOSAKI)
09:20 AM Bug #4072 (Assigned): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
kosakiです
unblock functionはGVL持たずに呼ばれるので、そこがthread stateによって挙動を変えていたら「死ねばいいのに」レベルだと思っています。よってわたし的にはこのパッチはOK。
ただIRCで聞いたところによると mameさんの意識は
ruby -e 'trap(:INT) { }; sleep'
の時もsleepは解除されるという仕様だったそうです。ここの仕様はまつもとさんに確認
する必要があると思います。...
kosaki (Motohiro KOSAKI)
10:00 PM Bug #4881: super() in define_method which returns proc causes SEGV
Hi,
Thank you for your reporting.
This issue seems similar to #2420 and #3136 .
According to discussion in #3136, fundamental fix needs tough work.
I've wrote quick fix patch for only avoid SEGV but raise an NoMethodError excepti...
nagachika (Tomoyuki Chikanaga)
08:10 PM Feature #4893: Literal Instantiation breaks Object Model
Yukihiro Matsumoto wrote:
> Your request has been too vague for me. Your definition of terms such as "object model" seems different from others. Probably the code will tell what you want. I will reopen this issue when a patch is post...
lazaridis.com (Lazaridis Ilias)
06:24 PM Bug #4920 (Closed): Process.daemon()呼び出しによりタイマースレッドが2つ出来てしまう
fixed by r32221.
kosaki (Motohiro KOSAKI)
04:03 PM Revision 3380f2ff (git): * ext/date/date_core.c (date_strftime_internal): removed meaningless braces.
* ext/date/date_core.c (gengo): the value should be int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
03:51 PM Bug #3137: complex.rb changes exceptions of Math
r32055 の修正だと、CMath.#log で底に数値以外を与える場合に Math.#log のように TypeError が発生しませんでした。
CMath.log(8, "2") # => ArgumentError
sho-h (Sho Hashimoto)
03:05 PM Revision 64fd7d87 (git): * 2011-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 9c931b85 (git): * vm_insnhelper.c (vm_search_superclass): avoid control frame
stack overrun. currently super() in Proc created in a method
defined by Module#define_method raise NoMethodError. [Bug #4881]
* test/ruby/test_method.rb t_super_in_proc_from_define_method):
add test for it.
git-svn-id: svn+ssh://ci....
nagachika (Tomoyuki Chikanaga)
02:28 PM Revision fb72e453 (git): * thread.c (sleep_forever): now Kernel#sleep don't wakeup by
signal handler execution. [Bug #4072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:21 PM Revision 1a196574 (git): * thread.c (rb_threadptr_check_signal): remove unnecessary th->status
backup. fix race condition which may results unexpected main thread's
status transition. see #4072
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:01 PM Bug #4925 (Rejected): Infinite recursion allowed in rescue clause
The issue pertains to the following example:
def a
b
rescue NameError
a
end
a
The type of exception raised and rescued is not relevant; the bug occurs with any exception type.
Expected behavior: A SystemStackError shoul...
wuputah (Jonathan Dance)
09:20 AM Revision eae50817 (git): * 2011-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 AM Revision d5448b8e (git): * ChangeLog: fix some typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)

06/24/2011

11:10 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
> RUBY_VM_CHECK_INTS() を抜けた後で th->status が THREAD_RUNNABLE になっていることがあるようで
この原因は rb_threadptr_check_signal() でタイマースレッドがメインスレッドの status を変更しているためではないかと思います。
mth->status = THREAD_RUNNABLE にセットしてから rb_threadptr_interrupt() でメインスレッドへシグナル送信し...
nagachika (Tomoyuki Chikanaga)
10:29 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
遠藤です。

2011年6月24日14:43 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> ところで、話は変わるのですが thread.stopも process.sleep の「thread.run するまで
> スリープする」と書いて有るのにシグナル受信したときの挙動が違うのはなぜなんでしょうね?
> deadlock check作った遠藤さんに聞くべきなのかも知れませんが。

...
mame (Yusuke Endoh)
10:29 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
遠藤です。

2011年6月24日14:43 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> ところで、話は変わるのですが thread.stopも process.sleep の「thread.run するまで
> スリープする」と書いて有るのにシグナル受信したときの挙動が違うのはなぜなんでしょうね?
> deadlock check作った遠藤さんに聞くべきなのかも知れませんが。

...
mame (Yusuke Endoh)
09:00 PM Bug #4072 (Open): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
すみません、調査不足でした。再度 open します。
kosaki さんのご指摘の通り引数なしの Kernel#sleep がシグナルによって起きてしまうという問題は残っていました。 trunk で以下のように空のシグナルハンドラを設定して sleep すると darwin10.7.0 では SIGINT で sleep から目覚めてしまいました。
Signal.trap(:INT){}
sleep
これは spurious wakeup 対策不足という...
nagachika (Tomoyuki Chikanaga)
01:53 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
何度もすみません。SIG_DFL じゃなくて SIG_IGN ですね。
あと引数なしの sleep の場合は sleep_forever() で眠りますが、こちらは deadlockable 引数が 0 だと while の条件部が抜けるようになっているのでそのため一度起床するとそのまま抜けてしまってたようです。
nagachika (Tomoyuki Chikanaga)
01:28 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
そうですね、EINTR でのリトライじゃなく SIGPIPE が SIG_DFL になったことの影響かもしれません。
nagachika (Tomoyuki Chikanaga)
12:33 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
いま、Macのpthread_cond_wait()見てるんですが、
http://www.opensource.apple.com/source/Libc/Libc-594.9.4/pthreads/pthread_cond.c
/*
* Suspend waiting for a condition variable.
* Note: we have to keep a list of condition variables which ar...
kosaki (Motohiro KOSAKI)
10:04 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
I played around a bit and it seems like this could be some kind of race condition.
At first I thought that the custom Fedora OpenSSL would probably reject some
algorithm and so I wanted to see what cipher is negotiated in the tests and...
MartinBosslet (Martin Bosslet)
04:42 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
Strange. I tried with 0.9.8r, couldn't reproduce it. Then I tried with 1.0.0d, again the tests succeeded. It is only the customized version of 1.0.0d that ships with Fedora 15 that causes the error. I know that they disabled ECC support ... MartinBosslet (Martin Bosslet)
09:40 PM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
Hiroshi NAKAMURA wrote:
> Martin Bosslet wrote:
> ...
Infinite length support has been introduced with 1.9.3, in 1.9.2 decoding infinite length values already
worked, but they were re-encoded using a definite length value (cf. http://...
MartinBosslet (Martin Bosslet)
07:09 PM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
Martin Bosslet wrote:
> The missing ASN1_put_eoc is not the only problem with OpenSSL 0.9.7, unfortunately. ASN1_put_object and
> ...
Thanks for investigation. Hmm. I don't remember if there was such a case in ext/openssl development.
...
nahi (Hiroshi Nakamura)
04:09 AM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
The missing ASN1_put_eoc is not the only problem with OpenSSL 0.9.7, unfortunately. ASN1_put_object and ASN1_object_size behave differently in >= 0.9.8 regarding the length parameter being passed to them when dealing with infinite length... MartinBosslet (Martin Bosslet)
09:25 PM Bug #4922 (Closed): Bug in Webrick httprequest.rb using multiple proxies and fix
I close it since I replied to the original reporter at ruby-core. nahi (Hiroshi Nakamura)
04:10 PM Bug #4237 (Closed): SSL_shutdown should be called until it returns 0
Hi,
On Fri, Jun 24, 2011 at 02:13, Aaron Patterson <aaron@tenderlovemaking.com> wrote:
>> And the second part, can you remember some more details of SEGV you got? If the error you got is timeout or something, it could be caused by in...
nahi (Hiroshi Nakamura)
02:23 AM Bug #4237: SSL_shutdown should be called until it returns 0
On Thu, Jun 23, 2011 at 02:27:41PM +0900, Hiroshi NAKAMURA wrote:
>
> Issue #4237 has been updated by Hiroshi NAKAMURA.
>
>
> Thanks for the explanation. I think r30294 (fix for lib/net/smtp.rb) is good. It solved the original p...
tenderlovemaking (Aaron Patterson)
12:09 PM Feature #4924 (Assigned): mkmf have_header fails with C++ headers
=begin
When a user calls (({have_header('some_cpp_header.h')})), and then header includes a line such as(({ #include <string>})), mkmf will fail.
An example run follows:
+ extconf.rb
require 'mkmf'
have_library('stdc++')
...
adgar (Michael Edgar)
11:05 AM Revision 635d13a8 (git): * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request
header failed when the request is from 2 or more Apache reverse
proxies. It's said that all X-Forwarded-* headers will contain more
than one (comma-separated) value if the original request already
contained one of these headers. S...
Hiroshi Nakamura
08:06 AM Revision 706335aa (git): * process.c (proc_daemon): should not start timer thread
twice. fixed Bug#4920.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:06 AM Revision dd91beb3 (git): * Typo fixed. Is it reallyl a typo? 2*2 == 2+2 == 4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
07:01 AM Revision 369b0950 (git): * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Try to shutdown SSL
connection more gracefully. Call SSL_shutdown() max 4 times until it
returns 1 (success). Bi-directional SSL close has several states but
SSL_shutdown() kicks only 1 transition per call. Max 4 is from
mod_ssl.c of Apache httpd that...
Hiroshi Nakamura
03:59 AM Feature #4917: `NilClass#to_ary`
(2011/06/24 1:00), Benoit Daloze wrote:
> On 22 June 2011 19:55, Marc-Andre Lafortune <ruby-core@marc-andre.ca> wrote:
>> The method `to_ary` is for classes that can be implicitly converted to an Array. This doesn't apply to NilClas...
naruse (Yui NARUSE)
01:23 AM Feature #4917: `NilClass#to_ary`
On 22 June 2011 19:55, Marc-Andre Lafortune <ruby-core@marc-andre.ca> wrote:
> The method `to_ary` is for classes that can be implicitly converted to an Array. This doesn't apply to NilClass.
>
> I'm also highly sceptical as to th...
Eregon (Benoit Daloze)
12:25 AM Feature #4910: Classes as factories
Charles Nutter wrote:
> I'm not sure I agree with adding `to_proc` to `Class` instances, since it seems questionable that `#new` is what you'd always want to be called.
Hmm, but what else? I think it is a reasonable default.
> .....
rklemme (Robert Klemme)
12:12 AM Feature #1031: -U オプションの説明が --help にない
とりあえずFeatureに移動しますかね naruse (Yui NARUSE)

06/23/2011

11:54 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
Hiroshi NAKAMURA wrote:
> Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
> ...
No problem, works fine now. Happens to the best of us ;)
> >>>>2) Anyone else getting the "sslv3 alert illegal parameter"? I g...
MartinBosslet (Martin Bosslet)
10:23 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
2011/6/23 Martin Boßlet <martin.bosslet@googlemail.com>:
>> I modified it a little at r32211.
>
> This gives me: (Ubuntu 10.04 32bit, OpenSSL 0.9.8k)

Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
Fixed at...
nahi (Hiroshi Nakamura)
10:23 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
2011/6/23 Martin Boßlet <martin.bosslet@googlemail.com>:
>> I modified it a little at r32211.
>
> This gives me: (Ubuntu 10.04 32bit, OpenSSL 0.9.8k)

Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
Fixed at...
nahi (Hiroshi Nakamura)
07:59 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
2011/6/23 Hiroshi Nakamura <nakahiro@gmail.com>:
> 報告ありがとうございます。32bit環境で落ちるとか考えてませんでした。。。
> Thanks for the report. I was not aware that the code has 64bit dependency...
>
> On Wed, Jun 22, 2011 at 18:45, Tomoyuki Chikanaga <naga...
MartinBosslet (Martin Bosslet)
07:59 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
2011/6/23 Hiroshi Nakamura <nakahiro@gmail.com>:
> 報告ありがとうございます。32bit環境で落ちるとか考えてませんでした。。。
> Thanks for the report. I was not aware that the code has 64bit dependency...
>
> On Wed, Jun 22, 2011 at 18:45, Tomoyuki Chikanaga <naga...
MartinBosslet (Martin Bosslet)
07:53 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
報告ありがとうございます。32bit環境で落ちるとか考えてませんでした。。。
Thanks for the report. I was not aware that the code has 64bit dependency...

On Wed, Jun 22, 2011 at 18:45, Tomoyuki Chikanaga <nagachika00@gmail.com> wrote:
>>1) Is it OK if I apply the f...
nahi (Hiroshi Nakamura)
07:53 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
報告ありがとうございます。32bit環境で落ちるとか考えてませんでした。。。
Thanks for the report. I was not aware that the code has 64bit dependency...

On Wed, Jun 22, 2011 at 18:45, Tomoyuki Chikanaga <nagachika00@gmail.com> wrote:
>>1) Is it OK if I apply the f...
nahi (Hiroshi Nakamura)
11:48 PM Bug #4923 (Closed): [ext/openssl] test_ssl.rb: test_client_auth fails
Hi,
I was finally able to reproduce this with Fedora 15 32 bit, OpenSSL 1.0.0d.
The error occurs only when running make test-all TESTS="openssl",
if I run test_ssl.rb independently the test succeeds.
Here is the output I get:
...
MartinBosslet (Martin Bosslet)
11:28 PM Bug #4072 (Closed): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
これですがおそらく r31482 のあたりで native_cond_wait() が EINTR でリトライするようになったので
直っているのではないかと思います。
手元では ruby 1.9.2dev (2010-05-10 revision 27709) で再現していたのが trunk では起きなくなっていました。
ruby_1_9_2 にもマージ済みなので 1.9.2-head でも同じではないかと思います(未確認ですが)。
というわけでcloseさ...
nagachika (Tomoyuki Chikanaga)
11:04 PM Feature #4805 (Closed): Add X509::Name#hash_old for 0.9.X compat
On Thu, Jun 23, 2011 at 20:54, Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
>>  For that purpose, algorithm should be fixed so they don't get Digester
> ...
Ah, X509::Name#digest sounds good. I didn't know OCSP impl already us...
nahi (Hiroshi Nakamura)
08:53 PM Feature #4805: Add X509::Name#hash_old for 0.9.X compat
Hiroshi NAKAMURA wrote:
> They're using the hash of name for c_rehash. You see files something
> ...
OK, I see, thanks for the info! X509_NAME_hash(_old) has a special meaning
internally. I checked, there also exists X509_NAME_dige...
MartinBosslet (Martin Bosslet)
10:24 PM Revision ea9c30be (git): * lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb
* bin/rake: Import bin/rake from 0.9.2
* tool/rbinstall.rb (install): Rake::VERSION is now in
lib/rake/version.rb. Fixes `make install`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32218 b2dd03c8-39d4-4d8f-98f...
drbrain (Eric Hodel)
10:11 PM Revision d001539a (git): * lib/rake: Import Rake 0.9.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
09:04 PM Feature #4918 (Closed): Make all core tests inherit from Test::Unit::TestCase
Benoit Daloze wrote:
> A quick `ack -l --invert-file-match -G 'rdoc|rubygems' MiniTest test` gives:
> ...
Thanks for the analysis, Benoit! As I don't want to fiddle around in other people's domains anyway, I suppose it's fine to agr...
MartinBosslet (Martin Bosslet)
03:29 AM Feature #4918: Make all core tests inherit from Test::Unit::TestCase
On Jun 22, 2011, at 5:41 AM, Benoit Daloze wrote:
> On 22 June 2011 07:46, Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
>> Some tests for OpenSSL inherited from Minitest::Unit::TestCase instead of
>> Test::Unit::TestCase. To...
drbrain (Eric Hodel)
08:36 PM Bug #4418: OpenSSL::PKey::DH#public_key
Hiroshi NAKAMURA wrote:
> I agree with DH interface is confusing.
Adding to the confusion is that DH implements the PKey interface in OpenSSL (OpenSSL itself, not Ruby's ext/openssl), but it conceptually is not really like the other ...
MartinBosslet (Martin Bosslet)
07:55 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
I don't understand why /dev/urandom fallback should be removed.
Is your reason the "theoretically vulnerable to a cryptographic attack on the algorithms used by the driver" (from Linux man page)?
akr (Akira Tanaka)
03:53 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Hi,

On Thu, Jun 23, 2011 at 08:15, Akira Tanaka <akr@fsij.org> wrote:
>> We should avoid using
>> /dev/urandom every time on the env w/o OpenSSL in the future.
>
> I'd like to say "Please install OpenSSL" for such request.
...
nahi (Hiroshi Nakamura)
08:13 AM Bug #4579: SecureRandom + OpenSSL may repeat with fork
NaHi:
> We should avoid using
> ...
I'd like to say "Please install OpenSSL" for such request.
Cryptographic algorithms should be implemented/maintained by cryptographic experts but I am not a cryptographic expert.
akr (Akira Tanaka)
07:53 PM Bug #3924: Performance bug (in require?)
Hi,

2011/6/20 Jarosław Skrzypek <skrzypek.jarek@gmail.com>:
> You might be also interested in my very short patch: https://gist.github.com/1035322 Basically it reorders conditions to start with fastest ones and execute slower ones o...
nahi (Hiroshi Nakamura)
12:53 PM Bug #3924: Performance bug (in require?)
Hi,

2011/6/23 Hiroshi Nakamura <nakahiro@gmail.com>:
> Anyone can imagine a downside of this? It could not work as expected
> if the result of rb_file_expand_path *changes* during require (adding
> a new file during require s...
mame (Yusuke Endoh)
12:23 PM Bug #3924: Performance bug (in require?)
Hi all,

On Wed, Jun 1, 2011 at 09:14, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> This process creates many objects, i.e., strings.  Typically,
>> $LOADED_FEATURES are already expanded, so the process is not
>> needed in no...
nahi (Hiroshi Nakamura)
05:11 PM Bug #4922: Bug in Webrick httprequest.rb using multiple proxies and fix
See also: 'Reverse Proxy Request Headers' in http://httpd.apache.org/docs/2.2/en/mod/mod_proxy.html
Be careful when using these headers on the origin server, since they will contain more than one (comma-separated)
value if the or...
nahi (Hiroshi Nakamura)
05:09 PM Bug #4922 (Closed): Bug in Webrick httprequest.rb using multiple proxies and fix
(From [ruby-core:33872])
Hi.
This is my first post to this mailing list, so please tell me, if I posted this the wrong place, or I in any other way should do something different.
I have been playing around with Webrick for some ...
nahi (Hiroshi Nakamura)
04:58 PM Bug #4841: WEBrick threading leads to infinite loop
I guess that WEBrick::Server#{start,stop,shutdown} is not designed to be thread-safe and there's no simple fix for your usage. When I used WEBrick::Server for such purpose, I created my own lock outside of WEBrick::Server instances.
I...
nahi (Hiroshi Nakamura)
03:54 PM Bug #4920: Process.daemon()呼び出しによりタイマースレッドが2つ出来てしまう
直接の原因はこのコミットのようです。
commit afbd5661a0ca041ac818c9e5732911c5db21c9f9
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue Jul 13 12:31:17 2010 +0000
* process.c (rb_daemon): split from proc_daemon.
gi...
kosaki (Motohiro KOSAKI)
03:53 PM Bug #3866: Multipart Form Parsing bug
I take this since Fujioka-san must be busy for the meanwhile.
Can somebody point the new location of http://dev.rubyonrails.org/ticket/10886 ? I once posted a patch related to multipart form boundary parsing (http://blade.nagaokaut.ac...
nahi (Hiroshi Nakamura)
03:45 PM Revision 3fbc9440 (git): * ext/date/date_core.c (c_valid_{julian,gregorian}_p): fixed the range of month.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:20 PM Feature #4824: Provide method Kernel#executed?
The sentence "defines" essentially the terminology:
Yukihiro Matsumoto wrote:
> I agree providing a method to tell whether it is loaded as a library or
^^^^^^^^^
"is loaded"
load...
lazaridis.com (Lazaridis Ilias)
03:15 PM Revision 838af29c (git): * 2011-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 2e83b823 (git): * ext/date/date_core.c: trivial changes on text.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:27 PM Bug #4237: SSL_shutdown should be called until it returns 0
Thanks for the explanation. I think r30294 (fix for lib/net/smtp.rb) is good. It solved the original problem, right? Of course, ext/openssl should try to shutdown the connection gracefully to the extent possible though.
And the second...
nahi (Hiroshi Nakamura)
12:29 AM Bug #4237: SSL_shutdown should be called until it returns 0
On Wed, Jun 22, 2011 at 11:08:08PM +0900, Hiroshi NAKAMURA wrote:
>
> Issue #4237 has been updated by Hiroshi NAKAMURA.
>
>
> Aaron, I'm sorry for late response, but can you point the original report of this issue? The link 'htt...
tenderlovemaking (Aaron Patterson)
01:56 PM Feature #4921: Remove intern.h
なるほど。
ファイルを削除してしまうと問題があるケースもありえなくはないので、
実際にはruby.hをincludeするだけのファイルにする等を考えています。
naruse (Yui NARUSE)
11:13 AM Feature #4921: Remove intern.h
intern.hは「RubyインタプリタAPI(ruby.h)ではない、メソッド実装とその周辺関数だが、他のファイルから参照されている関数」プロトタイプのために用意したヘッダでした。なし崩し的に公開APIっぽくなりましたが。なくすぶんには反対しませんが、1.9の途中でなくして互換性問題が発生しませんか? matz (Yukihiro Matsumoto)
08:15 AM Feature #4921 (Rejected): Remove intern.h
まず、intern.h って何者なんでしょう。
推測としては internal の意だと思うんですが、その場合 include/ruby にいるのは
よろしくないですし、一方で公開 API っぽいのが名実ともに多い気がします。
思うに 1.9 において、intern.h の中身は include/ruby/ruby.h か、
最近新設された internal.h のどちらかにあるべきで、include/ruby/intern.h は
もう必要ないのではない...
naruse (Yui NARUSE)
01:51 PM Revision bf2e60cd (git): * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper
for X509_NAME_hash_old in OpenSSL 1.0.0. See #4805
* test/openssl/test_x509name.rb (test_hash): Make test pass with
OpenSSL 1.0.0.
* NEWS: Add it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32213 b2dd03c8-39d4-4d8f-98ff-823f...
Hiroshi Nakamura
01:14 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
r32192 is a fix for No.1. User can set HTTPResponse#chunked = true but it might not be a choice (Some client does not support chunked encoding for example.)
No.3 and No.4 should be discussed in the future...
nahi (Hiroshi Nakamura)
01:03 PM Revision 3e01a8d5 (git): * test/openssl/test_ssl_session.rb: Test parameter bug fixed. 2**31 is not in
a signed long in 32bit long env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
12:41 PM Bug #4658: Minitest - invalid return code when using MiniTest::Unit.after_tests
Just in case a repro comes up, the above code doesn't cover all cases correctly. I'm currently going with:
status = $!.respond_to?(:status) ? $!.status : ($! ? 1 : 0)
zenspider (Ryan Davis)
10:36 AM Revision 544daf1f (git): * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check
argument type with NUM2LONG if the arg is not a Time object.
See #4919.
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_timeout): Check
type with NUM2LONG. Time as an arg is not allowed. See #4919.
* test/openssl/test_ssl_se...
Hiroshi Nakamura
09:44 AM Revision 9fe3a7c2 (git): * 2011-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@32210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:44 AM Revision 2f50fc74 (git): backported r26281 from ruby_1_8
* lib/webrick/accesslog.rb (WEBrick::AccessLog.format): log parameter
embedding did not work. See #4913.
* test/webrick/test_accesslog.rb: Add for test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@32209 b2dd03...
Hiroshi Nakamura
09:20 AM Revision a02504ba (git): * ChangeLog: Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
07:34 AM Feature #4917: `NilClass#to_ary`
Perhaps if an optimization is needed, it could just be adding a nil check to Kernel#Array. headius (Charles Nutter)
02:55 AM Feature #4917 (Rejected): `NilClass#to_ary`
The method `to_ary` is for classes that can be implicitly converted to an Array. This doesn't apply to NilClass.
I'm also highly sceptical as to the actual real life impact of such an optimization.
marcandre (Marc-Andre Lafortune)
07:22 AM Revision 45f164ea (git): * lib/webrick/accesslog.rb: Cosmetic fix of mismatched indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
04:33 AM Revision b9cbe522 (git): * 2011-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 AM Revision e6f4c92f (git): * signal.c(ruby_atomic_exchange): Fix definement style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
02:12 AM Feature #4910: Classes as factories
I'm not sure I agree with adding `to_proc` to `Class` instances, since it seems questionable that `#new` is what you'd always want to be called. Dodging that debate for now, there is another way to get the result you seek:
```ruby
cl...
headius (Charles Nutter)

06/22/2011

11:08 PM Bug #4237: SSL_shutdown should be called until it returns 0
Aaron, I'm sorry for late response, but can you point the original report of this issue? The link 'http://intertwingly.net/blog/2010/12/07/SQLite3-CorruptException-database-disk-image-is-malformed' looks not related to openssl. Am I misu... nahi (Hiroshi Nakamura)
10:53 PM Bug #4416 (Closed): OpenSSL::SSL::Session#session_new_cb
r32204で、ご提案いただいたとおりの修正を入れました。Rubyオブジェクトからの参照があり、OpenSSLに何を返しても、session_new_cbに渡されたセッションはクリアされないのですから、0や1を返し分けても無意味、なので、OpenSSL側での整合性を取るために、常に0を返して参照数を適切に調整すべき、ということですね。やっと理解しました。ありがとうございました。
結果として、session_new_cbのコールバックについて、「返す値に意味はない」...
nahi (Hiroshi Nakamura)
05:21 PM Bug #4416: OpenSSL::SSL::Session#session_new_cb
この参照追加はRubyオブジェクトからの参照で、Rubyオブジェクトの開放時にSSL_SESSION_freeを呼ぶために必要なんですが、逆に0(Rubyレベルでfalse)を返したときのOpenSSLの挙動がよくわかりませんね。。。うーむ。 nahi (Hiroshi Nakamura)
10:28 PM Bug #4919 (Closed): OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
This issue was solved with changeset r32203.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_ssl_session.c: Respect T_BIGNUM time value...
Anonymous
06:45 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
Hi, Martin
>1) Is it OK if I apply the fix?
Yes, please apply it. :)
> ...
I can't get this error on Ubuntu 10.4 with openssl(0.9.8k-7ubuntu).
Regards,
nagachika (Tomoyuki Chikanaga)
05:59 PM Bug #4919: OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
I get the same result for OpenSSL 0.9.8k plus an additional error when running
make test-all -TESTS="openssl"
on revision 32199.
1) Error:
test_connect_and_close(OpenSSL::TestSSL):
OpenSSL::SSL::SSLError: SSL_connect return...
MartinBosslet (Martin Bosslet)
05:34 PM Bug #4919 (Closed): OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する
掲題のような理由で make test-all TESTS="-v openssl/test_ssl_session.rb" を実行すると 1E になります。
1) Error:
test_session(OpenSSL::TestSSLSession):
ArgumentError: unknown type
/opt/ruby-trunk/src/ruby/test/openssl/test_ssl_session.rb:21:in `tim...
nagachika (Tomoyuki Chikanaga)
09:53 PM Feature #4918: Make all core tests inherit from Test::Unit::TestCase
Hello,

On 22 June 2011 07:46, Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> Some tests for OpenSSL inherited from Minitest::Unit::TestCase instead of
> Test::Unit::TestCase. To be consistent, all tests should probably...
Eregon (Benoit Daloze)
02:46 PM Feature #4918 (Closed): Make all core tests inherit from Test::Unit::TestCase
Some tests for OpenSSL inherited from Minitest::Unit::TestCase instead of
Test::Unit::TestCase. To be consistent, all tests should probably inherit from
Test::Unit::TestCase (cf. [ruby-core:37275]).
I would scan through all tests in...
MartinBosslet (Martin Bosslet)
08:42 PM Bug #4920 (Closed): Process.daemon()呼び出しによりタイマースレッドが2つ出来てしまう
ささださんとakrさんが発見してくださったのですが、現在 trunkで
$ ./ruby -e 'Process.daemon(true,true); p Dir.entries("/proc/self/task")'
と実行すると、スレッドが3匹います(Linuxで実行してください)。何故かというと Process.daemon()
を契機にタイマースレッドが2つ出来てしまうからです。
原因は以下のコードです
---------------...
kosaki (Motohiro KOSAKI)
05:50 PM Bug #4916 (Assigned): [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
MartinBosslet (Martin Bosslet)
05:49 PM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
Sure! I would put it in openssl_missing.c ?
I'll find out whether there is more than ASN1_put_eoc missing in 0.9.7.
Regards,
Martin
MartinBosslet (Martin Bosslet)
01:38 PM Bug #4916: [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
openssl-0.9.7 does not have ASN1_put_eoc. Martin, can you handle this?
Dropping 0.9.7 support could be an option if there're other missing functions hardly replace. Users?
nahi (Hiroshi Nakamura)
01:28 PM Bug #4916 (Closed): [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
$ ruby -v -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
ruby 1.9.3dev (2011-06-22 trunk 32194) [i386-darwin9.8.0]
"OpenSSL 0.9.7l 28 Sep 2006"
$ uname -a
Darwin ... 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xn...
nahi (Hiroshi Nakamura)
05:46 PM Bug #4879 (Feedback): test_new(OpenSSL::TestPKeyRSA) fails on Win32
I just committed the fix for http://redmine.ruby-lang.org/issues/4885
in revision 32199.
This should solve the issue that was discovered here, and I was also
able to run the tests without Yui's fix.
Could you please confirm that it...
MartinBosslet (Martin Bosslet)
05:41 PM Bug #4885 (Closed): [ext/openssl] Use BIO_reset and ERR_get_error in conjuntion
This issue was solved with changeset r32199.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/D...
Anonymous
03:04 PM Feature #4672 (Closed): [PATCH] openssl: enable SSL_MODE_RELEASE_BUFFERS if available
This issue was solved with changeset r32198.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_ssl.c: Use SSL_MODE_RELEASE_BUFFERS if availab...
Anonymous
02:20 PM Feature #4917 (Rejected): `NilClass#to_ary`
`Kernel#Array`, when passed `nil`, first tries to send `to_ary`, which ends up calling `method_missing`, and then tries to send `to_a`, which finally succeeds. When `Kernel#Array` is used frequently, for example in library/gem code, this... y_feldblum (Jay Feldblum)
01:39 PM Revision dea3113a (git): * ext/openssl/ossl_ssl.c (ossl_sslctx_session_new_cb): Return 0 to
OpenSSL from the callback for SSL_CTX_sess_set_get_cb().
Returning 0 means to OpenSSL that the the session is still valid
(since we created Ruby Session object) and was not freed by us with
SSL_SESSION_free(). Call SSLContext#remov...
Hiroshi Nakamura
01:28 PM Revision 8d836a15 (git): * ext/openssl/ossl_ssl_session.c: Respect T_BIGNUM time values. Patch by
Tomoyuki Chikanaga.
[ Ruby 1.9 - Bug #4919 ] [ruby-dev:43869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:30 PM Revision dc8f58f6 (git): * ext/socket/depend (SOCK_HEADERS): use $(top_srcdir) instaed of
$(topdir). sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:04 AM Bug #3817: current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
Moved target version to 1.9.x nahi (Hiroshi Nakamura)
11:00 AM Revision be953b4d (git): * cont.c (cont_capture): add volatile.
On clang -O, it is needed to avoid the optimization.
With this and llvm/clang's recent fix, clang 3.0 can
build ruby-trunk with -O option.
* cont.c (cont_capture): use for-loop.
* array.c (rb_ary_each): add volatile and use it.
* ...
naruse (Yui NARUSE)
09:24 AM Revision d8af9c85 (git): * ext/openssl/ossl_ssl.c (ossl_sslctx_session_remove_cb):
OpenSSL::SSL::SSLContext#session_remove_cb was broken. It wrongly
tried to call the session_*new*_cb callback.
* test/openssl/test_ssl_session.rb (class OpenSSL): Test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32200 b2dd...
Hiroshi Nakamura
08:41 AM Revision 26cb830d (git): * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER
fallback scenarios.
* ext/openssl/ossl_pkey_dsa.c
* ext/openssl/ossl_x509req.c
* ext/openssl/ossl_pkey_rsa.c
* ext/openssl/ossl_pkey_ec.c
* ext/openssl/ossl_ssl_session.c
* ext/openssl/ossl_x509crl.c
* ext/openssl/ossl_pkey.c
* ext/open...
MartinBosslet (Martin Bosslet)
07:54 AM Bug #4658: Minitest - invalid return code when using MiniTest::Unit.after_tests
I can't replicate with ruby 1.8 or 1.9.2:
require 'rubygems'
gem 'minitest' # ensure latest gem in 1.9
require 'minitest/autorun'
class TestX < MiniTest::Unit::TestCase
def test_x
flunk
en...
zenspider (Ryan Davis)
06:59 AM Bug #4814: minitest 2.2.x and test/unit do not get along
mail-to-rubymine truncated my response... Fixed:
I'm still broken:
7107 % svn st
7107 % svn info io.c | grep Revision
Revision: 31902
7108 % make -j 4 ruby19
make: `ruby19' is up to date.
7109 % make TESTS="-v testunit/test_parallel.rb...
zenspider (Ryan Davis)
06:35 AM Bug #4821: Random Segfaults (in start_thread?)
Did some further tests to find out where this (for me) hard to understand segfaults came from. I still don't know the root cause, but now I do know that using devise together with meta_search (1.1.0.pre) resulted in the segfaults. Disabl... corneverbruggen (Corné Verbruggen)
06:04 AM Revision 41c517d1 (git): * ext/openssl/ossl_ssl.c: Use SSL_MODE_RELEASE_BUFFERS if available.
Thanks, Eric Wong, for providing the patch.
[ Ruby 1.9 - Feature #4672 ] [ruby-core:36127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
05:53 AM Bug #4914: Array#index fails when used in if statement assignment
Ruby parses your code like this:

if i = (a.index(k.to_sym) && k.to_s =~ /b/)

You can fix this by using "and" or explicit parenthesis:

if i = a.index(k.to_sym) and k.to_s =~ /b/
if (i = a.index(k.to_sym)) && k.to_s =~ /b/...
judofyr (Magnus Holm)
05:39 AM Bug #4914 (Rejected): Array#index fails when used in if statement assignment
not a bug. run the following:
a = [:a, :b, :c]
for k in 'a'..'c'
if i = a.index(k.to_sym) && k.to_s =~ /b/
puts i
end
end
for k in 'a'..'c'
if i = (a.index(k.to_sym) && k.to_s =~ /b/)
puts i
end
end
for k...
matz (Yukihiro Matsumoto)
05:37 AM Bug #4914: Array#index fails when used in if statement assignment
It "works" for me if you change the `&&` to `and`; so I think it's a precedence issue you're facing here.
I think this blog post here has some good examples which I think directly apply to your case: http://blog.jayfields.com/2007/08/...
mfn (Markus Fischer)
05:28 AM Bug #4914 (Rejected): Array#index fails when used in if statement assignment
cat /etc/issue: Ubuntu 11.04
rvm -v: rvm 1.6.2
rvm 1.9.2, ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
Also tested with: rvm 1.9.2-head, ruby -v: ruby 1.9.2p274 (2011-06-06 revision 31932) [x86_64-linux]
Test ...
bterkuile (Benjamin ter Kuile)
05:48 AM Revision 914a4a02 (git): * test/openssl/test_buffering.rb
* test/openssl/test_pkcs12.rb: Inherit from Test::Unit::TestCase
instead of Mintest::Unit::TestCase. [ruby-core:37275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
03:43 AM Revision bda678dc (git): * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_to_der):
OpenSSL::SSL::Session#to_der was broken. Fix buffer handling.
* test/openssl/test_ssl_session.rb (test_session): Test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
03:40 AM Revision 02ab6d95 (git): * test/openssl/test_ssl_session.rb: Split out SSL::Session related
tests from test_ssl.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
02:47 AM Bug #655 (Closed): Query part lost when using Net::HTTP.post_form function
mathew: Interesting read. Thanks. I decided to not decide and let users choose, by allowing to include query part as a request URI. nahi (Hiroshi Nakamura)
01:38 AM Bug #4122 (Closed): test_x509store.rbのtest_set_errorsが失敗する
r32189
* test/openssl/test_x509store.rb (test_set_errors): Redhat is
distributing a patched version of OpenSSL that allows multiple CRL
for a key (multi-crl.patch.) Make test pass on such env. See #4122,
...
nahi (Hiroshi Nakamura)

06/21/2011

08:28 PM Bug #4444 (Closed): Windowsプラットフォームでtest_parallel.rbがエラー
動くようになっているので、closeします。usaさん++ kosaki (Motohiro KOSAKI)
07:55 PM Feature #1103 (Closed): Ruby used for webrick cgi should be configurable
r26299 overrides RbConfig.ruby at test/ruby/envutil.rb for test environment. I think that fix is enough for the original intent of the patch by Aaron. Sorry for this result. nahi (Hiroshi Nakamura)
07:03 PM Bug #4912 (Feedback): Segmentation fault while HTTPS request
Hi,
thank you for reporting. but we need some additional informations to fix.
Could you provide the following things?:
* which openssl are you using?
* crash log under ~/Library/Logs/CrashReporter
* is same issue happen withou...
sorah (Sorah Fukumori)
06:51 PM Bug #4912 (Rejected): Segmentation fault while HTTPS request
Hi,
I'm throwing a SOAP request to a third party using soap4r (git://github.com/noeticpenguin/soap4r-noeticpenguin.git) and I'm getting this stacktrace. It's weird because it seems some kind of incompatibility with another gems, but i...
juandebravo (Juan de Bravo)
06:22 PM Revision 40508ede (git): * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
objects. Thanks to CvX for reporting the bug and a test case.
* test/psych/test_object.rb: test for cyclic object references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:04 PM Revision 7c5fdec0 (git): fix ambiguous argument warnings in test/psych/test_nil.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:44 PM Revision 800c313b (git): * lib/net/http.rb (Net::HTTP.post_form): Do not ignore query part of
the given URI to post. See #655.
* test/net/http/test_http.rb, test/net/http/utils.rb: Test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:34 PM Revision 7d112260 (git): * Add ref to tickets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
04:33 PM Revision 0fd46532 (git): * 2011-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 PM Revision 5e8aa0a1 (git): * test/openssl/test_x509store.rb (test_set_errors): Redhat is
distributing a patched version of OpenSSL that allows multiple CRL
for a key (multi-crl.patch.) Make test pass on such env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
02:05 PM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
r32181にてパッチをコミットしました。お手数をおかけしますが、確認いただけますでしょうか。 kouji (Kouji Takao)
11:39 AM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
Koichi Sasada wrote:
> 高尾さん
> ...
こちらで試せるようなWin32環境がありません。一旦取り込みますので、試してみていただけないでしょうか。 > Akio Tajima さん
kouji (Kouji Takao)
01:20 PM Feature #3375 (Closed): --disable-libedit to disable libedit
This issue was solved with changeset r32179.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/extconf.rb: fixed bug, specify --disable-libed...
kouji (Kouji Takao)
11:34 AM Feature #3375: --disable-libedit to disable libedit
=begin
対応が遅くなりました。
以下の修正を入れたいと思います。
動作確認をしてからコミットします。
Index: ext/readline/extconf.rb
===================================================================
--- ext/readline/extconf.rb (revision 32178)
+++ ext/readline/extco...
kouji (Kouji Takao)
12:58 PM Revision 4ce15814 (git): * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): Close
HTTP/1.1 connection when returning an IO object as response body
without setting HTTPResponse#chunked to true. See #855 no.1.
* test/webrick/test_httpserver.rb: Test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32188 b2dd03...
Hiroshi Nakamura
12:31 PM Revision 908baefe (git): * internal.h: move rb_thread_io_blocking_region() declaration
from intern.h to internal.h. It's still experimental API and
need more discussion. [ruby-dev:43698]
* include/ruby/intern.h: ditto.
* ext/socket/rubysocket.h: include internal.h.
* ext/socket/depend: add internal.h dependency.
* ext/s...
kosaki (Motohiro KOSAKI)
11:52 AM Revision b9d9ea62 (git): revert r32183
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
11:42 AM Revision 5b16ddf5 (git): * ext/date/date_core.c (datetime_s_*): canonicalize 24 o'clock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:29 AM Revision c9aef84c (git): add ML ref to ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
10:57 AM Revision 97beed07 (git): * internal.h: move rb_thread_io_blocking_region() declaration
from intern.h to internal.h. It's still experimental API and
need more discussion.
* include/ruby/intern.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:47 AM Revision cb138bba (git): * test/ruby/test_thread.rb (TestThread#test_priority): enable
this test again. Current GVL respect thread priority rather
than past.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:33 AM Bug #4911 (Closed): timer_thread_function() が thead unsafe
どうして、これを先月気づかなかったのだろう。という罪悪感があるのですが、
target 1.9.x で起票します。
timer_thread_function()で vm->running_thread にアクセスするのは
thread unsafe な気がします
0.スレッドAがrunning_threadである
1.タイマースレッドがvm->running_threadをレジスタにのせる
(レジスタにスレッドAのアドレスがのっかる)
2...
kosaki (Motohiro KOSAKI)
09:08 AM Bug #4875: Segmentation fault in http.rb
I get this any time I try any sort of HTTP call. There is some suggestion that it might relate to the use of the 'pg' gem for Postgres, see first few results:
http://www.google.com/search?q=http.rb+678+pg
/Users/abailey/.rvm/rubi...
jeromewilson (Jerome Wilson)
05:39 AM Feature #4891 (Assigned): Vector#normalize
Sure.
I have to merge in my announced changes to Matrix & Vector in 1.9.3 as soon as I get the time, so I could include this too. Are we after the official feature freeze yet (I don't see the 1.9.3 branch)?
marcandre (Marc-Andre Lafortune)
04:30 AM Revision e49f8909 (git): * ext/readline/readline.c (readline_getc): applied a patch in
#3827 by by Akio Tajima <artonx AT yahoo.co.jp>. (see #3827)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
04:20 AM Revision d2e61d22 (git): * 2011-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 AM Revision 1daac53c (git): * ext/readline/extconf.rb: fixed bug, specify --disable-libedit
then disable libedit, does not specify then check readline and
libedit if failed checking readline. (fixes #3375)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
01:53 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
 ささだです.

(2011/06/21 1:25), Masaya TARUI wrote:
> 同意します。
> というか、いままでmaskされてないと知らなかった。

 mask するための新しい仕様が必要になると思いますが,さてこれを 1.9.3 に
入れますか? それとも,trap 中はどんな trap を再入禁止?

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
01:29 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
同意します。
というか、いままでmaskされてないと知らなかった。

2011年6月20日18:46 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
>
> Issue #4909 has been reported by Motohiro KOSAKI.
>
> ----------------------------------------
> Bug #4909: trapハンドラは再入さ...
tarui (Masaya Tarui)
01:37 AM Bug #4821: Random Segfaults (in start_thread?)
I also get the segfault when running "rails generate" and when running tests. So it does not seem to be solely a problem with webrick? Maybe the causes are multiple? corneverbruggen (Corné Verbruggen)
 

Also available in: Atom