Re: libthr faults with recent kernel?

From: Jake Burkholder <jake_at_locore.ca>
Date: Mon, 7 Apr 2003 10:45:08 -0400
Apparently, On Mon, Apr 07, 2003 at 03:22:21PM +0900,
	haro_at_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_at_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_at_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_at_kgt.co.jp
> 
> _______________________________________________
> 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"
Received on Mon Apr 07 2003 - 05:45:12 UTC

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