From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects Date: Mon, 25 May 2020 11:12:53 -0400 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> <838shgvzfm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eggert@cs.ucla.edu, 41321@debbugs.gnu.org, Pip Cet To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 25 17:16:47 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 1jdEqM-000Ad9-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 May 2020 17:16:47 +0200 Original-Received: from localhost ([::1]:53044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdEqL-0000n4-R8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 May 2020 11:16:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdEni-0006CR-9U for bug-gnu-emacs@gnu.org; Mon, 25 May 2020 11:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdEni-0008GK-0G for bug-gnu-emacs@gnu.org; Mon, 25 May 2020 11:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jdEnh-0006zb-S4 for bug-gnu-emacs@gnu.org; Mon, 25 May 2020 11:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 May 2020 15:14: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.159041958626802 (code B ref 41321); Mon, 25 May 2020 15:14:01 +0000 Original-Received: (at 41321) by debbugs.gnu.org; 25 May 2020 15:13:06 +0000 Original-Received: from localhost ([127.0.0.1]:42151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdEmn-0006yE-Vp for submit@debbugs.gnu.org; Mon, 25 May 2020 11:13:06 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:13258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdEmj-0006xh-6U for 41321@debbugs.gnu.org; Mon, 25 May 2020 11:13:05 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D711680D3D; Mon, 25 May 2020 11:12:55 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 25B06807F4; Mon, 25 May 2020 11:12:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1590419574; bh=JukwLlrKLGf5tWBciWLoNpWxLRzP9t0QnqDsN5owa5I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Z9X888TFbyCcrybEEs+t3C7zBrcTZ88z6hhROlOtgBvpKdFgKh4sKcAppY8Bbbzkn qKvQmB5avf/nNx+KZDg2mXNVbvr+tKI1RY0ya5F2sYdr/Mh2p6k2zNzBA9RNS/9ovf Ps17awkJm/waZYJnV12NXk6XgngVFMu5e7xcjtRpRYHUZP6Iq03GIujeyzxSbM3AYM WD8TclkLKxxh9rnRFIPKxK7DCjlvO1n+J69ueWHJ+oKmYxC726pUI+tkmVhRN6qzvv puKU8htaVOL3jT/7JDZpSoynDQKM6CsGxxMuv4ZxtDFjIAMSH2vuCRCt3HODqDRQSn 596YBrXUjrfSA== Original-Received: from alfajor (unknown [216.154.27.250]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D7E421207EA; Mon, 25 May 2020 11:12:53 -0400 (EDT) In-Reply-To: <838shgvzfm.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 25 May 2020 17:53:17 +0300") 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:180980 Archived-At: >> I think we're going to have to weaken the maybe_lisp_pointer check to >> check only for GC_ALIGNMENT. Sounds about right: the only alignment we really need for Lisp_Objects is the GC_ALIGNMENT that allows us to use the 3 LSB for tags. src/alloc.c makes efforts to ensure this alignment and for some objects (e.g. Lisp_Floats as well as (on 32bit hosts) Lisp_Cons cells) that's the only alignment we can meaningfully impose since those objects are only 64bit in size. Stefan