Re: [Gc] Linux emulation on Windows 10

lsorense-1wCw9BSqJbv44Nm34jS7GywD8/[email protected] (Lennart Sorensen) Wed, 8 Feb 2017 12:04:42 -0500
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
On Wed, Feb 08, 2017 at 11:57:20AM +1100, Paul Bone wrote:
> Hi.
> 
> We use Boehm GC in the Mercury programming language, which is used by the
> PrinceXML software.
> 
> One of our clients is reporting segfaults using a verion of Prince compiled
> for Linux under the new Windows 10 Linux emulation.  The problem can be
> worked-around by saying GC_MARKERS=1.
> 
> I have no Windows systems, so I'm wondering if anyone is aware of problems
> related to parallel marking or stopping and tracing of threads under the new
> Linux compatibility layer on Windows 10?  I realize this is probably a long
> shot.
> 
> Probably the best we can do is somehow detect this environment at runtime
> and disable parallel marking then.

There were problems with threads.

https://github.com/Microsoft/BashOnWindows/issues/204
and
https://github.com/Microsoft/BashOnWindows/issues/875

Some people seem to say that builds from the last month or two are better
now, but that would mean you have to be running the insider builds rather
than the current release version.

So it might be related to this problem.

-- 
Len Sorensen