From owner-freebsd-current@FreeBSD.ORG Sun Jul 12 21:22:24 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64B6510656A9 for ; Sun, 12 Jul 2009 21:22:24 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 1EB908FC16 for ; Sun, 12 Jul 2009 21:22:24 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so1003913and.13 for ; Sun, 12 Jul 2009 14:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Uto8+ZVIPbKwaCQ4uzWT4voBMMV/QLO+QZ4akN1nvdw=; b=n8rvOw0zrT64nfMBJQIXFKpcJzIEQUgbW3DVG8WKRvHLaK5zcbs7dkJ0vVHsdpodPS wXwr5hh7jZil5xQNobrjghgpzYiZ4CzNYQhEuWuswtZsuW3DXYMz7CjdZMtfoLCgJk+B eAWCOwB0kuGsPvbhbvf/9gL0fqToB6pQlhVfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=hZJsPyz0n+pdaZdq5RBAzOl1zPxRDp+EThlP7g5YGKCwikdtSUcKTVLmxyLYwR7WAW VzvsbqcedLaLbjajirObxPD3Ba65XctKqiAN6sbl03RDtkWme23R/leW+1aiziYCqx15 U8F4/hOPZ8tM45wqHNcQZe80AoRj4mp8WMYZY= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.107.8 with SMTP id f8mr6137582anc.149.1247433743560; Sun, 12 Jul 2009 14:22:23 -0700 (PDT) In-Reply-To: <20090712203105.GJ2145@acme.spoerlein.net> References: <20090712203105.GJ2145@acme.spoerlein.net> Date: Sun, 12 Jul 2009 14:22:23 -0700 X-Google-Sender-Auth: 46cb5b899684b25e Message-ID: <3c1674c90907121422v1a45de5bnc4f83c767bd4d331@mail.gmail.com> From: Kip Macy To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: panic: vm_page_free_toq: freeing mapped page X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2009 21:22:24 -0000 Can you try the following change: http://svn.freebsd.org/viewvc/base/user/kmacy/releng_7_2_fcs/sys/vm/vm_obje= ct.c?r1=3D192842&r2=3D195297 Thanks, Kip On Sun, Jul 12, 2009 at 1:31 PM, Ulrich Sp=F6rlein wrote= : > Hi, > > 8.0 BETA1 @ r195622 will panic reliably when running the clang static > analyzer on a buildworld with something like the following panic: > > panic: vm_page_free_toq: freeing mapped page 0xffffff00c9715b30 > cpuid =3D 1 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > panic() at panic+0x182 > vm_page_free_toq() at vm_page_free_toq+0x1f6 > vm_object_terminate() at vm_object_terminate+0xb7 > vm_object_deallocate() at vm_object_deallocate+0x17a > _vm_map_unlock() at _vm_map_unlock+0x70 > vm_map_remove() at vm_map_remove+0x6f > vmspace_free() at vmspace_free+0x56 > vmspace_exec() at vmspace_exec+0x56 > exec_new_vmspace() at exec_new_vmspace+0x133 > exec_elf32_imgact() at exec_elf32_imgact+0x2ee > kern_execve() at kern_execve+0x3b2 > execve() at execve+0x3d > syscall() at syscall+0x1af > Xfast_syscall() at Xfast_syscall+0xe1 > --- syscall (59, FreeBSD ELF64, execve), rip =3D 0x800c20d0c, rsp =3D 0x7= fffffffd6f8, rbp =3D 0x7fffffffdbf0 --- > KDB: enter: panic > exclusive sleep mutex vm page queue mutex (vm page queue mutex) r =3D 0 (= 0xffffffff8095ea60) locked @ /data/freebsd-head/sys/vm/vm_object.c:688 > exclusive sleep mutex vm object (standard object) r =3D 0 (0xffffff004645= 3798) locked @ /data/freebsd-head/sys/vm/vm_object.c:450 > exclusive sleep mutex vm page queue mutex (vm page queue mutex) r =3D 0 (= 0xffffffff8095ea60) locked @ /data/freebsd-head/sys/vm/vm_object.c:688 > exclusive sleep mutex vm object (standard object) r =3D 0 (0xffffff004645= 3798) locked @ /data/freebsd-head/sys/vm/vm_object.c:450 > exclusive sleep mutex pmap (pmap) r =3D 0 (0xffffff003c8b02b8) locked @ /= data/freebsd-head/sys/amd64/amd64/pmap.c:3955 > shared sx user map (user map) r =3D 0 (0xffffff003c8b0200) locked @ /data= /freebsd-head/sys/vm/vm_map.c:3522 > exclusive sx so_rcv_sx (so_rcv_sx) r =3D 0 (0xffffff0004698e40) locked @ = /data/freebsd-head/sys/kern/uipc_sockbuf.c:148 > > > Cheers, > Ulrich Sp=F6rlein > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke