Re: panic: kern/52718

From: David Xu <davidxu_at_freebsd.org>
Date: Fri, 30 May 2003 17:11:56 +0800
----- Original Message ----- 
From: "Terry Lambert" <tlambert2_at_mindspring.com>
To: "Bryan Liesner" <bleez_at_verizon.net>
Cc: <freebsd-current_at_freebsd.org>
Sent: Friday, May 30, 2003 5:02 PM
Subject: Re: panic: kern/52718


> 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.
> 

kern_sig.c has same issue in several places.

> -- Terry
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

David Xu
Received on Fri May 30 2003 - 00:09:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC