Project

General

Profile

Bug #633 » ruby-c-backtrace-noopt.txt

C-level backtrace with no optimization during compiles - znmeb (Ed Borasky), 12/27/2008 05:34 AM

 
GNU DDD 3.3.11 (x86_64-suse-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
Copyright © 2001 Universität des Saarlandes, Germany.
Copyright © 2001-2004 Free Software Foundation, Inc.
(gdb) file /home/znmeb/test/bin/ruby
(gdb) core-file /home/znmeb/Packages/ruby/ext/dl/test/core.10665
warning: Can't read pathname for load map: Input/output error.
[New Thread 10667]
Core was generated by `ruby test_all.rb'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f8bd4ad654f in ?? () from /lib64/libgcc_s.so.1
(gdb) where
#0 0x00007f8bd4ad654f in ?? () from /lib64/libgcc_s.so.1
#1 0x00007f8bd4ad6e1b in _Unwind_Backtrace () from /lib64/libgcc_s.so.1
#2 0x00007f8bd548573e in backtrace () from /lib64/libc.so.6
#3 0x0000000000513ad8 in rb_vm_bugreport () at vm_dump.c:601
#4 0x0000000000546663 in report_bug (file=0xc0a060 "/home/znmeb/Packages/ruby/ext/dl/test/test_dl2.rb", line=78, fmt=0x576c1f "Segmentation fault", args=0x8b8890) at error.c:215
#5 0x000000000054676b in rb_bug (fmt=0x576c1f "Segmentation fault") at error.c:230
#6 0x00000000004a99e0 in sigsegv (sig=11, info=0x8b8af0, ctx=0x8b89c0) at signal.c:600
#7 <signal handler called>
#8 0x0000000000000092 in ?? ()
#9 0x00007f8bd53d4ea2 in ?? () from /lib64/libc.so.6
#10 0x00007f8bd53d584c in qsort_r () from /lib64/libc.so.6
#11 0x00007f8bd4ce23c0 in rb_dlcfunc_call (self=11574080, ary=11573400) at cfunc.c:276
#12 0x0000000000508cbc in call_cfunc (func=0x7f8bd4ce200b <rb_dlcfunc_call>, recv=11574080, len=1, argc=1, argv=0x7f8bd62631b0) at vm_insnhelper.c:290
#13 0x0000000000508b02 in vm_call_cfunc (th=0x7f2b90, reg_cfp=0x7f8bd6362b30, num=1, id=5536, recv=11574080, klass=10776360, flag=0, mn=0xa46ca8, blockptr=0x0) at vm_insnhelper.c:374
#14 0x0000000000508309 in vm_call_method (th=0x7f2b90, cfp=0x7f8bd6362b30, num=1, blockptr=0x0, flag=0, id=5536, mn=0xa46c80, recv=11574080) at vm_insnhelper.c:500
#15 0x0000000000503d16 in vm_exec_core (th=0x7f2b90, initial=0) at insns.def:999
#16 0x0000000000510975 in vm_exec (th=0x7f2b90) at vm.c:1042
#17 0x000000000050f7c4 in invoke_block_from_c (th=0x7f2b90, block=0x7f8bd6362d38, self=11713880, argc=1, argv=0x7fffde3cec08, blockptr=0x0, cref=0x0) at vm.c:488
#18 0x000000000050f84b in vm_yield (th=0x7f2b90, argc=1, argv=0x7fffde3cec08) at vm.c:518
#19 0x000000000050cb58 in rb_yield_0 (argc=1, argv=0x7fffde3cec08) at vm_eval.c:483
#20 0x000000000050cb2c in rb_yield (val=11651200) at vm_eval.c:493
#21 0x0000000000523dca in rb_ary_each (ary=11650920) at array.c:1343
#22 0x0000000000508c9d in call_cfunc (func=0x523d40 <rb_ary_each>, recv=11650920, len=0, argc=0, argv=0x7f8bd62630f8) at vm_insnhelper.c:287
#23 0x0000000000508b02 in vm_call_cfunc (th=0x7f2b90, reg_cfp=0x7f8bd6362d10, num=0, id=424, recv=11650920, klass=8622480, flag=0, mn=0x8383a8, blockptr=0x7f8bd6362d38) at vm_insnhelper.c:374
#24 0x0000000000508309 in vm_call_method (th=0x7f2b90, cfp=0x7f8bd6362d10, num=0, blockptr=0x7f8bd6362d38, flag=0, id=424, mn=0x838380, recv=11650920) at vm_insnhelper.c:500
#25 0x0000000000503d16 in vm_exec_core (th=0x7f2b90, initial=0) at insns.def:999
#26 0x0000000000510975 in vm_exec (th=0x7f2b90) at vm.c:1042
#27 0x000000000050f7c4 in invoke_block_from_c (th=0x7f2b90, block=0x7f8bd6362e58, self=11713880, argc=1, argv=0x7fffde3cfc08, blockptr=0x0, cref=0x0) at vm.c:488
#28 0x000000000050f84b in vm_yield (th=0x7f2b90, argc=1, argv=0x7fffde3cfc08) at vm.c:518
#29 0x000000000050cb58 in rb_yield_0 (argc=1, argv=0x7fffde3cfc08) at vm_eval.c:483
#30 0x000000000050cb2c in rb_yield (val=12525040) at vm_eval.c:493
#31 0x0000000000523dca in rb_ary_each (ary=11713320) at array.c:1343
#32 0x0000000000508c9d in call_cfunc (func=0x523d40 <rb_ary_each>, recv=11713320, len=0, argc=0, argv=0x7f8bd62630b8) at vm_insnhelper.c:287
#33 0x0000000000508b02 in vm_call_cfunc (th=0x7f2b90, reg_cfp=0x7f8bd6362e30, num=0, id=424, recv=11713320, klass=8622480, flag=0, mn=0x8383a8, blockptr=0x7f8bd6362e58) at vm_insnhelper.c:374
#34 0x0000000000508309 in vm_call_method (th=0x7f2b90, cfp=0x7f8bd6362e30, num=0, blockptr=0x7f8bd6362e58, flag=0, id=424, mn=0x838380, recv=11713320) at vm_insnhelper.c:500
#35 0x0000000000503d16 in vm_exec_core (th=0x7f2b90, initial=0) at insns.def:999
#36 0x0000000000510975 in vm_exec (th=0x7f2b90) at vm.c:1042
#37 0x000000000050f7c4 in invoke_block_from_c (th=0x7f2b90, block=0xa4a530, self=10301480, argc=0, argv=0xb2bde0, blockptr=0x0, cref=0x0) at vm.c:488
#38 0x000000000050f959 in vm_invoke_proc (th=0x7f2b90, proc=0xa4a530, self=10301480, argc=0, argv=0xb2bde0, blockptr=0x0) at vm.c:535
#39 0x000000000041bd84 in rb_proc_call (self=10784720, args=11714000) at proc.c:536
#40 0x0000000000418ded in rb_call_end_proc (data=10784720) at eval_jump.c:13
#41 0x00000000004190fa in rb_exec_end_proc () at eval_jump.c:133
#42 0x00000000004193a4 in ruby_finalize_0 () at eval.c:107
#43 0x0000000000419486 in ruby_cleanup (ex=0) at eval.c:142
#44 0x00000000004197ab in ruby_run_node (n=0x8006b0) at eval.c:233
#45 0x0000000000418089 in main (argc=2, argv=0x7fffde3d1218) at main.c:35
(gdb)
(8-8/13)