|
From: | Paul Eggert |
Subject: | Re: building/using address-sanitizer-enabled emacs? |
Date: | Wed, 17 May 2017 13:05:29 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/17/2017 09:06 AM, Eli Zaretskii wrote:
I think we might be talking about 2 different reports. I meant the one here: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00246.html
Ah, that came after his original report <http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00182.html>, which is the one I was referring to. I reproduced the later problem, and as near as I can make it out it is due to an incompatibility between vfork and -fsanitize=address. My guess is that the vforked child corrupts the parent's shadow memory. I worked around the problem by installing the attached patch into Emacs.
0001-Work-around-AddressSanitizer-bug-with-vfork.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |