Subject: Processes in state "sawait"
To: None <current-users@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 10/21/2005 13:14:16
Hi Chuq,

I was running three threaded apps with your latest changes
to libpthread and after 8 hours working perfectly, one app
changed its state to "sawait". The app couldn't be killed, and
I had to reboot the machine.

Kernel is very very recent:

NetBSD Nocturno 3.99.10 NetBSD 3.99.10 (Nocturno) #286: Wed Oct 19
06:17:08 CEST 2005
juan@Nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386

Same for userland, here's libpthread's ident output:

/usr/lib/libpthread.so:
     $NetBSD: sem.c,v 1.9 2005/10/19 02:15:03 chs Exp $
     $NetBSD: sched.c,v 1.4 2005/10/09 11:17:28 kleink Exp $
     $NetBSD: pthread_sleep.c,v 1.7 2005/04/19 16:38:57 nathanw Exp $
     $NetBSD: pthread_cancelstub.c,v 1.13 2005/09/13 02:45:38 christos
Exp $ $NetBSD: pthread_debug.c,v 1.8 2004/03/14 01:19:41 cl Exp $
     $NetBSD: pthread_tsd.c,v 1.2 2003/09/29 09:50:22 wiz Exp $
     $NetBSD: pthread_stack.c,v 1.16 2004/08/17 14:16:00 chs Exp $
     $NetBSD: pthread_sig.c,v 1.44 2005/10/16 00:37:52 chs Exp $
     $NetBSD: pthread_sa.c,v 1.37 2005/03/17 17:23:21 jwise Exp $
     $NetBSD: pthread_rwlock.c,v 1.13 2005/10/19 02:15:03 chs Exp $
     $NetBSD: pthread_run.c,v 1.18 2005/01/06 17:40:22 mycroft Exp $
     $NetBSD: pthread_mutex.c,v 1.21 2005/10/19 02:15:03 chs Exp $
     $NetBSD: pthread_lock.c,v 1.14 2005/03/17 17:23:21 jwise Exp $
     $NetBSD: pthread_cond.c,v 1.18 2005/01/06 17:33:36 mycroft Exp $
     $NetBSD: pthread_alarms.c,v 1.12 2005/01/06 17:33:36 mycroft Exp $
     $NetBSD: pthread.c,v 1.46 2005/10/19 02:44:45 chs Exp $
     $NetBSD: pthread_md.c,v 1.3 2003/03/08 08:03:37 lukem Exp $
     $NetBSD: pthread_specific.c,v 1.10 2003/08/13 18:52:01 nathanw Exp
$ $NetBSD: pthread_barrier.c,v 1.6 2003/03/08 08:03:35 lukem Exp $
     $NetBSD: pthread_attr.c,v 1.5 2005/09/21 15:27:14 tv Exp $

Do you have any idea what's wrong?

Thanks.