Subject: bug#19380: 24.4.51; Segfault in bootstrap on Windows mingw64

From: Andy Moreton <[email-masked]>
Date: Mon, 15 Dec 2014 14:11:11 +0000

On Sun 14 Dec 2014, Andy Moreton wrote:

> On Sun 14 Dec 2014, Eli Zaretskii wrote:
>
>>> Date: Sun, 14 Dec 2014 11:53:32 +0000
>>> From: Andy Moreton <[email-masked]>
>>> 
>>> During bootstap from a clean checkout of master, several lisp files
>>> result in a segfault from emacs when they are byte compiled. This seems
>>> to happen with most of the files from lisp/cedet/srecode.
>>> 
>>> This is easily reproduced by:
>>>   - build emacs from master with mingw64=20
>>>   - run "emacs -Q"
>>>   - open lisp/cedet/srecode/cpp.el
>>>   - Use "Byte compile this file" from the menu.
>>> 
> [snipped backtrace etc]
>
>> I suspect aeeaf08 as the culprit.  Can you check?
>
> Your suspicions appear to be correct.
>
> Building from a clean checkout, aeeaf08 ("Fixes: debbugs:19161") results
> in a segfault during bootstrap when byte compiling lisp files.
>
> Building from a clean check out of c6f03ed ("Fix a problem in url.el
> without GnuTLS") completes without error.

The changes in e2815bf ("Correct same_at_end when restoring window
points") seems to have fixed this problem.

    AndyM