From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#21999: 25.0.50; Binary with --enable-checking immediately aborts with '0<=size' Date: Tue, 24 Nov 2015 01:55:38 -0800 Message-ID: <87poyzzpph.fsf@secretsauce.net> References: <87oaekh4s5.fsf@isaac.fritz.box> <83poz0zcsi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448358989 11406 80.91.229.3 (24 Nov 2015 09:56:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2015 09:56:29 +0000 (UTC) Cc: 21999@debbugs.gnu.org, Paul Eggert , David Engster To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 24 10:56:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1AKY-0005Tz-UY for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Nov 2015 10:56:11 +0100 Original-Received: from localhost ([::1]:37301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1AKZ-0006dm-T9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Nov 2015 04:56:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1AKU-0006bJ-Tj for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 04:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1AKQ-00069b-Qk for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 04:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1AKQ-00069X-Np for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 04:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1AKQ-000785-BQ for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 04:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Nov 2015 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21999-submit@debbugs.gnu.org id=B21999.144835894527376 (code B ref 21999); Tue, 24 Nov 2015 09:56:02 +0000 Original-Received: (at 21999) by debbugs.gnu.org; 24 Nov 2015 09:55:45 +0000 Original-Received: from localhost ([127.0.0.1]:50283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1AK9-00077T-0R for submit@debbugs.gnu.org; Tue, 24 Nov 2015 04:55:45 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45694) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1AK5-00077J-1N for 21999@debbugs.gnu.org; Tue, 24 Nov 2015 04:55:42 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5D22F20738 for <21999@debbugs.gnu.org>; Tue, 24 Nov 2015 04:55:40 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 24 Nov 2015 04:55:40 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=qc9oF Klw9mdl7OFbH2q6Yl7U02g=; b=mkURZRSkK9qBS1xjfMAkyCvfOXMJGMDu+Qs7v YvpGY8eqBde16gzBdn4IpGFAtBF6VhpGd7w8MdyVLsNj/sxxSGYjLwQkU0zA9gu7 Atv3mLxuQWD17+Mwco/o3CsulPqGrh9Ny7oveTOOc4/iSarjuJTLg+BcfsaPH9Bx hShERM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=qc9oFKlw9mdl7OFbH2q6Yl7U02g=; b=oEyuU 63guh9KpBRPq82yPWQd3/kDl1Jrj0oUT2PgjtscpTSpdnA8k9jZ7ps74Z4Ig4hz7 IEY27PkObAhLnax4PzoQlrMla6a97BFbPpUMNmtIpjhbHT/5IHFL0r+Xo7TVOe4t lmXcvmaey4gQem6k6P2vx9NeNtIUf8iwjWRIyA= X-Sasl-enc: j7CdzHMm9JbVBnGactjKEpdUngW1tgPH2xC7UmCwfZKT 1448358940 Original-Received: from shorty.local (50-1-153-216.dsl.dynamic.fusionbroadband.com [50.1.153.216]) by mail.messagingengine.com (Postfix) with ESMTPA id F1672C016DA; Tue, 24 Nov 2015 04:55:39 -0500 (EST) Original-Received: from localhost ([::1] helo=shorty) by shorty.local with esmtp (Exim 4.84) (envelope-from ) id 1a1AK2-0004yd-IM; Tue, 24 Nov 2015 01:55:38 -0800 In-reply-to: <83poz0zcsi.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109176 Archived-At: Eli Zaretskii writes: >> From: David Engster >> Date: Mon, 23 Nov 2015 20:52:42 +0100 >> >> I've compiled from the emacs-25 branch (f146ea73a9ca6) with >> >> CFLAGS="-O0 -g3" ./configure --enable-checking >> >> Running 'emacs -Q' directly from the src directory immediately aborts: >> >> lisp.h:1543: Emacs fatal error: assertion failed: 0 <= size >> Fatal error 6: Aborted > > Dima, can you look into this? Sure. This comes from recent changes that created gc_asize() for use in the GC, and changed ASIZE() to eassume() if we're not in the GC: https://github.com/emacs-mirror/emacs/commit/8afaa1321f808#diff-0e5d67da0ba3fb5c2886841cb3d0ccecR1547 This is a very recent change, so we're now seeing some of the effects. In this particular case FONT_ENTITY_P() was called from the GC; it called ASIZE(), which saw a marked object so we barfed in the eassume(). This eassume() is only fatal if --enable-checking, which is why that is significant. I don't know what the plan is here, so no patch is attached. Cc-ing Paul, since he authored the patch in question.