[phobos] State of std.parallelism unit tests

David Simcha dsimcha at gmail.com
Fri Jun 3 15:24:51 PDT 2011


Ok, I left the unit tests running in a loop on my home computer all day 
while I was at work.  They ran about 13,000 times without failing once.  
Something about your setup is enabling the failures or at least making 
them drastically more likely.

On 6/3/2011 3:05 AM, Jonathan M Davis wrote:
> On 2011-06-02 23:52, Jonathan M Davis wrote:
>> On 2011-06-02 06:30, David Simcha wrote:
>>> Thanks.  A second look with fresher eyes revealed a subtle but serious
>>> bug in the ResubmittingTasks base mixin (which affects parallel foreach,
>>> map and amap) and a relatively minor corner-case bug in reduce().  Both
>>> were introduced after the 2.053 release as a result of over-aggressive
>>> optimizations.  I've checked in fixes for these.  I'm not sure whether
>>> they're the root cause of the issues you're seeing, though.  If it's not
>>> too much work, please try to reproduce your bugs again.
>> Well, I have yet to see the failure again. Unfortunately, that doesn't
>> guarantee anything given the intermittent nature of the failure, but I
>> think that there's a good chance that it's been fixed. I'll post about it
>> if it happens again, but I think that for the moment, we can assume that
>> it's been fixed.
> I take that back. It just happened again. The std.parallelism tests
> segfaulted.
>
> - Jonathan M Davis
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>



More information about the phobos mailing list