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 ????c?????障??

  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???????????違?с?????ф??障?c??????????菴純???????????????

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


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