Subject: xmms stuck in sawait()
To: None <tech-kern@NetBSD.org>
From: Rui Paulo <rpaulo@netbsd-pt.org>
List: tech-kern
Date: 05/27/2005 16:35:40
Hi,
I have the xmms main process stuck in sawait(), and I have no idea why.

ps shows:
rpaulo    142  0.0  0.0  7732    48 ?      IWxa  7:24PM 75:25.40 xmms -t 
                                             ^
				I'm not using systrace, so why does
				this flag appear here ?
top reports:
  142 rpaulo    28    0  7732K   48K sawait    75:25  0.00%  0.00% <xmms>
                                     ^^^^^^
				Probably a deadlock?

I tried attaching gdb/ktruss/ktrace to it but without any luck. Also,
after gdb ptrace() attachment, a kernel thread was created:
root    19226  0.0 10.1     0 39588 ?      DK    4:23PM  0:00.00 [ktr 0xc0ef8500]

Any suggestions on how to debug this ? This is my desktop, but I don't
need to shut it down right now, so take your time (unless, of course,
power fails).

This is NetBSD 3.0_BETA from around May 12.

Thanks.

-- 
Rui Paulo <rpaulo@netbsd-pt.org>