From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#36649: 27.0.50; pure space and pdumper Date: Mon, 22 Jul 2019 17:46:17 +0200 Message-ID: References: <83ftmyqgz8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="45225"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36649@debbugs.gnu.org, eggert@cs.ucla.edu, pipcet@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 22 17:47:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpaWq-000Bfi-H1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 17:47:08 +0200 Original-Received: from localhost ([::1]:34870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpaWp-000051-EC for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 11:47:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53153) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpaWl-0008Ut-9w for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 11:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpaWk-0006if-B3 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 11:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpaWk-0006i1-7N for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 11:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpaWj-0001yP-Qj for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2019 15:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36649 X-GNU-PR-Package: emacs Original-Received: via spool by 36649-submit@debbugs.gnu.org id=B36649.15638103877534 (code B ref 36649); Mon, 22 Jul 2019 15:47:01 +0000 Original-Received: (at 36649) by debbugs.gnu.org; 22 Jul 2019 15:46:27 +0000 Original-Received: from localhost ([127.0.0.1]:33509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpaWA-0001xS-SA for submit@debbugs.gnu.org; Mon, 22 Jul 2019 11:46:27 -0400 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:46003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpaW9-0001xG-RX for 36649@debbugs.gnu.org; Mon, 22 Jul 2019 11:46:26 -0400 Original-Received: by mail-wr1-f44.google.com with SMTP id f9so39907795wre.12 for <36649@debbugs.gnu.org>; Mon, 22 Jul 2019 08:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=Lskoi/Z2Z0YnUX3dQpMAhZRm0+C0PQACMDrltwOfQM4=; b=ZbOEX+IWYQOCKYGEPsiQAylcir45JLJNy/NwyYyPWdiYP7Q3ewqB9RBBQkUeU9pjW8 SZse7wlkCdkg1fhA1iuBOuQrbiQzQKeq5/sdd5v76u9h8+M1PWVzTIHOMn6vcSAQK2Is CBYggvYMnSS+Iz8tQxpFQd5CtkeC3MDduYuhcSrmtUrsJGW2GxHkvbw/D4oz6UznGcCH XKvpap2hvy44f7Dn4NlpEVOfZueOWx9rjd9qxILaiFwiDLuQ+/ZPVwWxOKqhj7N4m27I AVEVhc6GFO5NcNWD1zftg/eVtNtNCthyv/nc5aOVtvM7WvwEspvS7gwRAiRzvUF1GrXb SJhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=Lskoi/Z2Z0YnUX3dQpMAhZRm0+C0PQACMDrltwOfQM4=; b=GnzbzU8L2H1g/1B6+g4ifGS9D+0w+vmIeXFtNswf8fIF7O4it2Iexs/bLsdIhvHojv TtyofvMmogT2MnZrUm49qduv/ueajEOpRtQR7i7gt1d7U2v3GkkmAOxAXTV/LQ54dM7o CLOFMyTtS6jxhzK1thBp84XBXeLAZBY/lrNTnGXmZo+zAGi4NgNyeBfHabzm2P4jZ3tq RQxj6MzsBZ1WsyH5jIZqoIsTc+lNFfpKmhen8tRn5WCFMk5pLIlXlKyF1veZgsijhI0/ 9BKu+D1OwbJUekSmrrWTqoVHK1qhWp+whH/vH5WWel5G0e+PjbRzxCATJ3pnSbhD3zMg PckQ== X-Gm-Message-State: APjAAAWx8Bq2ecP7qeklO789PMQjBip9dj03VuX4xEVdXLVOsFG+AKEw coU/S21vUAG9h5w09jmfUcw= X-Google-Smtp-Source: APXvYqx9OVvzTEcLpZ1Dh73k/GAe3n4N81hTYxpsWP0Ie+/nwwAJNsU5PxK5WlkyS9//6mmwAjvQCg== X-Received: by 2002:adf:ed8a:: with SMTP id c10mr77932739wro.33.1563810379751; Mon, 22 Jul 2019 08:46:19 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id e7sm37658528wmd.0.2019.07.22.08.46.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 08:46:18 -0700 (PDT) In-Reply-To: <83ftmyqgz8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Jul 2019 17:30:35 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163598 Archived-At: >>>>> On Mon, 22 Jul 2019 17:30:35 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Date: Mon, 22 Jul 2019 10:14:47 +0200 >> Cc: 36649@debbugs.gnu.org, Paul Eggert >>=20 >> >>>>> On Mon, 22 Jul 2019 03:58:29 +0000, Pip Cet = said: >>=20 Pip> On Sun, Jul 21, 2019 at 8:20 PM Robert Pluim wr= ote: Pip> Can you try again with this incremental patch? >> >>=20 >> >> I offer two alternatives, both of which build and run: >>=20 Pip> Oops, sorry. I think the second alternative might break Pip> live_vector_holding, though? >>=20 >> OK. Here=CA=BCs hoping no other code in emacs tries to create a 0-le= ngth >> vector :-) Eli> I think font.c (or fontset.c?) does. If it does, that will be caught by allocate_vector, and this changes allocate_vectorlike. Having said that, there are other callers of allocate_vectorlike in alloc.c which don=CA=BCt check for a zero-length. Maybe I=CA=BCm over-worrying here. Robert