From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects Date: Tue, 26 May 2020 06:18:52 +0000 Message-ID: References: <83zha8cgpi.fsf@gnu.org> <83r1vibmyj.fsf@gnu.org> <83imgublku.fsf@gnu.org> <831rncjuwf.fsf@gnu.org> <83h7w5xvfa.fsf@gnu.org> <83y2phwb9x.fsf@gnu.org> <83r1v9w9vi.fsf@gnu.org> <83mu5xw50d.fsf@gnu.org> <83k110wxte.fsf@gnu.org> <4bab5f55-95fe-cf34-e490-1d4319728395@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41321@debbugs.gnu.org, Stefan Monnier To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 26 08:20:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jdSwf-0009oV-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 08:20:13 +0200 Original-Received: from localhost ([::1]:46806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdSwe-0005gY-RD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 02:20:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdSwU-0005gR-Bd for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 02:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdSwU-0001zP-2I for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 02:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jdSwT-0004Hu-Uq for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 02:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 May 2020 06:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41321 X-GNU-PR-Package: emacs Original-Received: via spool by 41321-submit@debbugs.gnu.org id=B41321.159047397716448 (code B ref 41321); Tue, 26 May 2020 06:20:01 +0000 Original-Received: (at 41321) by debbugs.gnu.org; 26 May 2020 06:19:37 +0000 Original-Received: from localhost ([127.0.0.1]:43804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdSw4-0004HD-Oo for submit@debbugs.gnu.org; Tue, 26 May 2020 02:19:36 -0400 Original-Received: from mail-ot1-f42.google.com ([209.85.210.42]:35874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdSw3-0004H1-4g for 41321@debbugs.gnu.org; Tue, 26 May 2020 02:19:35 -0400 Original-Received: by mail-ot1-f42.google.com with SMTP id h7so15422620otr.3 for <41321@debbugs.gnu.org>; Mon, 25 May 2020 23:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/PJUI39h+d4UE3xte5uE/qhNQUQwwABZng+tvdmnqjk=; b=iQ09HU/ON69SiEk5VPi6rwMJScDopTOTpkGoGOsz1cIh8j3SROHEaoWNoon4oCbrST lPz8rKGNySXgdObKj+pz+4wn9bwqxScpcBSOGwrOt9jMK+aApiCo8SkYY7LoSLu34bDm efLiSpBEuv1rgCNI9HZeC2gVg289YTJ+oXg8tcalTZA8dgMyLi+j+mRSnTXM3JaWsxjA PBW6L2itjnW3vOoliXqk9P7p6O9ZduJeD2zOsiv9rwTjkwIVCyD46LC7VSGT3oLR1QQe ZVJTca0uAL/yG95E6cgWxTe0isv3NBJ5upAC0flx5bmPEkXHosS31A7CHD6ZQ/06Z3Lt ITkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/PJUI39h+d4UE3xte5uE/qhNQUQwwABZng+tvdmnqjk=; b=RlaZzGF+lA6+xq86TuidUu1Oj4T0UeSmPO9cYLLokAXGMj8WXO+zQwVZG+Tw5kV+b6 VxuYYcfNgEgv68uQAHYNK9PSFdYv10/cxN5MTFahdCKaTw+ZeyIpESm0NxWfT9311HoE 4nw0077yCdjfKKI6LEJa9YaEivEJ8ofFcI0DkpZlSjk0Gn2dWk/pXzrcJD4KsRcob4tt iKyfL8+ZJLB+uTiAj1zYsS12iTm/yEDzpzhE8esn6WA5LcwEla3nfeZvmnrmcF9Mmaen r6olTQVqBBkOublcJi9QC8K4bWw4ahAJQFeJ2db4BLM+w9kOhZwQ3KRFErqx6KfQhOPm PkzA== X-Gm-Message-State: AOAM531RYxv8R9kPH9x/RaXvws2EdSWw0CiVcL6Ioy1nNXMzaSawMVmw xdfi+SUy86f+YTDbD1O3+lE6GVswkrTNImHCLuE= X-Google-Smtp-Source: ABdhPJzNGAm+xBZWjG++FeKzgzlOsz8TmmnMLgDDqvNJjK0J4XtjZu9VZ3P38Q3AggISINHl7GH2qRMOe8RSCQAhhqc= X-Received: by 2002:a9d:7a50:: with SMTP id z16mr24926790otm.292.1590473969417; Mon, 25 May 2020 23:19:29 -0700 (PDT) In-Reply-To: <4bab5f55-95fe-cf34-e490-1d4319728395@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181019 Archived-At: On Tue, May 26, 2020 at 3:33 AM Paul Eggert wrote: > On 5/25/20 4:28 AM, Pip Cet wrote: > > > And I just noticed strings aren't aligned to LISP_ALIGNMENT on > > x86_64-pc-linux-gnu. > > Could you explain? Strings are allocated via allocate_string -> lisp_malloc -> > lmalloc, and lmalloc is supposed to align to LISP_ALIGNMENT for strings just > like it does for other Lisp objects. Sorry. You're right, the non-aligned strings aren't relevant for GC. However, this is only because struct Lisp_String happens to have an even number of words. If someone changes that, the old code would break... We're still going to have to deal with symbols on --wide-int builds when the two halves of the wide int are saved non-consecutively.