On 2017/11/15 13:33, U.NAKAMURA wrote:
> 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.
In mswin/mingw version, command line globbing runs before VM initialization.
`GET_EC()` returns NULL and `GET_THREAD()` segfaults in `call_without_gvl()`.

-- 
Nobu Nakada

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