Re: [Gc] Linux emulation on Windows 10

Paul Bone <[email protected]> Thu, 9 Feb 2017 10:44:36 +1100
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <20170208234435.GB24549@oxygen>
On Wed, Feb 08, 2017 at 12:04:42PM -0500, Lennart Sorensen wrote:
> 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.

Maybe.

At this stage, and particularly without access to such a system, this could
really be anything.  I've recommended that we say that we do not support
this particular environment.  Our windows users should just be using the
windows builds.

Thanks.


-- 
Paul Bone
http://paul.bone.id.au