From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 16:51:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5481D16A4CE; Mon, 1 Mar 2004 16:51:40 -0800 (PST) Received: from ex-nihilo-llc.com (ex-nihilo-llc.com [206.114.147.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3696243D1D; Mon, 1 Mar 2004 16:51:40 -0800 (PST) (envelope-from aaron@alpete.com) Received: from mail.alpete.com (localhost [127.0.0.1]) by ex-nihilo-llc.com (Postfix) with SMTP id 3BA373CA; Mon, 1 Mar 2004 19:54:06 -0500 (EST) Received: from 204.118.74.216 (SquirrelMail authenticated user aaron@alpete.com) by mail.alpete.com with HTTP; Mon, 1 Mar 2004 19:54:06 -0500 (EST) Message-ID: <20768.204.118.74.216.1078188846.squirrel@mail.alpete.com> In-Reply-To: <200403012203.i21M3Ln5067385@green.homeunix.org> References: Message from "Aaron Peterson" <2660.162.114.211.143.1078176728.squirrel@mail.alpete.com> <200403012203.i21M3Ln5067385@green.homeunix.org> Date: Mon, 1 Mar 2004 19:54:06 -0500 (EST) From: "Aaron Peterson" To: "Brian F. Feldman" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-current@freebsd.org cc: aaron@alpete.com Subject: Re: Mozilla Firefox and firebird problems after sat022604upgradeofFreeBSD-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aaron@alpete.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 00:51:40 -0000 >> Go to the _CONSOLE_ and execute the programs that >> are "causing" the "lock-up" and you will stand a >> chance at actually finding and fixing whatever is >> going wrong. >> >> Ctrl-Alt-F1 >> >> DISPLAY=:0.0 firefox > Were you able to get a backtrace now? wonder of wonders, miracle of miracles :) panic: Assertion td->td_flags & TDF_SINTR failed at /usr/src/sys/kern/subr_sleepqueue.c:761 at line 761 in file /usr/src/sys/kern/subr_sleepqueue.c cpuid = 0; Debugger("panic") Is that related to this kernel patch (pasted at bottom) I've seen cross the list today? If so, has this patch been committed to the cvs sources, or will i need to apply it manually? if not, what might my next step be? aaron Danny J. Zerkel wrote: > Looks like John's sys/kern/kern_thread.c 1.171 broke Mozilla (and > threading in general). He appears to have left out a test that > the sleeping thread is interruptable in one spot: > > --- kern_thread.c.orig Mon Mar 1 15:08:01 2004 > +++ kern_thread.c Mon Mar 1 14:26:30 2004 > @@ -646,7 +646,8 @@ > } else if (TD_ON_SLEEPQ(td2) && > ((td2->td_wchan == &kg->kg_completed) || > (td2->td_wchan == &p->p_siglist && > - (ku->ku_mflags & KMF_WAITSIGEVENT)))) { > + (ku->ku_mflags & KMF_WAITSIGEVENT))) && > + (td2->td_flags & TDF_SINTR)) { > sleepq_abort(td2); > } else { > ku->ku_flags |= KUF_DOUPCALL; > > This change fixes my Mozilla hangs and other panics on current. >