Project

General

Profile

Bug #13548 ยป builtin_setjmp.txt

vp (Vladimir Pavlov), 05/08/2017 03:25 PM

 
1
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o enc/trans/newline.o -c enc/trans/newline.c
2
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o setproctitle.o -c ./missing/setproctitle.c
3
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o strlcat.o -c ./missing/strlcat.c
4
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o strlcpy.o -c ./missing/strlcpy.c
5
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o addr2line.o -c addr2line.c
6
gcc -O1 -fweb -g -fPIC  -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT   -I. -I.ext/include/i686-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 -o dmyenc.o -c dmyenc.c
7
gcc -O1 -fweb -g -fPIC  -L. -g -fstack-protector -rdynamic -Wl,-export-dynamic -fstack-protector  main.o dmydln.o miniinit.o dmyext.o miniprelude.o array.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o iseq.o load.o marshal.o math.o node.o numeric.o object.o pack.o parse.o proc.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_trace.o  enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o strlcat.o strlcpy.o addr2line.o   -lpthread -lgmp -ldl -lcrypt -lm   -o miniruby
8
./miniruby -I./lib -I. -I.ext/common  ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
9
./tool/generic_erb.rb:6: [BUG] Segmentation fault at 0x030840
10
ruby 2.4.1p111 (2017-03-22 revision 58053) [i686-linux-gnu]
11

    
12
-- Control frame information -----------------------------------------------
13
c:0003 p:---- s:0028 e:000027 CFUNC  :require
14
c:0002 p:0008 s:0023 E:000c6c EVAL   ./tool/generic_erb.rb:6 [FINISH]
15
c:0001 p:0000 s:0003 E:002170 (none) [FINISH]
16

    
17
-- Ruby level backtrace information ----------------------------------------
18
./tool/generic_erb.rb:6:in `<main>'
19
./tool/generic_erb.rb:6:in `require'
20

    
21
-- Machine register context ------------------------------------------------
22
  GS: 0x00000063  FS: 0x00000000  ES: 0x0000002b  DS: 0x0000002b EDI: 0x00030840
23
 ESI: 0x082f96e4 EBP: 0xffff9038 ESP: 0xffff8ff0 EBX: 0x082dd000 EDX: 0x00030840
24
 ECX: 0xffffffff EAX: 0x00000000 TRA: 0x0000000e ERR: 0x00000004 EIP: 0x08176ffc
25
  CS: 0x00000023 EFL: 0x00010202 UES: 0xffff8ff0  SS: 0x0000002b
26

    
27
-- C level backtrace information -------------------------------------------
28
/tmp/ruby-2.4.1/miniruby(rb_print_backtrace+0x21) [0x81bdb4e] vm_dump.c:684
29
/tmp/ruby-2.4.1/miniruby(rb_vm_bugreport+0x26f) [0x81bddcd] vm_dump.c:954
30
/tmp/ruby-2.4.1/miniruby(rb_bug_context+0x60) [0x80b0690] error.c:506
31
/tmp/ruby-2.4.1/miniruby(sigsegv+0x43) [0x815aae7] signal.c:907
32
/lib/libpthread.so.0 [0xf76d8340]
33
/tmp/ruby-2.4.1/miniruby(rb_str_buf_cat2+0x39) [0x8176ffc] string.c:2677
34
/tmp/ruby-2.4.1/miniruby(rb_find_file_ext_safe+0x22a) [0x80bd521] file.c:5816
35
/tmp/ruby-2.4.1/miniruby(rb_require_internal+0x6ba) [0x80e96bd] load.c:912
36
/tmp/ruby-2.4.1/miniruby(rb_require_safe+0x1e) [0x80e9cde] load.c:1042
37
/tmp/ruby-2.4.1/miniruby(rb_f_require+0x21) [0x80e9d4d] load.c:823
38
/tmp/ruby-2.4.1/miniruby(call_cfunc_1+0x11) [0x81a2e36] vm_insnhelper.c:1585
39
/tmp/ruby-2.4.1/miniruby(vm_call_cfunc+0x231) [0x81a7406] vm_insnhelper.c:1752
40
/tmp/ruby-2.4.1/miniruby(vm_call_method_each_type+0x8d) [0x81b5133] vm_insnhelper.c:2146
41
/tmp/ruby-2.4.1/miniruby(vm_call_method+0xb4) [0x81b559a] vm_insnhelper.c:2277
42
/tmp/ruby-2.4.1/miniruby(vm_call_general+0x1c) [0x81b5696] vm_insnhelper.c:2309
43
/tmp/ruby-2.4.1/miniruby(vm_exec_core+0x26e9) [0x81aff7b] insns.def:1066
44
/tmp/ruby-2.4.1/miniruby(vm_exec+0xae) [0x81b3211] vm.c:1727
45
/tmp/ruby-2.4.1/miniruby(rb_iseq_eval_main+0x9f) [0x81b466a] vm.c:1973
46
/tmp/ruby-2.4.1/miniruby(ruby_exec_internal+0xde) [0x80b3501] eval.c:244
47
/tmp/ruby-2.4.1/miniruby(ruby_exec_node+0x22) [0x80b4fed] eval.c:308
48
/tmp/ruby-2.4.1/miniruby(ruby_run_node+0x42) [0x80b6feb] eval.c:300
49
/tmp/ruby-2.4.1/miniruby(main+0x60) [0x805bc72] main.c:36
50

    
51
-- Other runtime information -----------------------------------------------
52

    
53
* Loaded script: ./tool/generic_erb.rb
54

    
55
* Loaded features:
56

    
57
    0 enumerator.so
58
    1 thread.rb
59
    2 rational.so
60
    3 complex.so
61

    
62
* Process memory map:
63

    
64
08048000-082d9000 r-xp 00000000 08:11 1044970                            /tmp/ruby-2.4.1/miniruby
65
082da000-082dd000 r--p 00291000 08:11 1044970                            /tmp/ruby-2.4.1/miniruby
66
082dd000-082de000 rw-p 00294000 08:11 1044970                            /tmp/ruby-2.4.1/miniruby
67
082de000-083ac000 rw-p 00000000 00:00 0                                  [heap]
68
f68c8000-f68df000 r--s 00000000 08:11 800783                             /lib/libpthread-2.25.so
69
f68df000-f7053000 r--s 00000000 08:11 1044970                            /tmp/ruby-2.4.1/miniruby
70
f7053000-f706a000 r-xp 00000000 08:11 838753                             /usr/lib/libgcc_s.so.1
71
f706a000-f706b000 r--p 00016000 08:11 838753                             /usr/lib/libgcc_s.so.1
72
f706b000-f706c000 rw-p 00017000 08:11 838753                             /usr/lib/libgcc_s.so.1
73
f7079000-f70fa000 rw-p 00000000 00:00 0 
74
f70fa000-f713f000 r--p 02b2a000 08:11 800798                             /usr/lib/locale/locale-archive
75
f713f000-f7270000 r--p 00560000 08:11 800798                             /usr/lib/locale/locale-archive
76
f7270000-f7470000 r--p 00000000 08:11 800798                             /usr/lib/locale/locale-archive
77
f7470000-f7472000 rw-p 00000000 00:00 0 
78
f7472000-f75e1000 r-xp 00000000 08:11 800455                             /lib/libc-2.25.so
79
f75e1000-f75e2000 ---p 0016f000 08:11 800455                             /lib/libc-2.25.so
80
f75e2000-f75e4000 r--p 0016f000 08:11 800455                             /lib/libc-2.25.so
81
f75e4000-f75e6000 rw-p 00171000 08:11 800455                             /lib/libc-2.25.so
82
f75e6000-f75e8000 rw-p 00000000 00:00 0 
83
f75e8000-f7634000 r-xp 00000000 08:11 800450                             /lib/libm-2.25.so
84
f7634000-f7635000 r--p 0004b000 08:11 800450                             /lib/libm-2.25.so
85
f7635000-f7636000 rw-p 0004c000 08:11 800450                             /lib/libm-2.25.so
86
f7636000-f763d000 r-xp 00000000 08:11 800449                             /lib/libcrypt-2.25.so
87
f763d000-f763e000 r--p 00006000 08:11 800449                             /lib/libcrypt-2.25.so
88
f763e000-f763f000 rw-p 00007000 08:11 800449                             /lib/libcrypt-2.25.so
89
f763f000-f7666000 rw-p 00000000 00:00 0 
90
f7666000-f7668000 r-xp 00000000 08:11 800458                             /lib/libdl-2.25.so
91
f7668000-f7669000 r--p 00001000 08:11 800458                             /lib/libdl-2.25.so
92
f7669000-f766a000 rw-p 00002000 08:11 800458                             /lib/libdl-2.25.so
93
f766a000-f76c7000 r-xp 00000000 08:11 831337                             /usr/lib/libgmp.so.10.3.2
94
f76c7000-f76c8000 r--p 0005c000 08:11 831337                             /usr/lib/libgmp.so.10.3.2
95
f76c8000-f76c9000 rw-p 0005d000 08:11 831337                             /usr/lib/libgmp.so.10.3.2
96
f76c9000-f76df000 r-xp 00000000 08:11 800783                             /lib/libpthread-2.25.so
97
f76df000-f76e0000 r--p 00015000 08:11 800783                             /lib/libpthread-2.25.so
98
f76e0000-f76e1000 rw-p 00016000 08:11 800783                             /lib/libpthread-2.25.so
99
f76e1000-f76e3000 rw-p 00000000 00:00 0 
100
f76eb000-f76ec000 ---p 00000000 00:00 0 
101
f76ec000-f76ef000 rw-p 00000000 00:00 0 
102
f76ef000-f76f0000 r--p 02c0e000 08:11 800798                             /usr/lib/locale/locale-archive
103
f76f0000-f76f2000 rw-p 00000000 00:00 0 
104
f76f2000-f770f000 r-xp 00000000 08:11 800797                             /lib/ld-2.25.so
105
f770f000-f7710000 r--p 0001c000 08:11 800797                             /lib/ld-2.25.so
106
f7710000-f7711000 rw-p 0001d000 08:11 800797                             /lib/ld-2.25.so
107
ff7fc000-ffffb000 rw-p 00000000 00:00 0                                  [stack]
108

    
109

    
110
[NOTE]
111
You may have encountered a bug in the Ruby interpreter or extension libraries.
112
Bug reports are welcome.
113
For details: http://www.ruby-lang.org/bugreport.html
114

    
115
make: *** [uncommon.mk:854: encdb.h] Aborted