From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Failures in build Emacs-CVS on Cygwin Date: Fri, 24 Nov 2006 00:55:10 +0100 (MET) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1164400355 24167 80.91.229.2 (24 Nov 2006 20:32:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2006 20:32:35 +0000 (UTC) Cc: jbuehler@spirentcom.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 24 21:32:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gnhin-00037Z-3w for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 21:32:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnhim-0005tM-H9 for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 15:32:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GnhiA-0005Sm-4b for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:31:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gnhi3-0005MJ-Sg for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:31:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnhi3-0005LF-97 for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:31:43 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gnhhx-0003Gc-Mr; Fri, 24 Nov 2006 15:31:38 -0500 Original-Received: from [141.108.26.15] (helo=postino1.roma1.infn.it) by mx20.gnu.org with esmtp (Exim 4.52) id 1GnORl-0004ms-Fj; Thu, 23 Nov 2006 18:57:37 -0500 Original-Received: from ax0rm1.roma1.infn.it (ax0rm1.roma1.infn.it [141.108.26.19]) by postino1.roma1.infn.it (8.12.11/8.12.11) with ESMTP id kANNtFMr027617; Fri, 24 Nov 2006 00:55:15 +0100 Original-Received: from localhost (graziosi@localhost) by ax0rm1.roma1.infn.it (8.9.3/8.9.3) with ESMTP id AAA13339; Fri, 24 Nov 2006 00:55:10 +0100 (MET) Original-To: Eli Zaretskii In-Reply-To: X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.23.153433 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CT_TEXT_PLAIN 0, __FRAUD_419_BADTHINGS 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62730 Archived-At: 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 to continue, or q 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.