From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#49268: 28.0.50;
 emacs could not load dump file not built for this Emacs  executable
Date: Tue, 29 Jun 2021 16:38:48 +0300
Message-ID: <83eeckoknr.fsf@gnu.org>
References: <5B45EE41-FB5B-4B0C-A596-EA9436575850@gmail.com>
 <83pmw4opr3.fsf@gnu.org> <C87C37AB-AA02-47E3-97BC-B61730372931@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="33742"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 49268@debbugs.gnu.org
To: Bryan O'Brien <bryan.m.obrien@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 29 15:39:21 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lyDxR-0008bw-GN
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 15:39:21 +0200
Original-Received: from localhost ([::1]:46306 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lyDxQ-0002oR-Bl
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 09:39:20 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40846)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lyDx9-0002mi-BE
 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 09:39:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:42409)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lyDx9-0003ma-1M
 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 09:39:03 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lyDx8-0005f5-TW
 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 09:39:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 29 Jun 2021 13:39:02 +0000
Resent-Message-ID: <handler.49268.B49268.162497393721742@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49268
X-GNU-PR-Package: emacs
Original-Received: via spool by 49268-submit@debbugs.gnu.org id=B49268.162497393721742
 (code B ref 49268); Tue, 29 Jun 2021 13:39:02 +0000
Original-Received: (at 49268) by debbugs.gnu.org; 29 Jun 2021 13:38:57 +0000
Original-Received: from localhost ([127.0.0.1]:53954 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lyDx2-0005eb-QB
 for submit@debbugs.gnu.org; Tue, 29 Jun 2021 09:38:57 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:43056)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1lyDx1-0005eP-HQ
 for 49268@debbugs.gnu.org; Tue, 29 Jun 2021 09:38:55 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53926)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@gnu.org>)
 id 1lyDww-0003fK-3K; Tue, 29 Jun 2021 09:38:50 -0400
Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3199
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1lyDwv-0002YN-Nz; Tue, 29 Jun 2021 09:38:50 -0400
In-Reply-To: <C87C37AB-AA02-47E3-97BC-B61730372931@gmail.com> (message from
 Bryan O'Brien on Tue, 29 Jun 2021 07:43:07 -0500)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:209102
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/209102>

[Please keep the bug address on the CC list.]

> From: Bryan O'Brien <bryan.m.obrien@gmail.com>
> Date: Tue, 29 Jun 2021 07:43:07 -0500
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> I’m not completely certain.
> 
> > find . -name '*.pdmp' -exec ls -ls {} \;
> pdmp
> /Users/bobrien/src/emacs/src/emacs.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.3.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.2.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.4.pdmp
> /Users/bobrien/src/emacs/src/bootstrap-emacs.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.1.pdmp

Look at their time stamps, and compare with that of the Emacs
executable.

Also, I don't understand why you see the .1, .2, .3, etc. suffixes
there: they aren't supposed to be in the installed directories.

> I assume src/emacs.pdmp is loaded when I execute 
> 	./src/emacs -Q (same directory).
> 
> Is it also safe to assume that when I execute 
> 	./nextstep/Emacs.app/Contents/MacOS/Emacs -Q 
> That Emacs is loading the Emacs.pdmp file in the same directory?

Yes, if Emacs finds a .pdmp file right next to its executable, it
tries to use it.

> I believe, during the make install, somehow the Emacs.pdmp gets copied into the libexec directory, but an invalid Emacs.pdmp stays in the parent directory of libexec.

Yes, and that invalid (old) file should be removed by hand.