Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 98 06:29:22 EDT
From:      luoqi@watermarkgroup.com (Luoqi Chen)
To:        jb@cimlogic.com.au, luoqi@watermarkgroup.com
Cc:        current@FreeBSD.ORG
Subject:   Re: 'fatal trap 12' on boot (smp and up)
Message-ID:  <9805041029.AA13157@watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> Luoqi Chen wrote:
> > Just curious, what program were you running? AFAIK, only wine makes use of
> > USER_LDT.
> 
> A program linked with libpthread using an ldt to save the thread context.
> 
I think I made a mistake in my patch that cause the core dump. Try to
enclose the two lines in the patch that reset fs and gs inside
if (pcb == curpcb) {}. Without this, the code might trash fs & gs in
another process' context.
		
-lq
> -- 
> John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
> CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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