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 <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to