From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 07:45:12 2003 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 07AE637B401; Mon, 7 Apr 2003 07:45:12 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21DC843FAF; Mon, 7 Apr 2003 07:45:06 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h37Ej9xS075657; Mon, 7 Apr 2003 10:45:09 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h37Ej8Bg075656; Mon, 7 Apr 2003 10:45:08 -0400 (EDT) Date: Mon, 7 Apr 2003 10:45:08 -0400 From: Jake Burkholder To: haro@kgt.co.jp Message-ID: <20030407144508.GA75320@locore.ca> References: <20030406.215054.74749642.haro@h4.dion.ne.jp> <20030407.152221.06255547.haro@kgt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407.152221.06255547.haro@kgt.co.jp> User-Agent: Mutt/1.4i cc: rwatson@freebsd.org cc: current@freebsd.org Subject: Re: libthr faults with recent kernel? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 14:45:12 -0000 Apparently, On Mon, Apr 07, 2003 at 03:22:21PM +0900, haro@kgt.co.jp said words to the effect of; > Hi, > > With the patch applied, system doesn't crash anymore. > Thanks for the info. > I don't know if its 100% correct or not so I'll wait for Jeff to get back or one of the the kse people to fix it properly. I think that the code in kern_thread.c should not try to teardown a thread while its still the current thread. Jake > Regards, > Haro > > From: Robert Watson > Date: Mon, 7 Apr 2003 01:23:18 -0400 (EDT) > ::Jake Burkholder just posted a patch to freebsd-threads that works around > ::(fixes?) the problem; indeed, it does seem to be a result of the recent > ::LAZY_SWITCH changes. > :: > ::Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > ::robert@fledge.watson.org Network Associates Laboratories > :: > ::On Sun, 6 Apr 2003, Munehiro Matsuda wrote: > :: > ::> Hi, > ::> > ::> When ever I try to run application with the new libthr.so.1 with > ::> recent kernel, I get my system falt and just reboots: > ::> > ::> Fatal trap 12: page fault while in kernel mode > ::> fault virtual address = 0xa0 > ::> fault code = supervisor read, page not present > ::> instruction pointer = 0x8:0xc037f80e > ::> stack pointer = 0x10:0xd202fca0 > ::> frame pointer = 0x10:0xd202fcc8 > ::> code segment = base 0x0, limit 0xfffff, type 0x1b > ::> = DPL 0, pres 1, def32 1, gran 1 > ::> processor eflags = interrupt enabled, resume, IOPL = 0 > ::> current process = Idle > ::> trap number = 12 > ::> panic: page fault > ::> > ::> > ::> Anybody seen this, or am I the only getting this? > ::> > ::> I'm assuming that, it started after the LAZY_SWITCH commit, > ::> but I can't say for sure. > > =----------------------------------------------------------------------- > _ _ Munehiro (haro) Matsuda > -|- /_\ |_|_| Kubota Graphics Technology Inc. > /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan > Tel: +81-3-3225-0931 Fax: +81-3-3225-0930 > Email: haro@kgt.co.jp > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"