From owner-freebsd-current@FreeBSD.ORG Mon Jan 31 10:12:18 2005 Return-Path: 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 2BD6216A4CE; Mon, 31 Jan 2005 10:12:18 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF3243D3F; Mon, 31 Jan 2005 10:12:17 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CvYXU-0000Jf-QE; Mon, 31 Jan 2005 13:12:12 +0300 From: Vladimir Grebenschikov To: Kris Kennaway In-Reply-To: <20050130025217.GA32612@xor.obsecurity.org> References: <20050130025217.GA32612@xor.obsecurity.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 31 Jan 2005 13:12:12 +0300 Message-Id: <1107166332.1055.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: alc@FreeBSD.org cc: "current@freebsd.org" Subject: Re: do_execve() finding vmspace_destroyed set under load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 10:12:18 -0000 =F7 =D3=C2, 29/01/2005 =D7 18:52 -0800, Kris Kennaway =D0=C9=DB=C5=D4:=20 > I'm seeing the following code in do_execve() frequently being > triggered when scripts are executed on my SMP machine under load: Probably related, I have 100% panic on exec of single linux static binary, it happens in do_execve sorry, no console here, just retype: Fatal trap 12: page fault in kernel mode current process =3D 1638 (tcsh) db> trace exec_map_first_page(...) at exec_map_first_page+0x32 do_execve(...) at do_execve+0x2df kern_execve(...) at kern_execve+0x124 execve(...)=20 ... (tcsh is parent process) No problems with other linux or native binaries. > if (imgp->vmspace_destroyed) { > /* sorry, no more process anymore. exit gracefully */ > #ifdef MAC > mac_execve_exit(imgp); > if (interplabel !=3D NULL) > mac_vnode_label_free(interplabel); > #endif > exit1(td, W_EXITCODE(0, SIGABRT)); > /* NOT REACHED */ > error =3D 0; > } >=20 > Needless to say, the scripts get pretty unhappy when they're summarily > aborted. What is the cause of this? >=20 > Kris --=20 Vladimir B. Grebenchikov vova@fbsd.ru