Project

General

Profile

Feature #9634 » test-all_segfault.log

ktsj (Kazuki Tsujimoto), 03/13/2014 02:18 PM

 
1
TestM17NComb#test_str_rjust = /home/kazuki/work/ruby/test/ruby/test_m17n_comb.rb:99: [BUG] Segmentation fault at 0x0000000000000f
2
ruby 2.2.0dev (2014-02-20 trunk 45322) [x86_64-linux]
3
(snip)
4
$ gdb -c core ./ruby
5
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
6
Copyright (C) 2012 Free Software Foundation, Inc.
7
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
8
This is free software: you are free to change and redistribute it.
9
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
10
and "show warranty" for details.
11
This GDB was configured as "x86_64-linux-gnu".
12
For bug reporting instructions, please see:
13
<http://bugs.launchpad.net/gdb-linaro/>...
14
Reading symbols from /home/kazuki/work/ruby/ruby...done.
15
[New LWP 19237]
16
[New LWP 26630]
17
[New LWP 6375]
18
[New LWP 26830]
19
[New LWP 19310]
20
[New LWP 19309]
21
[New LWP 26596]
22
[New LWP 6368]
23
[New LWP 30934]
24
[New LWP 6327]
25
[New LWP 6326]
26
[New LWP 6329]
27
[New LWP 6338]
28
[New LWP 26627]
29
[New LWP 26802]
30
[New LWP 6352]
31
[New LWP 19318]
32
[New LWP 6398]
33
[New LWP 26694]
34
[New LWP 19312]
35
[New LWP 19311]
36
[New LWP 6385]
37
[New LWP 26599]
38

    
39
warning: Can't read pathname for load map: Input/output error.
40
[Thread debugging using libthread_db enabled]
41
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
42
Core was generated by `./test/runner.rb: TestM17NComb#test_str_rjust                                 '.
43
Program terminated with signal 6, Aborted.
44
#0  0x00002aaaabad2445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
45
(gdb) bt
46
#0  0x00002aaaabad2445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
47
#1  0x00002aaaabad5bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
48
#2  0x00005555555b9e53 in rb_bug (fmt=0x555555760b89 "Segmentation fault at %p") at error.c:346
49
#3  0x0000555555697b32 in sigsegv (sig=11, info=0x555555a60af0, ctx=0x555555a609c0) at signal.c:704
50
#4  <signal handler called>
51
#5  0x0000555555655a05 in ruby_sip_hash24 (key=0x5555559feb30 "\317\355\037\037B\200\260\363N\235lj", data=0xf <Address 0xf out of bounds>, len=89) at siphash.c:416
52
#6  0x0000555555655f85 in rb_memhash (ptr=0xf, len=89) at random.c:1304
53
#7  0x00005555556afdde in rb_str_hash (str=93825171995520) at string.c:2320
54
#8  0x00005555556a2483 in st_delete (table=0x555555a1f920, key=0x55555d9783b0, value=0x0) at st.c:731
55
#9  0x000055555564611a in rb_gc_free_dsymbol (ptr=93825130791840) at parse.y:10651
56
#10 0x00005555555d669e in obj_free (objspace=0x555555a1b9a0, obj=93825130791840) at gc.c:1652
57
#11 0x00005555555d8fb8 in gc_page_sweep (objspace=0x555555a1b9a0, heap=0x555555a1b9b0, sweep_page=0x55555d962f50) at gc.c:2757
58
#12 0x00005555555d9909 in gc_heap_lazy_sweep (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:3026
59
#13 0x00005555555d56c3 in heap_prepare_freepage (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1210
60
#14 0x00005555555d5759 in heap_get_freeobj_from_next_freepage (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1235
61
#15 0x00005555555d57ea in heap_get_freeobj (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1257
62
#16 0x00005555555d59c7 in newobj_of (klass=93824997262808, flags=37, v1=0, v2=0, v3=0) at gc.c:1301
63
#17 0x00005555555d5b41 in rb_newobj_of (klass=93824997262808, flags=37) at gc.c:1354
64
#18 0x00005555556a9734 in str_alloc (klass=93824997262808) at string.c:480
65
#19 0x00005555556abb1a in str_duplicate (klass=93824997262808, str=93825000814944) at string.c:1026
66
#20 0x00005555556abbd4 in rb_str_resurrect (str=93825000814944) at string.c:1044
67
#21 0x000055555570c00e in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:354
68
#22 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
69
#23 0x000055555571d081 in invoke_block_from_c (th=0x555555a1b5b0, block=0x2aaaac311720, self=93825033155784, argc=1, argv=0x7fffffff83f8, blockptr=0x0, cref=0x0, defined_class=93825033155672) at vm.c:750
70
#24 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffff83f8) at vm.c:781
71
#25 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffff83f8) at vm_eval.c:932
72
#26 0x00005555557191d0 in rb_yield (val=79) at vm_eval.c:942
73
#27 0x000055555561d968 in int_dotimes (num=89) at numeric.c:3689
74
#28 0x0000555555707edf in call_cfunc_0 (func=0x55555561d8ee <int_dotimes>, recv=89, argc=0, argv=0x2aaaac212458) at vm_insnhelper.c:1304
75
#29 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311700, ci=0x555557c3be40) at vm_insnhelper.c:1470
76
#30 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311700, ci=0x555557c3be40) at vm_insnhelper.c:1560
77
#31 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
78
#32 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
79
#33 0x000055555571d081 in invoke_block_from_c (th=0x555555a1b5b0, block=0x2aaaac3117c0, self=93825033155784, argc=1, argv=0x7fffffff9558, blockptr=0x0, cref=0x0, defined_class=93825033155672) at vm.c:750
80
#34 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffff9558) at vm.c:781
81
#35 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffff9558) at vm_eval.c:932
82
#36 0x00005555557191d0 in rb_yield (val=5) at vm_eval.c:942
83
#37 0x000055555561d968 in int_dotimes (num=89) at numeric.c:3689
84
#38 0x0000555555707edf in call_cfunc_0 (func=0x55555561d8ee <int_dotimes>, recv=89, argc=0, argv=0x2aaaac212428) at vm_insnhelper.c:1304
85
#39 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac3117a0, ci=0x555557c3b5a0) at vm_insnhelper.c:1470
86
#40 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac3117a0, ci=0x555557c3b5a0) at vm_insnhelper.c:1560
87
#41 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
88
#42 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
89
#43 0x000055555571d081 in invoke_block_from_c (th=0x555555a1b5b0, block=0x2aaaac311b30, self=93825000586296, argc=1, argv=0x7fffffffa6b8, blockptr=0x0, cref=0x0, defined_class=93825001264736) at vm.c:750
90
#44 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffa6b8) at vm.c:781
91
#45 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffa6b8) at vm_eval.c:932
92
#46 0x00005555557191d0 in rb_yield (val=93825246528496) at vm_eval.c:942
93
#47 0x000055555557efec in rb_ary_collect (ary=93825246523624) at array.c:2686
94
#48 0x0000555555707edf in call_cfunc_0 (func=0x55555557ef2d <rb_ary_collect>, recv=93825246523624, argc=0, argv=0x2aaaac212260) at vm_insnhelper.c:1304
95
#49 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311b10, ci=0x555555cf96c0) at vm_insnhelper.c:1470
96
#50 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311b10, ci=0x555555cf96c0) at vm_insnhelper.c:1560
97
#51 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
98
#52 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
99
#53 0x000055555571d081 in invoke_block_from_c (th=0x555555a1b5b0, block=0x2aaaac311c20, self=93825000586296, argc=1, argv=0x7fffffffb808, blockptr=0x0, cref=0x0, defined_class=93825000593744) at vm.c:750
100
#54 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffb808) at vm.c:781
101
#55 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffb808) at vm_eval.c:932
102
#56 0x00005555557191d0 in rb_yield (val=93825037472432) at vm_eval.c:942
103
#57 0x000055555557ca0b in rb_ary_each (array=93825147838520) at array.c:1794
104
#58 0x0000555555707edf in call_cfunc_0 (func=0x55555557c97c <rb_ary_each>, recv=93825147838520, argc=0, argv=0x2aaaac2121d0) at vm_insnhelper.c:1304
105
#59 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1470
106
#60 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1560
107
#61 0x0000555555709d7e in vm_call_method (th=0x555555a1b5b0, cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1754
108
#62 0x000055555570a58d in vm_call_general (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1909
109
#63 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
110
#64 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
111
#65 0x000055555571d081 in invoke_block_from_c (th=0x555555a1b5b0, block=0x2aaaac311db0, self=93825000586296, argc=1, argv=0x7fffffffca88, blockptr=0x0, cref=0x0, defined_class=93825001264736) at vm.c:750
112
#66 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffca88) at vm.c:781
113
#67 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffca88) at vm_eval.c:932
114
#68 0x00005555557191d0 in rb_yield (val=93825147839360) at vm_eval.c:942
115
#69 0x000055555557ca0b in rb_ary_each (array=93825147838800) at array.c:1794
116
#70 0x0000555555707edf in call_cfunc_0 (func=0x55555557c97c <rb_ary_each>, recv=93825147838800, argc=0, argv=0x2aaaac212108) at vm_insnhelper.c:1304
117
#71 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1470
118
#72 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1560
119
#73 0x0000555555709d7e in vm_call_method (th=0x555555a1b5b0, cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1754
120
#74 0x000055555570a58d in vm_call_general (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1909
121
#75 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
122
#76 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
123
#77 0x000055555571f94d in rb_iseq_eval_main (iseqval=93824997342888) at vm.c:1583
124
#78 0x00005555555bf662 in ruby_exec_internal (n=0x555555a33ea8) at eval.c:251
125
#79 0x00005555555bf775 in ruby_exec_node (n=0x555555a33ea8) at eval.c:316
126
#80 0x00005555555bf748 in ruby_run_node (n=0x555555a33ea8) at eval.c:308
127
#81 0x00005555555769f9 in main (argc=5, argv=0x7fffffffdea8) at main.c:36
128
(gdb) fr 10
129
#10 0x00005555555d669e in obj_free (objspace=0x555555a1b9a0, obj=93825130791840) at gc.c:1652
130
1652                rb_gc_free_dsymbol(obj);
131
(gdb) p ((RVALUE*)obj)->file
132
$1 = 0x5555581d3c60 "/home/kazuki/work/ruby/test/ruby/test_m17n_comb.rb"
133
(gdb) p ((RVALUE*)obj)->line
134
$2 = 993
135
(gdb)