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 17:18:38 +0200 Message-ID: <837eer5twx.fsf@gnu.org> References: <83munn6dx9.fsf@gnu.org> <83imyb66dn.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="120938"; 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 16:20:32 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 1gnPl2-000VD0-Cd for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jan 2019 16:20:32 +0100 Original-Received: from localhost ([127.0.0.1]:60679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnPkw-00061z-2S for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jan 2019 10:20:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnPkb-0005t3-Os for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 10:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnPkY-0004E4-Ss for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 10:20:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnPkY-0004CO-Aa for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 10:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnPkX-0000uI-Uw for bug-gnu-emacs@gnu.org; Sat, 26 Jan 2019 10:20: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 15:20:01 +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.15485159443300 (code B ref 34206); Sat, 26 Jan 2019 15:20:01 +0000 Original-Received: (at 34206) by debbugs.gnu.org; 26 Jan 2019 15:19:04 +0000 Original-Received: from localhost ([127.0.0.1]:46704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnPjb-0000rA-Su for submit@debbugs.gnu.org; Sat, 26 Jan 2019 10:19:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnPja-0000qe-DL for 34206@debbugs.gnu.org; Sat, 26 Jan 2019 10:19:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnPjV-0003X0-7e; Sat, 26 Jan 2019 10:18:57 -0500 Original-Received: from [176.228.60.248] (port=3031 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gnPjU-0007XV-QR; Sat, 26 Jan 2019 10:18:57 -0500 In-reply-to: (message from Compro Prasad on Sat, 26 Jan 2019 20:35:41 +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:154800 Archived-At: > From: Compro Prasad > Date: Sat, 26 Jan 2019 20:35:41 +0530 > Cc: 34206@debbugs.gnu.org > > > > 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. > Spacemacs is just another Emacs configuration. It doesn't mess with > the official Emacs source. This doesn't require any additional build > steps. But AFAITCT, it dumps Emacs from a separate file, not from loadup.el, right? And that separate file does something before dumping in addition to what loadup.el does, right? These extras is what confuses me. Granted, when I build Emacs from the master branch, it doesn't segfault on startup. > > Yes, dump-emacs-portable can only be invoked in batch mode. > Thanks for the information. > > Can you please give a simple example of the best way to dump Emacs and > reload the dump file? The only way I know of is to clone the Emacs Git's master branch and build it as described in INSTALL.REPO. > I would also appreciate any links to the Emacs info manual. The portable dumping is described in the ELisp manual in the master branch, see the node "Building Emacs" there. There's also some information in the Emacs manual, where the command-line options are described, and in NEWS.