Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 03:57:17 -0800
From:      Maxime Henrion <mux@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        David Xu <davidxu@FreeBSD.org>, "cvs-committers@FreeBSD.org" <cvs-committers@FreeBSD.org>, "cvs-all@FreeBSD.org" <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h src/sys/i386/i386 vm_machdep.c src/sys/alpha/alpha vm_machdep.c src/sys/ia64/ia64 vm_machdep.c src/                            vm_machdep.c src/sys/sparc64/sparc64 vm_machdep.c
Message-ID:  <20021123115717.GH4067@elvis.mu.org>
In-Reply-To: <Pine.BSF.4.21.0211230027320.13569-100000@InterJet.elischer.org>
References:  <200211230804.gAN84ZX0003586@freefall.freebsd.org> <Pine.BSF.4.21.0211230027320.13569-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> On Sat, 23 Nov 2002, David Xu wrote:
> 
> > This commit cause kernel panic when run threaded program.
> > try /usr/src/tools/KSE/ksetest
> 
> Maxime..
> 
> The extended PCB fields need to be freed for every
> thread_exit(), not just when we eventually free the thread_structure
> (which may never happen)

Does moving the freeing of the extended PCB fields into cpu_exit()
sounds good to you ?  It still fixes the doscmd(8) panic, and allows me
to run the KSE test program without panics.  However, the test program
dumps core :

ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSzsh: segmentation fault (core dumped)  ./ksetest

And I get a lot of these warnings :

failed to set signal flags properly for ast()

Is this expected ?

Cheers,
Maxime

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




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