From: Nobuyoshi Nakada Date: 2017-11-15T13:41:56+09:00 Subject: [ruby-core:83776] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769 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: