Project

General

Profile

Feature #9634 » test-all_segfault.log

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

 
TestM17NComb#test_str_rjust = /home/kazuki/work/ruby/test/ruby/test_m17n_comb.rb:99: [BUG] Segmentation fault at 0x0000000000000f
ruby 2.2.0dev (2014-02-20 trunk 45322) [x86_64-linux]
(snip)
$ gdb -c core ./ruby
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/kazuki/work/ruby/ruby...done.
[New LWP 19237]
[New LWP 26630]
[New LWP 6375]
[New LWP 26830]
[New LWP 19310]
[New LWP 19309]
[New LWP 26596]
[New LWP 6368]
[New LWP 30934]
[New LWP 6327]
[New LWP 6326]
[New LWP 6329]
[New LWP 6338]
[New LWP 26627]
[New LWP 26802]
[New LWP 6352]
[New LWP 19318]
[New LWP 6398]
[New LWP 26694]
[New LWP 19312]
[New LWP 19311]
[New LWP 6385]
[New LWP 26599]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./test/runner.rb: TestM17NComb#test_str_rjust '.
Program terminated with signal 6, Aborted.
#0 0x00002aaaabad2445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00002aaaabad2445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00002aaaabad5bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00005555555b9e53 in rb_bug (fmt=0x555555760b89 "Segmentation fault at %p") at error.c:346
#3 0x0000555555697b32 in sigsegv (sig=11, info=0x555555a60af0, ctx=0x555555a609c0) at signal.c:704
#4 <signal handler called>
#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
#6 0x0000555555655f85 in rb_memhash (ptr=0xf, len=89) at random.c:1304
#7 0x00005555556afdde in rb_str_hash (str=93825171995520) at string.c:2320
#8 0x00005555556a2483 in st_delete (table=0x555555a1f920, key=0x55555d9783b0, value=0x0) at st.c:731
#9 0x000055555564611a in rb_gc_free_dsymbol (ptr=93825130791840) at parse.y:10651
#10 0x00005555555d669e in obj_free (objspace=0x555555a1b9a0, obj=93825130791840) at gc.c:1652
#11 0x00005555555d8fb8 in gc_page_sweep (objspace=0x555555a1b9a0, heap=0x555555a1b9b0, sweep_page=0x55555d962f50) at gc.c:2757
#12 0x00005555555d9909 in gc_heap_lazy_sweep (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:3026
#13 0x00005555555d56c3 in heap_prepare_freepage (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1210
#14 0x00005555555d5759 in heap_get_freeobj_from_next_freepage (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1235
#15 0x00005555555d57ea in heap_get_freeobj (objspace=0x555555a1b9a0, heap=0x555555a1b9b0) at gc.c:1257
#16 0x00005555555d59c7 in newobj_of (klass=93824997262808, flags=37, v1=0, v2=0, v3=0) at gc.c:1301
#17 0x00005555555d5b41 in rb_newobj_of (klass=93824997262808, flags=37) at gc.c:1354
#18 0x00005555556a9734 in str_alloc (klass=93824997262808) at string.c:480
#19 0x00005555556abb1a in str_duplicate (klass=93824997262808, str=93825000814944) at string.c:1026
#20 0x00005555556abbd4 in rb_str_resurrect (str=93825000814944) at string.c:1044
#21 0x000055555570c00e in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:354
#22 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#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
#24 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffff83f8) at vm.c:781
#25 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffff83f8) at vm_eval.c:932
#26 0x00005555557191d0 in rb_yield (val=79) at vm_eval.c:942
#27 0x000055555561d968 in int_dotimes (num=89) at numeric.c:3689
#28 0x0000555555707edf in call_cfunc_0 (func=0x55555561d8ee <int_dotimes>, recv=89, argc=0, argv=0x2aaaac212458) at vm_insnhelper.c:1304
#29 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311700, ci=0x555557c3be40) at vm_insnhelper.c:1470
#30 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311700, ci=0x555557c3be40) at vm_insnhelper.c:1560
#31 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
#32 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#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
#34 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffff9558) at vm.c:781
#35 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffff9558) at vm_eval.c:932
#36 0x00005555557191d0 in rb_yield (val=5) at vm_eval.c:942
#37 0x000055555561d968 in int_dotimes (num=89) at numeric.c:3689
#38 0x0000555555707edf in call_cfunc_0 (func=0x55555561d8ee <int_dotimes>, recv=89, argc=0, argv=0x2aaaac212428) at vm_insnhelper.c:1304
#39 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac3117a0, ci=0x555557c3b5a0) at vm_insnhelper.c:1470
#40 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac3117a0, ci=0x555557c3b5a0) at vm_insnhelper.c:1560
#41 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
#42 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#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
#44 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffa6b8) at vm.c:781
#45 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffa6b8) at vm_eval.c:932
#46 0x00005555557191d0 in rb_yield (val=93825246528496) at vm_eval.c:942
#47 0x000055555557efec in rb_ary_collect (ary=93825246523624) at array.c:2686
#48 0x0000555555707edf in call_cfunc_0 (func=0x55555557ef2d <rb_ary_collect>, recv=93825246523624, argc=0, argv=0x2aaaac212260) at vm_insnhelper.c:1304
#49 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311b10, ci=0x555555cf96c0) at vm_insnhelper.c:1470
#50 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311b10, ci=0x555555cf96c0) at vm_insnhelper.c:1560
#51 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
#52 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#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
#54 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffb808) at vm.c:781
#55 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffb808) at vm_eval.c:932
#56 0x00005555557191d0 in rb_yield (val=93825037472432) at vm_eval.c:942
#57 0x000055555557ca0b in rb_ary_each (array=93825147838520) at array.c:1794
#58 0x0000555555707edf in call_cfunc_0 (func=0x55555557c97c <rb_ary_each>, recv=93825147838520, argc=0, argv=0x2aaaac2121d0) at vm_insnhelper.c:1304
#59 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1470
#60 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1560
#61 0x0000555555709d7e in vm_call_method (th=0x555555a1b5b0, cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1754
#62 0x000055555570a58d in vm_call_general (th=0x555555a1b5b0, reg_cfp=0x2aaaac311c00, ci=0x555555c50c40) at vm_insnhelper.c:1909
#63 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
#64 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#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
#66 0x000055555571d1b2 in vm_yield (th=0x555555a1b5b0, argc=1, argv=0x7fffffffca88) at vm.c:781
#67 0x0000555555719196 in rb_yield_0 (argc=1, argv=0x7fffffffca88) at vm_eval.c:932
#68 0x00005555557191d0 in rb_yield (val=93825147839360) at vm_eval.c:942
#69 0x000055555557ca0b in rb_ary_each (array=93825147838800) at array.c:1794
#70 0x0000555555707edf in call_cfunc_0 (func=0x55555557c97c <rb_ary_each>, recv=93825147838800, argc=0, argv=0x2aaaac212108) at vm_insnhelper.c:1304
#71 0x0000555555708c30 in vm_call_cfunc_with_frame (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1470
#72 0x0000555555708efc in vm_call_cfunc (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1560
#73 0x0000555555709d7e in vm_call_method (th=0x555555a1b5b0, cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1754
#74 0x000055555570a58d in vm_call_general (th=0x555555a1b5b0, reg_cfp=0x2aaaac311d90, ci=0x555555d04720) at vm_insnhelper.c:1909
#75 0x000055555570e424 in vm_exec_core (th=0x555555a1b5b0, initial=0) at insns.def:999
#76 0x000055555571e7d3 in vm_exec (th=0x555555a1b5b0) at vm.c:1325
#77 0x000055555571f94d in rb_iseq_eval_main (iseqval=93824997342888) at vm.c:1583
#78 0x00005555555bf662 in ruby_exec_internal (n=0x555555a33ea8) at eval.c:251
#79 0x00005555555bf775 in ruby_exec_node (n=0x555555a33ea8) at eval.c:316
#80 0x00005555555bf748 in ruby_run_node (n=0x555555a33ea8) at eval.c:308
#81 0x00005555555769f9 in main (argc=5, argv=0x7fffffffdea8) at main.c:36
(gdb) fr 10
#10 0x00005555555d669e in obj_free (objspace=0x555555a1b9a0, obj=93825130791840) at gc.c:1652
1652 rb_gc_free_dsymbol(obj);
(gdb) p ((RVALUE*)obj)->file
$1 = 0x5555581d3c60 "/home/kazuki/work/ruby/test/ruby/test_m17n_comb.rb"
(gdb) p ((RVALUE*)obj)->line
$2 = 993
(gdb)
    (1-1/1)