Subject: Re: xmms stuck in sawait()
To: Rui Paulo <rpaulo@netbsd-pt.org>
From: Allen Briggs <briggs@netbsd.org>
List: tech-kern
Date: 05/27/2005 13:09:00
On Fri, May 27, 2005 at 03:41:24PM +0000, Rui Paulo wrote:
> > How about ps -s ?  xmms probably has several threads running and they're
> > not all likely to be in sawait.
> 
>  UID   PID  PPID CPU LID NLWP PRI NI   VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
> 1000   142  1042   0   4    3  28  0  7732    48 sawait IW-  ?      75:25.40 xmms -t 
> 1000   142  1042   0   5    3   2  0  7732    48 -      UL-  ?      75:25.40 xmms -t 
> 1000   142  1042   0   1    3   2  0  7732    48 -      UL-  ?      75:25.40 xmms -t 

If that's consistent, it looks to me like xmms is spinning for some
reason.  Have you tried running it with various PTHREAD_DIAGASSERT
options?  It's possible that there's some assumption being made in
xmms that's valid on other systems, but not valid on NetBSD.  It's
hard to guess what might be going on, though, from just this.

For what it's worth, I think you're not alone.  I've not seen
problems with xmms, but I know that some other folks have.

-allen

-- 
                  Use NetBSD!  http://www.NetBSD.org/