From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Mon, 26 Feb 2018 15:10:39 +0000 Message-ID: <87efl7vlao.fsf@russet.org.uk> References: <20180215224653.GA36004@breton.holly.idiocy.org> <87sh9uf19h.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519657813 18671 195.159.176.226 (26 Feb 2018 15:10:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 15:10:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 26 16:10:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqKPk-0003zQ-3A for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2018 16:10:04 +0100 Original-Received: from localhost ([::1]:59677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKRk-0007jP-Ng for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2018 10:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKR7-0007j3-Vo for emacs-devel@gnu.org; Mon, 26 Feb 2018 10:11:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqKR2-0004df-T9 for emacs-devel@gnu.org; Mon, 26 Feb 2018 10:11:29 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:43479) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqKR2-0004Dm-Jm for emacs-devel@gnu.org; Mon, 26 Feb 2018 10:11:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tSSo//lfGgM0Iu0RlrxSyTYJchMMu2NRCE6BYBT/GEs=; b=OVjAfXkrdsgjAmwfnA6HDLPSM nVh1ZJmanCI8NuyLrb8QmW1oSvAT8MQB5o+XCVoMvCDGHU52BCmbHx9WqwVB+CiaRGqtLLpNXqf1Y f/BtekLZJ0plrUERmcGBZNGJz4jmbFnRhZfqzkz+S0Bs0lABjzsxnKQkwnjM9X0+7kUQlGfTy+Pwi dTfe6KaB+9wKRiOMdYhRgzAu8/elJBjKQxFDe91avZyq4RoL86Wp+bxfYxi6R2ojU6g8E54yLkYEe cZ72n75HMSUu/69e86hw6tp3sZGT1lRAqNzT5afE9/d8FO4BgfkJhhEnwBf9Fc2Y6zrxaH7DKTnXv 4pyPGuyZw==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:37412 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1eqKQI-00381c-O5; Mon, 26 Feb 2018 15:10:38 +0000 In-Reply-To: (Daniel Colascione's message of "Sun, 25 Feb 2018 22:23:43 -0800") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223054 Archived-At: Daniel Colascione writes: > On 02/21/2018 02:04 PM, Phillip Lord wrote: >> Anyway, at the moment, I can't get it to work. Calling this: >> >> (dump-emacs-portable "~/scratch/test.pdmp") >> >> after loading my .emacs works (early versions crashed, so something's >> been fixed there). However, trying to use this: >> >> ./src/emacs -q --dump-file ~/scratch/test.pdmp >> emacs: could not load dump file "/home/phillord/scratch/test.pdmp": not a dump file > > I'm able to re-dump now. Can you try it again? Dumping from ./src/emacs -q gives me this in *Messages* after the dump (although the call to dump-emacs-portable returns without error). eval: unsupported object type in dump: SAVE_POINTER and this on trying to reload with ./src/emacs -q --dump-file ~/scratch/test.pdmp Gives: dump file is result of failed dump attempt on the command line. On an emacs started with ./src/emacs and running the various stuff in my .emacs, I get this: eval: unsupported object type in dump: window configuration Likewise, cannot restart with --dump-file. This is running on Ubuntu 16.04.3, 64 bit. Phil