gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deadlock in base/Tests/base/NSObject/initialize.m


From: Philippe Roussel
Subject: Re: Deadlock in base/Tests/base/NSObject/initialize.m
Date: Fri, 29 Apr 2011 16:54:33 +0200

Le vendredi 29 avril 2011 à 15:40 +0100, David Chisnall a écrit :
> On 29 Apr 2011, at 15:26, Philippe Roussel wrote:
> 
> > Using gcc 4.4.5 I get a deadlock with the system's libojbc and with
> > libobjc2. Stacktraces are similar for both cases :
> 
> 
> Are you using trunk libobjc2?  This test passes for me (also passes on
> OS X).  I thought I puts timeouts in the correct places for it to
> timeout and give up, rather than deadlock, but maybe I missed one.
> Probably the easiest thing to do is just add a call to alarm() so that
> the test gets a signal and dies after 10 seconds if it hasn't already
> finished (takes about 3 seconds to run correctly - there's lots of
> sleeping in there to make sure that the threads have definitely caught
> up with each other).

I think I was using version 1.1 or something like that. But you're
right, the test passes with libobjc2 trunk.

I guess I will have to run the testsuite with libobjc2 from now on.

Thanks,
Philippe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]