From owner-freebsd-stable@FreeBSD.ORG Mon Sep 22 23:10:28 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE81DA9F; Mon, 22 Sep 2014 23:10:28 +0000 (UTC) Received: from smtpout1.timeweb.ru (smtpout1.timeweb.ru [92.53.117.15]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F4D776C; Mon, 22 Sep 2014 23:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amdmi3.ru; s=dkim; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=B6Z3FikSfrl55baKNfiUysZCDcmpPt43pbYapnh6iJI=; b=Y/YQ1zHiBahOdDhUq18BoXiWIap5N11ByQnUwu+dl/YBDhPmzxncJv3NLEYDt+twFi5ef2Gi79D8Ispx/BTlt8NCd2ZHusDlaCSWXnvk6NnYXgVhBElx2kwvKkG8OqzxyA9SfM+Ob35wQj+EMyAcSgFtprU73oIgtFihbQqvnNQ=; Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XWCkL-0005h1-FB; Tue, 23 Sep 2014 03:10:17 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 0E8C1FC9; Tue, 23 Sep 2014 03:10:17 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id DD4F826785; Tue, 23 Sep 2014 03:10:16 +0400 (MSK) Date: Tue, 23 Sep 2014 03:10:16 +0400 From: Dmitry Marakasov To: freebsd-stable@FreeBSD.org Subject: Re: clang (both 3.3 and 3.4) OOM crashes on HEAD Message-ID: <20140922231016.GA1301@hades.panopticon> References: <20140228143606.GD29171@hades.panopticon> <20140228154328.GA13454@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20140228154328.GA13454@hades.panopticon> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 23:10:28 -0000 * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > > > I've been getting some failure mails from pkg building cluster related > > > to clang crashes: > > > > > > http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-28_01h43m56s/logs/arx-libertatis-1.0.3_2.log > > > http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-02-21_03h01m36s/logs/supertuxkart-0.8.1.log > > > > > > At first I thought they'll go away with clang 3.4, but recently I've > > > added HEAD jail to my tinderbox and reproduced these. Also a reason > > > of crashes become apparent: c++ eats all available memoty (15G RSS > > > in my case). > > > > > > I though of investigating these further, but wanted to check if it's > > > already known first. > > > > There are a few known OOM bugs in 3.4, but from the logs it is not > > immediately apparent if you are hitting those, or if they are new bugs. > > Note that it affects both 3.3 and 3.4. I think it was triggered by > something unrelated to clang update, maybe libc++ update. > > > To be able to figure that out, we need the files mentioned in clang's > > diagnostic messages, e.g. for arx-libertatis: > > > > /tmp/Input-XkKTNq.cpp > > /tmp/Input-XkKTNq.sh > > Here's one from arx-libertatis: > > http://people.freebsd.org/~amdmi3/clang-eats-mem-bug.tar.bz2 > > The bug is reproducible on my 10.x with both system clang 3.3 (after > removing -vectorize-loops -vectorize-slp options) and with clang 3.4 > from ports. I'll just remind that this is still an issue, and it's getting into 10.1. Could we maybe disable compiler features with lead to these crashes? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru