all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: 34707@debbugs.gnu.org
Subject: bug#34707: Failure to find the associated pdump file
Date: Sat, 02 Mar 2019 09:11:06 +0200	[thread overview]
Message-ID: <83pnr9hhth.fsf@gnu.org> (raw)
In-Reply-To: <E1gzvJa-0000cM-4S@fencepost.gnu.org> (message from Richard Stallman on Fri, 01 Mar 2019 22:27:54 -0500)

> From: Richard Stallman <rms@gnu.org>
> Date: Fri, 01 Mar 2019 22:27:54 -0500
> 
> I have a symlink from bin/emacs to emacs-git/build-feb-24/src/emacs.
> It contains master from Feb 24, built.
> 
> When I run that by typing `emacs', with some other directory current,
> it crashes: it gets error and exits when it tries to run
> tty-set-up-initial-frame-faces, from init_display.
> That is supposed to have been set up by associated Lisp files
> which have not been run.
> 
> I think the cause is that Emacs failed to find the pdump file.
> 
>     Apparently that failure gives no error message!
>     It must give an error message, since you can't get anything
>     like what you want if you don't get the pdump file.

It is supposed to give an error message saying that it could not load
the dump file because it was not built for this Emacs executable.
Could you please step with a debugger through the function load_pdump,
called from the 'main' function, and see why that doesn't happen for
you?

> There is an annoying secondary problem: it exits leaving the tty set
> up for Emacs (no echo).  It ought to restore the outside-Emacs
> terminal settings before exiting.

If Emacs already set up the terminal, 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.  So I don't think I have a
clear idea of what happens on your system.

> The reason it fails to find the pdump file
> is that it fails to implement this case
> 
>     If the executable file is a symbolic link, the program can find the
>     link target and use its containing directory instead of the link's
>     containing directory.

That is correct (and we will have to implement that before Emacs 27
goes to print), but I think there's something else at work in your
case.  Stepping through the code with a debugger should clarify the
situation.

Also, can you show the details of the crash, like the signal and the
C-level backtrace?





  reply	other threads:[~2019-03-02  7:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-02  3:27 bug#34707: Failure to find the associated pdump file Richard Stallman
2019-03-02  7:11 ` Eli Zaretskii [this message]
2019-03-03  2:58   ` Richard Stallman
2019-03-03  3:41     ` Eli Zaretskii
2019-03-03 17:08       ` Eli Zaretskii
2019-03-04  3:26       ` Richard Stallman
2019-03-04  3:36         ` Eli Zaretskii
2019-03-03 17:06     ` Eli Zaretskii
2019-03-03  2:58   ` Richard Stallman
2019-03-03  3:45     ` Eli Zaretskii
2019-03-04  3:28       ` Richard Stallman
2019-06-17 18:56 ` Lars Ingebrigtsen
2019-06-17 19:23   ` Eli Zaretskii
2019-06-18  3:07   ` Richard Stallman
2019-06-28  6:42     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pnr9hhth.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=34707@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.