KSE/ia64: NULL thread pointer in _thr_sig_add()

David Xu davidxu at FreeBSD.org
Mon Aug 11 16:53:37 PDT 2003


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



More information about the freebsd-threads mailing list