[ruby-cvs:69848] nagachika:r62690 (ruby_2_4): merge revision(s) 60055: [Backport #13856]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Mar 7 23:05:39 JST 2018


nagachika	2018-03-07 23:05:38 +0900 (Wed, 07 Mar 2018)

  New Revision: 62690

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62690

  Log:
    merge revision(s) 60055: [Backport #13856]
    
    io.c: fix segfault with closing socket on Windows
    
    * io.c (fptr_finalize_flush): add an argument to keep GVL.
    * io.c (fptr_finalize): adjust for above change.
    * io.c (io_close_fptr): closing without GVL causes another
      exception while raising exception in another thread. This causes
      segfault on Windows. Keep GVL while closing when another thread
      raises.
      [Bug #13856] [ruby-core:82602]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/io.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list