From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects Date: Sat, 30 May 2020 11:57:52 -0700 Organization: UCLA Computer Science Department Message-ID: <8cc638f5-9df2-903f-7fc0-84919c6d872f@cs.ucla.edu> References: <83zha8cgpi.fsf@gnu.org> <4bab5f55-95fe-cf34-e490-1d4319728395@cs.ucla.edu> <837dwyvi74.fsf@gnu.org> <1484f569-c260-9fb0-bfe1-67897de289d3@cs.ucla.edu> <83blm9tn4j.fsf@gnu.org> <4aeb8963-4fd1-fcd4-e6e1-be409ab54775@cs.ucla.edu> <83tuzzrk30.fsf@gnu.org> <749bc7d0-6376-ec2e-7f84-dcd3a3cea465@cs.ucla.edu> <83sgfjqn49.fsf@gnu.org> <83eer2m0b6.fsf@gnu.org> <83367hn624.fsf@gnu.org> <831rn1mzgp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75936"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: 41321@debbugs.gnu.org, Stefan Monnier To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 30 20:59:09 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 1jf6hJ-000Jde-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 May 2020 20:59:09 +0200 Original-Received: from localhost ([::1]:44234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf6hH-0004dA-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 May 2020 14:59:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf6hC-0004ar-0g for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 14:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf6hB-00080s-NO for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 14:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jf6hB-0003fy-KM for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 14:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 May 2020 18:59: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.159086508414064 (code B ref 41321); Sat, 30 May 2020 18:59:01 +0000 Original-Received: (at 41321) by debbugs.gnu.org; 30 May 2020 18:58:04 +0000 Original-Received: from localhost ([127.0.0.1]:59225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf6gF-0003el-Qc for submit@debbugs.gnu.org; Sat, 30 May 2020 14:58:04 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf6gD-0003eG-C6 for 41321@debbugs.gnu.org; Sat, 30 May 2020 14:58:01 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C6CD61600D9; Sat, 30 May 2020 11:57:55 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ie4Hh_ZhvwhL; Sat, 30 May 2020 11:57:54 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5F2C21600DA; Sat, 30 May 2020 11:57:54 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BMS04QTJwjjY; Sat, 30 May 2020 11:57:54 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3FF961600D9; Sat, 30 May 2020 11:57:54 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:181256 Archived-At: On 5/30/20 11:39 AM, Pip Cet wrote: > I fail to see the problem > with my patch. mark_maybe_object is unnecessary on x86 > --with-wide-int, and mark_maybe_pointer (off + lispsym) is unnecessary > on platforms that don't rip apart our precious Lisp_Objects. The other > call to mark_maybe_pointer isn't skipped. The other alloc.c code is inconsistent with respect to the live_*_holding versus live_*_p functions. There is no live_float_holding function, which means we're relying entirely on mark_maybe_object to find roots that contain Lisp floats. So it's dicey that your earlier (Bug#41321#299) patch skips the call to mark_maybe_object on some platforms. I've been working on improving this for master.