From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.bugs Subject: bug#26932: Found the triggering behaviour Date: Mon, 20 Jan 2020 15:11:41 +0000 (GMT) Message-ID: References: <87ftjjixua.fsf@gnus.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81503"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Cc: 26932@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 20 16:15: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 1itYlh-000KzI-04 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jan 2020 16:15:09 +0100 Original-Received: from localhost ([::1]:38466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itYle-0004OQ-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jan 2020 10:15:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itYih-0000W3-6k for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 10:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itYig-0008Q8-3K for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 10:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itYig-0008Q1-04 for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 10:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itYif-0007DQ-RC for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 10:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vivek Dasmohapatra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jan 2020 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26932 X-GNU-PR-Package: emacs Original-Received: via spool by 26932-submit@debbugs.gnu.org id=B26932.157953310627710 (code B ref 26932); Mon, 20 Jan 2020 15:12:01 +0000 Original-Received: (at 26932) by debbugs.gnu.org; 20 Jan 2020 15:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:45825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itYiP-0007Cs-TT for submit@debbugs.gnu.org; Mon, 20 Jan 2020 10:11:46 -0500 Original-Received: from ceres.etla.org ([85.119.82.193]:41055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itYiN-0007Ci-WF for 26932@debbugs.gnu.org; Mon, 20 Jan 2020 10:11:45 -0500 Original-Received: from yaffle.pepperfish.net ([88.99.213.221] helo=[10.112.101.20]) by ceres.etla.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1itYiM-0000Ml-3l; Mon, 20 Jan 2020 15:11:42 +0000 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: <87ftjjixua.fsf@gnus.org> X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "ceres.etla.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > If I understand correctly, the external lui package set buffer-undo-list > to something invalid, and this led Emacs to segfault when gc-ing? Not invalid as such - entries were removed from the list while it was "in flight" through a mapc/mapcar and a double free (or similar) occurred. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174922 Archived-At: > If I understand correctly, the external lui package set buffer-undo-list > to something invalid, and this led Emacs to segfault when gc-ing? Not invalid as such - entries were removed from the list while it was "in flight" through a mapc/mapcar and a double free (or similar) occurred. > Was there any further work done here, or a reproducible test case > written? No test case was written, the code for lui was changed to operate on a copy of the undo list, then assign that back to the original head variable instead.