unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
Cc: Joe Buehler <jbuehler@spirentcom.com>, emacs-devel@gnu.org
Subject: Re: Failures in build Emacs-CVS on Cygwin
Date: Thu, 23 Nov 2006 01:07:40 +0100 (MET)	[thread overview]
Message-ID: <Pine.OSF.4.21.0611230100120.16592-100000@ax0rm1.roma1.infn.it> (raw)
In-Reply-To: <ud57fm885.fsf@gnu.org>



On Thu, 23 Nov 2006, Eli Zaretskii wrote:

> > Date: Wed, 22 Nov 2006 15:49:08 +0100 (MET)
> > From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
> > cc: Eli Zaretskii <eliz@gnu.org>
> > 
> > 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
> 

  reply	other threads:[~2006-11-23  0:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-30  1:22 Building Emacs-cvs on Cygwin (GCC summary) Maks Romih
2006-10-30 19:16 ` Richard Stallman
2006-10-30 20:31   ` Eric Hanchrow
2006-10-30 21:05     ` Eli Zaretskii
2006-10-30 21:26       ` Eric Hanchrow
2006-10-30 21:44     ` Jason Rumney
2006-11-05 10:52       ` Jari Aalto
2006-11-05 11:55         ` Eli Zaretskii
2006-10-30 21:06   ` Eli Zaretskii
2006-11-04 12:12     ` Eli Zaretskii
2006-11-21  1:28       ` 22.1 Cygwin emacs timeframe query Angelo Graziosi
2006-11-21  1:46       ` Angelo Graziosi
2006-11-21  9:35       ` Angelo Graziosi
2006-11-22 14:49       ` Failures in build Emacs-CVS on Cygwin Angelo Graziosi
2006-11-22 22:23         ` Eli Zaretskii
2006-11-23  0:07           ` Angelo Graziosi [this message]
2006-11-23  4:15             ` Eli Zaretskii
2006-11-23 14:04               ` Angelo Graziosi
2006-11-23 23:55               ` Angelo Graziosi
2006-11-24 21:17                 ` Eli Zaretskii
2006-11-24 23:32                   ` Angelo Graziosi
2006-11-25 11:07                     ` Eli Zaretskii
2006-11-25  9:52                   ` Angelo Graziosi
2006-11-25 11:06                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.OSF.4.21.0611230100120.16592-100000@ax0rm1.roma1.infn.it \
    --to=angelo.graziosi@roma1.infn.it \
    --cc=emacs-devel@gnu.org \
    --cc=jbuehler@spirentcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).