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: Thu, 23 Nov 2006 01:07:40 +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 1164240500 2877 80.91.229.2 (23 Nov 2006 00:08:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2006 00:08:20 +0000 (UTC) Cc: Joe Buehler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 23 01:08:18 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 1Gn28T-0004BD-74 for ged-emacs-devel@m.gmane.org; Thu, 23 Nov 2006 01:08:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gn28S-0006ok-O5 for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 19:08:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gn28F-0006nw-Dx for emacs-devel@gnu.org; Wed, 22 Nov 2006 19:07:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gn28A-0006ku-Cd for emacs-devel@gnu.org; Wed, 22 Nov 2006 19:07:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gn28A-0006kr-6R for emacs-devel@gnu.org; Wed, 22 Nov 2006 19:07:54 -0500 Original-Received: from [141.108.26.25] (helo=postino2.roma1.infn.it) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gn287-0007xm-Jt; Wed, 22 Nov 2006 19:07:52 -0500 Original-Received: from ax0rm1.roma1.infn.it (ax0rm1.roma1.infn.it [141.108.26.19]) by postino2.roma1.infn.it (8.12.11/8.12.11) with ESMTP id kAN07nsv032167; Thu, 23 Nov 2006 01:07:49 +0100 Original-Received: from localhost (graziosi@localhost) by ax0rm1.roma1.infn.it (8.9.3/8.9.3) with ESMTP id BAA05521; Thu, 23 Nov 2006 01:07:40 +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.22.153433 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CT_TEXT_PLAIN 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:62705 Archived-At: On Thu, 23 Nov 2006, Eli Zaretskii wrote: > > Date: Wed, 22 Nov 2006 15:49:08 +0100 (MET) > > From: Angelo Graziosi > > cc: Eli Zaretskii > > > > Wrote /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/lisp/emacs-lisp/bytecomp.elc > > Compiling /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/lisp/subr.el > > Fatal error (6)/bin/sh: line 4: 2196 Aborted (core dumped) EMACSLOADPATH=/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/lisp > > Does Cygwin GDB support core file (a.k.a. post-mortem) debugging? I think NO: there is not a 'core' file. The failure creates a file in lisp called 'bootstrap-emacs.exe.stackdump' which contains: ------------------------------------------------------------------ $ cat bootstrap-emacs.exe.stackdump Stack trace: Frame Function Args 0022A868 7C802532 (000006D0, 0000EA60, 000000A4, 0022A8B0) 0022A988 6109745C (00000000, 00000000, 00000000, 00000000) 0022AA78 61094FDB (00000000, 003B0023, 00230000, 00000000) 0022AAD8 610954BB (0022AAF0, 00000000, 00000094, 202EDC00) 0022AB98 61095672 (00000DB8, 00000006, 202DD801, 61017A53) 0022ABC8 61092AA8 (00000006, 60030000, 0022ACF8, 6109751C) 0022ACB8 61017B70 (000006D0, 0000EA60, 000000A4, 0022AD00) 0022ADD8 6109751C (00000000, 0022AED8, 20C3B800, 6101BE4E) 0022AEC8 61094FDB (00000000, 61167A20, 00000400, 61167A20) 0022AF28 610954BB (0022AF40, 00000000, 00000094, 0022AF88) 0022AFE8 61095672 (00000DB8, 00000006, 0022B018, 20151730) 0022AFF8 61092AA8 (00000000, 20CB0000, 0022B018, 20CD3000) 0022B018 20151730 (20CC0950, 211D0970, 00001AC0, 202DE004) 0022B058 201521A8 (FFFDD000, 203C0003, 0022B108, 20122139) 0022B0B8 20150951 (00004000, 202DD801, 0022B0F8, 200F28E5) 0022B0C8 200F2E3C (00004000, 203C001D, 0022D008, 0022B214) End of stack trace (more stack frames may be present) -------------------------------------------------------------- Trying your suggestion in any case, this is the result: --------------------------------------------------------- $ gdb bootstrap-emacs.exe ../lisp/bootstrap-emacs.exe.stackdump 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"... "/home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/.build/src/../lisp/bootstrap-emacs.exe.stackdump" is not a core dump: File format not recognized 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) bt No stack. Lisp Backtrace: Cannot access memory at address 0x22c2f8 --------------------------------------------------------- As you can see GDB says 'bootstrap-emacs.exe.stackdump is not a core dump'! Angelo. >If so, could you please type "gdb bootstrap-emacs.exe core" (assuming the > core file's name is `core'), and see where it crashes with the "bt" > command? Please run GDB from the src directory, to have it pick up > all the definitions in the .gdbinit file. > > TIA >