From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#34707: Failure to find the associated pdump file Date: Sat, 02 Mar 2019 21:58:54 -0500 Message-ID: References: <83pnr9hhth.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="39305"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34707@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 03 04:00:13 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 1h0HML-000A6i-H4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2019 04:00:13 +0100 Original-Received: from localhost ([127.0.0.1]:33438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0HMK-00074B-CW for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Mar 2019 22:00:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0HMB-000735-P7 for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 22:00:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0HMA-0001tU-Tj for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 22:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0HMA-0001tF-Px for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 22:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0HMA-0005bZ-Lo for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 22:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2019 03:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34707 X-GNU-PR-Package: emacs Original-Received: via spool by 34707-submit@debbugs.gnu.org id=B34707.155158194221443 (code B ref 34707); Sun, 03 Mar 2019 03:00:02 +0000 Original-Received: (at 34707) by debbugs.gnu.org; 3 Mar 2019 02:59:02 +0000 Original-Received: from localhost ([127.0.0.1]:58018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0HLB-0005Ze-Ue for submit@debbugs.gnu.org; Sat, 02 Mar 2019 21:59:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0HLA-0005ZC-3K for 34707@debbugs.gnu.org; Sat, 02 Mar 2019 21:59:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0HL4-0000Vg-MA for 34707@debbugs.gnu.org; Sat, 02 Mar 2019 21:58:54 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1h0HL4-0007EK-G9; Sat, 02 Mar 2019 21:58:54 -0500 In-Reply-To: <83pnr9hhth.fsf@gnu.org> (message from Eli Zaretskii on Sat, 02 Mar 2019 09:11:06 +0200) 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:155983 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] load_pdump returns to main with PDUMPER_LOAD_FILE_NOT_FOUND. I do not see any code there that ought to exit with an error message. If there is some, where is it? So main continues and tries to initialize Emacs. Don't we want this? #ifdef HAVE_PDUMPER if (attempt_load_pdump) { load_pdump (argc, argv); fatal ("cannot find portable dumper memory file"); } #endif However, it should show the file name it looked for. Why is it useful for load_pdump return if it fails? Regarding the secondary bug: > If Emacs already set up the terminal, It has not done so yet. then I think it did find the > pdump file and loaded it successfully, because loading the pdump file > happens before the call to init_display. main continues and calls init_display. That gets to init_display_interactive, which calls init_tty at line 6138. That turns off echo, right? Then it calls init_faces_initial at line 6193, which tries to call tty-set-up-initial-frame-faces. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)