Activity
From 06/18/2015 to 06/24/2015
06/24/2015
-
10:10 PM Revision 93a460f7 (git): * gc.c (obj_info, method_type_name): show method type name in a string
- instead of a number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 PM Revision 04deaf5d (git): * gc.c (obj_info): show more details for T_IMEMO/imemo_ment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 PM Revision 988267d4 (git): * vm_method.c (rb_method_definition_reset): need a WB for
- VM_METHOD_TYPE_ATTRSET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 PM Revision 9a263871 (git): * gc.c (RGENGC_OBJ_INFO, obj_info): add a macro to enable/disable
- rich obj_info() output.
At the default, the value of RGENGC_OBJ_INFO is
(RGENGC_DEBUG | RGENGC_CHECK_MODE).
* gc.... - 05:44 PM Revision 8b192636 (git): * 2015-06-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:44 PM Revision 3d7473e1 (git): ext/openssl/ossl_ssl.c: raise if kwargs given in blocking mode
- OpenSSL::SSL::SSLSocket#sysread does not accept kwargs in blocking
mode, inform users if they make an error.
* ext/o... -
03:44 PM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
- Nobuyoshi Nakada wrote:
> Candidates for the methods or options?
>
> I prefer a same option for both methods, but... -
06:41 AM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
- Candidates for the methods or options?
I prefer a same option for both methods, but no concrete idea. -
06:24 AM Feature #11302 (Closed): Dir.entries and Dir.foreach without [".", ".."]
- Dir.entries returns an array of its content with "." and "..".
But as far as I met, almost all cases don't need them... -
03:38 PM Feature #11298: [PATCH] socket: memoize common socket families in fptr->mode
- [email protected] wrote:
> Did you make a mistake, or `after` is really slower?
Good catch! I mislabeled t... -
09:10 AM Feature #11298: [PATCH] socket: memoize common socket families in fptr->mode
- Did you make a mistake, or `after` is really slower?
-
11:08 AM Bug #11304 (Closed): [PATCH] Kernel.global_variables should observe $~.
- The added complexity does impact performance, but the difference is negligible, and the method should return what it ...
-
09:08 AM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
- imho, 0001 is very important, cause it gives most of performance improvement for usual case.
For now, I think twic... -
08:41 AM Bug #10398: Server Name Indication support broken when reusing a (dead) session
- Same issue: #10533
-
08:41 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Related i.e same issue: #10398
-
08:31 AM Revision 220f9d50 (git): vm_method.c: use the current visibility
- * vm_method.c (rb_attr): simply use the current visibility,
instead of tests for each visibilities.
git-svn-id: sv... -
08:29 AM Revision d92b0dc5 (git): vm_method.c: remove redundant check
- * vm_method.c (rb_attr): remove redundant check. attribute names
given in ruby level should be checked before call... -
08:28 AM Revision 43b5e3d7 (git): load.c: use RB_GC_GUARD
- * load.c (rb_feature_provided): use RB_GC_GUARD for fullpath after
last use of feature.
git-svn-id: svn+ssh://ci.r... -
08:25 AM Bug #11303 (Third Party's Issue): [BUG] Segmentati on fault ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
- $ rails server
c:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/mysql-2.9.1/mysql/mysql_api.so: [BUG] ... -
08:20 AM Misc #10278: [RFC] st.c: use ccan linked list
- Updated v2 patch.
I care about this more, now, since I want to try to make unordered hash an
option with st.c in ... -
07:56 AM Revision 4a8b0481 (git): * gc.c (gc_mark_children): add additional debug code for #11244.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:17 AM Revision a12fb26f (git): string.c (rb_str_justify): use RB_GC_GUARD
- See doc/extension.rdoc for justification using RB_GC_GUARD instead
of volatile.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
06:54 AM Bug #11301: Module#prepend should have always added the module before the current
- I think we have tried it some times but not made a conclusion.
Change `Module#prepend` only? -
05:55 AM Bug #11301 (Closed): Module#prepend should have always added the module before the current
- I don't think it's ideal:
~~~ruby
module M
end
class A
prepend M
end
A.ancestors
# => [M, A, Obje... -
06:53 AM Bug #11296 (Closed): Proc#arity returns weird value for non-lambda proc with optional arguments
- Marc-Andre, thank you for the info. You have made the issue clear.
Now I can safely close the issue.
Matz.
-
05:25 AM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
- This is intentional, as per #5694 (note 22). It is not really related to #7765.
FWIW, I still believe it was not t... -
06:07 AM Bug #11247 (Assigned): Should position of `using` affect the behavior?
- Koichi Sasada wrote:
> Recent fix changed behavior of this script.
>
> * trunk in May: C and R1, C
> * current t... -
06:02 AM Bug #11246 (Rejected): refine block doesn't respect "lexical" refinement information
- Koichi Sasada wrote:
> The following program making two refinements refine class C.
>
> ```ruby
> class C
> d... -
05:30 AM Revision 8b0cfe90 (git): * gc.c (gc_mark_ptr): add a check code for #11244.
- It should be removed later. But we can remain this check
because it is only a branch.
git-svn-id: svn+ssh://ci.r... -
04:37 AM Bug #11244: [BUG] rb_gc_mark(): 0x00000001f34020 is T_NONE
- その後、かなり高い頻度で発生するようになっています。
毎回 gc_mark_stacked_objects_all() の呼び出しから起きていて、incremental では起きないようなので、たぶんなんかその場合のみ引っかかるオブ... -
03:50 AM Revision d3199656 (git): string.c: rb_fstring_cstr
- * string.c (rb_fstring_cstr): new function to make a fstring from
a string literal.
git-svn-id: svn+ssh://ci.ruby-... -
03:47 AM Revision 0161f79a (git): internal.h: rb_fstring_lit
- * internal.h (rb_fstring_lit): new macro to make a fstring from a
string literal.
git-svn-id: svn+ssh://ci.ruby-la... -
03:47 AM Revision ca87ac69 (git): intern.h: rb_strlen_lit
- * include/ruby/intern.h (rb_strlen_lit): new macro to get the
length of a string literal, borrowed from mruby/mruby... -
03:21 AM Revision 7fac6912 (git): * re.c: Update documentation for Regexp class.
- [fix GH-937][ci skip] Patch by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51006 b2dd03c8-39d4-4... -
03:08 AM Feature #11300: [PATCH] Add String#bin for parity with #hex and #oct.
- [email protected] wrote:
> Two points. Unlike `#hex` and `#oct`, there's little demand for 0/1 strings conversion... -
01:20 AM Feature #11300 (Feedback): [PATCH] Add String#bin for parity with #hex and #oct.
- Two points. Unlike `#hex` and `#oct`, there's little demand for 0/1 strings conversion.
Besides that, `String#bin` c... -
01:00 AM Feature #11300 (Feedback): [PATCH] Add String#bin for parity with #hex and #oct.
- ## Proposal
It is proposed that `String#bin` be added to return the receiver's value when interpreted as a string ... -
12:38 AM Feature #11299: [PATCH] use Array instead of custom struct for generic ivars
- [email protected] wrote:
> I agree with Ko1 here. GC pressure from object allocation is far
> higher than the pre... -
12:28 AM Feature #11299: [PATCH] use Array instead of custom struct for generic ivars
- [email protected] wrote:
> I'm weakly against this proposal because it will consumes more objects
> and increase GC pr... -
12:24 AM Feature #11299: [PATCH] use Array instead of custom struct for generic ivars
- I agree with Ko1 here. GC pressure from object allocation is far higher than the pressure from byte allocation.
Ma... - 12:24 AM Revision 1782dd8c (git): variable.c: remove FL_ABLE check for generic ivars
- Missed this in r50758.
* variable.c (generic_ivar_set): remove FL_ABLE check
(gen_ivar_copy): ditto
[ruby-core:6...
06/23/2015
-
11:53 PM Feature #11299: [PATCH] use Array instead of custom struct for generic ivars
- I'm weakly against this proposal because it will consumes more objects and increase GC pressure.
I don't think it is... -
11:23 PM Feature #11299 (Assigned): [PATCH] use Array instead of custom struct for generic ivars
- I'll commit this in a few days unless there's an objection.
~~~
This reduces both code and object size while redu... -
11:41 PM Feature #11263 (Closed): [PATCH] ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
- Applied in changeset r51003.
----------
ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
Using 8K st... - 11:41 PM Revision 3f172356 (git): * 2015-06-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:40 PM Revision d9d1b20d (git): ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
- Using 8K stack is probably too much. As reference, ALLOCV falls
back to heap allocation at a mere 1K. Since
bsock_r... -
07:18 PM Feature #11298 (Closed): [PATCH] socket: memoize common socket families in fptr->mode
- I noticed an unnecesary getsockname() syscalls for every
sendmsg_nonblock call I make on SOCK_SEQPACKET pair.
This ... -
02:47 PM Feature #6284: Add composition for procs
- Attached patch to support composing with any object that responds to `call` (rather than raising a `TypeError` if the...
-
02:07 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
- Hans, thank you. That's what I meant.
Kazuhiro, #7765 suggests that seems intentional.
After hearing opnion from ot... -
01:26 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
- I think #5694 and #7765 are related issues.
-
12:55 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
- i think matz means:
~~~ruby
Proc.new(){|x=0|}.arity # => 0
lambda {|x=0|}.arity # => -1
~~~ -
11:50 AM Bug #11296 (Feedback): Proc#arity returns weird value for non-lambda proc with optional arguments
- `Proc.new(x=0){}` raises an `ArgumentError` for me, in 1.8..2.3.
-
05:48 AM Bug #11296 (Rejected): Proc#arity returns weird value for non-lambda proc with optional arguments
- `Proc.new(x=0){}.arity` returns 0, not -1 unlike lambdas.
I don't remember if it's intentional or not. Anyone remem... -
01:27 PM Feature #11297 (Closed): Allow private method of self to be called
- Ruby does not allow private method to be called if receiver is given. Calling private method with receiver is prohibi...
-
12:00 PM Bug #11294: Possible bug in Object.const_get
- Thank you, Nobuyoshi, for your answering. Now I see the reason.
When I told that `Foo::Bar::Qux` is "closest" to `... -
11:47 AM Bug #11265: deadlock on Solaris 10 since r50900
- 親プロセス側のスレッド l@5 内で呼ばれている dlsym() で要求しているシンボルは _ex_unwind であるのがわかりました。
(下記のdbxの出力は、上記とは別の実行時になりますが、おおむね同じです。)
~~~
... -
05:32 AM Revision c23a7b0d (git): error.c: ArgumentError if no receiver
- * error.c (name_err_receiver): raise ArgumentError if no receiver
is available on this exception object. [Feature ... -
05:32 AM Revision 8283e4fd (git): error.c: index numbers
- * error.c (rb_name_err_mesg_new, name_err_mesg_to_str): name magic
numbers of indexes.
git-svn-id: svn+ssh://ci.ru... -
01:58 AM Misc #11295: Request for comments about error messages
- [email protected] wrote:
> There are several proposals to extend error messages.
>
> * https://github.com/charliesom... -
01:09 AM Misc #11295 (Closed): Request for comments about error messages
- (This is not a proposal, bug reports)
Ruby shows error messages when something wrong.
There are several proposa... - 12:49 AM Revision 3fe2773c (git): dir.c (check_dirname): avoid volatile, use return value
- volatile is unnecessary since we use rb_sys_fail_path nowadays
and that prevents the path argument from being GC-ed.
...
06/22/2015
-
11:20 PM Bug #11294 (Rejected): Possible bug in Object.const_get
- Toplevel constants are defined under `Object` context, which are inherited by every contexts.
Your results are sam... -
09:23 PM Bug #11294 (Rejected): Possible bug in Object.const_get
- ~~~ruby
module Foo; end
module Foo::Baz; end
module Bar; end
module Bar::Qux; end
Object.const_get "Foo::Baz::... -
10:54 PM Bug #11293 (Rejected): Integer('0123') => 83
- Try `Integer('0123', 10)`.
-
03:20 PM Bug #11293: Integer('0123') => 83
- Matt Di Pasquale wrote:
> Is this the correct behavior?
>
> irb(main):001:0> Integer('0123')
> => 83
> ... -
03:02 PM Bug #11293 (Rejected): Integer('0123') => 83
- Is this the correct behavior?
irb(main):001:0> Integer('0123')
=> 83
Shouldn't the return value be `123`? -
10:38 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
- Thanks, I've committed 0002, 0003, and would like to commit a
slightly-updated 0004 soon unless somebody else objec... - 09:50 PM Revision 099e6e78 (git): struct.c: cache member definition in a subclass
- Since getting Qnil is already error, it is safe to use rb_attr_get.
* struct.c (struct_ivar_get): cache member defin... - 08:10 PM Revision 8b71b4e5 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:10 PM Revision 1a8e3ba1 (git): * 2015-06-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:10 PM Revision a63c5b26 (git): add benchmarks for struct[:name]
- * benchmark/bm_vm2_struct_big_href_hi.rb: new benchmark
* benchmark/bm_vm2_struct_big_href_lo.rb: ditto
* benchmark/b... -
07:38 PM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
- I don't think the flag matters for second-tier OSes, as the underlying
descriptor does not matter with our current ... -
07:38 PM Misc #11276: [RFC] compile.c: convert to use ccan/list
- SASADA Koichi <[email protected]> wrote:
> I have no opinion about that, if there are no behavior changes.
> All of op... -
06:07 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
- Marc-Andre Lafortune wrote:
> Franck Verrot wrote:
> > Isn't there way to much overhead to include `Enumerable` in ... -
09:28 AM Revision 63dda7f9 (git): fix typo aroud Bug numbering format
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:25 AM Bug #11288 (Closed): start_watchdog in test/lib/test/unit.rb is meaningless
- r36385 (2012/7/14) にて、launch_worker の行が watchdog = start_watchdog の後ろに移動していました。
大丈夫そうなので、r50994 にて削除しました。
-
09:21 AM Revision 05f78a6f (git): * test/lib/test/unit.rb (Test::Unit::Parallel#start_watchdog): removed
- because it has been meaningless since r36385. [Bug:11288]
* test/lib/test/unit.rb (Test::Unit::Parallel#_run_paralle... -
04:22 AM Feature #11292: objspace: Dump type of special consts
- Could you add use-case of this patch?
- 12:21 AM Revision cc934fc3 (git): * 2015-06-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 AM Revision a2cd78a5 (git): win32.c: use numberof
- * win32/win32.c (open_dir_handle): use numberof() macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50992 b2d...
06/21/2015
-
02:55 PM Revision 2431ad55 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 PM Revision 68f4385d (git): * NEWS: mention Array#bsearch_index and Hash#fetch_values. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Revision b86b3624 (git): * NEWS: add a reference to a ticket. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Revision c0f571e0 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:30 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
- Can't you compile with debug symbols enabled?
-
11:00 AM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
- Zachary Scott wrote:
> Do you know how to reproduce it?
>
> Rails+Ruby 2.2 isn't enough for me to make a crash.
... -
12:28 PM Revision 4a686ebc (git): array.c: use ALLOCV_N
- * array.c (rb_ary_permutation): use ALLOCV_N instead of ALLOCV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50... -
11:28 AM Revision bbe805f0 (git): internal.h: roomof
- * internal.h (roomof): extract from type_roomof, and move from
bignum.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
10:52 AM Revision e9482963 (git): runruby.rb: don't close other fds
- * tool/runruby.rb: rubyspec now requires other FDs not to be
closed since 7b6ce1fee.
git-svn-id: svn+ssh://ci.ruby... -
09:32 AM Revision 9767eb30 (git): ruby_atomic.h: refine ATOMIC_PTR_CAS
- * ruby_atomic.h (ATOMIC_PTR_CAS): define by generic CAS macro, not
via size_t, to suppress a warning by mingw gcc.
... -
07:13 AM Feature #11181: Add a line directive to Ruby
- Today on IRC someone else also wanted such a feature:
sphex> hey. does ruby support something like "#line" direc... -
03:21 AM Revision e833adaa (git): ext/objspace/objspace_dump.c: adjust indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/20/2015
-
09:03 PM Feature #11292 (Assigned): objspace: Dump type of special consts
- related to #11291, fix at r50982 doesn't put passed immediate value's type on output. This patch changes to include t...
-
08:50 PM Bug #11291 (Closed): [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
- Applied in changeset r50982.
----------
* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
... -
05:06 PM Bug #11291 (Closed): [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
- https://github.com/ruby/ruby/pull/943
It fixes SEGV when a special constant is passed to `ObjectSpace.dump` .
I t... -
08:50 PM Revision cc77375d (git): * ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
- passed object is a special const, instead of SEGV.
Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #... - 03:48 PM Revision a2e4c418 (git): * 2015-06-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 PM Revision 54d4de67 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:35 PM Bug #11290 (Closed): Abort: 6 error running sample app
- Going through Ruby on Rails course, working through initial install.
Running into an issue running sample_app... ... -
09:41 AM Bug #11282: ruby.exe never run. ebtry point not found
- Diamond Star wrote:
> Unable to find gmtime64_s_ in msvcrt.dll library"
If you've used the RubyInstaller, this th... -
08:32 AM Revision f7547ae6 (git): * object.c (rb_obj_taint): [DOC] $SAFE=3 is obsolete.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Bug #11288: start_watchdog in test/lib/test/unit.rb is meaningless
- なくて今誰も困ってないのですから削除に一票。
欲しくなったら戻すのはいつでも出来るでしょ。そのためにバージョン管理してるんだから。 -
01:13 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- I knew the call to `rb_check_arity()` should come first, but your very nice solution to doing so without mixing decla...
-
12:12 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- D.E. Akers wrote:
> I assumed `*argv` would resolve to `Qnil` in the case of no arguments, but this is indeed not th...
06/19/2015
-
10:14 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- Nobuyoshi Nakada wrote:
> > ~~~diff
> > + struct MEMO *memo = MEMO_NEW(Qtrue, *argv, 0);
> > + rb_check_arit... -
09:54 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- > ~~~diff
> + struct MEMO *memo = MEMO_NEW(Qtrue, *argv, 0);
> + rb_check_arity(argc, 0, 1);
Why dereferen... -
02:22 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- I agree. Assigning to Matz
-
08:48 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- I rather like this proposal. I hope it gets accepted.
-
07:11 AM Feature #11286 (Closed): [PATCH] Add case equality arity to Enumerable's sequence predicates.
- ## Proposal
It is proposed that `Enumerable`'s sequence predicates (`#all?`, `#any?`, `#none?`, and `#one?`) be augm... -
10:11 PM Bug #11289 (Closed): Segmentation fault with 2.2.2 on OpenWRT
- A very simple sinatra program fails:
require 'sinatra'
get '/' do
'Hello!'
end
# ruby sentinel.rb
[2015... -
09:47 PM Bug #11287 (Third Party's Issue): XML generation, App 551 stderr: Segmentation fault at 0×00000000000040
- Seems it happened in Nokogiri.
-
08:41 AM Bug #11287 (Third Party's Issue): XML generation, App 551 stderr: Segmentation fault at 0×00000000000040
- We have a page that should deliver XML. We have newly upgraded ruby from 1.9.3 to 2.2.2 and rails 3.2.17 to 4.2.1
Ou... -
07:02 PM Revision e4fa17a9 (git): * enc/make_encmake.rb: the list of encoding extension libraries must
- not include encinit.c itself. It caused "undefined reference to
Init_encinit".
git-svn-id: svn+ssh://ci.ruby-lang... -
06:40 PM Bug #11288 (Closed): start_watchdog in test/lib/test/unit.rb is meaningless
- test/lib/test/unit.rb の 317行目付近の start_watchdog は、
_run_parallel メソッド内の408行目から呼ばれますが、
子プロセスを起動する前に呼んでいるため、
start_w... -
05:51 PM Bug #11265 (Assigned): deadlock on Solaris 10 since r50900
- r50977 で発生率は下がりましたがゼロではないようなので、再オープンしておきます。
-
05:49 PM Bug #11265 (Closed): deadlock on Solaris 10 since r50900
- Applied in changeset r50977.
----------
* process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP
to gene... -
10:13 AM Bug #11265: deadlock on Solaris 10 since r50900
- おぉ、調べ直したところ、execv が async-signal-safe な関数としてされたのは SUSv4 からのようです。
http://pubs.opengroup.org/onlinepubs/9699919799/fun... -
10:11 AM Bug #11265: deadlock on Solaris 10 since r50900
- 訂正です。
> なお、execv が not async-signal-safe なのは Linux でも同様のようです。
は、少なくとも最近のLinuxに関しては間違いでした。すみません。
execv は POSIX.... -
09:43 AM Bug #11265: deadlock on Solaris 10 since r50900
- process.c の1260行目付近に以下の記述があります。
~~~
envp = envp_str ? (char **)RSTRING_PTR(envp_str) : NULL;
if (envp_st... -
07:15 AM Bug #11265: deadlock on Solaris 10 since r50900
- 本当に dynamic linker とかで使っている mutex が問題なら、ちょっと対応不能だと思うので、
Solaris 上では vfork はあきらめて fork で済ましておくことになりますかね。 -
07:03 AM Bug #11265: deadlock on Solaris 10 since r50900
- > に書いてあった、dynamic linker が、という話を思い出しますが、関係あるかなぁ。
関係ある気がしてきました。
popen呼び出し元のほうのスレッドは3つありますが、l@5 が dlsym などを呼んでいます... -
05:49 PM Revision f59356a8 (git): * process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP
- to generate envp_str anytime on Solaris 10 (or earlier version
of Solaris) to avoid calling execv() which is async-... -
04:56 PM Feature #10672: Enable SSL on cache.ruby-lang.org
- Hello Hiroshi,
I had sent in another ticket update for your request to add TLS to your Fastly domain cache.ruby-la... - 04:24 PM Revision 21bc6f90 (git): * 2015-06-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:24 PM Revision eabd2217 (git): * NEWS: mention about $SAFE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 PM Bug #11270 (Rejected): Coverity Scan warns out-of-bounds access in ext/socket
- I talked with akr on twitter, and was convinced that `(void*)&arg.buf.addr == (void*)&arg.buf` was guaranteed. So cl...
-
01:36 AM Bug #11270: Coverity Scan warns out-of-bounds access in ext/socket
- Yusuke Endoh wrote:
> Honestly I'm not sure the C language specification: is it guaranteed that a pointer to a fie... -
09:39 AM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
- Version with separate methods
-
08:12 AM Revision fdad97f6 (git): test_last_thread.rb: relax
- * test/-ext-/gvl/test_last_thread.rb (test_last_thread): allow low
resolution sleep.
git-svn-id: svn+ssh://ci.ruby... -
08:12 AM Bug #11284 (Closed): String#upcase and String#downcase don't work for accented characters
- Closing because this is being worked on (slowly) as #10085, which is already accepted.
-
07:42 AM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
- エンコーディング関係は autoload は使わず自前でロード処理を実装しているようですが、関連として autoload の将来廃止の方向性を示している #5653 を挙げておきます。
-
07:35 AM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
- たとえば #5654 のような何らかのロック機構が必要な気はしますが、
Encoding 関係は、事前にどのファイルにどのクラス・モジュールが格納されているかは完全に把握済、かつ、circular requireは絶対無い、という前... -
06:11 AM Revision cc144d1d (git): test_method.rb: fix commit miss
- * test/ruby/test_method.rb (test_define_singleton_method_no_proc):
fix missing object. [Bug #11283]
git-svn-id: s... -
06:04 AM Revision 6398515a (git): test_gem_remote_fetcher.rb: get rid of errors
- * test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server):
temporary measure for "dh key too small" error of Op... -
05:54 AM Bug #11283 (Closed): Block assigned implicitly
- Applied in changeset r50971.
----------
proc.c: ArgumentError if no block
* proc.c (rb_mod_define_method): now requ... -
05:49 AM Bug #11283: Block assigned implicitly
- Not, in my examples (from the initial post) it does not do that, but something different. Namely, it doesn't assignin...
-
02:25 AM Bug #11283: Block assigned implicitly
- > * Either provide a method with empty proc (`Proc.new`)
That is, in fact, exactly what Ruby is doing:
```ruby
... -
05:53 AM Revision e77f9fcb (git): proc.c: ArgumentError if no block
- * proc.c (rb_mod_define_method): now requires a block direct to
this method call. [ruby-core:69655] [Bug #11283]
... -
05:22 AM Revision 19d2532a (git): test_method.rb: split test
- * test/ruby/test_method.rb (test_define_singleton_method): split
and fix test names.
git-svn-id: svn+ssh://ci.ruby... -
04:55 AM Revision 0ba2ccc5 (git): proc.c: inadvertent ID
- * proc.c (rb_mod_define_method): get rid of inadvertent ID
creations at error.
git-svn-id: svn+ssh://ci.ruby-lang.... -
04:54 AM Revision 88249ada (git): proc.c: extract same messages
- * proc.c (proc_new): extract same warning and error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5096... - 02:26 AM Revision 172c5fab (git): * ChangeLog: typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 AM Misc #11276: [RFC] compile.c: convert to use ccan/list
- I have no opinion about that, if there are no behavior changes.
All of operations are , same behavior and same comp...
06/18/2015
-
11:38 PM Bug #11285 (Closed): Net::HTTP should handle content-coding with case-insensitive
- When Ruby Net::HTTP sent a request. It by default set the content to be compress with header: Accept-Encoding
But ... -
10:58 PM Revision e282d78a (git): extmk.rb: fix with-ext condition
- * ext/extmk.rb: if no with-ext option is given, dafault to
enable everything. [ruby-dev:49108] [Bug #11280]
git-s... -
10:45 PM Bug #11283: Block assigned implicitly
- I'd expect Ruby to do any of two options:
* Either provide a method with empty proc (`Proc.new`)
* Or call `Synta... -
09:56 PM Bug #11283: Block assigned implicitly
- Andrew, what would you like Ruby to do when you attempt to define a method with no body?
-
07:31 PM Bug #11283: Block assigned implicitly
- This feature buzzes and wiggles aerials like a bug.
I cannot see why is it needed for your example. It is pretty e... -
07:11 PM Bug #11283: Block assigned implicitly
- This is "hidden feature", not the bug: `Proc.new` can consume unnamed block passed to method.
It makes possible foll... -
03:36 PM Bug #11283 (Closed): Block assigned implicitly
- That is how it works:
module Test
def self.build(&block)
klass = Class.new(Object)
kl... -
10:41 PM Bug #11265: deadlock on Solaris 10 since r50900
- Solaris で vfork で deadlock というと、
https://web.archive.org/web/20120205202630/http://developers.sun.com/solaris/articl... -
04:52 PM Bug #11265: deadlock on Solaris 10 since r50900
- vforkは "The parent process is suspended while the child is using its resources." (Solaris 10 の man vfork(2) より引用) なので...
-
05:15 AM Bug #11265: deadlock on Solaris 10 since r50900
- IO.popen内で、retry_fork_async_signal_safeから呼んでいるvforkから帰ってこないようです。
なお、スタックトレースを取るためにデバッグ付き最適化無しでコンパイルしたら、再現確率が20-30回... -
10:26 PM Bug #11284: String#upcase and String#downcase don't work for accented characters
- http://stackoverflow.com/a/4418681
It would be unreasonable to add natural language processing to Ruby for the sak... -
08:20 PM Bug #11284 (Rejected): String#upcase and String#downcase don't work for accented characters
- Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most co... - 09:38 PM Revision d82b2e28 (git): * 2015-06-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 PM Revision c78e0d37 (git): * bootstraptest/test_method.rb: remove a test because $SAFE=2 was
- obsolete.
Please check btest, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50964 b2dd03c8-39d4-4d8f-98... -
06:00 PM Bug #11282: ruby.exe never run. ebtry point not found
- Description
I installed ruby and tried to run a .rb
file
or even ruby.exe directly then an error
generated direct... -
01:57 PM Bug #11282 (Closed): ruby.exe never run. ebtry point not found
- I installed ruby and tried to run a .rb file
or even ruby.exe directly then an error generated directly. it says:
... -
03:59 PM Bug #11270 (Open): Coverity Scan warns out-of-bounds access in ext/socket
- Akira Tanaka wrote:
> arg.alen is initialized as sizeof(union_sockaddr) and
> modified by recvfrom() which is less ... -
07:49 AM Bug #11270 (Feedback): Coverity Scan warns out-of-bounds access in ext/socket
- I'm not sure the problem.
arg.alen is initialized as sizeof(union_sockaddr) and
modified by recvfrom() which is l... -
03:15 PM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
- Ruby 1.9.3 でも発生率は低くなりますが再現できました。
r50887 以降発生しやすくなっただけで、それ以前から問題があったようです。 -
03:10 PM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
- x86_64 Linux でも50%程度の発生率で再現できました。
r50920 にて確認しました。
~~~
$ echo a0 > /tmp/a0
$ echo a1 > /tmp/a1
$ ruby --disabl... -
07:01 AM Bug #11277 (Closed): "code converter not found" error with multi-thread (high occurrence rate since r50887)
- sparc Solaris 10 にて、r50887 以降、make test-all にて以下の3つのFailureが出るようになりました。
~~~
1) Failure:
TestDir_M17N#test_file... -
02:53 PM Revision 6c45fa78 (git): * bin/erb: $SAFE=3 is obsolete.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 2c23924e (git): * safe.c: removed needless doc related $SAFE=2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:39 PM Revision 12247647 (git): * thread.c (rb_thread_safe_level): fix document. $SAFE=3 is obsolete.
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:33 PM Revision a9b06707 (git): $SAFE=2 is now obsolete
- * include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): fix safe_level
limit.
* vm_core.h (rb_proc_t): update comment for s... -
02:26 PM Bug #11280 (Closed): r49210 breaks --with-ext
- Applied in changeset r50959.
----------
extmk.rb: fix with-ext condition
* ext/extmk.rb: configure intersection of ... -
01:09 PM Bug #11280 (Closed): r49210 breaks --with-ext
- 中田さん
r49210 以降、--with-ext=zlib としても zlib 以外をビルドしてしまうようになっていると思います。
2.2.2 はちゃんと zlib だけビルドしてくれます。
--
Yusuke E... -
02:25 PM Revision 65ab2660 (git): extmk.rb: fix with-ext condition
- * ext/extmk.rb: configure intersection of with-ext and not
without-ext, as withouts is no longer true by default if... -
02:22 PM Feature #5455: $SAFE should be removed
- removed $SAFE=2 at r50958, and $SAFE=3 at r50932
-
02:21 PM Revision 5d6ca9e9 (git): * include/ruby/ruby.h: $SAFE=2 is now obsolete.
- * dir.c, ext/fiddle/handle.c, ext/socket/basicsocket.c, file.c
gc.c, io.c, process.c, safe.c, signal.c, win32/file.... -
02:03 PM Revision e8ce2a92 (git): * enc/make_encmake.rb: added --transes and --no-transes options.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 PM Revision 0b9d86f2 (git): un.rb: cwd by default
- * lib/un.rb (httpd): set DocumentRoot to the current working
directory by default.
git-svn-id: svn+ssh://ci.ruby-l... -
01:49 PM Bug #11281 (Rejected): Unexpected behaviour in HTTP header processing
- Running this:
~~~ruby
Net::HTTP::Get.new('http://any.url', {'header' => nil})
~~~
Results in:
~~~
NoMetho... -
01:45 PM Revision 82c29098 (git): un.rb: HTTP-alt by default
- * lib/un.rb (httpd): changed default port number to 8080 (HTTP
Alternate), which does not need root privilege.
git... -
01:35 PM Revision c96e4a6a (git): common.mk: reorder args for ENC_MK
- * common.mk (ENC_MK): reorder $(ENCS) before the target file name,
as enc/make_encmake.rb ignores any arguments aft... -
01:30 PM Revision cf44e740 (git): make_encmake.rb: mandatory dbs
- * enc/make_encmake.rb (target_transcoders, target_encodings):
encdb and transdb are always mandatory.
git-svn-id: ... -
01:10 PM Revision ae8dc6f3 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:35 AM Bug #11279 (Closed): remove rb_control_frame_t::klass
- Please check https://bugs.ruby-lang.org/issues/11278
I sent it to ruby-dev because of my operation miss.
This is ... -
11:30 AM Bug #11278 (Closed): remove rb_control_frame_t::klass
- # Abstract
rb_control_frame_t has a field `klass`, which is used to search super class when `super` is called (and... -
09:27 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Root cause seems to be in ossl_ssl.c:
Net::Http calls `s.session=` (C-method `ossl_ssl_set_session`), which calls ... -
08:51 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Created https://github.com/ruby/ruby/pull/964
-
08:36 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- It looks like i've solved it: Moving `s.hostname = @address` before `s.session = @ssl_session` has solved it on my en...
- 09:25 AM Revision 072b3c86 (git): test/socket/test_unix.rb: replace sleep with select
- Not sure what drugs I was on, but blindly sleeping instead of
using IO#wait or IO.select to wait for data on a socket... -
09:01 AM Revision 58ba24f8 (git): * vm.c (rb_vm_control_frame_id_and_class): remove usless codes.
- `me' knows ID and owner class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50950 b2dd03c8-39d4-4d8f-98ff-823... - 08:01 AM Revision f74fdd72 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:01 AM Revision c8590d60 (git): * method.h: constify rb_method_alias_struct::original_me and
- rb_method_refined_struct::orig_me.
* class.c (move_refined_method): use RB_OBJ_WRITE() for
me->def->body.refined.or... -
05:36 AM Revision 37b38306 (git): * ext/objspace/objspace.c (count_imemo_objects): support imemo_ment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 AM Revision fac04ba9 (git): NEWS: NameError#receiver [Feature #10881]
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 AM Feature #10881 (Closed): NoMethodError#receiever
- Applied in changeset r50945.
----------
error.c: NameError#receiver
* error.c (name_err_receiver): add NameError#re... -
04:32 AM Revision 51de63df (git): error.c: NameError#receiver
- * error.c (name_err_receiver): add NameError#receiver method.
[Feature #10881]
git-svn-id: svn+ssh://ci.ruby-lang.... -
01:28 AM Feature #10295 (Closed): [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
- r47758
-
01:04 AM Feature #11056 (Closed): [PATCH] lib/net/*: use io/wait methods instead of IO.select
- r50326
-
01:02 AM Feature #10302 (Closed): [PATCH] marshal.c: lazy compat_tbl allocation
- r47756
-
01:00 AM Revision 42191947 (git): * safe.c: removed needless doc related $SAFE=3
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:59 AM Revision 0def632d (git): * safe.c: rename old method name for $SAFE=3
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom