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#34206: Pdumper giving a segfault Date: Sat, 26 Jan 2019 12:49:24 +0200 Message-ID: <83imyb66dn.fsf@gnu.org> References: <83munn6dx9.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="55683"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34206@debbugs.gnu.org To: Compro Prasad Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 26 11:50:10 2019 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnLXO-000EMK-G5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jan 2019 11:50:10 +0100 Original-Received: from localhost ([127.0.0.1]:57822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnLXN-0000rO-6r for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jan 2019 05:50:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnLXH-0000rJ-FP for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 05:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnLXG-00023m-LM for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 05:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnLXG-00022y-I5 for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 05:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnLXG-0000Ob-Ca for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 05:50:02 -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, 26 Jan 2019 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34206 X-GNU-PR-Package: emacs Original-Received: via spool by 34206-submit@debbugs.gnu.org id=B34206.15484997941503 (code B ref 34206); Sat, 26 Jan 2019 10:50:02 +0000 Original-Received: (at 34206) by debbugs.gnu.org; 26 Jan 2019 10:49:54 +0000 Original-Received: from localhost ([127.0.0.1]:45844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLX8-0000OB-64 for submit@debbugs.gnu.org; Sat, 26 Jan 2019 05:49:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnLX5-0000Nt-UL for 34206@debbugs.gnu.org; Sat, 26 Jan 2019 05:49:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnLWy-0001nN-P4; Sat, 26 Jan 2019 05:49:46 -0500 Original-Received: from [176.228.60.248] (port=1233 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gnLWy-0000Vx-Cg; Sat, 26 Jan 2019 05:49:44 -0500 In-reply-to: (message from Compro Prasad on Sat, 26 Jan 2019 14:33:57 +0530) 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:154791 Archived-At: > From: Compro Prasad > Date: Sat, 26 Jan 2019 14:33:57 +0530 > Cc: 34206@debbugs.gnu.org > > > > GDB log: https://pastebin.com/2uMPHCRV > > > > This seems to indicate your configuration is quite complex, and I > > cannot easily understand what are you doing that is different from > > the normal build and "emacs -Q" to start Emacs. In particular, this: > > > > $ gdb ./src/emacs-27.0.50.11 > > Reading symbols from ./src/emacs-27.0.50.11...done. > > (gdb) r --dump-file="/home/compro/.emacs.d/.cache/dumps/spacemacs.pdmp" > > Starting program: /home/compro/Downloads/git.savannah.gnu.org/git/emacs/src/emacs-27.0.50.11 --dump-file="/home/compro/.emacs.d/.cache/dumps/spacemacs.pdmp" > > > > indicates that your pdump file is spacemacs.pdmp, but I don't know how > > that file was produced, and I cannot easily understand what is > > different in your build procedure from the normal upstream build of > > Emacs. > I don't know if you can help me but I have some more information on > how the dump might be produced. > > https://github.com/Compro-Prasad/spacemacs/blob/pdumper-is-in-master/core/core-dumper.el#L68 I don't think this helps much, as I don't really know anything about spacemacs and its build procedures. > I went a bit further and tried executing the following using `C-x C-e` > while running spacemacs: > > (dump-emacs-portable "~/test.pdmp") > > It gave me: eval: unsupported object type in dump: window configuration > > Is this a bug or I am supposed to run Emacs in batch mode while dumping? Yes, dump-emacs-portable can only be invoked in batch mode.