Project

General

Profile

Bug #11750 ยป bug-11750.log

nobu (Nobuyoshi Nakada), 11/30/2015 05:35 AM

 
1
z.rb:4: [BUG] Segmentation fault at 0x00000000000022
2
ruby 2.3.0dev (2015-11-29 trunk 52789) [x86_64-linux]
3

    
4
-- Control frame information -----------------------------------------------
5
c:0007 p:0006 s:0018 e:000017 BLOCK  z.rb:4 [FINISH]
6
c:0006 p:---- s:0016 e:000015 CFUNC  :times
7
c:0005 p:0010 s:0013 e:000012 BLOCK  z.rb:3 [FINISH]
8
c:0004 p:---- s:0010 E:0025a0 CFUNC  :each
9
c:0003 p:---- s:0008 e:000007 CFUNC  :each
10
c:0002 p:0040 s:0005 E:002288 EVAL   z.rb:16 [FINISH]
11
c:0001 p:0000 s:0002 E:001250 (none) [FINISH]
12

    
13
-- Ruby level backtrace information ----------------------------------------
14
z.rb:16:in `<main>'
15
z.rb:16:in `each'
16
z.rb:16:in `each'
17
z.rb:3:in `block in f'
18
z.rb:3:in `times'
19
z.rb:4:in `block (2 levels) in f'
20

    
21
-- Machine register context ------------------------------------------------
22
 RIP: 0x00007fb4a35f2dd3 RBP: 0x00007ffe47c0e740 RSP: 0x00007ffe47c0e740
23
 RAX: 0x0000000000000000 RBX: 0x0000000000000001 RCX: 0x00007fb4a4137e70
24
 RDX: 0x00007ffe47c0f310 RDI: 0x00007fb4a40216f0 RSI: 0x00007fb4a3427e50
25
  R8: 0x00007fb4a3328071  R9: 0x0000000000000000 R10: 0x00007fb4a3328071
26
 R11: 0x0000000000000001 R12: 0x00007fb4a344e340 R13: 0x00007ffe47c12b40
27
 R14: 0x00007fb4a4137da0 R15: 0x00007fb4a3427e50 EFL: 0x0000000000010206
28

    
29
-- C level backtrace information -------------------------------------------
30
/home/ruby/tst1/ruby/miniruby(rb_print_backtrace+0x19) [0x7fb4a360be2a] vm_dump.c:688
31
/home/ruby/tst1/ruby/miniruby(rb_vm_bugreport+0xb8) [0x7fb4a360c2b4] vm_dump.c:997
32
/home/ruby/tst1/ruby/miniruby(rb_bug_context+0x117) [0x7fb4a3491b7b] error.c:420
33
/home/ruby/tst1/ruby/miniruby(sigsegv+0x5e) [0x7fb4a357234a] signal.c:890
34
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7fb4a2ffb8d0]
35
/home/ruby/tst1/ruby/miniruby(block_proc_is_lambda+0x1f) [0x7fb4a35f2dd3] vm_insnhelper.c:2350
36
/home/ruby/tst1/ruby/miniruby(vm_invoke_block+0xe5) [0x7fb4a35f318c] vm_insnhelper.c:2441
37
/home/ruby/tst1/ruby/miniruby(vm_exec_core+0x272c) [0x7fb4a35f603c] insns.def:1032
38
/home/ruby/tst1/ruby/miniruby(vm_exec+0xe4) [0x7fb4a36072e8] vm.c:1621
39
/home/ruby/tst1/ruby/miniruby(invoke_block+0xd2) [0x7fb4a36052e4] vm.c:900
40
/home/ruby/tst1/ruby/miniruby(invoke_block_from_c_0+0x1d2) [0x7fb4a360566a] vm.c:950
41
/home/ruby/tst1/ruby/miniruby(invoke_block_from_c_splattable+0x49) [0x7fb4a3605707] vm.c:967
42
/home/ruby/tst1/ruby/miniruby(vm_yield+0x50) [0x7fb4a3605853] vm.c:1002
43
/home/ruby/tst1/ruby/miniruby(rb_yield_0+0x27) [0x7fb4a36012f0] vm_eval.c:1007
44
/home/ruby/tst1/ruby/miniruby(rb_yield_1+0x1d) [0x7fb4a360130f] vm_eval.c:1013
45
/home/ruby/tst1/ruby/miniruby(int_dotimes+0x7a) [0x7fb4a34f7283] numeric.c:3953
46
/home/ruby/tst1/ruby/miniruby(call_cfunc_0+0x29) [0x7fb4a35f07fb] vm_insnhelper.c:1536
47
/home/ruby/tst1/ruby/miniruby(vm_call_cfunc_with_frame+0x17d) [0x7fb4a35f1270] vm_insnhelper.c:1709
48
/home/ruby/tst1/ruby/miniruby(vm_call_cfunc+0x93) [0x7fb4a35f1390] vm_insnhelper.c:1804
49
/home/ruby/tst1/ruby/miniruby(vm_call_method_each_type+0xbb) [0x7fb4a35f2207] vm_insnhelper.c:2091
50
/home/ruby/tst1/ruby/miniruby(vm_call_method+0x77) [0x7fb4a35f2894] vm_insnhelper.c:2215
51
/home/ruby/tst1/ruby/miniruby(vm_call_general+0x3b) [0x7fb4a35f2a6a] vm_insnhelper.c:2258
52
/home/ruby/tst1/ruby/miniruby(vm_exec_core+0x2302) [0x7fb4a35f5c12] insns.def:962
53
/home/ruby/tst1/ruby/miniruby(vm_exec+0xe4) [0x7fb4a36072e8] vm.c:1621
54
/home/ruby/tst1/ruby/miniruby(invoke_block+0xd2) [0x7fb4a36052e4] vm.c:900
55
/home/ruby/tst1/ruby/miniruby(invoke_block_from_c_0+0x1d2) [0x7fb4a360566a] vm.c:950
56
/home/ruby/tst1/ruby/miniruby(invoke_block_from_c_unsplattable+0x49) [0x7fb4a3605756] vm.c:975
57
/home/ruby/tst1/ruby/miniruby(vm_invoke_proc+0x147) [0x7fb4a36059fb] vm.c:1023
58
/home/ruby/tst1/ruby/miniruby(rb_vm_invoke_proc+0x7e) [0x7fb4a3605b2c] vm.c:1051
59
/home/ruby/tst1/ruby/miniruby(rb_proc_call+0x61) [0x7fb4a349f6a7] proc.c:815
60
/home/ruby/tst1/ruby/miniruby(generator_each+0x83) [0x7fb4a348dd75] enumerator.c:1292
61
/home/ruby/tst1/ruby/miniruby(call_cfunc_m1+0x2f) [0x7fb4a35f07d0] vm_insnhelper.c:1530
62
/home/ruby/tst1/ruby/miniruby(vm_call0_cfunc_with_frame+0x16f) [0x7fb4a35ff1cf] vm_eval.c:131
63
/home/ruby/tst1/ruby/miniruby(vm_call0_cfunc+0x3b) [0x7fb4a35ff2a5] vm_eval.c:148
64
/home/ruby/tst1/ruby/miniruby(vm_call0_body+0x19c) [0x7fb4a35ff443] vm_eval.c:186
65
/home/ruby/tst1/ruby/miniruby(vm_call0+0x8e) [0x7fb4a35ff05e] vm_eval.c:61
66
/home/ruby/tst1/ruby/miniruby(rb_call0+0xaa) [0x7fb4a35ffa87] vm_eval.c:351
67
/home/ruby/tst1/ruby/miniruby(rb_call+0x52) [0x7fb4a36005bf] vm_eval.c:634
68
/home/ruby/tst1/ruby/miniruby(iterate_method+0x40) [0x7fb4a3601a03] vm_eval.c:1218
69
/home/ruby/tst1/ruby/miniruby(rb_iterate0+0x165) [0x7fb4a3601846] vm_eval.c:1168
70
/home/ruby/tst1/ruby/miniruby(rb_iterate+0x67) [0x7fb4a36019bc] vm_eval.c:1200
71
/home/ruby/tst1/ruby/miniruby(rb_block_call+0x58) [0x7fb4a3601a5d] vm_eval.c:1231
72
/home/ruby/tst1/ruby/miniruby(enumerator_block_call+0xa3) [0x7fb4a348cabd] enumerator.c:431
73
/home/ruby/tst1/ruby/miniruby(enumerator_each+0xe2) [0x7fb4a348cba1] enumerator.c:490
74
/home/ruby/tst1/ruby/miniruby(call_cfunc_m1+0x2f) [0x7fb4a35f07d0] vm_insnhelper.c:1530
75
/home/ruby/tst1/ruby/miniruby(vm_call_cfunc_with_frame+0x17d) [0x7fb4a35f1270] vm_insnhelper.c:1709
76
/home/ruby/tst1/ruby/miniruby(vm_call_cfunc+0x93) [0x7fb4a35f1390] vm_insnhelper.c:1804
77
/home/ruby/tst1/ruby/miniruby(vm_call_method_each_type+0xbb) [0x7fb4a35f2207] vm_insnhelper.c:2091
78
/home/ruby/tst1/ruby/miniruby(vm_call_method+0x77) [0x7fb4a35f2894] vm_insnhelper.c:2215
79
/home/ruby/tst1/ruby/miniruby(vm_call_general+0x3b) [0x7fb4a35f2a6a] vm_insnhelper.c:2258
80
/home/ruby/tst1/ruby/miniruby(vm_exec_core+0x2302) [0x7fb4a35f5c12] insns.def:962
81
/home/ruby/tst1/ruby/miniruby(vm_exec+0xe4) [0x7fb4a36072e8] vm.c:1621
82
/home/ruby/tst1/ruby/miniruby(rb_iseq_eval_main+0x36) [0x7fb4a3607f27] vm.c:1863
83
/home/ruby/tst1/ruby/miniruby(ruby_exec_internal+0x138) [0x7fb4a3497ff0] eval.c:244
84
/home/ruby/tst1/ruby/miniruby(ruby_exec_node+0x24) [0x7fb4a3498119] eval.c:309
85
/home/ruby/tst1/ruby/miniruby(ruby_run_node+0x3e) [0x7fb4a34980ec] eval.c:301
86
/home/ruby/tst1/ruby/miniruby(main+0x71) [0x7fb4a344e4e1] main.c:36
87

    
88
-- Other runtime information -----------------------------------------------
89

    
90
* Loaded script: z.rb
91

    
92
* Loaded features:
93

    
94
    0 enumerator.so
95
    1 thread.rb
96
    2 rational.so
97
    3 complex.so
98

    
99
* Process memory map:
100

    
101
7fb4a1928000-7fb4a1acf000 r--s 00000000 fe:01 12714517                   /lib/x86_64-linux-gnu/libc-2.19.so
102
7fb4a1acf000-7fb4a206e000 r--s 00000000 fe:01 11815059                   /home/ruby/tst1/ruby/miniruby
103
7fb4a206e000-7fb4a2084000 r-xp 00000000 fe:01 12713988                   /lib/x86_64-linux-gnu/libgcc_s.so.1
104
7fb4a2084000-7fb4a2283000 ---p 00016000 fe:01 12713988                   /lib/x86_64-linux-gnu/libgcc_s.so.1
105
7fb4a2283000-7fb4a2284000 rw-p 00015000 fe:01 12713988                   /lib/x86_64-linux-gnu/libgcc_s.so.1
106
7fb4a2284000-7fb4a2423000 r-xp 00000000 fe:01 12714517                   /lib/x86_64-linux-gnu/libc-2.19.so
107
7fb4a2423000-7fb4a2623000 ---p 0019f000 fe:01 12714517                   /lib/x86_64-linux-gnu/libc-2.19.so
108
7fb4a2623000-7fb4a2627000 r--p 0019f000 fe:01 12714517                   /lib/x86_64-linux-gnu/libc-2.19.so
109
7fb4a2627000-7fb4a2629000 rw-p 001a3000 fe:01 12714517                   /lib/x86_64-linux-gnu/libc-2.19.so
110
7fb4a2629000-7fb4a262d000 rw-p 00000000 00:00 0 
111
7fb4a262d000-7fb4a272d000 r-xp 00000000 fe:01 12716931                   /lib/x86_64-linux-gnu/libm-2.19.so
112
7fb4a272d000-7fb4a292c000 ---p 00100000 fe:01 12716931                   /lib/x86_64-linux-gnu/libm-2.19.so
113
7fb4a292c000-7fb4a292d000 r--p 000ff000 fe:01 12716931                   /lib/x86_64-linux-gnu/libm-2.19.so
114
7fb4a292d000-7fb4a292e000 rw-p 00100000 fe:01 12716931                   /lib/x86_64-linux-gnu/libm-2.19.so
115
7fb4a292e000-7fb4a2936000 r-xp 00000000 fe:01 12716929                   /lib/x86_64-linux-gnu/libcrypt-2.19.so
116
7fb4a2936000-7fb4a2b35000 ---p 00008000 fe:01 12716929                   /lib/x86_64-linux-gnu/libcrypt-2.19.so
117
7fb4a2b35000-7fb4a2b36000 r--p 00007000 fe:01 12716929                   /lib/x86_64-linux-gnu/libcrypt-2.19.so
118
7fb4a2b36000-7fb4a2b37000 rw-p 00008000 fe:01 12716929                   /lib/x86_64-linux-gnu/libcrypt-2.19.so
119
7fb4a2b37000-7fb4a2b65000 rw-p 00000000 00:00 0 
120
7fb4a2b65000-7fb4a2b68000 r-xp 00000000 fe:01 12716930                   /lib/x86_64-linux-gnu/libdl-2.19.so
121
7fb4a2b68000-7fb4a2d67000 ---p 00003000 fe:01 12716930                   /lib/x86_64-linux-gnu/libdl-2.19.so
122
7fb4a2d67000-7fb4a2d68000 r--p 00002000 fe:01 12716930                   /lib/x86_64-linux-gnu/libdl-2.19.so
123
7fb4a2d68000-7fb4a2d69000 rw-p 00003000 fe:01 12716930                   /lib/x86_64-linux-gnu/libdl-2.19.so
124
7fb4a2d69000-7fb4a2dea000 r-xp 00000000 fe:01 20582598                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
125
7fb4a2dea000-7fb4a2fea000 ---p 00081000 fe:01 20582598                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
126
7fb4a2fea000-7fb4a2feb000 r--p 00081000 fe:01 20582598                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
127
7fb4a2feb000-7fb4a2fec000 rw-p 00082000 fe:01 20582598                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
128
7fb4a2fec000-7fb4a3004000 r-xp 00000000 fe:01 12714181                   /lib/x86_64-linux-gnu/libpthread-2.19.so
129
7fb4a3004000-7fb4a3203000 ---p 00018000 fe:01 12714181                   /lib/x86_64-linux-gnu/libpthread-2.19.so
130
7fb4a3203000-7fb4a3204000 r--p 00017000 fe:01 12714181                   /lib/x86_64-linux-gnu/libpthread-2.19.so
131
7fb4a3204000-7fb4a3205000 rw-p 00018000 fe:01 12714181                   /lib/x86_64-linux-gnu/libpthread-2.19.so
132
7fb4a3205000-7fb4a3209000 rw-p 00000000 00:00 0 
133
7fb4a3209000-7fb4a3229000 r-xp 00000000 fe:01 12714183                   /lib/x86_64-linux-gnu/ld-2.19.so
134
7fb4a3328000-7fb4a3429000 rw-p 00000000 00:00 0 
135
7fb4a3429000-7fb4a342a000 r--p 00020000 fe:01 12714183                   /lib/x86_64-linux-gnu/ld-2.19.so
136
7fb4a342a000-7fb4a342b000 rw-p 00021000 fe:01 12714183                   /lib/x86_64-linux-gnu/ld-2.19.so
137
7fb4a342b000-7fb4a342c000 rw-p 00000000 00:00 0 
138
7fb4a342c000-7fb4a36f5000 r-xp 00000000 fe:01 11815059                   /home/ruby/tst1/ruby/miniruby
139
7fb4a3703000-7fb4a37a7000 r--s 00000000 fe:01 20712003                   /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so
140
7fb4a37a7000-7fb4a37c9000 r--s 00000000 fe:01 12714181                   /lib/x86_64-linux-gnu/libpthread-2.19.so
141
7fb4a37c9000-7fb4a38d1000 r--p 00000000 fe:01 20583470                   /usr/lib/locale/locale-archive
142
7fb4a38d1000-7fb4a38d6000 rw-p 00000000 00:00 0 
143
7fb4a38ed000-7fb4a38ee000 rw-p 00000000 00:00 0 
144
7fb4a38ee000-7fb4a38ef000 ---p 00000000 00:00 0 
145
7fb4a38ef000-7fb4a38f4000 rw-p 00000000 00:00 0                          [stack:6787]
146
7fb4a38f4000-7fb4a38fa000 rw-p 002c8000 fe:01 11815059                   /home/ruby/tst1/ruby/miniruby
147
7fb4a38fa000-7fb4a390d000 rw-p 00000000 00:00 0 
148
7fb4a3ff6000-7fb4a413f000 rw-p 00000000 00:00 0                          [heap]
149
7ffe47416000-7ffe47c15000 rw-p 00000000 00:00 0 
150
7ffe47d67000-7ffe47d69000 r-xp 00000000 00:00 0                          [vdso]
151
7ffe47d69000-7ffe47d6b000 r--p 00000000 00:00 0                          [vvar]
152
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
153

    
154

    
155
[NOTE]
156
You may have encountered a bug in the Ruby interpreter or extension libraries.
157
Bug reports are welcome.
158
For details: http://www.ruby-lang.org/bugreport.html