[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failures in build Emacs-CVS on Cygwin
From: |
Angelo Graziosi |
Subject: |
Re: Failures in build Emacs-CVS on Cygwin |
Date: |
Fri, 24 Nov 2006 00:55:10 +0100 (MET) |
On Thu, 23 Nov 2006, Eli Zaretskii wrote:
> Maybe Cygwin also has a way of producing a real core file, in which
> case please try using it to investigate these crashes.
>
Configuring the CYGWIN env. variable, when bootstrapping, it creates
lisp/bootstrap-emacs.exe.core, so I have tried the following (I am not a
very expert of GDB)
Using 'run' under GDB, it hangs and I must kill it:
---------------------------------------------------------------
$ gdb ./bootstrap-emacs.exe ../lisp/bootstrap-emacs.exe.core
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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-cygwin"...
warning: core file may not match specified executable file.
warning: Couldn't find general-purpose registers in core file.
warning: Couldn't find general-purpose registers in core file.
#0 0x00000000 in ?? ()
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x200a0b66: file
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c, line 464.
Breakpoint 2 at 0x200ba689: file
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/sysdep.c, line
1385.
(gdb) run
Starting
program:
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/.build/src/bootstrap-emacs.exe
-geometry 80x40+0+0
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
warning: NOD32 protected [MSAFD Tcpip [TCP/IP]]
warning: NOD32 protected [MSAFD Tcpip [UDP/IP]]
warning: NOD32 protected [MSAFD Tcpip [RAW/IP]]
warning: NOD32 protected [RSVP UDP Service Provider]
warning: NOD32 protected [RSVP TCP Service Provider]
***** HERE IT HANGS ! ******
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---[2]+ Killed
gdb ./bootstrap-emacs.exe ../lisp/bootstrap-emacs.exe.core
Killed
---------------------------------------------------------------
Using 'start', 'bt' and 'c' in GDB (after 'c' it hangs as above):
----------------------------------------------------------
$ gdb ./bootstrap-emacs.exe ../lisp/bootstrap-emacs.exe.core
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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-cygwin"...
warning: core file may not match specified executable file.
warning: Couldn't find general-purpose registers in core file.
warning: Couldn't find general-purpose registers in core file.
#0 0x00000000 in ?? ()
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x200a0b66: file
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c, line 464.
Breakpoint 2 at 0x200ba689: file
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/sysdep.c, line
1385.
(gdb) start
Breakpoint 3 at 0x200a1a4e: file
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c, line 837.
Starting
program:
/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/.build/src/bootstrap-emacs.exe
-geometry 80x40+0+0
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
main (argc=3, argv=0x202d3040)
at /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c:837
837 {
(gdb) bt
#0 main (argc=3, argv=0x202d3040)
at /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c:837
Lisp Backtrace:
0 (0x909090c3)
Cannot access memory at address 0x78746344
(gdb) q
The program is running. Exit anyway? (y or n) n
Not confirmed.
(gdb) c
Continuing.
warning: NOD32 protected [MSAFD Tcpip [TCP/IP]]
warning: NOD32 protected [MSAFD Tcpip [UDP/IP]]
warning: NOD32 protected [MSAFD Tcpip [RAW/IP]]
warning: NOD32 protected [RSVP UDP Service Provider]
warning: NOD32 protected [RSVP TCP Service Provider]
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 3136.0xc94]
0x00000000 in ?? ()
(gdb) Killed
----------------------------------------------------------
The results do not look very encouraging!
Angelo.
- Re: Building Emacs-cvs on Cygwin (GCC summary), Eli Zaretskii, 2006/11/04
- Re: 22.1 Cygwin emacs timeframe query, Angelo Graziosi, 2006/11/20
- Re: 22.1 Cygwin emacs timeframe query, Angelo Graziosi, 2006/11/20
- Re: 22.1 Cygwin emacs timeframe query, Angelo Graziosi, 2006/11/21
- Failures in build Emacs-CVS on Cygwin, Angelo Graziosi, 2006/11/22
- Re: Failures in build Emacs-CVS on Cygwin, Eli Zaretskii, 2006/11/22
- Re: Failures in build Emacs-CVS on Cygwin, Angelo Graziosi, 2006/11/22
- Re: Failures in build Emacs-CVS on Cygwin, Eli Zaretskii, 2006/11/22
- Re: Failures in build Emacs-CVS on Cygwin,
Angelo Graziosi <=
- Re: Failures in build Emacs-CVS on Cygwin, Eli Zaretskii, 2006/11/24
- Re: Failures in build Emacs-CVS on Cygwin, Angelo Graziosi, 2006/11/24
- Re: Failures in build Emacs-CVS on Cygwin, Eli Zaretskii, 2006/11/25
- Re: Failures in build Emacs-CVS on Cygwin, Angelo Graziosi, 2006/11/25
- Re: Failures in build Emacs-CVS on Cygwin, Eli Zaretskii, 2006/11/25
- Re: Failures in build Emacs-CVS on Cygwin, Angelo Graziosi, 2006/11/24