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:37 AM

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