Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 10:45:08 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        haro@kgt.co.jp
Cc:        current@freebsd.org
Subject:   Re: libthr faults with recent kernel?
Message-ID:  <20030407144508.GA75320@locore.ca>
In-Reply-To: <20030407.152221.06255547.haro@kgt.co.jp>
References:  <20030406.215054.74749642.haro@h4.dion.ne.jp> <Pine.NEB.3.96L.1030407012239.90240A-100000@fledge.watson.org> <20030407.152221.06255547.haro@kgt.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rwatson@freebsd.org>
> 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"



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