From owner-freebsd-current@FreeBSD.ORG Mon Mar 16 17:55:51 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C8F61065676 for ; Mon, 16 Mar 2009 17:55:51 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by mx1.freebsd.org (Postfix) with ESMTP id 3981F8FC12 for ; Mon, 16 Mar 2009 17:55:50 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1128495tib.3 for ; Mon, 16 Mar 2009 10:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=1E/YY1YliNBBTu+8i5FrpSmoKPmLnPMIMOQ1s/BvTJU=; b=ThhEvpIQMOrZpq+2AmH4XB2DuIgouioYbY0fdwJ6l2jm7SsBdQ+UdwFUukiSvl7Yr8 J0eh4dr4t1WKalj7oFPzjLsVPbbgG/IEY6iVrw8Okh+kHf438EODThf2z4jtBxmJ9ACh d1ydaQRDuKilP+nB+7B9skCNJq3jeTkrQ6tu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=dx/XMfGr0nEQOJxWb/W9aOy38WbULTJblUn3zjAXsrBs2ONmVuZ5fKKUelCCmoPr0L yGzk4AtY7SUO3hnda7oxFJcmt3gXUsFaL9PVJo/hGfHEGkHZZ1qx9rE2yRZFAVrkUEOD ydapLIyOGP8LHnwEUCsfjzvib1cmJNPI6O+zY= Received: by 10.110.14.12 with SMTP id 12mr7791162tin.22.1237226147328; Mon, 16 Mar 2009 10:55:47 -0700 (PDT) Received: from localhost (95-24-69-29.broadband.corbina.ru [95.24.69.29]) by mx.google.com with ESMTPS id y5sm1268669tia.17.2009.03.16.10.55.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Mar 2009 10:55:46 -0700 (PDT) From: Anonymous To: freebsd-current@freebsd.org Date: Mon, 16 Mar 2009 20:55:14 +0300 Message-ID: <864oxtuzct.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: lang/sbcl consumes all available memory and dies 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: Mon, 16 Mar 2009 17:55:52 -0000 I noticed that after commit r189771 (ELF: .note.ABI-tag) sbcl starts to eat all memory until it dies from bus error never reaching REPL. The process is unkillable, too. $ sbcl This is SBCL 1.0.25, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. load: 0.06 cmd: sbcl 1926 [running] 0.01u 0.44s 3% 189432k load: 0.06 cmd: sbcl 1926 [tx->tx_quiesce_done_cv)] 0.01u 0.72s 5% 367124k load: 0.78 cmd: sbcl 1926 [running] 0.01u 2.91s 14% 1763028k load: 0.72 cmd: sbcl 1926 [tx->tx_quiesce_done_cv)] 0.01u 3.65s 14% 2237272k load: 0.74 cmd: sbcl 1926 [*vm page queue mutex] 0.01u 5.78s 9% 3482892k zsh: bus error (core dumped) sbcl This is amd64, r189876M, zfs, 4g mem, 4g swap, sbcl 1.0.17, sbcl-1.0.25, 1.0.26.3. I can reproduce it under qemu with clean environment as well. Can somebody confirm it on i386? Just run `sbcl' and exit from REPL by either `^D' or `(quit)'. The workaround is to reverse-apply diff from r189771.