emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexec dumping results in "Segmentation fault" on Windows Msys2


From: Nikolay Kudryavtsev
Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2
Date: Fri, 16 Apr 2021 19:57:57 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]