From owner-freebsd-current Mon Sep 30 14:19:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDA5D37B401 for ; Mon, 30 Sep 2002 14:19:36 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8712E43E75 for ; Mon, 30 Sep 2002 14:19:36 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 31195 invoked from network); 30 Sep 2002 21:19:37 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 30 Sep 2002 21:19:37 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g8ULJYBv007650 for ; Mon, 30 Sep 2002 17:19:34 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020930225528.A272@snoopy.cablecom.ch> Date: Mon, 30 Sep 2002 17:19:37 -0400 (EDT) From: John Baldwin To: freebsd-current@FreeBSD.ORG Subject: Re: Fatal trap 12 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 <>< 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