Re: [Fwd: tests/rr-server core dumps multi-processor]

Jonas Borgström <[email protected]> 18 Feb 2003 23:10:09 +0100
Newsgroups gmane.network.beep.roadrunner.general
Organization CodeFactory AB
Message-ID <1045606208.1643.6.camel@blinky>
On Tue, 2003-02-18 at 18:35, Paul Caffrey wrote:
*snip*
> > Hi
> > 
> > What I've discovered is that it works ok (so far) on a single cpu box
> > 
> > However on a 4 cpu machine it hangs within about 5 minutes
> >

Hi,

I managed to reproduce this on a 4 cpu machine. The problem is that
g_object_ref/unref isn't thread safe and shouldn't be used on a single
object from different threads.

I have committed a fix into the CVS repository that seems to solve this
problem, can you please give it a try?

/ Jonas
-- 
Jonas Borgström                  [email protected]
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 14