Activity
From 06/22/2011 to 06/28/2011
06/28/2011
-
11:52 PM Bug #3660 (Rejected): Trace events seem to be missing
- These trace messages is spec that ignore c-func and c-return event, now.
If you want to print c-func and c-return event, please set:
Tracer::display_c_call = true
-
11:46 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
- Thanks for the input, I will keep them in mind when investigating this!
-
10:26 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
- Note: #4611 and #4875 both crashes at ossl_ssl_verify_callback (1.9.2p274, 1.9.2p180.) I suspected this issue related to those issues.
-
11:28 PM Bug #3351: stack overflow on super
- I had catched by this with rails/sequel/custom backend for delayed_jobs.
After figuring, I ought to do some manipulations with requiring my initializators, and that looks ugly a bit.
-
11:17 PM Bug #4863: config.charset not found
- 前も別の API だから直ちに廃棄するつもりはないよって議論したような記憶があるんですが
-
10:44 PM Bug #4863: config.charset not found
- へ?
そりゃ初耳です。というかレガシーって宣言すればそれだけで廃棄していいんだ?
# かなり大きな話題のような... -
06:55 PM Bug #4863 (Rejected): config.charset not found
- iconvはレガシーライブラリであり、近い将来廃棄します。
-
11:08 PM Bug #3866: Multipart Form Parsing bug
- http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/37506?37282-37744
と同じ問題のようですね。 -
10:25 AM Bug #3866: Multipart Form Parsing bug
- Fujioka-san, thanks for your response. Please handle this.
Here's a ticket: http://web.archive.org/web/20090523081106/http://dev.rubyonrails.org/ticket/10886
And the patch: http://web.archive.org/web/20081015122057/http://dev.rubyonrai... -
06:53 AM Bug #3866: Multipart Form Parsing bug
- おはようございます。
# ruby-devはたぶん初投稿なのではじめまして。
とりあえず、何はともあれweb.archive.orgで調べたらなんかでてきました。
http://web.archive.org/web/20090523081106/http://dev.rubyonrails.org/ticket/10886
# 内容は読んでないです。
お役に立てればうれしいです。
(11/06/28 5:55), Hiroshi ... -
06:53 AM Bug #3866: Multipart Form Parsing bug
- おはようございます。
# ruby-devはたぶん初投稿なのではじめまして。
とりあえず、何はともあれweb.archive.orgで調べたらなんかでてきました。
http://web.archive.org/web/20090523081106/http://dev.rubyonrails.org/ticket/10886
# 内容は読んでないです。
お役に立てればうれしいです。
(11/06/28 5:55), Hiroshi ... -
05:59 AM Bug #3866: Multipart Form Parsing bug
- ruby-devでも救援募集です。
cgi.rbのmultipart-form周りで何か問題があるらしいんですが、参照先のRailsのチケット管理システムがなくなっている(移動した)らしく、詳細がわかりません。どなたか、コトの詳細をご存知のかた、もしくは
ttp://dev.rubyonrails.org/ticket/10886 の移動先が調べられるかたはいらっしゃいませんでしょうか。
よろしくお願いします。
(以下転送)
... -
05:59 AM Bug #3866: Multipart Form Parsing bug
- ruby-devでも救援募集です。
cgi.rbのmultipart-form周りで何か問題があるらしいんですが、参照先のRailsのチケット管理システムがなくなっている(移動した)らしく、詳細がわかりません。どなたか、コトの詳細をご存知のかた、もしくは
ttp://dev.rubyonrails.org/ticket/10886 の移動先が調べられるかたはいらっしゃいませんでしょうか。
よろしくお願いします。
(以下転送)
... -
10:04 PM Bug #3128 (Open): Randomness specs
- It's a Ruby language specification issue, so I clear 'Target version'.
-
09:46 PM Bug #4070 (Rejected): possible XMLRPC connectino leak
- Shyouhei, I added a comment to the pull request. We can use call_async instead of call for non Keep-Alive TCP connection which is closed per connection. I think that method name is awfully confusing but we don't want to touch xmlrpc lib ...
-
09:23 PM Revision 87dadf3b (git): * thread_pthread.c (native_stop_timer_thread): skip to close
- communication pipe to avoid timing bug (process termination timing).
The communication pipe will closed by OS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:17 PM Revision e9c1783b (git): * 2011-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:17 PM Revision c2212675 (git): * error.c (rb_async_bug_errno): async-safe bug report function.
- In timer thread, signal handler shoul use it.
The patch is contributed by Eric Wong <normalperson@yhbt.net>.
Refs: [ruby-core:37644] and [ruby-core:37647]
* thread_pthread.c: use rb_async_bug_errno().
And replace all fprintf() to w... -
08:56 PM Bug #4931 (Closed): debug.rbでvarコマンドを実行するとTypeErrorで落ちる
- ありがとうございました。r32271で修正しました。なんと、1.9以後誰もつかってなかったんですねvarコマンド。。。orz
-
08:50 PM Bug #3862: Bugs in the OpenSSL extension on sparc64
- Yes, I'd really appreciate your help there since I neither have access to OpenBSD nor sparc64 right now. It would be interesting to see whether you are able to reproduce these bugs with a trunk version of Ruby using OpenSSL 1.0.0. If not...
-
11:32 AM Bug #3862: Bugs in the OpenSSL extension on sparc64
- Based on the when I submitted this bug, I assume that the OpenSSL version was 0.9.8k (1.0.0a wasn't included in OpenBSD -current until 2010-10-01). If it would be helpful to get this retested with 1.0.0a, please let me know and I'll see...
-
08:49 PM Feature #4893: Literal Instantiation breaks Object Model
- Shyouhei Urabe wrote:
> Not sure about IBM737 but yes, 1.9.3 branch will be created from trunk.
Ok, I'm working now against trunk. "nmake test" with the applied "bootstraptest_runner_addition.diff" passes "nmake test". Can I do more,... -
08:33 PM Bug #3924 (Open): Performance bug (in require?)
- Oops, I'm very sorry. I wanted to close only #3906. Reopened it.
-
04:20 PM Bug #3924: Performance bug (in require?)
- Well, you can't close both tickets as duplicates of each other.
Which one stays open? The Windows one or this one, which has the discussion? -
06:17 AM Bug #3924 (Closed): Performance bug (in require?)
- I close this ticket as 'Duplicated'. Please refer #3924.
-
08:28 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- rubygems should *not* block ruby from running.
The attached WORKAROUND(!) patch "gem_prelude.diff" removes the blocking behaviour of rubygems, thus the interpreter works (as in versions before) after the compilation from within the so... -
04:28 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Usaku NAKAMURA wrote:
> Sorry, I can't understand what you want to say in reality.
> ...
I cannot always describe my point of view understandable to others.
So, I have to apologize.
> Anyway, present behavior is a result of reac... -
04:12 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Sorry, I can't understand what you want to say in reality.
(It's the limitation of my English skill, not your problem.)
Anyway, present behavior is a result of reaching after the long
long discussion.
If you want to change it, crea... -
03:46 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Usaku NAKAMURA wrote:
> It's spec.
> ...
Even if you have such a specification (which is a *very* bad one for a dynamic interpreted language), you should possibly verify it's strictness.
I mean, I just want the freshly compiled inte... -
03:24 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- And, to run the installed ruby not just built one, you have to chdir to another directory than the build directory.
-
02:55 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- In other words, you have to `nmake install` before you run the ruby.exe.
-
02:47 PM Bug #4941 (Rejected): cannot load such file -- rubygems.rb (LoadError)
- It's spec.
We don't support to run ruby without installation. -
02:37 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Correct formatting:
$ win32\configure
$ nmake
$ miniruby -e"p 'hello'" #=> hello
$ ruby -e"p 'hello'"
-
02:35 PM Bug #4941 (Rejected): cannot load such file -- rubygems.rb (LoadError)
- =begin
From within the directory of a fresh trunk checkout:
$ win32\configure
$ nmake
$ miniruby -e"p 'hello'" #=> hello
$ ruby -e"p 'hello'"
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadE... -
08:03 PM Bug #4939 (Third Party's Issue): Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
- > I've suggest it's not a Ruby bug.
Then, closed. ;-)
-
01:47 PM Bug #4939: Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
- The problem disappears after upgrade to Linux foo 2.6.39-0-generic #5~20110427-Ubuntu SMP Wed Apr 27 17:41:08 UTC 2011 i686 i686 i386 GNU/Linux using kernel-ppa.
I've suggest it's not a Ruby bug.
Thank you. -
01:04 PM Bug #4939: Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
- Thank you for pointing #4777. I've just read it and found it similar.
As it #4777 in my case when I sent CONT signal, the previously ignored TERM is handled well.
I'm running test case on Ubuntu 11.04 (Linux foo 2.6.38-8-generic #4... -
09:55 AM Bug #4939: Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
- Looks similar to #4777. Would you please see that issue and try the resolution? (Updating Linux Kernel to 2.6.38.4 or later)
-
09:53 AM Bug #4939 (Feedback): Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
-
04:21 AM Bug #4939 (Third Party's Issue): Signal handling does not working if single grave accent ( ` ) initiated command was issued before Signal.trap
- If grave accent ( ` ) shell command (`whoami` in the following case) is called BEFORE Signal.trap,
the signals will not be handled, and ruby default handling behavior also did not work.
Basically, when I press Ctrl+C or send kill -TE... -
08:01 PM Feature #4512 (Assigned): [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
- > why not just give this to io.c/file.c maintainers?
We don't have io.c/file.c maintainers too. Anyway I assigned it to me. Please stop annoying ping pong. -
12:23 PM Feature #4512: [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
- Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> We're looking for a fcntl maintainer...
Since fcntl is related to I/O and files (and IO#fcntl is implemented in
io.c), why not just give this to io.c/file.c maintainers?
--
... -
06:22 AM Feature #4512: [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
- We're looking for a fcntl maintainer...
-
06:53 PM Bug #3448: broken iconv library
- iconv is a legacy library and will be removed from future releases, so its use is strongly discouraged.
-
03:09 PM Feature #4197 (Closed): Improvement of the benchmark library
- This issue was solved with changeset r32269.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: merge eregon/benchmark.
https://github.co... -
03:09 PM Bug #4940 (Closed): Fixes for the benchmark library
- This issue was solved with changeset r32269.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: merge eregon/benchmark.
https://github.co... -
09:06 AM Bug #4940 (Closed): Fixes for the benchmark library
- Hello,
Seeing the 1.9.3 release coming, I thought it was a good time to introduce some small fixes for the benchmark library.
You can see the commits on my benchmark branch, after the Merge commit: https://github.com/eregon/ruby/co... -
02:46 PM Revision 58018f1f (git): * lib/tracer.rb: count only non-internal libraries in stack trace,
- ignoring custom_require.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Bug #3784: Seg fault in IO.select from webrick
- Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> Marcello, sorry for late reply.
>
> According to the dump you posted, though it threw SEGV at :select but
> it happened just after process forking by Unicorn. It must be a BUG of
... -
12:56 PM Bug #3784: Seg fault in IO.select from webrick
- Marcello, sorry for late reply.
According to the dump you posted, though it threw SEGV at :select but it happened just after process forking by Unicorn. It must be a BUG of ruby but would you please consult with Unicorn devs first? Th... -
12:44 PM Bug #3784: Seg fault in IO.select from webrick
- Enrico, sorry for late reply.
Is it still occurs with the newer 1.9.2 version? (1.9.2p180 is the latest released version) Would you please try 1.9.2p180 or development version at trunk (if possible) and show us ~/Library/Logs/CrashRep... -
12:42 PM Bug #3784: Seg fault in IO.select from webrick
- #3879 looks similar to the original issue on OS X. SEGV from IO.select in WEBrick on ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0].
-
12:52 PM Revision e36395dc (git): * lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 PM Feature #3879 (Closed): Segfault
- It looks similar to #3784 in getting SEGV from IO.select called from WEBrick. I close this as duplicated. Please refer #3784. (both needs Feedback though)
-
12:33 PM Bug #4403 (Rejected): require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
- As Kirk said. 1.9 expands a path for required feature for double load detection but it does not follow symlink. I can understand that some user think it as a bug but following symlink should be handled at OS layer, not at Ruby language l...
- 11:45 AM Revision 2102559f (git): * lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
- global_variables, local_variables, and instance_variables returns
Symbols from 1.9 and need to stringify before evaling it.
See #4931.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 AM Bug #4870 (Assigned): forkのテストが非常にまれに失敗する
- ああ、担当者を設定し忘れていましたか。すいません。
ええと、ちょっと原因不明すぎて193に間に合う気がしないので遺憾ながら 1.9.x に設定しました。
以下調査状況
Macのlibcまわりのコードを読んだ感じだと _sigtramp はシグナルハンドラの本体
(というかユーザが登録いた本物のシグナルハンドラとsigreturnを呼ぶラッパ)なのでシグナルを
受信したんだろうな。と
で、シグナルハンドラの延長で signal_exec() が呼ばれて... -
10:47 AM Bug #4870: forkのテストが非常にまれに失敗する
- 振り損ねていたようです。たぶん他に誰にも拾えないので処遇をお任せします。
-
10:42 AM Revision 0148d41a (git): * signal.c: Now, USE_TRAP_SIGMASK depend on HAVE_PTHREAD_SIGMASK.
- The code have already depended on pthread_sigmask since r27464.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:49 AM Bug #4937: trunk@32244 MinGW build failure - thread_win32.c
- This was introduced in r32244 by Koichi Sasada. Assigning it to him.
Sasada-san, seems the signature change in thread_win32.c is missing, the following patch solves the compilation but I'm unsure the extend of the needed changes:
... -
07:32 AM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
- Usaku NAKAMURA wrote:
> 1.9.3 feature is already freezed.
> ...
Mr. Usaku Nakamura,
Similar to #4896 which is possible to include new features in curses for 1.9.3, can we make an exception for this too?
Asking this considering th... -
07:03 AM Feature #4896 (Assigned): Add newpad() support to Curses
- My bad, I though curses does not have a maintainer, so I moved this out from 1.9.3.
Shugo, please handle this.
1.9.3 feature is said to be freezed by Yugui, so it should be delayed to 1.9.4 in general. But all scheduled milestones ar... -
06:43 AM Feature #4896: Add newpad() support to Curses
- Why was this moved to 1.9.x?
I have used this patch to write a browser-like tool and it seems to work OK.
Can we have this in 1.9.3? -
06:18 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- 1.9.X?
-
06:17 AM Feature #3906 (Closed): Initializing and loading Rails environment takes really long on Windows XP
- I close this ticket as 'Duplicated'. Please refer #3924.
-
06:09 AM Revision 4870feb3 (git): * lib/benchmark.rb: merge eregon/benchmark.
- https://github.com/eregon/ruby/tree/benchmark
patched by Benoit Daloze. [ruby-core:37593] [Bug #4940]
* lib/benchmark (Benchmark#bmbm): bmbm should be consistent with bm
for the return value.
* test/benchmark: remove preemptive tes... -
05:14 AM Bug #4480 (Closed): Thread-local variables issue: Thread#[] returns nil when called first time
-
05:14 AM Bug #4480: Thread-local variables issue: Thread#[] returns nil when called first time
- Updated RDoc at r32260 based on Andrei's patch. I just wanted to remove Thread.main thing to concentrate Thread#[] behavior. Thanks!
- 04:45 AM Revision 565336ac (git): * thread_win32.c (native_stop_timer_thread): fixed commit miss of
- r32244. grep sources before changing the signature of a function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Martin Bosslet wrote:
> 1) Error:
> ...
I tested further and the test fails deterministically at the same spot each time. If I rewrite test_write_nonblock as follows:
def test_write_nonblock
ssl_pair {|s1, s2|
n ... -
03:40 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Not sure if it is related:
I tested again using Ubuntu 10.04 with OpenSSL 0.9.8k and make test-all TESTS="openssl/test_pair.rb" (at r32258) and I get this (reproducible all the time):
# Running tests:
..................E.
Fin... -
02:57 AM Revision 9ca26b50 (git): add a detail comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 AM Revision 014a5f31 (git): * thread_pthread.c (consume_communication_pipe):
- Make "buff" as static. (Maybe) "buff" can be shared between
any caller (any threads) because no one use the read values.
And remove const value "buff_size", and define CCP_READ_BUFF_SIZE
macro.
git-svn-id: svn+ssh://ci.ruby-lan... -
02:45 AM Revision 2619f216 (git): * lib/rake: Update rake to fix some bugs and hide deprecated features
- from RDoc.
* lib/rake/version.rb: Bump version to 0.9.2.1 to distinguish it from
the released version.
* NEWS: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 AM Revision 84ece951 (git): * lib/rdoc: Update to RDoc 3.7 (final)
- * NEWS: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:20 AM Bug #4232 (Closed): unexpected behavior of '#{}' in irb
- This issue was solved with changeset r32257.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/ruby-lex.rb: fix [Bug #4232]. -
01:20 AM Revision 41ab31e6 (git): * process.c (rb_daemon): fix wrong #endif position.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:58 AM Feature #4938 (Closed): Add Random.bytes [patch]
- It could be useful to add a `Random.bytes` method (equivalent to `Random::DEFAULT.bytes`), as per the simple patch attached.
-
12:18 AM Bug #4409 (Closed): DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
- This issue was solved with changeset r32254.
Nicolas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
fix [Bug #4409]. add DRbServer#here? -
12:11 AM Bug #4793 (Closed): 特定のSyntaxErrorでirbが落ちる
- パッチ適用しました。
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... - 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
-
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... -
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?
-
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.
-
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 -
08:24 PM Feature #4936 (Closed): Android標準ブラウザに対してWEBrickのDigest認証を行った際の挙動
- Android標準ブラウザはDigest認証時に、Authorizationリクエストヘッダで「algorithm=MD5」と送るべきところを「algorithm=md5」としてしまう(小文字で送ってしまう)ため、WEBrickではアルゴリズム不一致として認証に失敗します。
クライアント側のバグではありますが、WEBrickの側で「OperaHack」のような対応はできないでしょうか。
-
08:23 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
- Yes, I'll look into it!
- 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 -
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... -
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... -
04:18 PM Bug #4045 (Closed): build error on mswin
- その後起きたり起きなかったり。
2週間ほど見てないけど、直ったのかどうかもよくわからない。
なんかよくわからんのでいったんクローズしておきます。 -
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.
-
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"?
-
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
-
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... -
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... -
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... -
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. -
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... - 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://... -
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... -
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
-
04:13 PM Bug #3323 (Closed): Spawning process on unicode path is not supported on windows
- fixed at r29166.
-
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>
-
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#[]. - 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
- 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
- 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
- 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
-
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
-
02:54 PM Bug #3198 (Rejected): O_APPEND for redirect fd is ignored on windows
- なぜかartonさんに割り当てられてるけど勝手に分捕ります。
で、「仕様」ということで今回はreject。
なんか新しい解決策を誰かが思いついたらまた考えましょう。
# 子プロセスをsuspend状態で作ってremote thread注入して、というのが
# 今突然ひらめいたけどもちろんやらない。 -
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 -
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 -
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... -
01:02 PM Bug #4157 (Assigned): test_pty で、たまに出る Failure
- いやいや、再現するならreopenしましょうよ。closeされたチケットを追っかけてくれる人が
この世にいるだろうか(反語)
というわけで Kishimotoさんアサインでリザレクトします。 -
12:18 PM Bug #4157: test_pty で、たまに出る Failure
- すいません。かなり頻度は低くなっているようなのですが、while make test-all TESTS="test_pty.rb" ; do : ; done をしばらく(100回ほどやってみると最長で3分ほど)動かしてみるとやはり trunk(r32037)でも起きました
ステータスそのままでいいと思いますが、一応報告します -
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 -
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 -
11:31 AM Feature #4935: Quoted Label Form for 1.9 Hashes
- Sorry, meant to list this as a feature. Test attached.
-
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"
... -
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 ... -
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.
-
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 -
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...
-
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以外はキャッシュヒットするようになります。
この話は... -
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以外はキャッシュヒットするようになります。
この話は... -
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.
-
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
-
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 -
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
-
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
-
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
-
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... -
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...
-
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... -
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 -
12:55 AM Feature #4142 (Closed): multipart/form-data for net/http
- r32241 で書きました。
-
12:50 AM Bug #4844 (Feedback): RVM crash while running resque worker pool
- It is not a reproducible code.
-
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
... -
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
... -
12:39 AM Bug #4700 (Feedback): JSON Documentation
- https://github.com/flori/json/issues/79
-
12:38 AM Bug #4223: GC.stress = true で謎の ArgumentError
- うーん、UFSでもZFSでも再現しなくて謎なので、再現できる岸本さんが頑張ってください
-
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... -
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-...
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...
-
06:12 PM Bug #4445 (Assigned): ext/openssl の verify_callback が rb_protect で保護されていない
-
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... -
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.
-
04:35 PM Feature #4168 (Assigned): WeakRef is unsafe to use in Ruby 1.9
-
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... -
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. -
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 - 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
-
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.
-
10:39 PM Bug #4931 (Assigned): debug.rbでvarコマンドを実行するとTypeErrorで落ちる
-
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... -
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... -
06:24 PM Bug #4480 (Assigned): Thread-local variables issue: Thread#[] returns nil when called first time
-
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... -
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 ... -
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... -
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. -
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... -
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.
-
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... -
11:01 AM Feature #4893: Literal Instantiation breaks Object Model
- Deleted by myself, duplicate post.
-
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 ... -
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... -
04:22 PM Bug #4062 (Assigned): "gem uninstall" does not honor --program-suffix
-
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
-
07:31 PM Bug #3080: class_variable_set issue with duped Module
- Let's discuss after 1.9.3. Sorry.
-
02:52 PM Bug #3080 (Assigned): class_variable_set issue with duped Module
-
07:31 PM Bug #4769: Updated SMTP standards
- Net::SMTP has no maintainer.
-
07:29 PM Bug #982: stack level too deep for long Array initialization
- すみません,1.9.3 の後の課題とさせて下さい.
-
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.
-
04:10 PM Bug #4029 (Assigned): Stack consistency error (sp: 7, bp: 8) using external libs
- Do you have any information?
-
07:21 PM Bug #4930: $prefix/lib/ruby/gems and its subdirs are world writable
- I confirmed this on FreeBSD...
-
07:20 PM Bug #4930 (Assigned): $prefix/lib/ruby/gems and its subdirs are world writable
-
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... -
07:17 PM Bug #4926 (Assigned): --gc-stress付きtest/ruby/enc/test_emoji.rbが失敗する
-
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... -
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() で行っている... -
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() で行っている... -
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... -
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... -
07:15 PM Bug #4925 (Assigned): Infinite recursion allowed in rescue clause
-
07:11 PM Bug #4882 (Assigned): Delegator#methods should accept the singleton flag argument
-
07:10 PM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
- Let's talk it after 1.9.3 release.
-
07:09 PM Bug #4875 (Assigned): Segmentation fault in http.rb
-
07:07 PM Bug #4847 (Assigned): Documentation Error for Hash#reject
-
07:06 PM Bug #4844 (Assigned): RVM crash while running resque worker pool
-
07:05 PM Bug #4623 (Feedback): Consistent crash related to action_mailer
-
06:50 PM Bug #4623 (Assigned): Consistent crash related to action_mailer
-
07:05 PM Bug #4613 (Assigned): define_method lacks trace events
- Please close it.
-
07:03 PM Bug #4821 (Assigned): Random Segfaults (in start_thread?)
-
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... -
06:45 PM Bug #4537 (Assigned): Incorrectly creating private method via attr_accessor
-
06:58 PM Bug #4681 (Assigned): Timeout.timeout doesn't actually time out?
-
06:55 PM Bug #4675 (Third Party's Issue): rails script/server abort trap [BUG] Segmentation fault
- It seems mongrel's issue.
-
06:54 PM Bug #4673 (Feedback): URI::Generic registry is not properly set.
-
06:52 PM Bug #4651 (Closed): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
-
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... -
06:49 PM Bug #4611 (Assigned): [BUG] Segementation fault reported
-
06:47 PM Bug #4594 (Rejected): Don't depend on extension automagic
-
06:46 PM Bug #4546 (Assigned): ruby-indent-beg-re の値が壊れている
-
06:43 PM Bug #4533 (Assigned): rake db:migrate ----Segmentation fault
-
06:41 PM Bug #4525 (Assigned): Exponential performance when summing Enumerable
-
06:39 PM Bug #4403 (Assigned): require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
-
06:37 PM Bug #4517 (Feedback): ArgumentError when sorting array of objects
-
06:36 PM Bug #4511 (Assigned): Ripper#end_seen? の戻り値に関するコメント
-
06:35 PM Bug #4501 (Feedback): 1.9.2-p180 fails to compile on OSX 10.7
- Is this still reproducible?
-
06:33 PM Bug #4492 (Assigned): Segfault on successive stack overflows
-
06:31 PM Bug #4490 (Assigned): struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.
-
06:30 PM Bug #4488 (Feedback): Segmentation fault when calling new (or in rspec)
- Would you show a reproducible code?
-
06:27 PM Bug #4487 (Assigned): require_relative fails in an eval'ed file
-
06:24 PM Bug #4485 (Assigned): Gem.bin_path('rake') does not return the path of the system-installed rake
-
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. -
06:18 PM Bug #4472 (Third Party's Issue): mongrel on Windows XP
- It looks like mongrel's issue.
-
06:14 PM Bug #4458 (Assigned): Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
-
06:13 PM Bug #4457 (Assigned): Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
-
06:11 PM Bug #4438 (Assigned): rescue args type check omitted
-
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)? -
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... -
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.
-
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.
-
05:54 PM Bug #4409 (Assigned): DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
-
05:53 PM Bug #4408 (Assigned): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
-
05:52 PM Bug #4405 (Assigned): WIN32OLE & Threads incompatible
-
05:51 PM Bug #4404 (Assigned): Make Dir.glob respect backslash as if slash in windows
-
05:48 PM Bug #4398 (Assigned): Highlighting of "'?" in Emacs
-
05:47 PM Bug #4386 (Rejected): encoding: directive does not affect regex expressions
-
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 -
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. -
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. -
05:39 PM Bug #4355 (Third Party's Issue): Segmentation Fault
- It seems ruby-debug's issue.
-
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?
-
05:37 PM Bug #4223 (Assigned): GC.stress = true で謎の ArgumentError
-
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... -
04:49 PM Bug #4223 (Feedback): GC.stress = true で謎の ArgumentError
- 現在のtrunkで再現しませんがどうでしょう
-
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. -
05:36 PM Bug #4157 (Closed): test_pty で、たまに出る Failure
- ありがとうございます。修正済み扱いで閉じますので、再現したらご連絡をお願いします。
-
05:00 PM Bug #4157: test_pty で、たまに出る Failure
- trunk の r32231 で再現できませんでした
-
04:28 PM Bug #4157 (Assigned): test_pty で、たまに出る Failure
- もうこれ再現しないと思うんですがいかがでしょうが
-
05:35 PM Bug #4352 (Assigned): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
-
05:32 PM Bug #4350 (Feedback): Segmentation fault and Bus Error
- Would you show a small reproducible code?
-
05:29 PM Feature #4347 (Assigned): Tracing cannot be re-enabled after callcc [patch]
-
05:28 PM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
- This seems resolved.
-
05:27 PM Bug #4341 (Assigned): baserubyに1.8.xを指定すると make benchmark がエラー
-
05:24 PM Bug #4332 (Assigned): Some seemingly random segfaults
-
05:19 PM Bug #4323 (Assigned): Proc#hash is Ill-Behaved
-
05:11 PM Bug #4307 (Assigned): include fails after undef_method
-
05:08 PM Feature #4299 (Assigned): no warning: found = in conditional, should be ==
-
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. -
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.
-
04:56 PM Feature #4234 (Assigned): Hash#default_proc= Doesn't Accept nil Argument
-
04:53 PM Feature #4233 (Assigned): autoload Can't Require Gems
-
04:47 PM Bug #4199 (Feedback): make test ruby-1.9.2-p0 failed on Solaris10 x86
- Contribution is welcomed.
-
04:46 PM Bug #4198 (Rejected): parse error involving spaceship operator
- Spaceship operator doesn't have asociativity, so a <=> b <=> c is parse error.
-
04:40 PM Bug #4173 (Assigned): TestProcess#test_wait_and_sigchild が、たまに失敗する
- とりあえず現在FreeBSDではskipにしてます
-
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.
-
04:37 PM Feature #859: open-uri doesn't allow redirection to https
- Tanaka-san, please handle this.
-
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 ... -
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. -
04:32 PM Bug #2460: RubySpecでFiberのSpecがおちる
- > 「単独では無理」というのはFiberに限った事でしょうか。
> ...
後者だと思います。
Fiber に限らず、Ruby プロセス終了時の挙動は実際に終了させなければテストでき
ないので。
この件に関しては、実行終了というよりは、「Fiber が途中状態のまま GC されたときに
ensure 節が実行される」という仕様を検査したいわけですが、確実に GC させるには
Ruby プロセスを終了させるくらいしか手がないですかね。
--
Yu... -
04:28 PM Bug #4160 (Assigned): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
-
04:26 PM Bug #4140 (Rejected): segfault recursion inside a thread
- Ruby cannot guarantee SystemStackError to be thrown.
-
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. -
04:23 PM Bug #4070 (Assigned): possible XMLRPC connectino leak
-
04:21 PM Bug #4058 (Closed): __method__ does not return correct method name for aliased methods
-
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. -
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. -
04:10 PM Bug #4040 (Assigned): SystemStackError with Hash[*a] for Large _a_
-
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.
-
04:07 PM Bug #4012 (Assigned): Get segmentation fault when trying to call method from 3rd party's API
-
04:04 PM Bug #4008 (Assigned): Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
-
04:00 PM Bug #3128 (Assigned): Randomness specs
-
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 -
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?
... -
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 ... -
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. -
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
-
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. -
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. -
03:51 PM Bug #3927 (Third Party's Issue): Ruby can't interprete rmagick library
- This looks rmagick's issue.
-
03:48 PM Bug #3919 (Assigned): Ruby in PowerTOP - too many CPU wakeups
-
03:48 PM Bug #3880 (Assigned): Ruby 1.9.1 - crash in timeout.rb
- 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
-
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 -
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 -
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. -
03:38 PM Bug #3844 (Feedback): Kernel.methods(false) not documented
- Documentation contribution is welcomed.
-
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. -
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. -
03:29 PM Bug #3744 (Feedback): Fails to compile on OpenSolaris
- We don't have Solaris.
Contribution is welcomed. -
03:18 PM Bug #3796 (Feedback): make check fails on powerpc64 linux
- Contribution is welcomed.
-
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. -
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. -
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.
-
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 ... -
03:08 PM Bug #3683 (Assigned): getgrnam on computer with NIS group (+)?
-
03:07 PM Bug #3606 (Assigned): Thread.stop and puts fail to work as documented.
-
03:05 PM Bug #3600 (Feedback): HP-UX compilation
- Contribution is welcomed.
-
03:02 PM Bug #3586 (Closed): Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
-
03:01 PM Bug #3531 (Rejected): segmentation fault caused by etc/activation.rb (wxruby)
- timeout
-
03:00 PM Bug #3423 (Assigned): Inconsistent behaviour of Module#const_get with included modules
-
02:59 PM Bug #3422 (Assigned): Object.const_get(:A, false) can access BasicObject::A
-
02:58 PM Bug #3351 (Assigned): stack overflow on super
-
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... -
02:57 PM Feature #3348 (Assigned): rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR
-
02:55 PM Bug #3332 (Rejected): r27953: gem install causes "uninitialized constant Gem::Commands::InstallCommand"
- timeout
-
02:54 PM Bug #3198 (Assigned): O_APPEND for redirect fd is ignored on windows
- 決定の問題だと思うので、決めてください
-
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.... -
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... -
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... -
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-... - 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
-
02:48 PM Bug #3024 (Assigned): mkmf: Directory names with spaces cause invalid Makefiles to be generated
-
02:47 PM Bug #3022 (Assigned): What are $. and ARGF.lineno ?
- Eric, how do we document $.?
-
02:46 PM Bug #2756 (Assigned): Issues with Math and Complex behavior on 1.9
-
02:43 PM Bug #2729 (Assigned): `unexpected break' occurs when a proc is called in ensure
-
02:42 PM Bug #2641 (Rejected): Seg fault running miniruby during ruby build on Haiku
- timeout
-
02:41 PM Bug #2550 (Assigned): failed to build with Solaris's make
-
02:37 PM Bug #2137 (Assigned): Dir.glob does not support unicode on Windows
- What's happened on this, please explain.
-
02:27 PM Bug #1679 (Assigned): rb_w32_getenv() invalidates previous environment pointers
-
02:24 PM Bug #1342 (Feedback): signal handling on HP-UX
- Graham, the patch is still available?
If so, I'll merge it. -
02:20 PM Bug #1152 (Assigned): profiler.rb is not concurrent-execution threadsafe
-
02:16 PM Feature #3112 (Closed): require "yaml" doesn't use psych as default
-
02:08 PM Feature #1906 (Assigned): Kernel#backtrace: Objectifying Kernel#caller
-
02:06 PM Bug #1813 (Assigned): Threading seg fault (1.9.1-p129 Linux/Mac)
-
02:04 PM Bug #1801 (Rejected): parse error on variable/method collision
- This is intentional.
-
01:59 PM Feature #1400 (Assigned): Please add a method to enumerate fields in OpenStruct
-
01:57 PM Bug #1650 (Assigned): Time range === is slow
-
01:51 PM Bug #1145 (Assigned): IRB adds trailing quote to wtring methods when performing auto-completion
-
01:45 PM Bug #3448 (Rejected): broken iconv library
- //ignore is GNU libiconv's feature
- 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
-
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 -
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
... -
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
-
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
-
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... -
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 ... -
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... -
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
...
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... -
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で聞いたところに... -
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で聞いたところに... -
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作った遠藤さんに聞くべきなのかも知れません... -
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作った遠藤さんに聞くべきなのかも知れません... -
09:20 AM Bug #4072 (Assigned): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
- kosakiです
unblock functionはGVL持たずに呼ばれるので、そこがthread stateによって挙動を変えていたら「死ねばいいのに」レベルだと思っています。よってわたし的にはこのパッチはOK。
ただIRCで聞いたところによると mameさんの意識は
ruby -e 'trap(:INT) { }; sleep'
の時もsleepは解除されるという仕様だったそうです。ここの仕様はまつもとさんに確認
する必要があると思います。... -
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... -
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... -
06:24 PM Bug #4920 (Closed): Process.daemon()呼び出しによりタイマースレッドが2つ出来てしまう
- fixed by r32221.
- 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 -
03:51 PM Bug #3137: complex.rb changes exceptions of Math
- r32055 の修正だと、CMath.#log で底に数値以外を与える場合に Math.#log のように TypeError が発生しませんでした。
CMath.log(8, "2") # => ArgumentError - 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
-
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.... -
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 -
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 -
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... - 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
-
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
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() でメインスレッドへシグナル送信し... -
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作った遠藤さんに聞くべきなのかも知れませんが。
... -
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作った遠藤さんに聞くべきなのかも知れませんが。
... -
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 対策不足という... -
01:53 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
- 何度もすみません。SIG_DFL じゃなくて SIG_IGN ですね。
あと引数なしの sleep の場合は sleep_forever() で眠りますが、こちらは deadlockable 引数が 0 だと while の条件部が抜けるようになっているのでそのため一度起床するとそのまま抜けてしまってたようです。 -
01:28 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
- そうですね、EINTR でのリトライじゃなく SIGPIPE が SIG_DFL になったことの影響かもしれません。
-
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... -
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... -
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 ...
-
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://... -
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.
... -
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...
-
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.
-
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... -
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... -
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++')
... - 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... -
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 - 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
- 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... -
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... -
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... -
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.
> ..... -
12:12 AM Feature #1031: -U オプションの説明が --help にない
- とりあえずFeatureに移動しますかね
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... -
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... -
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... -
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... -
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... -
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... -
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... -
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:
... -
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さ... -
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... -
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... -
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... -
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
-
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... -
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... -
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 ... -
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)?
-
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.
... -
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.
-
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... -
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... -
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... -
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... -
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 ... -
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... -
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... -
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... - 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
-
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... - 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
- 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
-
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... -
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... -
01:56 PM Feature #4921: Remove intern.h
- なるほど。
ファイルを削除してしまうと問題があるケースもありえなくはないので、
実際にはruby.hをincludeするだけのファイルにする等を考えています。 -
11:13 AM Feature #4921: Remove intern.h
- intern.hは「RubyインタプリタAPI(ruby.h)ではない、メソッド実装とその周辺関数だが、他のファイルから参照されている関数」プロトタイプのために用意したヘッダでした。なし崩し的に公開APIっぽくなりましたが。なくすぶんには反対しませんが、1.9の途中でなくして互換性問題が発生しませんか?
-
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 は
もう必要ないのではない... - 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... -
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... - 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 -
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)
- 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... - 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
- 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... -
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
-
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.
-
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. - 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
- 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
-
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
-
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...
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...
-
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のコールバックについて、「返す値に意味はない」... -
05:21 PM Bug #4416: OpenSSL::SSL::Session#session_new_cb
- この参照追加はRubyオブジェクトからの参照で、Rubyオブジェクトの開放時にSSL_SESSION_freeを呼ぶために必要なんですが、逆に0(Rubyレベルでfalse)を返したときのOpenSSLの挙動がよくわかりませんね。。。うーむ。
-
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... -
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, -
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... -
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... -
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... -
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... -
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つ出来てしまうからです。
原因は以下のコードです
---------------... -
05:50 PM Bug #4916 (Assigned): [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc
-
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 -
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? -
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... -
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... -
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... -
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... -
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...
- 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... -
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 -
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 -
11:04 AM Bug #3817: current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
- Moved target version to 1.9.x
-
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.
* ... - 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... -
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... -
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... -
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... -
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...
-
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 -
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/... -
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... -
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/... -
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 ... -
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 - 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 - 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 -
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.
-
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,
...