unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
Cc: jbuehler@spirentcom.com, emacs-devel@gnu.org
Subject: Re: Failures in build Emacs-CVS on Cygwin
Date: Sat, 25 Nov 2006 10:52:42 +0100 (MET)	[thread overview]
Message-ID: <Pine.OSF.4.21.0611251043340.13657-100000@ax0rm1.roma1.infn.it> (raw)
In-Reply-To: <u3b887dds.fsf@gnu.org>


I post this only for the sake of completeness.


When the build fails as described
here: http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg01214.html,
having activated the dumper.exe so that a core file is produced the
results are the following.

At the end of installation the build fails in this way:
-----------------------------------------------------------
...
ja-dic/CVS/Template
ja-dic/ja-dic.el
ja-dic/ja-dic.elc
unset CDPATH; \
        if [ -n "/usr/bin/gzip" ]; \
        then \
           echo "Compressing *.el ..." ; \
           (cd
/tmp/emacs/.inst/usr/local/emacs-cvs/share/emacs/22.0.91/leim; fo
r f in `find . -name "*.elc" -print`; do \
                /usr/bin/gzip -9n `echo $f|sed 's/.elc$/.el/'` ; \
            done) \
        else true; fi
Compressing *.el ...
chmod -R a+r /tmp/emacs/.inst/usr/local/emacs-cvs/share/emacs/22.0.91/leim
make[1]: Leaving directory `/tmp/emacs/.build/leim'
cd lib-src; make maybe-blessmail  \
          MAKE='make'
archlibdir='/tmp/emacs/.inst/usr/local/emacs-cvs/libexec/e
macs/22.0.91/i686-pc-cygwin'
make[1]: Entering directory `/tmp/emacs/.build/lib-src'
../src/emacs -batch -l /tmp/emacs/lib-src/../lisp/mail/blessmail.el
Fatal error (6)*** starting debugger for pid 740, tid 2388
*** continuing pid 740 from debugger call (1)
make[1]: *** [blessmail] Aborted (core dumped)
make[1]: Leaving directory `/tmp/emacs/.build/lib-src'
make: *** [blessmail] Error 2
-----------------------------------------------------------

this creates a emacs.exe.core file of about 20MB.

Using GDB:
------------------------------------------------------------
/tmp/emacs/.build/src
$ gdb ./emacs.exe ../lib-src/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 ?? ()
Environment variable "DISPLAY" not defined.
TERM = cygwin
Breakpoint 1 at 0x200a0b66: file /tmp/emacs/src/emacs.c, line 464.
Breakpoint 2 at 0x200ba689: file /tmp/emacs/src/sysdep.c, line 1385.
(gdb) bt
#0  0x00000000 in ?? ()

Lisp Backtrace:
Cannot access memory at address 0x22c2f8
(gdb)

------------------------------------------------------------



Using the suggestion http://cygwin.com/ml/cygwin/2006-11/msg00657.html
------------------------------------------------------------------------
/tmp/emacs/.build/lib-src
$ awk '/^[0-9]/{print $2}' emacs.exe.stackdump | addr2line -f -e
../src/emacs.exe > /tmp/out

/tmp
cat out
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
relinquish
/tmp/emacs/src/ralloc.c:338
r_alloc_sbrk
/tmp/emacs/src/ralloc.c:934
_malloc_internal
/tmp/emacs/src/gmalloc.c:504
emacs_blocked_malloc
/tmp/emacs/src/alloc.c:1244
------------------------------------------------------------------------


Cheers,

   Angelo.

  parent reply	other threads:[~2006-11-25  9:52 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
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 [this message]
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.0611251043340.13657-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).