Project

General

Profile

Bug #7032 » backtrace.txt

ktsj (Kazuki Tsujimoto), 09/16/2012 04:08 PM

 
1
$ gdb -c core ./ruby
2
Core was generated by `/home/k_tsj/work/ruby/lib/test/unit/parallel.rb: TestSetTraceFunc#test_class '.
3
Program terminated with signal 11, Segmentation fault.
4
#0  0x00002aaab994fde7 in ?? () from /lib/libgcc_s.so.1
5
(gdb) bt
6
#0  0x00002aaab994fde7 in ?? () from /lib/libgcc_s.so.1
7
#1  0x00002aaab995066e in _Unwind_Backtrace () from /lib/libgcc_s.so.1
8
#2  0x00002aaaabd4037e in backtrace () from /lib/libc.so.6
9
#3  0x00002aaaaabfb43b in rb_vm_bugreport () at vm_dump.c:773
10
#4  0x00002aaaaac41bbc in report_bug (
11
    file=0x2aaaac104370 "/home/k_tsj/work/ruby/lib/test/unit/parallel.rb", line=37, fmt=0x2aaaaac824d7 "Segmentation fault", args=0x2aaaae58a600)
12
    at error.c:306
13
#5  0x00002aaaaac41cff in rb_bug (
14
    fmt=0x2aaaaac824d7 "Segmentation fault") at error.c:325
15
#6  0x00002aaaaab7dab3 in sigsegv (sig=11, info=0x2aaaae58a870,
16
    ctx=0x2aaaae58a740) at signal.c:607
17
#7  <signal handler called>
18
#8  0x0000000000000025 in ?? ()
19
#9  0x00002aaaaabfd848 in exec_hooks (th=0x2aaaae3cd870,
20
    list=0x2aaaaaf5d258, trace_arg=0x2aaaafb3ebd0) at vm_trace.c:291
21
#10 0x00002aaaaabfd9d4 in rb_threadptr_exec_event_hooks (
22
    th=0x2aaaae3cd870, event=32, self=46912558579360, id=1336,
23
    klass=46912501411400) at vm_trace.c:340
24
#11 0x00002aaaaabe3ed6 in vm_call_cfunc (th=0x2aaaae3cd870,
25
    reg_cfp=0x2aaaaccd7f60, num=0, recv=46912558579360, blockptr=0x0,
26
    me=0x2aaaab048de0, defined_class=46912501411400)
27
    at vm_insnhelper.c:436
28
#12 0x00002aaaaabe4690 in vm_call_method (th=0x2aaaae3cd870,
29
    cfp=0x2aaaaccd7f60, num=0, blockptr=0x0, flag=0, id=1336,
30
    me=0x2aaaab048de0, recv=46912558579360, defined_class=46912501411400)
31
    at vm_insnhelper.c:568
32
#13 0x00002aaaaabe9f83 in vm_exec_core (th=0x2aaaae3cd870, initial=0)
33
    at insns.def:1010
34
#14 0x00002aaaaabf7a24 in vm_exec (th=0x2aaaae3cd870) at vm.c:1146
35
#15 0x00002aaaaabf65f1 in invoke_block_from_c (th=0x2aaaae3cd870,
36
    block=0x2aaaae3cdc90, self=46912501228960, argc=0,
37
    argv=0x2aaaae63be10, blockptr=0x0, cref=0x0,
38
    defined_class=46912526173560) at vm.c:618
39
#16 0x00002aaaaabf6842 in vm_invoke_proc (th=0x2aaaae3cd870,
40
    proc=0x2aaaae3cdc90, self=46912501228960,
41
    defined_class=46912526173560, argc=0, argv=0x2aaaae63be10,
42
    blockptr=0x0) at vm.c:666
43
#17 0x00002aaaaabf68f2 in rb_vm_invoke_proc (th=0x2aaaae3cd870,
44
    proc=0x2aaaae3cdc90, argc=0, argv=0x2aaaae63be10, blockptr=0x0)
45
    at vm.c:685
46
#18 0x00002aaaaac00db7 in thread_start_func_2 (th=0x2aaaae3cd870,
47
    stack_start=0x2aaaafb41000) at thread.c:452
48
#19 0x00002aaaaabffa44 in thread_start_func_1 (th_ptr=0x2aaaae3cd870)
49
    at thread_pthread.c:688
50
#20 0x00002aaaab1609ca in start_thread () from /lib/libpthread.so.0
51
#21 0x00002aaaabd2770d in clone () from /lib/libc.so.6
52
#22 0x0000000000000000 in ?? ()
53
(gdb) fr 9
54
#9  0x00002aaaaabfd848 in exec_hooks (th=0x2aaaae3cd870,
55
    list=0x2aaaaaf5d258, trace_arg=0x2aaaafb3ebd0) at vm_trace.c:291
56
291                         (*hook->func)(trace_arg->event, hook->data, trace_arg->self, trace_arg->id, trace_arg->klass);
57
(gdb) p hook
58
$1 = (rb_event_hook_t *) 0x2aaaaafc8440
59
(gdb) p hook->func
60
$2 = (rb_event_hook_func_t) 0x25
61
(gdb) rp 0x25
62
FIXNUM: 18