Date: Tue, 12 Aug 2003 07:56:36 +0800 From: David Xu <davidxu@FreeBSD.org> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: threads@FreeBSD.org Subject: Re: KSE/ia64: NULL thread pointer in _thr_sig_add() Message-ID: <200308120756.36583.davidxu@FreeBSD.org> In-Reply-To: <20030811234058.GA944@athlon.pn.xcllnt.net> References: <20030811001030.GA27859@dhcp42.pn.xcllnt.net> <00a801c35fd2$9139a1b0$f001a8c0@davidwnt> <20030811234058.GA944@athlon.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 August 2003 07:40, Marcel Moolenaar wrote: > On Mon, Aug 11, 2003 at 02:34:08PM +0800, David Xu wrote: > > I have a patch trying to fix the problem, I haven't tested it, > > http://people.freebsd.org/~davidxu/kse/thr_kern.c.diff > > I think some calls of kse_set_curthread is bogus, Dan might need to > > rethink it. > > I think this is it. I now get sig 11, but it looks like a faulty > use of random(). It appears random() is not thread safe and this > particular test program uses random. > > I'll continue to run tests, but so far it looks like the patch is > fixing KSE/ia64. It would be nice if you can run tests under directory libpthread/test, mutex_d is useful test when I am modifying libkse. David Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308120756.36583.davidxu>