[#40961] [Bug #3137] complex.rb changes exceptions of Math — Yusuke Endoh <redmine@...>

Bug #3137: complex.rb changes exceptions of Math

15 messages 2010/04/12
[#40967] Re: [Bug #3137] complex.rb changes exceptions of Math — keiju@... (石塚圭樹) 2010/04/13

けいじゅ@いしつかです.

[#41038] Windows と DL が使用条件の libffi — Aaron Patterson <aaron.patterson@...>

こんにちは!アーロンです。

17 messages 2010/04/22
[#41039] Re: Windows と DL が使用条件の libffi — "U.Nakamura" <usa@...> 2010/04/22

こんにちは、なかむら(う)です。

[#41040] Re: Windows と DL が使用条件の libffi — "NARUSE, Yui" <naruse@...> 2010/04/22

成瀬です。

[#41059] Re: Windows と DL が使用条件の libffi — Aaron Patterson <aaron.patterson@...> 2010/04/26

2010/4/21 NARUSE, Yui <naruse@airemix.jp>:

[#41060] Re: Windows と DL が使用条件の libffi — Yugui <yugui@...> 2010/04/26

2010/4/26 Aaron Patterson <aaron.patterson@gmail.com>:

[#41067] [Feature #3203] LazySweepGC patch — Narihiro Nakamura <redmine@...>

Feature #3203: LazySweepGC patch

15 messages 2010/04/26
[#41069] Re: [Feature #3203] LazySweepGC patch — Yusuke ENDOH <mame@...> 2010/04/27

遠藤です。

[#41104] Rails3 M17N — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

29 messages 2010/04/30
[#41111] Re: Rails3 M17N — Urabe Shyouhei <shyouhei@...> 2010/04/30

Yukihiro Matsumoto =E3=81=95=E3=82=93=E3=81=AF=E6=9B=B8=E3=81=8D=E3=81=BE=

[#41113] Re: Rails3 M17N — Yukihiro Matsumoto <matz@...> 2010/04/30

まつもと ゆきひろです

[ruby-dev:40920] Re: テスト対象を 2 つ指定すると落ちる

From: "NARUSE, Yui" <naruse@...>
Date: 2010-04-06 05:46:14 UTC
List: ruby-dev #40920
成瀬です。

2010年4月6日14:35 KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>:
>> とりあえずgdbでバックトレースを見てもらうと何か分かるとかでしょうか...
>
> GC の中でした
>
> $ gdb ./ruby19 ruby19.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...
> Core was generated by `ruby19'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /export/home/ksmakoto/ruby-trunk/BUILD/libruby.so.19...done.
> Loaded symbols for /export/home/ksmakoto/ruby-trunk/BUILD/libruby.so.19
> Reading symbols from /lib/libthr.so.3...done.
> Loaded symbols for /lib/libthr.so.3
> Reading symbols from /usr/lib/librt.so.1...done.
> Loaded symbols for /usr/lib/librt.so.1
> Reading symbols from /lib/libcrypt.so.5...done.
> Loaded symbols for /lib/libcrypt.so.5
> Reading symbols from /lib/libm.so.5...done.
> Loaded symbols for /lib/libm.so.5
> Reading symbols from /lib/libc.so.7...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /export/home/ksmakoto/ruby-trunk/BUILD/.ext/x86_64-freebsd8.0/enc/encdb.so...done.
> Loaded symbols for /export/home/ksmakoto/ruby-trunk/BUILD/.ext/x86_64-freebsd8.0/enc/encdb.so
> Reading symbols from /export/home/ksmakoto/ruby-trunk/BUILD/.ext/x86_64-freebsd8.0/enc/trans/transdb.so...done.
> Loaded symbols for /export/home/ksmakoto/ruby-trunk/BUILD/.ext/x86_64-freebsd8.0/enc/trans/transdb.so
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x0000000800dfb1ec in thr_kill () from /lib/libc.so.7
> [New Thread 80100ae40 (LWP 100641)]
> [New Thread 8010041c0 (LWP 100455)]
> (gdb) bt
> #0  0x0000000800dfb1ec in thr_kill () from /lib/libc.so.7
> #1  0x0000000800e96a7b in abort () from /lib/libc.so.7
> #2  0x00000008006a1928 in rb_bug (fmt=Variable "fmt" is not available.
> ) at ../error.c:248
> #3  0x000000080074fb72 in sigbus (sig=Variable "sig" is not available.
> ) at ../signal.c:592
> #4  <signal handler called>
> #5  mark_method_entry_i (key=14484, me=Variable "me" is not available.
> ) at ../gc.c:1496
> #6  0x00000008007570e1 in st_foreach (table=0x80197cee0, func=0x8006bb310 <mark_method_entry_i>, arg=140737488330784) at ../st.c:778
> #7  0x00000008006b858d in gc_mark_children (objspace=0x801014000, ptr=34377860120, lev=12) at ../gc.c:1456
> #8  0x00000008006b914c in mark_entry (key=Variable "key" is not available.
> ) at ../gc.c:1512
> #9  0x00000008007570e1 in st_foreach (table=0x80119dcd0, func=0x8006b9080 <mark_entry>, arg=140737488331056) at ../st.c:778
> #10 0x00000008006b85b5 in gc_mark_children (objspace=0x801014000, ptr=34378201920, lev=11) at ../gc.c:1360
> #11 0x00000008006b914c in mark_entry (key=Variable "key" is not available.
> ) at ../gc.c:1512
> #12 0x0000000800757080 in st_foreach (table=0x8011ac040, func=0x8006b9080 <mark_entry>, arg=140737488331328) at ../st.c:747
> #13 0x00000008006b85b5 in gc_mark_children (objspace=0x801014000, ptr=34378201560, lev=10) at ../gc.c:1360
> #14 0x00000008006b914c in mark_entry (key=Variable "key" is not available.
> ) at ../gc.c:1512
> #15 0x0000000800757080 in st_foreach (table=0x8011ac1c0, func=0x8006b9080 <mark_entry>, arg=140737488331600) at ../st.c:747
> #16 0x00000008006b85b5 in gc_mark_children (objspace=0x801014000, ptr=34378201400, lev=9) at ../gc.c:1360
> #17 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378201600, lev=8) at ../gc.c:1512
> #18 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378201840, lev=7) at ../gc.c:1512
> #19 0x00000008006b914c in mark_entry (key=Variable "key" is not available.
> ) at ../gc.c:1512
> #20 0x0000000800757080 in st_foreach (table=0x80119df40, func=0x8006b9080 <mark_entry>, arg=140737488332256) at ../st.c:747
> #21 0x00000008006b85b5 in gc_mark_children (objspace=0x801014000, ptr=34378201640, lev=6) at ../gc.c:1360
> #22 0x00000008006b914c in mark_entry (key=Variable "key" is not available.
> ) at ../gc.c:1512
> #23 0x0000000800757080 in st_foreach (table=0x8011ac100, func=0x8006b9080 <mark_entry>, arg=140737488332528) at ../st.c:747
> #24 0x00000008006b85b5 in gc_mark_children (objspace=0x801014000, ptr=34378201480, lev=5) at ../gc.c:1360
> #25 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378131560, lev=4) at ../gc.c:1512
> #26 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378131600, lev=3) at ../gc.c:1512
> #27 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378131640, lev=2) at ../gc.c:1512
> #28 0x00000008006b78ee in gc_mark_children (objspace=0x801014000, ptr=34378127120, lev=1) at ../gc.c:1512
> #29 0x00000008006b9b90 in garbage_collect (objspace=0x801014000) at ../gc.c:2167
> #30 0x00000008006bab28 in rb_newobj () at ../gc.c:1012
> #31 0x000000080067863a in ary_new (klass=34378163960, capa=2) at ../array.c:297
> #32 0x0000000800679719 in rb_ary_new3 (n=2) at ../array.c:349
> #33 0x00000008007ad6b2 in rb_add_method (klass=34377860120, mid=14484, type=Variable "type" is not available.
> ) at vm_method.c:286
> #34 0x00000008006e7f27 in rb_mod_attr_writer (argc=1, argv=Variable "argv" is not available.
> ) at ../object.c:1635
> #35 0x00000008007aeca0 in vm_call_method (th=0x80100b600, cfp=0x801143b88, num=Variable "num" is not available.
> ) at vm_insnhelper.c:377
> #36 0x00000008007b1481 in vm_exec_core (th=0x80100b600, initial=Variable "initial" is not available.
> ) at insns.def:999
> #37 0x00000008007b7040 in vm_exec (th=0x80100b600) at ../vm.c:1132
> #38 0x00000008007b7449 in rb_iseq_eval (iseqval=34385647840) at ../vm.c:1359
> #39 0x00000008006a858e in rb_load_internal (fname=34376636680, wrap=Variable "wrap" is not available.
> ) at ../load.c:302
> #40 0x00000008006a9768 in rb_require_safe (fname=34376637240, safe=0) at ../load.c:594
> #41 0x00000008007aeca0 in vm_call_method (th=0x80100b600, cfp=0x801143ce8, num=Variable "num" is not available.
> ) at vm_insnhelper.c:377
> #42 0x00000008007b1481 in vm_exec_core (th=0x80100b600, initial=Variable "initial" is not available.
> ) at insns.def:999
> #43 0x00000008007b7040 in vm_exec (th=0x80100b600) at ../vm.c:1132
> #44 0x00000008007b7449 in rb_iseq_eval (iseqval=34378087960) at ../vm.c:1359
> #45 0x00000008006a858e in rb_load_internal (fname=34378049560, wrap=Variable "wrap" is not available.
> ) at ../load.c:302
> #46 0x00000008006a9768 in rb_require_safe (fname=34378049680, safe=0) at ../load.c:594
> #47 0x00000008007aeca0 in vm_call_method (th=0x80100b600, cfp=0x801143df0, num=Variable "num" is not available.
> ) at vm_insnhelper.c:377
> #48 0x00000008007b1481 in vm_exec_core (th=0x80100b600, initial=Variable "initial" is not available.
> ) at insns.def:999
> #49 0x00000008007b7040 in vm_exec (th=0x80100b600) at ../vm.c:1132
> #50 0x00000008007b7449 in rb_iseq_eval (iseqval=34378059480) at ../vm.c:1359
> #51 0x00000008006a858e in rb_load_internal (fname=34378074200, wrap=Variable "wrap" is not available.
> ) at ../load.c:302
> #52 0x00000008006a9768 in rb_require_safe (fname=34378074360, safe=0) at ../load.c:594
> #53 0x00000008007aeca0 in vm_call_method (th=0x80100b600, cfp=0x801143ef8, num=Variable "num" is not available.
> ) at vm_insnhelper.c:377
> #54 0x00000008007b1481 in vm_exec_core (th=0x80100b600, initial=Variable "initial" is not available.
> ) at insns.def:999
> #55 0x00000008007b7040 in vm_exec (th=0x80100b600) at ../vm.c:1132
> #56 0x00000008007b72eb in rb_iseq_eval_main (iseqval=34377956400) at ../vm.c:1373
> #57 0x00000008006a5e9f in ruby_exec_internal (n=0x80115fc30) at ../eval.c:204
> #58 0x00000008006a5ec9 in ruby_exec_node (n=0x80115fc30) at ../eval.c:251
> #59 0x00000008006a804f in ruby_run_node (n=0x80115fc30) at ../eval.c:244
> #60 0x0000000000400922 in main (argc=5, argv=0x7fffffffe600) at ../main.c:35
> (gdb) q
>
>

手元の FreeBSD8 amd64 ruby-trunk だと -O0 でも -O3 でも再現しませんね。
なんでだろう

-- 
NARUSE, Yui
naruse@airemix.jp

In This Thread