Re: emacs-unicode-2: bootstrap error on windows-xp
> Cc: emacs-pretest-bug@gnu.org > From: Zhang Wei <[EMAIL PROTECTED]> > Date: Sat, 18 Nov 2006 23:42:57 +0800 > > Eli Zaretskii <[EMAIL PROTECTED]> writes: > > > Did it crash with ediff-ptch.el? I only see it crash with > > ediff-merg.el and ediff-mult.el. Please try those as well under GDB. > > No problem with them when byte-compiling them under gdb, and the > corresponding .elc file are correctly created. But when bootstrap it > reports fatal error and the corresponding .elc can't be created, so > strange. A Heisenbug, sigh... The only way to try to debug this without GDB is to use drmingw.exe, the Just-In-Time (JIT) debugger for MinGW. If you don't have it already in your MinGW `bin' subdirectory, you need to download and install the mingw-utils package. It comes with a drmingw.html file that explains how to set it up to be the JIT debugger, and how to use it. Other than that, I'm sorry to say I'm out of ideas. To proceed with this problem, we need to establish where Emacs crashes, and why. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: emacs-unicode-2: bootstrap error on windows-xp
Eli Zaretskii <[EMAIL PROTECTED]> writes: > Did it crash with ediff-ptch.el? I only see it crash with > ediff-merg.el and ediff-mult.el. Please try those as well under GDB. No problem with them when byte-compiling them under gdb, and the corresponding .elc file are correctly created. But when bootstrap it reports fatal error and the corresponding .elc can't be created, so strange. --8<---cut here---start->8--- D:\download\emacs--unicode--0\src>gdb ..\bin\emacs.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... Environment variable "DISPLAY" not defined. Environment variable "TERM" not defined. Breakpoint 1 at 0x11b171c: file w32fns.c, line 9075. Breakpoint 2 at 0x10b977c: file sysdep.c, line 1383. (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f batch-by te-compile-if-not-done ../lisp/ediff-merg.el Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch --no -init-file --no-site-file --multibyte -l loaddefs -f batch-byte-compile-if-not-d one ../lisp/ediff-merg.el (gdb) bt #0 init_sys_modes () at sysdep.c:1383 #1 0x01003992 in main (argc=10, argv=0x2d20e20) at emacs.c:1720 #2 0x0100122d in __mingw_CRTStartup () #3 0x01001258 in mainCRTStartup () (gdb) c Continuing. Program exited normally. (gdb) quit D:\download\emacs--unicode--0\src> --8<---cut here---end--->8--- --8<---cut here---start->8--- D:\download\emacs--unicode--0\src>gdb ..\bin\emacs.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... Environment variable "DISPLAY" not defined. Environment variable "TERM" not defined. Breakpoint 1 at 0x11b171c: file w32fns.c, line 9075. Breakpoint 2 at 0x10b977c: file sysdep.c, line 1383. (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f batch-by te-compile-if-not-done ../lisp/ediff-mult.el Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch --no -init-file --no-site-file --multibyte -l loaddefs -f batch-byte-compile-if-not-d one ../lisp/ediff-mult.el (gdb) where #0 init_sys_modes () at sysdep.c:1383 #1 0x01003992 in main (argc=10, argv=0x2d20e20) at emacs.c:1720 #2 0x0100122d in __mingw_CRTStartup () #3 0x01001258 in mainCRTStartup () (gdb) c Continuing. Program exited normally. (gdb) q D:\download\emacs--unicode--0\src> --8<---cut here---end--->8--- ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: emacs-unicode-2: bootstrap error on windows-xp
> Cc: emacs-pretest-bug@gnu.org > From: Zhang Wei <[EMAIL PROTECTED]> > Date: Sat, 18 Nov 2006 22:24:51 +0800 > > It's quite strange, the program exited normally when I did this: > > --8<---cut here---start->8--- > D:\download\emacs--unicode--0\src>gdb ..\bin\emacs.exe > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-mingw32"... > Environment variable "DISPLAY" not defined. > Environment variable "TERM" not defined. > Breakpoint 1 at 0x11b171c: file w32fns.c, line 9075. > Breakpoint 2 at 0x10b977c: file sysdep.c, line 1383. > (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f > batch-by > te-compile-if-not-done > Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch > --no > -init-file --no-site-file --multibyte -l loaddefs -f > batch-byte-compile-if-not-done > (gdb) bt > #0 init_sys_modes () at sysdep.c:1383 > #1 0x01003992 in main (argc=9, argv=0x2d20e00) at emacs.c:1720 > #2 0x0100122d in __mingw_CRTStartup () > #3 0x01001258 in mainCRTStartup () > (gdb) c > Continuing. > > Program exited normally. > (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f > batch-by > te-compile-if-not-done ../lisp/ediff-ptch.el > Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch > --no > -init-file --no-site-file --multibyte -l loaddefs -f > batch-byte-compile-if-not-d > one ../lisp/ediff-ptch.el > > Program exited normally. > (gdb) quit Did it crash with ediff-ptch.el? I only see it crash with ediff-merg.el and ediff-mult.el. Please try those as well under GDB. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: emacs-unicode-2: bootstrap error on windows-xp
Eli Zaretskii <[EMAIL PROTECTED]> writes: > then do the following: > >cd src >gdb ../bin/emacs.exe >r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f > batch-byte-compile-if-not-done foobar.el > > Make sure that you invoke GDB from the `src' directory, as shown > above, and that as result of this, GDB sets a breakpoint at the > function w32_abort (where the Abort/Debug dialogue you've reported is > popped up). > > When the breakpoint in w32_abort breaks, please type "bt" and show us > the results. It's quite strange, the program exited normally when I did this: --8<---cut here---start->8--- D:\download\emacs--unicode--0\src>gdb ..\bin\emacs.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... Environment variable "DISPLAY" not defined. Environment variable "TERM" not defined. Breakpoint 1 at 0x11b171c: file w32fns.c, line 9075. Breakpoint 2 at 0x10b977c: file sysdep.c, line 1383. (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f batch-by te-compile-if-not-done Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch --no -init-file --no-site-file --multibyte -l loaddefs -f batch-byte-compile-if-not-d one (gdb) bt #0 init_sys_modes () at sysdep.c:1383 #1 0x01003992 in main (argc=9, argv=0x2d20e00) at emacs.c:1720 #2 0x0100122d in __mingw_CRTStartup () #3 0x01001258 in mainCRTStartup () (gdb) c Continuing. Program exited normally. (gdb) r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f batch-by te-compile-if-not-done ../lisp/ediff-ptch.el Starting program: D:\download\emacs--unicode--0\src/..\bin\emacs.exe -batch --no -init-file --no-site-file --multibyte -l loaddefs -f batch-byte-compile-if-not-d one ../lisp/ediff-ptch.el Program exited normally. (gdb) quit D:\download\emacs--unicode--0\src> --8<---cut here---end--->8--- But it still report fatal error when bootstrap, this is part of the log: --8<---cut here---start->8--- Compiling /d/download/emacs--unicode--0/lisp/ediff-diff.el Loading d:/download/emacs--unicode--0/lisp/ediff-init.el (source)... Loading d:/download/emacs--unicode--0/lisp/net/ange-ftp.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-util.el (source)... Loading d:/download/emacs--unicode--0/lisp/mail/reporter.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-help.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-mult.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-wind.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-diff.el (source)... Compiling /d/download/emacs--unicode--0/lisp/ediff-help.el Loading d:/download/emacs--unicode--0/lisp/ediff-init.el (source)... Loading d:/download/emacs--unicode--0/lisp/net/ange-ftp.el (source)... Wrote d:/download/emacs--unicode--0/lisp/ediff-help.elc Compiling /d/download/emacs--unicode--0/lisp/ediff-hook.el Wrote d:/download/emacs--unicode--0/lisp/ediff-hook.elc Compiling /d/download/emacs--unicode--0/lisp/ediff-init.el Loading d:/download/emacs--unicode--0/lisp/net/ange-ftp.el (source)... Wrote d:/download/emacs--unicode--0/lisp/ediff-init.elc Compiling /d/download/emacs--unicode--0/lisp/ediff-merg.el Loading d:/download/emacs--unicode--0/lisp/ediff-init.el (source)... Loading d:/download/emacs--unicode--0/lisp/net/ange-ftp.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-util.el (source)... Loading d:/download/emacs--unicode--0/lisp/mail/reporter.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-help.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-mult.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-wind.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-diff.el (source)... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Compiling /d/download/emacs--unicode--0/lisp/ediff-mult.el Loading d:/download/emacs--unicode--0/lisp/ediff-init.el (source)... Loading d:/download/emacs--unicode--0/lisp/net/ange-ftp.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-util.el (source)... Loading d:/download/emacs--unicode--0/lisp/mail/reporter.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-help.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-mult.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-wind.el (source)... Loading d:/download/emacs--unicode--0/lisp/ediff-diff.el (source)... This application has requested the Runtime to terminate
Re: emacs-unicode-2: bootstrap error on windows-xp
> From: Zhang Wei <[EMAIL PROTECTED]> > Date: Sat, 18 Nov 2006 09:24:47 +0800 > > Configed like this: > > --8<---cut here---start->8--- > configure.bat --with-gcc --no-cygwin --no-opt > make bootstrap > --8<---cut here---end--->8--- > > During bootstrap emacs encounter fatal error when byte-compile some .el > files, the following dialog bumped up again and again: Thank you for your report. To give us more useful information, run the byte-compilation command that fails under GDB. For example, if the last line before the crash that Make displays is Compiling foobar.el then do the following: cd src gdb ../bin/emacs.exe r -batch --no-init-file --no-site-file --multibyte -l loaddefs -f batch-byte-compile-if-not-done foobar.el Make sure that you invoke GDB from the `src' directory, as shown above, and that as result of this, GDB sets a breakpoint at the function w32_abort (where the Abort/Debug dialogue you've reported is popped up). When the breakpoint in w32_abort breaks, please type "bt" and show us the results. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug