Project

General

Profile

Bug #13242 » ruby_rb_bigzero_p.log

Error log - fumfel (Kamil Frankowicz), 02/22/2017 01:29 PM

 
XYZ/ruby_rb_bigzero_p.rb:1: warning: in a**b, b may be too big
XYZ/ruby_rb_bigzero_p.rb:1: [BUG] Segmentation fault at 0x00000000000000
ruby 2.5.0dev (2017-02-18 trunk 57652) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0017 e:000016 CFUNC :/
c:0004 p:---- s:0014 e:000013 CFUNC :div
c:0003 p:---- s:0011 e:000010 CFUNC :%
c:0002 p:0014 s:0006 e:000005 EVAL XYZ/ruby_rb_bigzero_p.rb:1 [FINISH]
c:0001 p:0000 s:0003 E:000590 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
XYZ/ruby_rb_bigzero_p.rb:1:in `<main>'
XYZ/ruby_rb_bigzero_p.rb:1:in `%'
XYZ/ruby_rb_bigzero_p.rb:1:in `div'
XYZ/ruby_rb_bigzero_p.rb:1:in `/'

-- Machine register context ------------------------------------------------
RIP: 0x0000562cee94b01f RBP: 0x4000000000000000 RSP: 0x00007ffeec984518
RAX: 0x0000000000000000 RBX: 0x0000000000000001 RCX: 0x0000562cef0202d0
RDX: 0x0000000000000000 RDI: 0x0000562cef4a9620 RSI: 0x0000000000000804
R8: 0x0000562cef4a9630 R9: 0x0000562cef00f9b0 R10: 0x0000000000000000
R11: 0xfffffffffffffffc R12: 0xfffffffffffffffc R13: 0x0000562cef00f9b0
R14: 0x0000000000000009 R15: 0x0000562cef4a9620 EFL: 0x0000000000010246

-- C level backtrace information -------------------------------------------
XYZ/ruby/miniruby(rb_vm_bugreport+0x2b7) [0x562ceed392f7] vm_dump.c:683
XYZ/ruby/miniruby(rb_bug_context+0x2e6) [0x562cee9fea86] error.c:520
XYZ/ruby/miniruby(sigsegv+0x6a) [0x562ceec012fa] signal.c:907
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7fed0c26c390]
XYZ/ruby/miniruby(rb_bigzero_p+0x10f) [0x562cee94b01f] bignum.c:2905
XYZ/ruby/miniruby(f_gcd_normal+0x2c0) [0x562ceeb710e0] rational.c:314
XYZ/ruby/miniruby(f_muldiv+0x25e) [0x562ceeb8008e] rational.c:350
XYZ/ruby/miniruby(nurat_div+0x2f2) [0x562ceeb793d2] rational.c:915
XYZ/ruby/miniruby(vm_call0_body+0x3f3) [0x562ceed2b8e3] ./vm_eval.c:131
XYZ/ruby/miniruby(rb_call0+0x289) [0x562ceed2df69] ./vm_eval.c:61
XYZ/ruby/miniruby(rb_funcall+0x380) [0x562ceed025f0] ./vm_eval.c:628
XYZ/ruby/miniruby(exec_recursive+0x70d) [0x562ceec82b2d] thread.c:4643
XYZ/ruby/miniruby(num_div+0x87) [0x562ceead4ba7] numeric.c:405
XYZ/ruby/miniruby(vm_call0_body+0x3f3) [0x562ceed2b8e3] ./vm_eval.c:131
XYZ/ruby/miniruby(rb_call0+0x289) [0x562ceed2df69] ./vm_eval.c:61
XYZ/ruby/miniruby(rb_funcall+0x380) [0x562ceed025f0] ./vm_eval.c:628
XYZ/ruby/miniruby(exec_recursive+0x70d) [0x562ceec82b2d] thread.c:4643
XYZ/ruby/miniruby(num_modulo+0x56) [0x562ceead4c96] numeric.c:405
XYZ/ruby/miniruby(vm_call_cfunc+0x1b3) [0x562ceed1bae3] ./vm_insnhelper.c:1752
XYZ/ruby/miniruby(vm_call_method_each_type+0x11c) [0x562ceed183ec] ./vm_insnhelper.c:2145
XYZ/ruby/miniruby(vm_call_method+0x259) [0x562ceed18219] ./vm_insnhelper.c:2265
XYZ/ruby/miniruby(vm_exec_core+0x1093f) [0x562ceecef50f] insns.def:1550
XYZ/ruby/miniruby(vm_exec+0x12e) [0x562ceed101ce] vm.c:1712
XYZ/ruby/miniruby(ruby_run_node+0x26c) [0x562ceea0fcac] eval.c:244
XYZ/ruby/miniruby(main+0x75) [0x562cee90e345] main.c:36

-- Other runtime information -----------------------------------------------

* Loaded script: XYZ/ruby_rb_bigzero_p.rb

* Loaded features:

0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so

* Process memory map:

562cee8e9000-562ceee0a000 r-xp 00000000 fc:00 849526 XYZ/ruby/miniruby
562cef009000-562cef00f000 r--p 00520000 fc:00 849526 XYZ/ruby/miniruby
562cef00f000-562cef010000 rw-p 00526000 fc:00 849526 XYZ/ruby/miniruby
562cef010000-562cef031000 rw-p 00000000 00:00 0
562cef480000-562cef5b2000 rw-p 00000000 00:00 0 [heap]
7fed0a44c000-7fed0a614000 r--s 00000000 fc:00 415253 /lib/x86_64-linux-gnu/libc-2.23.so
7fed0a614000-7fed0b25f000 r--s 00000000 fc:00 849526 XYZ/ruby/miniruby
7fed0b25f000-7fed0b275000 r-xp 00000000 fc:00 392981 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fed0b275000-7fed0b474000 ---p 00016000 fc:00 392981 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fed0b474000-7fed0b475000 rw-p 00015000 fc:00 392981 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fed0b475000-7fed0b74d000 r--p 00000000 fc:00 6318 /usr/lib/locale/locale-archive
7fed0b74d000-7fed0b90c000 r-xp 00000000 fc:00 415253 /lib/x86_64-linux-gnu/libc-2.23.so
7fed0b90c000-7fed0bb0c000 ---p 001bf000 fc:00 415253 /lib/x86_64-linux-gnu/libc-2.23.so
7fed0bb0c000-7fed0bb10000 r--p 001bf000 fc:00 415253 /lib/x86_64-linux-gnu/libc-2.23.so
7fed0bb10000-7fed0bb12000 rw-p 001c3000 fc:00 415253 /lib/x86_64-linux-gnu/libc-2.23.so
7fed0bb12000-7fed0bb16000 rw-p 00000000 00:00 0
7fed0bb16000-7fed0bc1e000 r-xp 00000000 fc:00 415258 /lib/x86_64-linux-gnu/libm-2.23.so
7fed0bc1e000-7fed0be1d000 ---p 00108000 fc:00 415258 /lib/x86_64-linux-gnu/libm-2.23.so
7fed0be1d000-7fed0be1e000 r--p 00107000 fc:00 415258 /lib/x86_64-linux-gnu/libm-2.23.so
7fed0be1e000-7fed0be1f000 rw-p 00108000 fc:00 415258 /lib/x86_64-linux-gnu/libm-2.23.so
7fed0be1f000-7fed0be28000 r-xp 00000000 fc:00 415255 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fed0be28000-7fed0c027000 ---p 00009000 fc:00 415255 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fed0c027000-7fed0c028000 r--p 00008000 fc:00 415255 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fed0c028000-7fed0c029000 rw-p 00009000 fc:00 415255 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fed0c029000-7fed0c057000 rw-p 00000000 00:00 0
7fed0c057000-7fed0c05a000 r-xp 00000000 fc:00 415252 /lib/x86_64-linux-gnu/libdl-2.23.so
7fed0c05a000-7fed0c259000 ---p 00003000 fc:00 415252 /lib/x86_64-linux-gnu/libdl-2.23.so
7fed0c259000-7fed0c25a000 r--p 00002000 fc:00 415252 /lib/x86_64-linux-gnu/libdl-2.23.so
7fed0c25a000-7fed0c25b000 rw-p 00003000 fc:00 415252 /lib/x86_64-linux-gnu/libdl-2.23.so
7fed0c25b000-7fed0c273000 r-xp 00000000 fc:00 415259 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fed0c273000-7fed0c472000 ---p 00018000 fc:00 415259 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fed0c472000-7fed0c473000 r--p 00017000 fc:00 415259 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fed0c473000-7fed0c474000 rw-p 00018000 fc:00 415259 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fed0c474000-7fed0c478000 rw-p 00000000 00:00 0
7fed0c478000-7fed0c49e000 r-xp 00000000 fc:00 394124 /lib/x86_64-linux-gnu/ld-2.23.so
7fed0c56c000-7fed0c58e000 r--s 00000000 fc:00 415259 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fed0c58e000-7fed0c693000 rw-p 00000000 00:00 0
7fed0c697000-7fed0c698000 ---p 00000000 00:00 0
7fed0c698000-7fed0c69d000 rw-p 00000000 00:00 0
7fed0c69d000-7fed0c69e000 r--p 00025000 fc:00 394124 /lib/x86_64-linux-gnu/ld-2.23.so
7fed0c69e000-7fed0c69f000 rw-p 00026000 fc:00 394124 /lib/x86_64-linux-gnu/ld-2.23.so
7fed0c69f000-7fed0c6a0000 rw-p 00000000 00:00 0
7ffeec188000-7ffeec987000 rw-p 00000000 00:00 0 [stack]
7ffeec9ac000-7ffeec9ae000 r--p 00000000 00:00 0 [vvar]
7ffeec9ae000-7ffeec9b0000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


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