Date: Mon, 30 Sep 2002 17:19:37 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: freebsd-current@FreeBSD.ORG Subject: Re: Fatal trap 12 Message-ID: <XFMail.20020930171937.jhb@FreeBSD.org> In-Reply-To: <20020930225528.A272@snoopy.cablecom.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30-Sep-2002 Hanspeter Roth wrote:
> On Sep 30 at 15:16, John Baldwin spoke:
>
>> Hmm, unfortunately generic_bcopy() is in asm, and so it doesn't have
>> a "true" frame and we end up skipping over the frame in execve()
>> where it is called from. There are only 3 bcopy's in execve(), but
>> I'm not sure which is likely to have been the problematic one.
>
> Mounting root from ufs:/dev/ad0s3a
> calling bcopy 416
> bcopy 416 returned
> calling bcopy 556
>
>
> Fatal trap 12: ...
>
>
> 416 and 556 denote linenumbers in kern_exec.c.
Thanks! That's here:
if (ps_arg_cache_limit >= i + sizeof(struct pargs)) {
bcopy(imgp->stringbase, newargs->ar_args, i);
p->p_args = newargs;
newargs = NULL;
}
BTW, is this on DP1?
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
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?XFMail.20020930171937.jhb>
