Project

General

Profile

Bug #6341 ยป gdb_session.txt

Backtrace - rudolf (r stu3), 04/22/2012 11:27 PM

 
1
$ gdb /opt/src/ruby_1_9_3-r35416/ruby ruby.core 
2
GNU gdb (GDB) 7.3.1
3
[...]
4
This GDB was configured as "x86_64--netbsd".
5
[...]
6
Reading symbols from /opt/src/ruby_1_9_3-r35416/ruby...done.
7
[New process 1]
8
[New process 2]
9
Core was generated by `ruby'.
10
Program terminated with signal 6, Aborted.
11
#0  0x00007f7ff68ec8ca in _lwp_kill () from /usr/lib/libc.so.12
12
(gdb) bt
13
#0  0x00007f7ff68ec8ca in _lwp_kill () from /usr/lib/libc.so.12
14
#1  0x00007f7ff68ec202 in abort () at /usr/src/lib/libc/stdlib/abort.c:74
15
#2  0x0000000000571b1c in rb_bug (fmt=0x5af5e7 "Segmentation fault") at error.c:284
16
#3  0x00000000004b8aa4 in sigsegv (sig=11) at signal.c:609
17
#4  <signal handler called>
18
#5  0x00007f7ff689e1dc in choose_arena () at /usr/src/lib/libc/stdlib/jemalloc.c:1575
19
#6  imalloc (size=72) at /usr/src/lib/libc/stdlib/jemalloc.c:2988
20
#7  0x00007f7ff689e229 in malloc (size=72) at /usr/src/lib/libc/stdlib/jemalloc.c:3701
21
#8  0x00007f7ff7808c43 in pthread__attr_init_private (attr=<optimized out>) at /usr/src/lib/libpthread/pthread_attr.c:61
22
#9  0x00007f7ff7808ca8 in _pthread_attr_get_np (thread=0x7f7ff5000000, attr=0x7f7ff57fe9f0) at /usr/src/lib/libpthread/pthread_attr.c:100
23
#10 0x00007f7ff7809080 in pthread_getattr_np (thread=0x7f7ff5000000, attr=0x7f7ff57fe9f0) at /usr/src/lib/libpthread/pthread_attr.c:459
24
#11 0x00000000005341b7 in get_stack (addr=0x7f7ff57fea48, size=0x7f7ff57fea50) at thread_pthread.c:487
25
#12 0x00000000005342ad in ruby_init_stack (addr=0x7f7ff57feaf8) at thread_pthread.c:586
26
#13 0x0000000000417320 in ruby_cleanup (ex=0) at eval.c:129
27
#14 0x00000000004176b3 in ruby_stop (ex=0) at eval.c:216
28
#15 0x0000000000478f55 in rb_f_fork (obj=140187593688320) at process.c:2815
29
#16 0x000000000051bf5b in call_cfunc (func=0x478ee4 <rb_f_fork>, recv=140187593688320, len=0, argc=0, argv=0x7f7ff6700038) at vm_insnhelper.c:320
30
#17 0x000000000051c886 in vm_call_cfunc (th=0x7f7ff6f31400, reg_cfp=0x7f7ff67ffef8, num=0, recv=140187593688320, blockptr=0x7f7ff67fff20, me=0x7f7ff730cf40) at vm_insnhelper.c:404
31
#18 0x000000000051cf64 in vm_call_method (th=0x7f7ff6f31400, cfp=0x7f7ff67ffef8, num=0, blockptr=0x7f7ff67fff20, flag=8, id=8272, me=0x7f7ff730cf40, recv=140187593688320) at vm_insnhelper.c:534
32
#19 0x00000000005228e4 in vm_exec_core (th=0x7f7ff6f31400, initial=0) at insns.def:1015
33
#20 0x000000000052ff81 in vm_exec (th=0x7f7ff6f31400) at vm.c:1220
34
#21 0x000000000052e8b3 in invoke_block_from_c (th=0x7f7ff6f31400, block=0x7f7ff7356a60, self=140187593688320, argc=0, argv=0x7f7ff6fbdc00, blockptr=0x0, cref=0x0) at vm.c:624
35
#22 0x000000000052eae9 in rb_vm_invoke_proc (th=0x7f7ff6f31400, proc=0x7f7ff7356a60, self=140187593688320, argc=0, argv=0x7f7ff6fbdc00, blockptr=0x0) at vm.c:670
36
#23 0x0000000000535649 in thread_start_func_2 (th=0x7f7ff6f31400, stack_start=0x7f7ff5800000) at thread.c:453
37
#24 0x00000000005343cf in thread_start_func_1 (th_ptr=0x7f7ff6f31400) at thread_pthread.c:653
38
#25 0x00007f7ff7809d75 in pthread__create_tramp (cookie=0x7f7ff5000000) at /usr/src/lib/libpthread/pthread.c:492
39
#26 0x00007f7ff6876ef0 in ___lwp_park50 () from /usr/lib/libc.so.12
40
#27 0x00007f7ff5800000 in ?? ()
41
#28 0x00007f7ff7ffe3c0 in ?? ()
42
#29 0x0000000111110001 in ?? ()
43
#30 0x0000000033330003 in ?? ()
44
#31 0x0000000000000000 in ?? ()
45
(gdb) bt full
46
#0  0x00007f7ff68ec8ca in _lwp_kill () from /usr/lib/libc.so.12
47
No symbol table info available.
48
#1  0x00007f7ff68ec202 in abort () at /usr/src/lib/libc/stdlib/abort.c:74
49
        mask = {__bits = {4294967263, 4294967295, 4294967295, 4294967295}}
50
#2  0x0000000000571b1c in rb_bug (fmt=0x5af5e7 "Segmentation fault") at error.c:284
51
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7f7ff57fe4e0, reg_save_area = 0x7f7ff57fe410}}
52
        file = 0x7f7ff7b81820 "-e"
53
        line = 1
54
#3  0x00000000004b8aa4 in sigsegv (sig=11) at signal.c:609
55
No locals.
56
#4  <signal handler called>
57
No symbol table info available.
58
#5  0x00007f7ff689e1dc in choose_arena () at /usr/src/lib/libc/stdlib/jemalloc.c:1575
59
        curcpu = 4294967295
60
        map = 0x7f7ff7fe7010
61
#6  imalloc (size=72) at /usr/src/lib/libc/stdlib/jemalloc.c:2988
62
No locals.
63
#7  0x00007f7ff689e229 in malloc (size=72) at /usr/src/lib/libc/stdlib/jemalloc.c:3701
64
        ret = <optimized out>
65
#8  0x00007f7ff7808c43 in pthread__attr_init_private (attr=<optimized out>) at /usr/src/lib/libpthread/pthread_attr.c:61
66
        p = <optimized out>
67
#9  0x00007f7ff7808ca8 in _pthread_attr_get_np (thread=0x7f7ff5000000, attr=0x7f7ff57fe9f0) at /usr/src/lib/libpthread/pthread_attr.c:100
68
        p = <optimized out>
69
#10 0x00007f7ff7809080 in pthread_getattr_np (thread=0x7f7ff5000000, attr=0x7f7ff57fe9f0) at /usr/src/lib/libpthread/pthread_attr.c:459
70
        error = 0
71
#11 0x00000000005341b7 in get_stack (addr=0x7f7ff57fea48, size=0x7f7ff57fea50) at thread_pthread.c:487
72
        err = 32639
73
        attr = {pta_magic = 572653570, pta_flags = 0, pta_private = 0x0}
74
        guard = 0
75
#12 0x00000000005342ad in ruby_init_stack (addr=0x7f7ff57feaf8) at thread_pthread.c:586
76
        size = 0
77
        space = 0
78
        addr = 0x5370ee
79
#13 0x0000000000417320 in ruby_cleanup (ex=0) at eval.c:129
80
        state = 0
81
        errs = {1, 4}
82
        th = 0x7f7ff6f31400
83
        nerr = 4
84
#14 0x00000000004176b3 in ruby_stop (ex=0) at eval.c:216
85
No locals.
86
#15 0x0000000000478f55 in rb_f_fork (obj=140187593688320) at process.c:2815
87
        status = 0
88
        pid = 0
89
#16 0x000000000051bf5b in call_cfunc (func=0x478ee4 <rb_f_fork>, recv=140187593688320, len=0, argc=0, argv=0x7f7ff6700038) at vm_insnhelper.c:320
90
No locals.
91
#17 0x000000000051c886 in vm_call_cfunc (th=0x7f7ff6f31400, reg_cfp=0x7f7ff67ffef8, num=0, recv=140187593688320, blockptr=0x7f7ff67fff20, me=0x7f7ff730cf40) at vm_insnhelper.c:404
92
        val = 0
93
        def = 0x7f7ff7316b20
94
        cfp = 0x7f7ff67ffea0
95
#18 0x000000000051cf64 in vm_call_method (th=0x7f7ff6f31400, cfp=0x7f7ff67ffef8, num=0, blockptr=0x7f7ff67fff20, flag=8, id=8272, me=0x7f7ff730cf40, recv=140187593688320) at vm_insnhelper.c:534
96
        val = 8272
97
#19 0x00000000005228e4 in vm_exec_core (th=0x7f7ff6f31400, initial=0) at insns.def:1015
98
        v = 0
99
        me = 0x7f7ff730cf40
100
        recv = 140187593688320
101
        flag = 8
102
        klass = 140187593688280
103
        blockptr = 0x7f7ff67fff20
104
        num = 0
105
        id = 8272
106
        val = 0
107
        ic = 0x7f7ff6f8d920
108
        blockiseq = 0x7f7ff6f6c400
109
        op_argc = 0
110
        op_id = 8272
111
        op_flag = 8
112
        reg_pc = 0x7f7ff7356a08
113
        reg_cfp = 0x7f7ff67ffef8
114
        insns_address_table = {0x51fdae, 0x51fdc9, 0x51fe66, 0x51fedf, 0x51ff99, 0x520016, 0x5200f4, 0x5201ad, 0x520260, 0x5202ee, 0x5203b8, 0x52045d, 0x520533, 0x5205f0, 0x520681, 0x5206f0, 0x520765, 0x5207dd, 0x520858, 
115
          0x52095f, 0x5209ef, 0x520a80, 0x520b9b, 0x520c42, 0x520d94, 0x520e60, 0x520ef1, 0x520f7d, 0x5210ff, 0x5211e5, 0x521459, 0x5215a0, 0x521680, 0x5216c5, 0x521795, 0x521852, 0x52191b, 0x5219ac, 0x521a49, 0x521b12, 
116
          0x521b60, 0x52213a, 0x5221d2, 0x522768, 0x52297c, 0x522bf5, 0x522cd7, 0x522e1f, 0x522e7f, 0x522f23, 0x522f89, 0x523026, 0x5230c3, 0x523198, 0x5232b0, 0x5233b8, 0x523570, 0x5235d9, 0x5239c4, 0x523d16, 0x52409c, 
117
          0x5244de, 0x5248e0, 0x524abc, 0x524d28, 0x525034, 0x525253, 0x52555f, 0x52577e, 0x5259f2, 0x525c6b, 0x525f38, 0x526238, 0x526538, 0x52681f, 0x5269fd, 0x526abf, 0x526bca, 0x526c67, 0x526ce9}
118
#20 0x000000000052ff81 in vm_exec (th=0x7f7ff6f31400) at vm.c:1220
119
        _th = 0x7f7ff6f31400
120
        _tag = {buf = {140187580941056, 140187556379168, 5456777, 140187580699768, 1, 140187547992064, 140187556378824, 5439330, 140187572109344, 0, 140187580941056}, tag = 0, retval = 4, prev = 0x7f7ff57ffb10}
121
        state = 0
122
        result = 140187580941056
123
        err = 33
124
        initial = 0
125
        escape_dfp = 0x0
126
#21 0x000000000052e8b3 in invoke_block_from_c (th=0x7f7ff6f31400, block=0x7f7ff7356a60, self=140187593688320, argc=0, argv=0x7f7ff6fbdc00, blockptr=0x0, cref=0x0) at vm.c:624
127
        iseq = 0x7f7ff6f6c300
128
        cfp = 0x7f7ff67fff50
129
        i = 0
130
        arg_size = 0
131
        type = 33
132
        ncfp = 0x7f7ff67ffef8
133
        opt_pc = 0
134
#22 0x000000000052eae9 in rb_vm_invoke_proc (th=0x7f7ff6f31400, proc=0x7f7ff7356a60, self=140187593688320, argc=0, argv=0x7f7ff6fbdc00, blockptr=0x0) at vm.c:670
135
        _th = 0x7f7ff6f31400
136
        _tag = {buf = {140187580699648, 140187556379568, 5456777, 140187580699768, 1, 140187547992064, 140187556379336, 5433980, 140187593218064, 5989264, 140187556379536}, tag = 0, retval = 1, prev = 0x7f7ff57ffbd0}
137
        val = 6
138
        state = 0
139
        stored_safe = 0
140
#23 0x0000000000535649 in thread_start_func_2 (th=0x7f7ff6f31400, stack_start=0x7f7ff5800000) at thread.c:453
141
        _th = 0x7f7ff6f31400
142
        _tag = {buf = {140187547992064, 140187556379792, 5456777, 140187580699768, 1, 140187547992064, 140187556379576, 5461322, 140187556379768, 140187556379776, 0}, tag = 0, retval = 140187547992064, prev = 0x0}
143
        state = 0
144
        args = 140187581275120
145
        proc = 0x7f7ff7356a60
146
        join_th = 0x534169
147
        main_th = 0x7f7f66660006
148
        errinfo = 4
149
#24 0x00000000005343cf in thread_start_func_1 (th_ptr=0x7f7ff6f31400) at thread_pthread.c:653
150
        th = 0x7f7ff6f31400
151
#25 0x00007f7ff7809d75 in pthread__create_tramp (cookie=0x7f7ff5000000) at /usr/src/lib/libpthread/pthread.c:492
152
        self = 0x7f7ff5000000
153
        retval = 0xffffffff
154
#26 0x00007f7ff6876ef0 in ___lwp_park50 () from /usr/lib/libc.so.12
155
[...]