Severe thumbnail problems

Roger Larsson roger.larsson at
Mon Dec 23 15:18:26 GMT 2002

On Sunday 22 December 2002 14:18, Matthias Kretz wrote:
> On Sunday 22 December 2002 12:50, Martijn Klingens wrote:
> > Since the thumbnail code fires up a few slaves at the same time I think
> > this is a race condition where no running artsd is detected and 10 slaves
> > are each given their own artsd instance. I don't know where the check for 
> > running artsd is done now, but most robust to me would probably be a 
> > entry point in e.g. klauncher which makes sure no second artsd is started
> > (or a kded module). Good enough for this case, and a lot easier to write,
> > but not avoid races between different applications, is to have the check 
> > the thumbnail generating code, just before spawning the slave. Downside of
> > this is that the thumb code explicitly needs to know whether a slave is
> > arts-using or not.
> Hmm, actually artsd should refuse to run a second instance for the same 
> It checks on startup that there's no other MCOP server running, and if there
> is it just exits.
> I guess what you're seeing is the threading done by an aRts module and not
> several MCOP server instances.

Yes, at least for me they are threads (or at least started by the root artsd).
At least this is how they look in 'pstree'



Roger Larsson

More information about the kde-multimedia mailing list