From owner-freebsd-stable@FreeBSD.ORG Sun May 13 17:27:16 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 281C1106564A for ; Sun, 13 May 2012 17:27:16 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA9C8FC0A for ; Sun, 13 May 2012 17:27:15 +0000 (UTC) Received: by lbon10 with SMTP id n10so3957825lbo.13 for ; Sun, 13 May 2012 10:27:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=q48jH3Id3GKV0/zp/hNPnpWp4cQ4gAxXLsbLoVFs0PI=; b=fRbRywUam3QCrRTp3Hg+ZoV6aDGxM//m4MjpyEDn8O1zCUfQCUoO5jLYIPjV5gWL+k jNRHaxYvkxYJHsOSUs4JZU4Wmycwto+JNyXn6b6ZHvLA75laRZGxEGiLq6xTxBHuG3E+ 7fTg9qFvpVloK1HIY2oRNpq1TxeYH0B9Gu41qMv8XqdYOlXZFy52Luze1dILf5MjLsqF dR7TOKQ/fdFJKlQfJb8OQX/g7LgZAa/LOii2VPL5SUWOduFA6VqST8uYNqxdOrw1r1Rp XykjdOGtWVWKOXS/yU9vJNXH9ItiBcfkaqt1ZaCzKnIcBRS7FJxCfoBot4hUDk+y5KJP DtJA== Received: by 10.112.48.6 with SMTP id h6mr2345293lbn.94.1336930033677; Sun, 13 May 2012 10:27:13 -0700 (PDT) Received: from zont-osx.local (ppp95-165-135-86.pppoe.spdop.ru. [95.165.135.86]) by mx.google.com with ESMTPS id u4sm16708347lad.5.2012.05.13.10.27.12 (version=SSLv3 cipher=OTHER); Sun, 13 May 2012 10:27:12 -0700 (PDT) Message-ID: <4FAFEEEF.3040706@zonov.org> Date: Sun, 13 May 2012 21:27:11 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkCj9lQJO85N2zyrpxhw4m36t5bwZzdPu/A02auAHvsLhzbbNu0AP0s+3cS1ScJCjiPUoGo Cc: trasz@freebsd.org Subject: panic with overcommit and RACCT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 17:27:16 -0000 Hi, I've got a repeatable panic on latest 9.0-STABLE and HEAD with turned on overcommit (vm.overcommit=1) and RACCT. kgdb trace on today's HEAD: #10 0xffffffff80bc3513 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #11 0xffffffff808aab71 in racct_set_locked (p=0xfffffe0005d684a0, resource=0, amount=2680) at /usr/src/sys/kern/kern_racct.c:372 #12 0xffffffff808ab645 in racct_proc_exit (p=0xfffffe0005d684a0) at /usr/src/sys/kern/kern_racct.c:615 #13 0xffffffff80880d69 in fork1 (td=0xfffffe0005b2c460, flags=20, pages=4, procp=0xffffff811a36bb00, procdescp=Variable "procdescp" is not available. ) at /usr/src/sys/kern/kern_fork.c:943 #14 0xffffffff80882362 in sys_fork (td=0xfffffe0005b2c460, uap=Variable "uap" is not available. ) at /usr/src/sys/kern/kern_fork.c:110 #15 0xffffffff80bd7a89 in amd64_syscall (td=0xfffffe0005b2c460, traced=0) at subr_syscall.c:135 #16 0xffffffff80bc37f7 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #17 0x00000008024729fc in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Unread portion of the kernel message buffer: Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex racct lock (racct lock) r = 0 (0xffffffff8128a7c0) locked @ /usr/src/sys/kern/kern_racct.c:614 exclusive sleep mutex process lock (process lock) r = 0 (0xfffffe0005d68598) locked @ /usr/src/sys/kern/kern_racct.c:603 -- Andrey Zonov