Hi, Eric

In message "[ruby-core:83774] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769"
  on Wed, 15 Nov 2017 04:14:37 +0000, normalperson / yhbt.net wrote:
> Oops, I will need to modify (or revert) r60769 anyways.
> It may be possible for concurrent threads to share Dir objects
> and we were relying on GVL for protect pure-Ruby code from
> stepping over each other.

I've not checked this problem deeply yet.

You can see our implementation of readdir on Windows in
win32/win32.c (rb_w32_readdir).
I doubt the second argument (rb_encoding *enc) is the cause.


Regards,
-- 
U.Nakamaura <usa / garbagecollect.jp>


Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>