Subject: Re: bug#34277: Error after dump complete when build on Windows 10

From: Eli Zaretskii <[email-masked]>
Date: Sat, 02 Feb 2019 09:37:11 +0200

> From: "Shuguang Sun" <[email-masked]>
> Date: Fri, 1 Feb 2019 23:52:22 +0800
> Cc: shuguang79 <[email-masked]>
> 
> The pdumper building popup a error box:
> https://github.com/ShuguangSun/emacsimprovement/blob/master/Emacs_Win10_compileError.PNG
> And error message:
> ```
> Dump complete
> Byte counts: header=80 hot=13293288 discardable=127776 cold=9178020
> Reloc counts: hot=920625 discardable=4848
> make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe"
> make[2]: Entering directory '/c/Users/username/gitemacs/emacs/lisp'
>   ELC      emacs-lisp/macroexp.elc
>   ELC      emacs-lisp/cconv.elc
>   ELC      emacs-lisp/byte-opt.elc
> /bin/sh: line 1: 195564 Segmentation fault      EMACSLOADPATH= 
> '../src/bootstrap-emacs.exe' -batch --no-site-file --no-site-lisp --eval '(setq 
> load-prefer-newer t)' -f batch-byte-compile emacs-lisp/cconv.el
> make[2]: *** [Makefile:301: emacs-lisp/cconv.elc] Error 139

Please run the command that fails under GDB, in the pdumper
configuration, like this:

  $ cd src
  $ gdb ./bootstrap-emacs.exe
  ...
  (gdb) run  -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t)" -f batch-byte-compile emacs-lisp/cconv.el

When Emacs segfaults, please type these commands:

 (gdb) thread 1
 (gdb) backtrace

and post here the results of those commands.

Thanks.