From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38912: 27.0.60; PDumper meets segmentation fault when evil is loaded Date: Sat, 04 Jan 2020 11:17:54 +0200 Message-ID: <83ftgvh96l.fsf@gnu.org> References: <333553AC-68DE-4F1C-9586-5A13248AD6DD@icloud.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="87216"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38912@debbugs.gnu.org To: NiwTinray Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 04 10:19:11 2020 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 1infaR-000MTA-3p for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 10:19:11 +0100 Original-Received: from localhost ([::1]:60882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1infaP-00083y-EO for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 04:19:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1infaJ-00083q-60 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 04:19:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1infaI-0006OD-3R for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 04:19:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36489) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1infaH-0006N5-Ut for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 04:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1infaH-0008LT-Po for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 04:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2020 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38912 X-GNU-PR-Package: emacs Original-Received: via spool by 38912-submit@debbugs.gnu.org id=B38912.157812948232011 (code B ref 38912); Sat, 04 Jan 2020 09:19:01 +0000 Original-Received: (at 38912) by debbugs.gnu.org; 4 Jan 2020 09:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:42462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1infZJ-0008K8-Oi for submit@debbugs.gnu.org; Sat, 04 Jan 2020 04:18:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1infZI-0008Jl-7t for 38912@debbugs.gnu.org; Sat, 04 Jan 2020 04:18:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1infZB-0001Vt-Fw; Sat, 04 Jan 2020 04:17:53 -0500 Original-Received: from [176.228.60.248] (port=3581 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1infZA-0000x8-Ku; Sat, 04 Jan 2020 04:17:53 -0500 In-reply-to: <333553AC-68DE-4F1C-9586-5A13248AD6DD@icloud.com> (bug-gnu-emacs@gnu.org) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:174154 Archived-At: > Date: Sat, 4 Jan 2020 09:49:14 +0800 > From: NiwTinray via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I was testing the new portable dumper with my personal Emacs. When I > loaded my dumped file, Emacs crashed on segmentation fault. > After tracking down the issue, I found the issues is caused by the > undo-tree mode in package "evil". > To reproduce the bug, try this: > > emacs --batch -f package-initialize --eval='(use-package evil :ensure > t)' --eval='(dump-emacs-portable "test.pdmp")' && emacs --dump-file > test.pdmp I cannot reproduce this from "emacs -Q" because 'use-package' is not a known function. Can you show a recipe starting from "emacs -Q", please? Also, does this happen if you add -Q to the Emacs invocation after dumping? If not, there's more detail missing in your report: the customizations in your init files. In addition, please also show the Lisp-level backtrace from the crash, by using the xbacktrace command (it is defined in the src/.gdbinit file in the Emacs source tree). > Backtrace on crash: > #0 0x00000000004f1240 in Fcurrent_active_maps (olp=olp@entry=0x30, position=position@entry=0x0) at keymap.c:1541 GDB usually displays the fatal signal that killed the program; can you show that part as well? Thanks.