Subject: Windows build crashes compiling macroexp.el during bootstrap of r109394

From: Juanma Barranquero <[email-masked]>
Date: Thu, 2 Aug 2012 11:42:57 +0200

Package: emacs
Version: 24.1.50
X-Debbugs-CC: [email-masked]

Please, send bug reports to the bug address so they get filed and processed.

  J

---------- Forwarded message ----------
From: Andy Moreton <[email-masked]>
Date: Thu, Aug 2, 2012 at 11:06 AM
Subject: Windows build crashes compiling macroexp.el during bootstrap of r109394
To: [email-masked]

Hi,

The Windows build bootstrap fails again today, but this time it's a
crash in compiling macroexp.el:

Saving file c:/emacs/src/emacs/trunk/lisp/loaddefs.el... Loading
c:/emacs/src/emacs/trunk/lisp/vc/vc-bzr.el (source)... Wrote
c:/emacs/src/emacs/trunk/lisp/loaddefs.el (No changes need to be saved)
for el in C:/emacs/src/emacs/trunk/lisp/emacs-lisp/macroexp.el
C:/emacs/src/emacs/trunk/lisp/emacs-lisp/cconv.el
C:/emacs/src/emacs/trunk/lisp/emacs-lisp/byte-opt.el
C:/emacs/src/emacs/trunk/lisp/emacs-lisp/bytecomp.el
C:/emacs/src/emacs/trunk/lisp/emacs-lisp/autoload.el; do \ echo
Compiling $el; \ "../src/oo/i386/emacs.exe" -batch --no-site-file
--no-site-lisp -l loaddefs --eval "(setq max-lisp-eval-depth 2200)" -f
batch-byte-compile-if-not-done $el; \ done Compiling
C:/emacs/src/emacs/trunk/lisp/emacs-lisp/macroexp.el

Attaching gdb gives the following backtrace:

Attaching to process 4816
[New Thread 4816.0x14a8]
[New Thread 4816.0x1504]
Reading symbols from
/cygdrive/c/emacs/src/emacs/trunk/src/oo/i386/emacs.exe...d
   one.
DISPLAY = ajm-desktop:0
TERM = xterm
Breakpoint 1 at 0x114ebc2: file w32fns.c, line 7168.
Temporary breakpoint 2 at 0x114f278: file sysdep.c, line 853.
(gdb) bt
#0  0x7c90120f in ntdll!DbgUiConnectToDbg () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c952119 in ntdll!KiIntSystemCall () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x00ffffd0 in ?? ()
#6  0x00000000 in ?? ()

Lisp Backtrace:
"let" (0x825cdc)
"cond" (0x825e2c)
"backquote-process" (0x825f20)
"setq" (0x82617c)
"while" (0x8262dc)
"let" (0x8264ac)
"cond" (0x8265fc)
"backquote-process" (0x8266f0)
"setq" (0x82694c)
"while" (0x826aac)
"let" (0x826c7c)
"cond" (0x826dcc)
"backquote-process" (0x826ec0)
"cdr" (0x8270cc)
0x38ce350 Lisp type 6
"`" (0x82739c)
"let" (0x82756c)
0x3b2f0c8 Lisp type 6
"macroexp--accumulate" (0x82785c)
"macroexp--all-forms" (0x827950)
"macroexp--cons" (0x827bec)
"macroexp--cons" (0x827d6c)
"let" (0x827f2c)
"cond" (0x82807c)
"let*" (0x8281fc)
"if" (0x82831c)
"let*" (0x82849c)
"if" (0x8285bc)
"cond" (0x82870c)
"let*" (0x82888c)
"if" (0x8289ac)
"let*" (0x828b2c)
"pcase" (0x828c1c)
"if" (0x828d6c)
"macroexp--expand-all" (0x828e60)
"if" (0x82909c)
"progn" (0x8291bc)
"setq" (0x8292fc)
"while" (0x82945c)
"let*" (0x8295dc)
"macroexp--accumulate" (0x8296cc)
"macroexp--all-forms" (0x8297c0)
"if" (0x8299fc)
"let" (0x829bbc)
0x43a5000 Lisp type 6
"funcall" (0x829d60)
"cond" (0x829f4c)
"let*" (0x82a0cc)
"if" (0x82a1ec)
"let*" (0x82a36c)
"pcase" (0x82a45c)
"if" (0x82a5ac)
"macroexp--expand-all" (0x82a6a0)
"let" (0x82a97c)
"macroexpand-all" (0x82aa70)
"setq" (0x82accc)
"byte-compile-preprocess" (0x82adc0)
"byte-compile-file-form" (0x82b05c)
"let" (0x82b21c)
"byte-compile-toplevel-file-form" (0x82b310)
"let*" (0x82b5ac)
"while" (0x82b70c)
"save-current-buffer" (0x82b85c)
"with-current-buffer" (0x82b94c)
0x3e00d00 Lisp type 6
"funcall" (0x82baf0)
"condition-case" (0x82bd5c)
"if" (0x82beac)
"let" (0x82c06c)
"if" (0x82c1bc)
"let*" (0x82c33c)
"displaying-byte-compile-warnings" (0x82c42c)
"let" (0x82c60c)
"byte-compile-close-variables" (0x82c6fc)
"let" (0x82c8ec)
"byte-compile-from-buffer" (0x82c9e0)
"save-current-buffer" (0x82cc4c)
"setq" (0x82cd8c)
"if" (0x82cedc)
"let" (0x82d0ac)
"byte-compile-file" (0x82d1a0)
"condition-case" (0x82d48c)
"if" (0x82d5dc)
"let" (0x82d79c)
"batch-byte-compile-file" (0x82d890)
"null" (0x82da9c)
"if" (0x82dbbc)
"if" (0x82dcdc)
"if" (0x82de2c)
"while" (0x82df8c)
"let" (0x82e14c)
"batch-byte-compile" (0x82e240)
"batch-byte-compile-if-not-done" (0x82e504)
"funcall" (0x82e500)
"if" (0x82e6ec)
"cond" (0x82e83c)
"let*" (0x82e9bc)
"while" (0x82eb1c)
"let" (0x82ecec)
"progn" (0x82ee0c)
"if" (0x82ef2c)
"when" (0x82f01c)
"let" (0x82f1dc)
"command-line-1" (0x82f2d0)
"command-line" (0x82f4e0)
"unwind-protect" (0x82f70c)
"let" (0x82f8cc)
"if" (0x82fa1c)
"normal-top-level" (0x82fb10)
(gdb)

This is easy to reproduce. Please let me know if more info is needed to
diagnose the problem.

    AndyM