From: Thomas Uehlinger Date: 2004-09-09T18:55:09+09:00 Subject: Segmentation fault in todays 1.9 cvs checkout Hi all I get this when running make test-all: uehli@localhost ruby $ make test-all ../miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console Loaded suite . Started .................................................................................................................................................................................F........................................................................................................................................................................................................................................................................................................................................................................../ruby/test_eval.rb:149: [BUG] Segmentation fault ruby 1.9.0 (2004-09-09) [i686-linux] make: *** [test-all] Aborted here is the stack dump: (gdb) info stack #0 0x415178c1 in kill () from /lib/libc.so.6 #1 0x41517495 in raise () from /lib/libc.so.6 #2 0x41518d1c in abort () from /lib/libc.so.6 #3 0x080d0be6 in rb_bug (fmt=0x0) at error.c:214 #4 0x080af1f2 in sigsegv (sig=11) at signal.c:446 #5 #6 0x08062415 in frame_dup (frame=0x88863b8) at eval.c:7774 #7 0x0806291f in proc_alloc (klass=141704404, proc=2) at eval.c:7940 #8 0x08062b2c in proc_lambda () at eval.c:8020 #9 0x08064994 in rb_mod_define_method (argc=143156200, argv=0xbffed58c, mod=1080503952) at eval.c:9126 #10 0x08069eba in call_cfunc (func=0x80647c0 , recv=1080503952, len=143156240, argc=11, argv=0xbffed58c) at eval.c:5364 #11 0x0805e157 in rb_call0 (klass=1074068748, recv=1080503952, id=4217, oid=143156200, argc=1, argv=0xbffed58c, body=0x4004d994, nosuper=0) at eval.c:5504 #12 0x0805e408 in rb_call (klass=1074068748, recv=1080503952, mid=4217, argc=1, argv=0xbffed58c, scope=1) at eval.c:5725 #13 0x0805e674 in rb_f_send (argc=1, argv=0xbffed58c, recv=1080503952) at ruby.h:634 #14 0x08069eba in call_cfunc (func=0x805e5f0 , recv=1080503952, len=143156240, argc=11, argv=0xbffed588) at eval.c:5364 #15 0x0805e157 in rb_call0 (klass=1074068648, recv=1080503952, id=3929, ---Type to continue, or q to quit--- oid=143156200, argc=2, argv=0xbffed588, body=0x4004dcc8, nosuper=0) at eval.c:5504 #16 0x0805e408 in rb_call (klass=1074068648, recv=1080503952, mid=3929, argc=2, argv=0xbffed588, scope=0) at eval.c:5725 #17 0x08059348 in rb_eval (self=1077300540, n=0x88863e8) at ruby.h:634 #18 0x08063750 in block_pass (self=1077300540, node=0x40365b38) at eval.c:8401 #19 0x08059f27 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:2906 #20 0x0805c1e3 in rb_yield_0 (val=1080504012, self=1077300540, klass=1077304120, flags=3, avalue=2) at eval.c:4705 #21 0x08062ebf in proc_invoke (proc=1080504072, args=1080504012, self=6, klass=0) at ruby.h:634 #22 0x08062f57 in proc_call (proc=143156200, args=143156200) at eval.c:8154 #23 0x08069e92 in call_cfunc (func=0x8062f30 , recv=1080504072, len=143156240, argc=11, argv=0x0) at eval.c:5361 #24 0x0805e157 in rb_call0 (klass=1074004788, recv=1080504072, id=5265, oid=143156200, argc=0, argv=0x0, body=0x400402a8, nosuper=0) at eval.c:5504 #25 0x0805e408 in rb_call (klass=1074004788, recv=1080504072, mid=5265, argc=0, argv=0x0, scope=0) at eval.c:5725 #26 0x08059348 in rb_eval (self=1077300540, n=0x88863e8) at ruby.h:634 #27 0x0805c1e3 in rb_yield_0 (val=6, self=1077300540, klass=1077303480, flags=0, avalue=0) at eval.c:4705 #28 0x08059af8 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:2996 #29 0x080589da in rb_eval (self=1077300540, n=0x88863e8) at eval.c:3007 ---Type to continue, or q to quit--- #30 0x0805c1e3 in rb_yield_0 (val=6, self=1077300540, klass=1073959448, flags=0, avalue=0) at eval.c:4705 #31 0x08059af8 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:2996 #32 0x08058b22 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:3056 #33 0x0805dc74 in rb_call0 (klass=1073927648, recv=1077300540, id=10649, oid=143156200, argc=0, argv=0x0, body=0x40031474, nosuper=0) at eval.c:5632 #34 0x0805e408 in rb_call (klass=1073927648, recv=1077300540, mid=10649, argc=0, argv=0x0, scope=1) at eval.c:5725 #35 0x08059348 in rb_eval (self=1077300540, n=0x88863e8) at ruby.h:634 #36 0x080586f8 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:2920 #37 0x0805dc74 in rb_call0 (klass=1073927648, recv=1077300540, id=10905, oid=143156200, argc=0, argv=0x0, body=0x400351b4, nosuper=0) at eval.c:5632 #38 0x0805e408 in rb_call (klass=1073927648, recv=1077300540, mid=10905, argc=0, argv=0x0, scope=1) at eval.c:5725 #39 0x08059348 in rb_eval (self=1077300540, n=0x88863e8) at ruby.h:634 #40 0x080586f8 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:2920 #41 0x0805dc74 in rb_call0 (klass=1077303080, recv=1077300540, id=45561, oid=143156200, argc=0, argv=0xbfff2cac, body=0x40365854, nosuper=0) at eval.c:5632 #42 0x0805e408 in rb_call (klass=1077303080, recv=1077300540, mid=45561, argc=0, argv=0xbfff2cac, scope=1) at eval.c:5725 #43 0x0805e674 in rb_f_send (argc=0, argv=0xbfff2cac, recv=1077300540) at ruby.h:634 ---Type to continue, or q to quit--- #44 0x08069eba in call_cfunc (func=0x805e5f0 , recv=1077300540, len=143156240, argc=11, argv=0xbfff2ca8) at eval.c:5364 #45 0x0805e157 in rb_call0 (klass=1074068648, recv=1077300540, id=3929, oid=143156200, argc=1, argv=0xbfff2ca8, body=0x4004dcc8, nosuper=0) at eval.c:5504 #46 0x0805e408 in rb_call (klass=1074068648, recv=1077300540, mid=3929, argc=1, argv=0xbfff2ca8, scope=1) at eval.c:5725 #47 0x08059348 in rb_eval (self=1077300540, n=0x88863e8) at ruby.h:634 #48 0x080589da in rb_eval (self=1077300540, n=0x88863e8) at eval.c:3007 #49 0x08058b22 in rb_eval (self=1077300540, n=0x88863e8) at eval.c:3056 #50 0x0805dc74 in rb_call0 (klass=1073910508, recv=1077300540, id=5161, oid=143156200, argc=0, argv=0xbfff418c, body=0x4003b960, nosuper=0) at eval.c:5632 #51 0x0805e408 in rb_call (klass=1073910508, recv=1077300540, mid=5161, argc=1, argv=0xbfff4188, scope=0) at eval.c:5725 #52 0x08059348 in rb_eval (self=1077301020, n=0x88863e8) at ruby.h:634 #53 0x08063750 in block_pass (self=1077301020, node=0x4002a2b4) at eval.c:8401 #54 0x08059f27 in rb_eval (self=1077301020, n=0x88863e8) at eval.c:2906 #55 0x0805c1e3 in rb_yield_0 (val=1077300540, self=1077301020, klass=1073914548, flags=0, avalue=0) at eval.c:4705 #56 0x0805c6c9 in rb_yield (val=143156200) at eval.c:4787 #57 0x080c3d7f in rb_ary_each (ary=1077300720) at array.c:1224 #58 0x08069ec1 in call_cfunc (func=0x80c3d50 , recv=1077300720, ---Type to continue, or q to quit--- len=143156240, argc=11, argv=0x0) at eval.c:5367 #59 0x0805e157 in rb_call0 (klass=1074037928, recv=1077300720, id=3873, oid=143156200, argc=0, argv=0x0, body=0x40048084, nosuper=0) at eval.c:5504 #60 0x0805e408 in rb_call (klass=1074037928, recv=1077300720, mid=3873, argc=0, argv=0x0, scope=0) at eval.c:5725 #61 0x08059348 in rb_eval (self=1077301020, n=0x88863e8) at ruby.h:634 #62 0x080586f8 in rb_eval (self=1077301020, n=0x88863e8) at eval.c:2920 #63 0x0805dc74 in rb_call0 (klass=1073911288, recv=1077301020, id=5161, oid=143156200, argc=0, argv=0xbfff622c, body=0x4002a41c, nosuper=0) at eval.c:5632 #64 0x0805e408 in rb_call (klass=1073911288, recv=1077301020, mid=5161, argc=1, argv=0xbfff6228, scope=0) at eval.c:5725 #65 0x08059348 in rb_eval (self=1077606680, n=0x88863e8) at ruby.h:634 #66 0x08063750 in block_pass (self=1077606680, node=0x4002a2b4) at eval.c:8401 #67 0x08059f27 in rb_eval (self=1077606680, n=0x88863e8) at eval.c:2906 #68 0x0805c1e3 in rb_yield_0 (val=1077301020, self=1077606680, klass=1073914548, flags=0, avalue=0) at eval.c:4705 #69 0x0805c6c9 in rb_yield (val=143156200) at eval.c:4787 #70 0x080c3d7f in rb_ary_each (ary=1077606720) at array.c:1224 #71 0x08069ec1 in call_cfunc (func=0x80c3d50 , recv=1077606720, len=143156240, argc=11, argv=0x0) at eval.c:5367 #72 0x0805e157 in rb_call0 (klass=1074037928, recv=1077606720, id=3873, oid=143156200, argc=0, argv=0x0, body=0x40048084, nosuper=0) at eval.c:5504 ---Type to continue, or q to quit--- #73 0x0805e408 in rb_call (klass=1074037928, recv=1077606720, mid=3873, argc=0, argv=0x0, scope=0) at eval.c:5725 #74 0x08059348 in rb_eval (self=1077606680, n=0x88863e8) at ruby.h:634 #75 0x080586f8 in rb_eval (self=1077606680, n=0x88863e8) at eval.c:2920 #76 0x0805dc74 in rb_call0 (klass=1073911288, recv=1077606680, id=5161, oid=143156200, argc=0, argv=0xbfff82cc, body=0x4002a41c, nosuper=0) at eval.c:5632 #77 0x0805e408 in rb_call (klass=1073911288, recv=1077606680, mid=5161, argc=1, argv=0xbfff82c8, scope=0) at eval.c:5725 #78 0x08059348 in rb_eval (self=1080036332, n=0x88863e8) at ruby.h:634 #79 0x08063750 in block_pass (self=1080036332, node=0x4002a2b4) at eval.c:8401 #80 0x08059f27 in rb_eval (self=1080036332, n=0x88863e8) at eval.c:2906 #81 0x0805c1e3 in rb_yield_0 (val=1077606680, self=1080036332, klass=1073914548, flags=0, avalue=0) at eval.c:4705 #82 0x0805c6c9 in rb_yield (val=143156200) at eval.c:4787 #83 0x080c3d7f in rb_ary_each (ary=1080028952) at array.c:1224 #84 0x08069ec1 in call_cfunc (func=0x80c3d50 , recv=1080028952, len=143156240, argc=11, argv=0x0) at eval.c:5367 #85 0x0805e157 in rb_call0 (klass=1074037928, recv=1080028952, id=3873, oid=143156200, argc=0, argv=0x0, body=0x40048084, nosuper=0) at eval.c:5504 #86 0x0805e408 in rb_call (klass=1074037928, recv=1080028952, mid=3873, argc=0, argv=0x0, scope=0) at eval.c:5725 #87 0x08059348 in rb_eval (self=1080036332, n=0x88863e8) at ruby.h:634 ---Type to continue, or q to quit--- #88 0x080586f8 in rb_eval (self=1080036332, n=0x88863e8) at eval.c:2920 #89 0x0805dc74 in rb_call0 (klass=1073911288, recv=1080036332, id=5161, oid=143156200, argc=0, argv=0xbfffa36c, body=0x4002a41c, nosuper=0) at eval.c:5632 #90 0x0805e408 in rb_call (klass=1073911288, recv=1080036332, mid=5161, argc=1, argv=0xbfffa368, scope=0) at eval.c:5725 #91 0x08059348 in rb_eval (self=1080009792, n=0x88863e8) at ruby.h:634 #92 0x080586f8 in rb_eval (self=1080009792, n=0x88863e8) at eval.c:2920 #93 0x0805dc74 in rb_call0 (klass=1081694332, recv=1080009792, id=66945, oid=143156200, argc=0, argv=0x0, body=0x4079a750, nosuper=0) at eval.c:5632 #94 0x0805e408 in rb_call (klass=1081694332, recv=1080009792, mid=66945, argc=0, argv=0x0, scope=0) at eval.c:5725 #95 0x08059348 in rb_eval (self=1080028992, n=0x88863e8) at ruby.h:634 #96 0x0805dc74 in rb_call0 (klass=1081693692, recv=1080028992, id=66849, oid=143156200, argc=0, argv=0x0, body=0x4079c7f8, nosuper=0) at eval.c:5632 #97 0x0805e408 in rb_call (klass=1081693692, recv=1080028992, mid=66849, argc=0, argv=0x0, scope=2) at eval.c:5725 #98 0x08059348 in rb_eval (self=1080028992, n=0x88863e8) at ruby.h:634 #99 0x0805dc74 in rb_call0 (klass=1081693692, recv=1080028992, id=5081, oid=143156200, argc=0, argv=0x0, body=0x4079d388, nosuper=0) at eval.c:5632 #100 0x0805e408 in rb_call (klass=1081693692, recv=1080028992, mid=5081, argc=0, argv=0x0, scope=0) at eval.c:5725 #101 0x08059348 in rb_eval (self=1081693692, n=0x88863e8) at ruby.h:634 ---Type to continue, or q to quit--- #102 0x0805dc74 in rb_call0 (klass=1073884428, recv=1081693692, id=5161, oid=143156200, argc=0, argv=0xbfffca90, body=0x40023338, nosuper=0) at eval.c:5632 #103 0x0805e408 in rb_call (klass=1073884428, recv=1081693692, mid=5161, argc=2, argv=0xbfffca88, scope=0) at eval.c:5725 #104 0x08059348 in rb_eval (self=1074368788, n=0x88863e8) at ruby.h:634 #105 0x0805921b in rb_eval (self=1074368788, n=0x88863e8) at eval.c:3194 #106 0x0805dc74 in rb_call0 (klass=1074370388, recv=1074368788, id=5161, oid=143156200, argc=0, argv=0x0, body=0x40023b08, nosuper=0) at eval.c:5632 #107 0x0805e408 in rb_call (klass=1074370388, recv=1074368788, mid=5161, argc=0, argv=0x0, scope=0) at eval.c:5725 #108 0x08059348 in rb_eval (self=1074370388, n=0x88863e8) at ruby.h:634 #109 0x0805dc74 in rb_call0 (klass=1074370368, recv=1074370388, id=5161, oid=143156200, argc=0, argv=0xbfffe150, body=0x40028c20, nosuper=0) at eval.c:5632 #110 0x0805e408 in rb_call (klass=1074370368, recv=1074370388, mid=5161, argc=2, argv=0xbfffe148, scope=0) at eval.c:5725 #111 0x08059348 in rb_eval (self=1074063768, n=0x88863e8) at ruby.h:634 #112 0x08059678 in rb_eval (self=1074063768, n=0x88863e8) at ruby.h:663 #113 0x080558db in ruby_exec () at eval.c:1458 #114 0x08055920 in ruby_run () at eval.c:1479 #115 0x080539f5 in main (argc=143156200, argv=0x88863e8, envp=0xbfffef8c) at main.c:38 on: uehli@localhost experiment $ uname -a Linux localhost 2.6.8-ck6 #1 Tue Sep 7 20:49:53 CEST 2004 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux -- Thomas Uehlinger