emacs-devel
[Top][All Lists]
Advanced

[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: Sat, 25 Nov 2006 10:52:42 +0100 (MET)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]