Subject: bug#15834: Crash during bootstrap

From: Andy Moreton <[email-masked]>
Date: Sun, 10 Nov 2013 12:23:52 +0000

On Fri 08 Nov 2013, Eli Zaretskii wrote:

>> From: Andy Moreton <[email-masked]>
>> Date: Fri, 08 Nov 2013 14:33:14 +0000
>> 
>> 
>> Bootstrapping a Windows msys build with bzr r115035 results in a crash
>> when compiling lisp/net/tramp-smb.el:
>> 
>> Lisp Backtrace:
>> "Automatic GC" (0x14b050c)
>
> Can you show a C backtrace?
>
> Also, can you try reverting 115033, and see if that helps?

I tried bootstrapping on a different machine from r115032 without
problems. Bootstrapping from a clean tree from r115053 gave the same
crash in compiling tramp-smb.el. Backtrace is:

Thread 1 (Thread 3308.0x1994):
#0  0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
No symbol table info available.
#1  0x01196714 in emacs_abort () at ../../src/w32fns.c:7984
        button = <optimized out>
#2  0x010b5f24 in terminate_due_to_signal (sig=sig@entry=0xb, backtrace_limit=backtrace_limit@entry=0x28) at ../../src/emacs.c:377
No locals.
#3  0x010cef1d in handle_fatal_signal (sig=0xb) at ../../src/sysdep.c:1624
No locals.
#4  deliver_thread_signal (sig=0xb, handler=<optimized out>) at ../../src/sysdep.c:1598
        handler = 0x10cedd2 <handle_fatal_signal>
#5  deliver_fatal_thread_signal (sig=0xb) at ../../src/sysdep.c:1636
No locals.
#6  0x010011ea in _gnu_exception_handler@4 ()
No symbol table info available.
#7  0x7c864209 in UnhandledExceptionFilter () from C:\WINDOWS\system32\kernel32.dll
No symbol table info available.
#8  0x0082b0b4 in ?? ()
No symbol table info available.
#9  0x7c84396a in ValidateLocale () from C:\WINDOWS\system32\kernel32.dll
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.

Lisp Backtrace:
"Automatic GC" (0x14b050c)
"byte-optimize-form" (0x82b7cc)
"mapcar" (0x82b908)
"byte-optimize-form-code-walker" (0x82bab0)
"byte-optimize-form" (0x82bc4c)
"mapcar" (0x82bd88)
"byte-optimize-form-code-walker" (0x82bf30)
"byte-optimize-form" (0x82c0e0)
"byte-optimize-body" (0x82c280)
"byte-optimize-form-code-walker" (0x82c420)
"byte-optimize-form" (0x82c5d0)
"byte-optimize-body" (0x82c76c)
"byte-optimize-form-code-walker" (0x82c910)
"byte-optimize-form" (0x82cac0)
"byte-optimize-form-code-walker" (0x82cc60)
"byte-optimize-form" (0x82ce10)
"byte-optimize-body" (0x82cfb4)
"byte-optimize-form-code-walker" (0x82d150)
"byte-optimize-form" (0x82d300)
"byte-optimize-body" (0x82d4a0)
"byte-optimize-form-code-walker" (0x82d640)
"byte-optimize-form" (0x82d7e8)
"byte-optimize-form-code-walker" (0x82d990)
"byte-optimize-form" (0x82db3c)
"byte-compile-top-level" (0x82dcf8)
"byte-compile-lambda" (0x82debc)
"byte-compile-file-form-defmumble" (0x82e060)
0x42c0c78 PVEC_COMPILED
0x403bf88 PVEC_COMPILED
0x403bfa0 PVEC_COMPILED
"byte-compile-file-form-defalias" (0x82e770)
"byte-compile-file-form" (0x82e8fc)
"byte-compile-toplevel-file-form" (0x82ea8c)
0x3ff1f80 PVEC_COMPILED
0x3ff1f98 PVEC_COMPILED
"funcall" (0x82eda0)
"byte-compile-from-buffer" (0x82f0a8)
"byte-compile-file" (0x82f248)
0x401dbb0 PVEC_COMPILED
"funcall" (0x82f3d0)
"batch-byte-compile-file" (0x82f6b0)
"batch-byte-compile" (0x82f880)
"command-line-1" (0x82fa18)
"command-line" (0x82fbdc)
"normal-top-level" (0x82fd20)
(gdb)