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: Eli Zaretskii
Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2
Date: Fri, 16 Apr 2021 10:45:33 +0300

> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 15 Apr 2021 22:17:30 +0300
> 
> Folder d:/Emacs/configurations/msys2-brake-test/src/lisp does not exist.
> 
> (gdb) p current_thread
> $1 = (struct thread_state *) 0xffe868d4df20
> (gdb) p current_thread->m_stack_bottom
> Cannot access memory at address 0xffe868d4df68

A stub in the dark: add the following switches to the temacs link
command line, then rebuild temacs, redump emacs, and see if the
problems go away:

    -Wl,-disable-high-entropy-va -Wl,-disable-reloc-section

These disable the Windows ASLR, which could interfere with the
assumption that addresses that are recorded at dump time stay the same
when the dumped Emacs is restarted.



reply via email to

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