unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2
Date: Fri, 16 Apr 2021 19:57:57 +0300	[thread overview]
Message-ID: <79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com> (raw)
In-Reply-To: <834kg7xqrm.fsf@gnu.org>

All of the following was done on the main branch, revision cddf85d256. 
With binutils 2.36, so the segfault is triggered here. I can redo all of 
this on any other revision if you want.

load_path_check:

Thread 1 hit Breakpoint 1, load_path_check (lpath=...)
     at D:/Emacs/source/repo/src/lread.c:4469
4469                dir_warning ("Lisp directory", XCAR (path_tail));
(gdb) p lpath
$1 = {i = 0x1f8b61c1b43}
(gdb) backtrace
#0  load_path_check (lpath=...) at D:/Emacs/source/repo/src/lread.c:4469
#1  0x00007ff654870215 in init_lread ()
     at D:/Emacs/source/repo/src/lread.c:4668
#2  0x00007ff6546a5a06 in main (argc=2, argv=0x1f8b62517b0)
     at D:/Emacs/source/repo/src/emacs.c:1778

Temacs p current_thread: 0x40095df20.

Emacs.exe does not exist("mv -f emacs.exe bootstrap-emacs.exe" gets done 
just before it tries to compile those elisp files and crashes), but for 
bootstrap-emacs.exe it's 0xffea01a5df20p.

I could not find any change in those values after running that a few times.




  reply	other threads:[~2021-04-16 16:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-03 20:20 Unexec dumping results in "Segmentation fault" on Windows Msys2 Nikolay Kudryavtsev
2021-04-04  7:11 ` Eli Zaretskii
2021-04-04  7:55   ` Eli Zaretskii
2021-04-04  8:41   ` Nikolay Kudryavtsev
2021-04-04 11:34     ` Eli Zaretskii
2021-04-14 22:11       ` Nikolay Kudryavtsev
2021-04-15  6:49         ` Eli Zaretskii
2021-04-15 13:07           ` Camm Maguire
2021-04-15 13:49             ` Eli Zaretskii
2021-04-15 15:47           ` Nikolay Kudryavtsev
2021-04-15 16:08             ` Eli Zaretskii
2021-04-15 19:17               ` Nikolay Kudryavtsev
2021-04-15 19:59                 ` Eli Zaretskii
2021-04-16 16:57                   ` Nikolay Kudryavtsev [this message]
2021-04-16 19:41                     ` Eli Zaretskii
2021-04-21 16:33                       ` Nikolay Kudryavtsev
2021-04-21 17:41                         ` Eli Zaretskii
2021-04-21 18:19                           ` Nikolay Kudryavtsev
2021-04-22 14:25                             ` Eli Zaretskii
2021-04-29 19:17                               ` Nikolay Kudryavtsev
2021-04-30 11:24                                 ` Eli Zaretskii
2021-05-02  9:43                                   ` Nikolay Kudryavtsev
2021-05-02 10:17                                     ` Eli Zaretskii
2021-04-22 17:22                           ` Eli Zaretskii
2021-04-22 18:59                             ` Nikolay Kudryavtsev
2021-04-22 19:13                               ` Eli Zaretskii
2021-04-22 19:26                                 ` Nikolay Kudryavtsev
2021-04-16  7:45                 ` Eli Zaretskii
2021-04-15 16:12             ` Eli Zaretskii
2021-04-15 19:45               ` Nikolay Kudryavtsev

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=79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com \
    --to=nikolay.kudryavtsev@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 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).