Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 17:46:20 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        David Xu <davidxu@viatech.com.cn>
Cc:        threads@freebsd.org
Subject:   Re: KSE/ia64 broken
Message-ID:  <20031117014620.GB61716@dhcp01.pn.xcllnt.net>
In-Reply-To: <3FB825D9.6050407@viatech.com.cn>
References:  <Pine.GSO.4.10.10311161951020.11563-100000@pcnet5.pcnet.com> <3FB825D9.6050407@viatech.com.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 17, 2003 at 09:35:21AM +0800, David Xu wrote:
> >
> The returned memory block from malloc() is being used by unknown code, I 
> don't know
> why it occurs, but if you waste a memory block by applying the following 
> patch for
> thr_alloc(), then things work:

The memory block is clobbered by a ucontext_t. This may be the result
of the kernel doing the upcall (though indirectly I would suspect).

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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