Kazuki Tsujimoto

  • Email:
  • Registered on: 05/05/2011
  • Last connection: 03/01/2015

Projects

Activity

Reported issues: 28

Today

06:03 AM Ruby trunk Bug #10922 (Open): TracePoint#binding may return nil in Ruby 2.2
~~~
$ miniruby -ve '
TracePoint.new(:c_return) do |tp|
p [tp.method_id, tp.binding]
end.enable
Thread.new {}...

02/22/2015

07:05 AM Ruby trunk Bug #10885 (Closed): Segmentation fault when calling refined method in duplicate module
Applied in changeset r49685.
----------
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orign...
07:05 AM Ruby trunk Revision 49685: * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bu...
06:54 AM Ruby trunk Bug #10885 (Closed): Segmentation fault when calling refined method in duplicate module
以下のコードでSEGVします。
Moduleをdupする時にcrefをコピーしていますが、その中でnd_refinementsを設定していないのが原因です。
~~~ruby
module M
refine BasicO...

01/16/2015

02:59 AM Ruby trunk Bug #10689: `unexpected break' occurs when TracePoint#binding is called
レビューありがとうございます。
> なんのために 0x02 の bit について気にしていたか覚えていないのですが(クラスとか、その辺でしたっけ)、
VM_ENVVAL_BLOCK_PTR_FLAGのことかなぁと思っていま...
02:54 AM Ruby trunk Bug #10689 (Closed): `unexpected break' occurs when TracePoint#binding is called
Applied in changeset r49266.
----------
* eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
change throw mechanism ...
02:54 AM Ruby trunk Revision 49267: * vm.c (VM_CF_PREV_EP): remove extra parentheses.
02:54 AM Ruby trunk Revision 49266: * eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
change throw mechanism (not save target ep, but save target cfp).
It fixes `unexpected break' bug that occurs when
...

01/12/2015

02:33 PM Ruby trunk Bug #10734 (Closed): Segfault when combining default arguments with keyword arguments

01/11/2015

07:37 AM Ruby trunk Bug #10689: `unexpected break' occurs when TracePoint#binding is called
vm_throw_start内にあるflagが立っている場合の処理は
以下のように整理できるんじゃないかと思うのですがどうでしょう。
~~~diff
diff --git a/vm.c b/vm.c
index 45734...

Also available in: Atom