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: Sat, 25 Nov 2006 10:52:42 +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 1164448501 31979 80.91.229.2 (25 Nov 2006 09:55:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 09:55:01 +0000 (UTC) Cc: jbuehler@spirentcom.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 10:54:57 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 1GnuFI-0008O0-O3 for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 10:54:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnuFH-0005CZ-SK for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 04:54:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GnuDO-0004hK-Uj for emacs-devel@gnu.org; Sat, 25 Nov 2006 04:52:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GnuDN-0004gq-NO for emacs-devel@gnu.org; Sat, 25 Nov 2006 04:52:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnuDM-0004gF-Fh for emacs-devel@gnu.org; Sat, 25 Nov 2006 04:52:53 -0500 Original-Received: from [141.108.26.15] (helo=postino1.roma1.infn.it) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GnuDK-0008Jx-3H; Sat, 25 Nov 2006 04:52:50 -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 kAP9qlQC001672; Sat, 25 Nov 2006 10:52:47 +0100 Original-Received: from localhost (graziosi@localhost) by ax0rm1.roma1.infn.it (8.9.3/8.9.3) with ESMTP id KAA24190; Sat, 25 Nov 2006 10:52:42 +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.25.13432 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_7 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:62775 Archived-At: 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.