From: Eli Zaretskii <eliz@gnu.org>
To: Wilhelm Kirschbaum <wkirschbaum@gmail.com>
Cc: 49864@debbugs.gnu.org
Subject: bug#49864: 28.0.50; Fails to start after "make install"
Date: Thu, 05 Aug 2021 16:33:53 +0300 [thread overview]
Message-ID: <83im0kj9ry.fsf@gnu.org> (raw)
In-Reply-To: <CAOS0-34Q4ZviMRzceCj12LT4UFh-vpYbqM9XPtUxrscKYeGJRw@mail.gmail.com> (message from Wilhelm Kirschbaum on Thu, 5 Aug 2021 14:44:00 +0200)
> From: Wilhelm Kirschbaum <wkirschbaum@gmail.com>
> Date: Thu, 5 Aug 2021 14:44:00 +0200
> Cc: 49864@debbugs.gnu.org
>
> 5321 if (file_access_p (fndata, F_OK))
> (gdb) p fndata
> $5 = <optimized out>
> (gdb) next
Here, instead of "next", please say "step" to step into
file_access_p. Then you should see something like this:
(gdb) step
file_access_p (file=0x67e768c "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../lib/emacs/28.0.50/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln", amode=0) at fileio.c:162
162 if (faccessat (AT_FDCWD, file, amode, AT_EACCESS) == 0)
That shows the file name it is trying to access in the list of
arguments of the function. As far as I understand from the other
information you posted, that file does exist on your system, is that
right? Because you said the file below does exist:
/usr/local/lib/emacs/28.0.50/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln
But for some reason, the faccessat call fails. We need to understand
why.
> (gdb) p errno
> 'errno' has unknown type; cast it to its declared type
To work around the problem with errno's type, try this:
(gdb) p (int)errno
The value of errno will hopefully tell us what's wrong. I'm guessing
it's some problem with accessing those files, perhaps related to the
value of umask you reported.
Thanks.
next prev parent reply other threads:[~2021-08-05 13:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 5:42 bug#49864: 28.0.50; Fails to start after "make install" Wilhelm Kirschbaum
2021-08-04 11:56 ` Eli Zaretskii
2021-08-05 6:42 ` Wilhelm Kirschbaum
2021-08-05 6:50 ` Eli Zaretskii
2021-08-05 7:02 ` Wilhelm Kirschbaum
2021-08-05 7:09 ` Eli Zaretskii
2021-08-05 7:14 ` Wilhelm Kirschbaum
2021-08-05 7:58 ` Eli Zaretskii
2021-08-05 12:44 ` Wilhelm Kirschbaum
2021-08-05 13:33 ` Eli Zaretskii [this message]
2021-08-05 14:04 ` Eli Zaretskii
2021-08-05 15:21 ` Wilhelm Kirschbaum
2021-08-05 16:29 ` Eli Zaretskii
2021-08-05 18:27 ` Wilhelm Kirschbaum
2021-08-06 6:48 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83im0kj9ry.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=49864@debbugs.gnu.org \
--cc=wkirschbaum@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).