Issue #7066 has been updated by metanest (Makoto Kishimoto).


????????????????????????????????????????????
???????????? #5139 ??????????????????????????????????????????????????????????????
----------------------------------------
Bug #7066: test_segv_test(TestRubyOptions) ??? F ?????
https://bugs.ruby-lang.org/issues/7066#change-32477

Author: metanest (Makoto Kishimoto)
Status: Closed
Priority: Normal
Assignee: 
Category: core
Target version: 
ruby -v: ruby 2.0.0dev (2012-09-25 trunk 37032) [x86_64-freebsd8.3]


?????????????? test_segv_test(TestRubyOptions) ??????以???????????? F ???????????

  1) Failure:
test_segv_test(TestRubyOptions) [/home/ksmakoto/ruby-working/ruby-trunk/ruby-git/test/ruby/test_rubyoptions.rb:457]:
Expected /\A
      -e:(?:1:)?\s\[BUG\]\sSegmentation\sfault\n
      ruby\ 2\.0\.0dev\ \(2012\-09\-25\ trunk\ 37032\)\ \[x86_64\-freebsd8\.3\]\n\n
      --\sControl\sframe\sinformation\s-+\n
      (?:c:.*\n)*
      (?:
      --\sRuby\slevel\sbacktrace\sinformation\s----------------------------------------\n
      -e:1:in\s\`<main>\'\n
      -e:1:in\s\`kill\'\n
      )?
      \n
      (?:
        --\sC\slevel\sbacktrace\sinformation\s-------------------------------------------\n
        (?:(?:.*\s)?\[0x\h+\]\n)*\n
      )?
      (?m:.*)
      \[NOTE\]\n
      You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n
      Bug\sreports\sare\swelcome.\n
      For\sdetails:\shttp:\/\/www.ruby-lang.org\/bugreport.html\n
      \n
      (?:)
      \z
      /x to match "-e:1: [BUG] Segmentation fault\nruby 2.0.0dev (2012-09-25 trunk 37032) [x86_64-freebsd8.3]\n\n[NOTE]\nYou may have encountered a bug in the Ruby interpreter or extension libraries.\nBug reports are welcome.\nFor details: http://www.ruby-lang.org/bugreport.html\n\n".

?????????????36022-36025??????????????????37001??????????起??????????????????????????

trunk ??? HEAD ???printf?????????????????止?????????????追???????????????

vm_dump.c???96????
if (RUBY_VM_IFUNC_P(cfp->iseq)) {
????????then????else?????????????????????????????


-- 
http://bugs.ruby-lang.org/