typescript.txt

バックトレース - Makoto Kishimoto, 07/03/2011 05:45 PM

Download (9.05 KB)

 
1
$ ruby19 -d --disable-gems foo.rb
2
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162: [BUG] gc_sweep(): unknown data type 0x0(0x80134fdd8)
3
ruby 1.9.3dev (2011-07-03 trunk 32373) [x86_64-freebsd8.2]
4

    
5
-- Control frame information -----------------------------------------------
6
c:0009 p:---- s:0026 b:0026 l:000025 d:000025 CFUNC  :initialize
7
c:0008 p:---- s:0024 b:0024 l:000023 d:000023 CFUNC  :new
8
c:0007 p:0041 s:0019 b:0019 l:000018 d:000018 METHOD /usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162
9
c:0006 p:0011 s:0013 b:0013 l:0016f8 d:000012 BLOCK  foo.rb:19
10
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH
11
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :loop
12
c:0003 p:0033 s:0006 b:0006 l:0016f8 d:000005 BLOCK  foo.rb:18
13
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
14
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
15

    
16
-- Ruby level backtrace information ----------------------------------------
17
foo.rb:18:in `block in <main>'
18
foo.rb:18:in `loop'
19
foo.rb:19:in `block (2 levels) in <main>'
20
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162:in `accept'
21
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162:in `new'
22
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162:in `initialize'
23

    
24
-- Other runtime information -----------------------------------------------
25

    
26
* Loaded script: foo.rb
27

    
28
* Loaded features:
29

    
30
    0 enumerator.so
31
    1 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/encdb.so
32
    2 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/trans/transdb.so
33
    3 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/digest.so
34
    4 /usr/local/lib/ruby/1.9.1/digest.rb
35
    5 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/openssl.so
36
    6 /usr/local/lib/ruby/1.9.1/openssl/bn.rb
37
    7 /usr/local/lib/ruby/1.9.1/openssl/cipher.rb
38
    8 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/stringio.so
39
    9 /usr/local/lib/ruby/1.9.1/openssl/config.rb
40
   10 /usr/local/lib/ruby/1.9.1/openssl/digest.rb
41
   11 /usr/local/lib/ruby/1.9.1/openssl/x509.rb
42
   12 /usr/local/lib/ruby/1.9.1/openssl/buffering.rb
43
   13 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/fcntl.so
44
   14 /usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb
45
   15 /usr/local/lib/ruby/1.9.1/openssl/x509-internal.rb
46
   16 /usr/local/lib/ruby/1.9.1/openssl.rb
47
   17 /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/socket.so
48
   18 /usr/local/lib/ruby/1.9.1/socket.rb
49

    
50
[NOTE]
51
You may have encountered a bug in the Ruby interpreter or extension libraries.
52
Bug reports are welcome.
53
For details: http://www.ruby-lang.org/bugreport.html
54

    
55
Abort trap: 6 (core dumped)
56

    
57
$ gdb ruby19 ruby19.core
58
GNU gdb 6.1.1 [FreeBSD]
59
Copyright 2004 Free Software Foundation, Inc.
60
GDB is free software, covered by the GNU General Public License, and you are
61
welcome to change it and/or distribute copies of it under certain conditions.
62
Type "show copying" to see the conditions.
63
There is absolutely no warranty for GDB.  Type "show warranty" for details.
64
This GDB was configured as "amd64-marcel-freebsd"...
65
Core was generated by `ruby19'.
66
Program terminated with signal 6, Aborted.
67
Reading symbols from /usr/local/lib/libruby.so.19...done.
68
Loaded symbols for /usr/local/lib/libruby.so.19
69
Reading symbols from /usr/local/lib/libexecinfo.so.1...done.
70
Loaded symbols for /usr/local/lib/libexecinfo.so.1
71
Reading symbols from /lib/libthr.so.3...done.
72
Loaded symbols for /lib/libthr.so.3
73
Reading symbols from /usr/lib/librt.so.1...done.
74
Loaded symbols for /usr/lib/librt.so.1
75
Reading symbols from /lib/libcrypt.so.5...done.
76
Loaded symbols for /lib/libcrypt.so.5
77
Reading symbols from /lib/libm.so.5...done.
78
Loaded symbols for /lib/libm.so.5
79
Reading symbols from /lib/libc.so.7...done.
80
Loaded symbols for /lib/libc.so.7
81
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/encdb.so...done.
82
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/encdb.so
83
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/trans/transdb.so...done.
84
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/enc/trans/transdb.so
85
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/openssl.so...done.
86
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/openssl.so
87
Reading symbols from /usr/local/lib/libssl.so.7...done.
88
Loaded symbols for /usr/local/lib/libssl.so.7
89
Reading symbols from /usr/local/lib/libcrypto.so.7...done.
90
Loaded symbols for /usr/local/lib/libcrypto.so.7
91
Reading symbols from /usr/lib/libz.so...done.
92
Loaded symbols for /usr/lib/libz.so
93
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/digest.so...done.
94
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/digest.so
95
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/stringio.so...done.
96
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/stringio.so
97
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/fcntl.so...done.
98
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/fcntl.so
99
Reading symbols from /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/socket.so...done.
100
Loaded symbols for /usr/local/lib/ruby/1.9.1/x86_64-freebsd8.2/socket.so
101
Reading symbols from /libexec/ld-elf.so.1...done.
102
Loaded symbols for /libexec/ld-elf.so.1
103
#0  0x0000000800f32fbc in thr_kill () from /lib/libc.so.7
104
[New Thread 801207100 (LWP 100368/ruby19)]
105
[New Thread 80120ae40 (LWP 100178/ruby19)]
106
[New Thread 8012041c0 (LWP 100144/initial thread)]
107
(gdb) bt
108
#0  0x0000000800f32fbc in thr_kill () from /lib/libc.so.7
109
#1  0x0000000800fcf6eb in abort () from /lib/libc.so.7
110
#2  0x00000008006a3248 in rb_bug (fmt=Variable "fmt" is not available.
111
) at ../ruby-git/error.c:277
112
#3  0x00000008006b9353 in slot_sweep (objspace=0x801247000, sweep_slot=0x801350040) at ../ruby-git/gc.c:2356
113
#4  0x00000008006bd1d6 in garbage_collect (objspace=0x801247000) at ../ruby-git/gc.c:2198
114
#5  0x00000008006bda02 in rb_newobj () at ../ruby-git/gc.c:1157
115
#6  0x0000000800767db5 in rb_str_buf_new (capa=120) at ../ruby-git/string.c:373
116
#7  0x000000080075af54 in rb_enc_vsprintf (enc=0x0, fmt=0x8007f6d6c "rb_vsprintf reentered", ap=0x7fffffbf9380) at ../ruby-git/sprintf.c:1166
117
#8  0x00000008006a1a4f in rb_raise (exc=34380353480, fmt=Variable "fmt" is not available.
118
) at ../ruby-git/error.c:1578
119
#9  0x0000000800758566 in ruby__sfvwrite (fp=Variable "fp" is not available.
120
) at ../ruby-git/sprintf.c:1141
121
#10 0x000000080075952a in BSD_vfprintf (fp=0x7fffffbf9ec0, fmt0=0x6 <Address 0x6 out of bounds>, ap=0x7fffffbf9f30) at vsnprintf.c:333
122
#11 0x000000080075afa0 in rb_enc_vsprintf (enc=0x0, fmt=0x8007d9910 "wrong argument type %s (expected %s)", ap=0x7fffffbf9f30) at ../ruby-git/sprintf.c:1172
123
#12 0x00000008006a1a4f in rb_raise (exc=34380355040, fmt=Variable "fmt" is not available.
124
) at ../ruby-git/error.c:1578
125
#13 0x00000008006a3363 in rb_check_type (x=34379988800, t=6) at ../ruby-git/error.c:400
126
#14 0x0000000801823257 in ossl_ssl_initialize (argc=Variable "argc" is not available.
127
) at ../../../ruby-git/ext/openssl/ossl_ssl.c:1028
128
#15 0x00000008007b62f7 in vm_call0 (th=0x80148a100, recv=Variable "recv" is not available.
129
) at vm_eval.c:79
130
#16 0x00000008007b6e50 in rb_funcall2 (recv=34379988800, mid=456, argc=2, argv=0x8026040a0) at vm_eval.c:235
131
#17 0x00000008006eeb72 in rb_class_new_instance (argc=2, argv=0x8026040a0, klass=Variable "klass" is not available.
132
) at ../ruby-git/object.c:1625
133
#18 0x00000008007bb91a in vm_call_method (th=0x80148a100, cfp=0x802703d98, num=Variable "num" is not available.
134
) at vm_insnhelper.c:404
135
#19 0x00000008007c1156 in vm_exec_core (th=0x80148a100, initial=Variable "initial" is not available.
136
) at insns.def:1012
137
#20 0x00000008007c5b4e in vm_exec (th=0x80148a100) at ../ruby-git/vm.c:1180
138
#21 0x00000008007c644d in invoke_block_from_c (th=0x80148a100, block=0x802703f20, self=34380363040, argc=0, argv=Variable "argv" is not available.
139
) at ../ruby-git/vm.c:591
140
#22 0x00000008007c6b38 in loop_i () at ../ruby-git/vm.c:621
141
#23 0x00000008006a69a0 in rb_rescue2 (b_proc=0x8007c6b00 <loop_i>, data1=0, r_proc=0, data2=0) at ../ruby-git/eval.c:636
142
#24 0x00000008007b218e in rb_f_loop (self=34380363040) at vm_eval.c:826
143
#25 0x00000008007bb91a in vm_call_method (th=0x80148a100, cfp=0x802703ef8, num=Variable "num" is not available.
144
) at vm_insnhelper.c:404
145
#26 0x00000008007c1156 in vm_exec_core (th=0x80148a100, initial=Variable "initial" is not available.
146
) at insns.def:1012
147
#27 0x00000008007c5b4e in vm_exec (th=0x80148a100) at ../ruby-git/vm.c:1180
148
#28 0x00000008007c644d in invoke_block_from_c (th=0x80148a100, block=0x8020b1740, self=34380363040, argc=0, argv=Variable "argv" is not available.
149
) at ../ruby-git/vm.c:591
150
#29 0x00000008007c6841 in rb_vm_invoke_proc (th=0x80148a100, proc=0x8020b1740, self=34380363040, argc=0, argv=0x80134feb0, blockptr=0x0)
151
    at ../ruby-git/vm.c:637
152
#30 0x00000008007d0f63 in thread_start_func_2 (th=0x80148a100, stack_start=0x7fffffb7b000) at ../ruby-git/thread.c:446
153
#31 0x00000008007d11a3 in thread_start_func_1 (th_ptr=Variable "th_ptr" is not available.
154
) at thread_pthread.c:623
155
#32 0x0000000800a8f4d1 in pthread_getprio () from /lib/libthr.so.3
156
#33 0x0000000000000000 in ?? ()
157
Cannot access memory at address 0x7fffffbfb000