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: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Date: Sun, 03 Feb 2008 10:19:38 +0100 Message-ID: <47A5872A.2030601@alice.it> References: <47A381C7.3000003@alice.it> <47A4C54D.5000602@alice.it> <47A4DEC0.8040406@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202030482 23720 80.91.229.12 (3 Feb 2008 09:21:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2008 09:21:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 03 10:21:43 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLb2k-0001UX-7J for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 10:21:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLb2I-0003Wm-6y for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 04:21:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLb2D-0003Vh-Sa for emacs-devel@gnu.org; Sun, 03 Feb 2008 04:21:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLb2A-0003Ts-JV for emacs-devel@gnu.org; Sun, 03 Feb 2008 04:21:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLb2A-0003Tp-Fm for emacs-devel@gnu.org; Sun, 03 Feb 2008 04:21:06 -0500 Original-Received: from smtp-out113.alice.it ([85.37.17.113]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLb26-0000rD-Fk; Sun, 03 Feb 2008 04:21:02 -0500 Original-Received: from FBCMMO03.fbc.local ([192.168.68.197]) by smtp-out113.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Sun, 3 Feb 2008 10:20:59 +0100 Original-Received: from FBCMCL01B01.fbc.local ([192.168.69.82]) by FBCMMO03.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 3 Feb 2008 10:20:06 +0100 Original-Received: from [87.7.232.174] ([87.7.232.174]) by FBCMCL01B01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 3 Feb 2008 10:20:06 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-OriginalArrivalTime: 03 Feb 2008 09:20:06.0612 (UTC) FILETIME=[F7328940:01C86645] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:88080 Archived-At: Eli Zaretskii ha wrote: > > So it crashed, indeed. The command "bt" at this point will hopefully > shed some light on what happened. Please post the results. > >> For the sake of completeness I have discovered >> >> $ find /tmp/ -name "*stackdump*" >> /tmp/build/src/temacs.exe.stackdump >> /tmp/emacs/admin/unidata/temacs.exe.stackdump >> /tmp/emacs/lisp/international/temacs.exe.stackdump > > These are the Cygwin equivalents of core dump files. I suspect they > are very similar; please take a look at them and see where temacs > crashed, and whether they tell the same story as "bt" in GDB above. > They (stackdump) are (all) zero sized, i.e. empty! Below there is the bt output. Thanks, Angelo. ======================================================== $ gdb /tmp/build/src/temacs 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"... (gdb) run --batch --load loadup bootstrap Starting program: /tmp/build/src/temacs.exe --batch --load loadup bootstrap Loaded symbols for /c/WINDOWS/system32/ntdll.dll Loaded symbols for /c/WINDOWS/system32/kernel32.dll Loaded symbols for /usr/X11R6/bin/cygICE-6.dll Loaded symbols for /usr/bin/cygwin1.dll Loaded symbols for /c/WINDOWS/system32/advapi32.dll Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll Loaded symbols for /c/WINDOWS/system32/secur32.dll Loaded symbols for /usr/X11R6/bin/cygSM-6.dll Loaded symbols for /usr/X11R6/bin/cygX11-6.dll Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll Loaded symbols for /usr/X11R6/bin/cygXext-6.dll Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll Loaded symbols for /usr/X11R6/bin/cygXt-6.dll Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll Loaded symbols for /usr/bin/cygncurses-8.dll Loaded symbols for /usr/bin/cygjpeg-62.dll Loaded symbols for /usr/bin/cygpng12.dll Loaded symbols for /usr/bin/cygz.dll Loaded symbols for /usr/bin/cygtiff-5.dll Loaded symbols for /usr/bin/cygungif-4.dll Loading loadup.el (source)... Using load-path (/tmp/emacs/lisp /tmp/emacs/lisp/emacs-lisp /tmp/emacs/lisp/language /tmp/emacs/lisp/international /tmp/emacs/lisp/textmodes) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version.el (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading cus-start (source)... Note, built-in variable `selection-coding-system' not bound Loading international/mule (source)... Loading international/mule-conf.el (source)... Program received signal SIGSEGV, Segmentation fault. 0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll (gdb) bt #0 0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll #1 0x610f0358 in printf () from /usr/bin/cygwin1.dll #2 0x610933b8 in _sigfe () from /usr/bin/cygwin1.dll #3 0x00bfba30 in ?? () #4 0x00020000 in ?? () #5 0x20ef0000 in bss_sbrk_buffer () #6 0x00020000 in ?? () #7 0x00033668 in ?? () #8 0x201671f1 in obtain (address=0x202b7a5c, size=552534016) at /tmp/emacs/src/ralloc.c:315 #9 0x201671f1 in obtain (address=0x202b7a5c, size=552534016) at /tmp/emacs/src/ralloc.c:315 #10 0x201674c9 in relocate_blocs (bloc=0x22d008, heap=0x610933b8, address=0x20ef0000) at /tmp/emacs/src/ralloc.c:518 #11 0x20167cff in r_alloc_sbrk (size=196608) at /tmp/emacs/src/ralloc.c:863 #12 0x20165cdb in align (size=2281480) at /tmp/emacs/src/gmalloc.c:508 #13 0x20166813 in _malloc_internal_nolock (size=65536) at /tmp/emacs/src/gmalloc.c:691 #14 0x61057dbc in malloc () from /usr/bin/cygwin1.dll #15 0x00010000 in ?? () #16 0x00000000 in ?? () (gdb) ========================================================