Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 02:02:49 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Bryan Liesner <bleez@verizon.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic: kern/52718
Message-ID:  <3ED71E39.A0F8EBC3@mindspring.com>
References:  <20030529164240.X769@gravy.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Liesner wrote:
> 
> Is anyone going to look at this before the next release?
> Of course, if more info is needed, I'll send it along.  No dump is
> available - it panics during boot.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=52718

This was caused by rev. 1.3 of a commit by Jeff Robertson to
kern_utmx.c.  The problem is that the proc struct is not locked
for:

        FOREACH_THREAD_IN_PROC(td->td_proc, td0)

in the lock and unlock.

Either lock the proc before and unlock it after this, in both
_utmx_lock() and _utmx_unlock(), or revert the code to 1.2.

It's pretty simple.  No one needs t look at it, all they need
to do is act on information already present.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED71E39.A0F8EBC3>