From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2 Date: Fri, 16 Apr 2021 22:41:21 +0300 Message-ID: <83o8eevwym.fsf@gnu.org> References: <83im52ed8b.fsf@gnu.org> <989be2e0-a090-309b-58cb-8064c6bd5aee@gmail.com> <83y2dycmgr.fsf@gnu.org> <835z0oyrct.fsf@gnu.org> <83eefby1hy.fsf@gnu.org> <64f14133-a647-7406-4908-671258038ae2@gmail.com> <834kg7xqrm.fsf@gnu.org> <79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13070"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Nikolay Kudryavtsev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 16 21:42:42 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXUMU-0003KX-Mr for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Apr 2021 21:42:42 +0200 Original-Received: from localhost ([::1]:48498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXUMT-0005M1-Ob for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Apr 2021 15:42:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXULG-0004pf-Lz for emacs-devel@gnu.org; Fri, 16 Apr 2021 15:41:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47266) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXULF-00038t-Vo; Fri, 16 Apr 2021 15:41:25 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2746 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lXULE-0001EL-QC; Fri, 16 Apr 2021 15:41:25 -0400 In-Reply-To: <79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com> (message from Nikolay Kudryavtsev on Fri, 16 Apr 2021 19:57:57 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268121 Archived-At: > From: Nikolay Kudryavtsev > Cc: emacs-devel@gnu.org > Date: Fri, 16 Apr 2021 19:57:57 +0300 > > 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. This seems to confirm my guess that ASLR is at play here. So please try those two linker switches I mentioned in my previous message, they could fix the problem.