Skip to content

Instantly share code, notes, and snippets.

@takano32
Created August 27, 2009 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takano32/176044 to your computer and use it in GitHub Desktop.
Save takano32/176044 to your computer and use it in GitHub Desktop.
TestRand#test_random_range: /home/takano/ruby/test/ruby/test_rand.rb:354: [BUG] Segmentation fault
ruby 1.9.2dev (2009-08-27 trunk 24680) [x86_64-linux]
-- control frame ----------
c:0017 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :rand
c:0016 p:0049 s:0058 b:0056 l:000047 d:000055 BLOCK /home/takano/ruby/test/ruby/test_rand.rb:354
c:0015 p:---- s:0053 b:0053 l:000052 d:000052 FINISH
c:0014 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC :each
c:0013 p:0071 s:0048 b:0048 l:000047 d:000047 METHOD /home/takano/ruby/test/ruby/test_rand.rb:352
c:0012 p:0062 s:0043 b:0043 l:000042 d:000042 METHOD /home/takano/ruby/lib/minitest/unit.rb:458
c:0011 p:0090 s:0037 b:0037 l:001578 d:000036 BLOCK /home/takano/ruby/lib/minitest/unit.rb:426
c:0010 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0009 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :each
c:0008 p:0026 s:0027 b:0027 l:001578 d:000026 BLOCK /home/takano/ruby/lib/minitest/unit.rb:420
c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each
c:0005 p:0080 s:0019 b:0019 l:001578 d:001578 METHOD /home/takano/ruby/lib/minitest/unit.rb:419
c:0004 p:0153 s:0014 b:0014 l:001848 d:001848 METHOD /home/takano/ruby/lib/minitest/unit.rb:393
c:0003 p:0041 s:0007 b:0007 l:000878 d:000fe0 BLOCK /home/takano/ruby/lib/minitest/unit.rb:334
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001ee8 d:001ee8 TOP
---------------------------
/home/takano/ruby/lib/minitest/unit.rb:334:in `block in autorun'
/home/takano/ruby/lib/minitest/unit.rb:393:in `run'
/home/takano/ruby/lib/minitest/unit.rb:419:in `run_test_suites'
/home/takano/ruby/lib/minitest/unit.rb:419:in `each'
/home/takano/ruby/lib/minitest/unit.rb:420:in `block in run_test_suites'
/home/takano/ruby/lib/minitest/unit.rb:420:in `each'
/home/takano/ruby/lib/minitest/unit.rb:426:in `block (2 levels) in run_test_suites'
/home/takano/ruby/lib/minitest/unit.rb:458:in `run'
/home/takano/ruby/test/ruby/test_rand.rb:352:in `test_random_range'
/home/takano/ruby/test/ruby/test_rand.rb:352:in `each'
/home/takano/ruby/test/ruby/test_rand.rb:354:in `block in test_random_range'
/home/takano/ruby/test/ruby/test_rand.rb:354:in `rand'
-- C level backtrace information -------------------------------------------
./ruby(rb_vm_bugreport+0x62) [0x521099]
./ruby [0x557afa]
./ruby(rb_bug+0xee) [0x557c19]
./ruby [0x4af171]
/lib/libpthread.so.0 [0x2ab1526c97d0]
./ruby [0x477339]
./ruby [0x515d06]
./ruby [0x515ba4]
./ruby [0x514f8f]
./ruby [0x510871]
./ruby [0x51e0e8]
./ruby [0x51ce4e]
./ruby [0x51ced5]
./ruby [0x519b00]
./ruby(rb_yield+0x39) [0x519ad4]
./ruby(rb_ary_each+0x8a) [0x532518]
./ruby [0x515d1e]
./ruby [0x515ba4]
./ruby [0x514f8f]
./ruby [0x510871]
./ruby [0x51e0e8]
./ruby [0x51ce4e]
./ruby [0x51ced5]
./ruby [0x519b00]
./ruby(rb_yield+0x39) [0x519ad4]
./ruby(rb_ary_each+0x8a) [0x532518]
./ruby [0x515d1e]
./ruby [0x515ba4]
./ruby [0x514f8f]
./ruby [0x510871]
./ruby [0x51e0e8]
./ruby [0x51ce4e]
./ruby [0x51ced5]
./ruby [0x519b00]
./ruby(rb_yield+0x39) [0x519ad4]
./ruby(rb_ary_each+0x8a) [0x532518]
./ruby [0x515d1e]
./ruby [0x515ba4]
./ruby [0x514f8f]
./ruby [0x510871]
./ruby [0x51e0e8]
./ruby [0x51ce4e]
./ruby(rb_vm_invoke_proc+0x10c) [0x51cfe3]
./ruby(rb_proc_call+0xa7) [0x41cac4]
./ruby(rb_call_end_proc+0x1d) [0x419e02]
./ruby(rb_exec_end_proc+0x1af) [0x41a111]
./ruby [0x41a3bc]
./ruby(ruby_cleanup+0xac) [0x41a4a1]
./ruby(ruby_run_node+0x75) [0x41a7c8]
./ruby(main+0x4d) [0x419065]
/lib/libc.so.6(__libc_start_main+0xf4) [0x2ab1531bc1c4]
./ruby [0x418f89]
[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
Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment