[phobos] std.parallelism's unit tests randomly hang on win32

Benjamin Shropshire benjamin at precisionsoftware.us
Sun May 1 21:30:39 PDT 2011


On 05/01/2011 06:08 PM, David Simcha wrote:
> On 5/1/2011 8:30 PM, Sean Kelly wrote:
>> Is core.atomic not saving and restoring a register it should?
>>
>
> Doesn't look like.  I've reviewed this code to check for that.  I 
> think it could be one of two things:
>
> 1.  A DMD codegen bug that's not saving the registers properly.
>
> 2.  An extremely subtle concurrency bug that's causing codepaths that 
> "can't happen" to be executed, meaning DMD doesn't save the registers 
> properly because the relevant codepaths "can't happen".
>

If it is the second case, then it might also exist as a problem in DMC 
which suggests that it might be open to attack via the methods this guy 
is developing/using:

http://blog.regehr.org/archives/503

(The first half is background, the second half is the relevant part)

> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list