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: Thu, 15 Apr 2021 18:47:31 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

Binutils triggered segfault:

$ temacs.exe -Q
Warning: Lisp directory 'd:/Emacs/configurations/msys2-brake-test/src/lisp': No such file or directory
Cannot open load file: No such file or directory, loadup.el

(gdb) p &stack_bottom_variable
$1 = (void **) 0xbd3cbff6c8

Emacs configure logs using binutils 2.35 and 2.36 both have --enable-lto and nothing in them seems to be any different between each other...

Master crash:

I went for bisecting hoping to find that simple localized change. It was not my intention to tease you, at least not since the second letter. ;-) I can grab as many full backtraces or do other tests as needed. It's just that the GDB session looked completely fine to me in my admittedly limited understanding of low level Emacs internals. The crash happens when bootstrap-emacs is doing dumping(same place as the other problem). Here's a couple backtraces:

https://gist.githubusercontent.com/sg2002/32ea64634a89e7b407f50e29b4ab5f7e/raw/aa0bcc517e1a4de733a9dc2678f8c45daefb95f9/gistfile1.txt

https://gist.githubusercontent.com/sg2002/d9cfaf1268973b20d66d79f5df575498/raw/06091019c1d30b863e6000fb642e09316d82a344/gistfile1.txt

As for whether this is even repeatable with the original MinGW, I'd say probably not, but I'm going to test that and report results later.




reply via email to

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