[phobos] [D-runtime] Possible critical deadlock issue for 2.049

Sean Kelly sean at invisibleduck.org
Mon Sep 20 14:43:56 PDT 2010


At this point, I'm wondering if there was some change in codegen that is causing an implicit allocation that didn't occur before.  It's a long shot though, since the code in question is mostly pointer assignments and the like (maybe a foreach loop or two).  I've had a delay getting the VM up (updating made it so the HD wouldn't mount on reboot), but once I do I'm going to look at the asm output of thread_entryPoint and a few other critical areas.

On Sep 20, 2010, at 1:06 PM, Brad Roberts wrote:

> On Mon, 20 Sep 2010, Sean Kelly wrote:
> 
> You can check in a unit test that triggers the bug and watch the auto 
> tester.
> 
> Not ideal, but functional.
> 
> If it still needs testing when I get home tonight, I'll give it a shot 
> (it'll be 6-8 hours from now though).
> 
>> Okay, I've made a bunch of changes to how thread initialization and 
>> termination is done.  Tested to work on OSX with the deadlock case, but 
>> I think only Linux was deadlocking anyway.  I don't have my Linux or 
>> Windows VMs handy, so if someone could verify that threads still work on 
>> Windows (via the sample in the ticket below) that would be fantastic.  
>> I'm building a new Linux VM on this machine to test there.
>> 
>> On Sep 20, 2010, at 7:57 AM, Steve Schveighoffer wrote:
>> 
>>> Have people seen these?
>>> 
>>> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=117650
>>> 
>>> http://d.puremagic.com/issues/show_bug.cgi?id=4890
>>> 
>>> This might need an emergency release... seems like a really bad one.
>>> 
>>> -Steve
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> D-runtime mailing list
>>> D-runtime at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>> 
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list