[mercury-users] prallel grades in windows

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Sep 12 18:19:09 AEST 2010



On Sun, 12 Sep 2010, Sergey Khorev wrote:

> Hi Julien,
>
>>> Debugging this kind of error will be very difficult without specific
>>> knowledge
>>> of the Mercury runtime system, and compilation strategy.  Such a bug could
>>> also be within the garbage collector.
>>
>> The latter is (unfortunately) a strong possibility.  There have been
>> quite a few patches for Boehm GC since 7.2 alpha 4 (the version we
>> currently use for Mercury) that were bugfixes for thread-related stuff
>> on Windows.  (I intend to upgrade the collector again once 7.2 is
>> released, but that hasn't happened yet.)
>
> Ah, forgot to say I am using MinGW.

Ok, I will take a look at this here and see if I can reproduce it.
Which version of the MinGW gcc are you using?

> This gives me idea: if the crash is caused by GC, .nogc grade should
> be working better. Will try.

Unless the lack of a GC causes the program to run out of memory before
it encounters the problem.

Julien.


More information about the users mailing list