From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Is the Cygw32 port ready for testing? Date: Thu, 18 Oct 2012 08:28:14 -0400 Message-ID: <507FF5DE.1060307@cornell.edu> References: <507B404C.8050602@cornell.edu> <507B4A96.6000804@dancol.org> <507B6404.8080103@cornell.edu> <507B68BD.2050409@dancol.org> <83pq4j4pwi.fsf@gnu.org> <507C64EF.5040209@cornell.edu> <507C659A.2020409@dancol.org> <507C8096.2090003@dancol.org> <507C8180.8010601@cornell.edu> <507C81EA.1000502@dancol.org> <507D5FD0.4060403@cornell.edu> <83zk3m2s31.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350563334 25116 80.91.229.3 (18 Oct 2012 12:28:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2012 12:28:54 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 14:29:00 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TOpDa-0002Ng-WC for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2012 14:28:55 +0200 Original-Received: from localhost ([::1]:41980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOpDT-0006bj-Lj for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2012 08:28:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOpDI-0006aW-3E for emacs-devel@gnu.org; Thu, 18 Oct 2012 08:28:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOpD9-00059i-OZ for emacs-devel@gnu.org; Thu, 18 Oct 2012 08:28:35 -0400 Original-Received: from limestone3.mail.cornell.edu ([128.253.83.163]:49001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOpD9-00057M-KH; Thu, 18 Oct 2012 08:28:27 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from orchid.mail.cornell.edu (orchid.mail.cornell.edu [132.236.56.61]) by limestone3.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q9ICSFbS020418; Thu, 18 Oct 2012 08:28:16 -0400 (EDT) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by orchid.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q9ICSJ40017817; Thu, 18 Oct 2012 08:28:19 -0400 (EDT) Original-Received: from [10.59.24.137] (173-163-229-193-savannah.hfc.comcastbusiness.net [173.163.229.193]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q9ICSGYe012840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Oct 2012 08:28:17 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <83zk3m2s31.fsf@gnu.org> X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.10.18.121823 X-Original-Sender: kbrown@cornell.edu - Thu Oct 18 08:28:18 2012 X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 128.253.83.163 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154410 Archived-At: On 10/16/2012 2:24 PM, Eli Zaretskii wrote: >> Date: Tue, 16 Oct 2012 09:23:28 -0400 >> From: Ken Brown >> CC: Eli Zaretskii , emacs-devel@gnu.org >> >> ./configure --with-w32 CFLAGS='-g -O0' && make >> >> The Emacs abort dialogue box pops up when the build gets to this point: >> >> gcc -std=gnu99 -Demacs -I. -I/home/kbrown/src/emacs/test-w32/src >> -I../lib -I/home/kbrown/src/emacs/test-w32/src/../lib >> -I/usr/include/libxml2 -I/usr/include/dbus-1.0 >> -I/usr/lib/dbus-1.0/include -MMD -MF deps/.d -MP >> -I/usr/include/p11-kit-1 -g -O0 -L/usr/lib/noX \ >> -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o >> window.o charset.o coding.o category.o ccl.o character.o chartab.o >> bidi.o cm.o term.o terminal.o xfaces.o dbusbind.o emacs.o keyboard.o >> macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o >> minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o >> search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o >> eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexcw.o >> bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o >> atimer.o doprnt.o intervals.o textprop.o composite.o xml.o profiler.o >> sheap.o cygw32.o w32fns.o w32menu.o w32reg.o w32font.o w32term.o >> w32xfns.o w32select.o w32uniscribe.o fontset.o fringe.o image.o >> terminfo.o gmalloc.o lastfile.o vm-limit.o ../lib/libgnu.a >> -lkernel32 -luser32 -lgdi32 -lole32 -lcomdlg32 -lusp10 -lcomctl32 >> -lwinspool -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -ldbus-1 >> -lpthread -lrt -lxml2 -lz -liconv -lm -lncurses >> -L/usr/bin -lgnutls -lnettle -lhogweed -lgmp -ltasn1 -lp11-kit -lz >> -lpthread >> test "no" = "yes" || \ >> test "X" = X || -r temacs.exe >> cd ../lisp; make -w update-subdirs >> make[2]: Entering directory `/home/kbrown/src/emacs/test-w32/lisp' >> cd /home/kbrown/src/emacs/test-w32/lisp; subdirs=`find . -type d >> -print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | >> */cedet* ) ;; *) wins="$wins $file" ;; esac; done; \ >> for file in $wins; do \ >> /home/kbrown/src/emacs/test-w32/build-aux/update-subdirs $file; \ >> done; >> make[2]: Leaving directory `/home/kbrown/src/emacs/test-w32/lisp' >> if test "no" = "yes"; then \ >> rm -f bootstrap-emacs.exe; \ >> ln temacs.exe bootstrap-emacs.exe; \ >> else \ >> `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \ >> test "X" = X || -zex emacs.exe; \ >> mv -f emacs.exe bootstrap-emacs.exe; \ >> fi > > Does it also crash if you invoke the following command from the Bash > prompt in the src directory? > > ./temacs --batch --load loadup bootstrap Yes. > If this also crashes, then please run the same command from GDB, and > see what happens. Here's the gdb session: $ gdb ./temacs.exe GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-cygwin". For bug reporting instructions, please see: ... Reading symbols from /home/kbrown/src/emacs/test-w32/src/temacs.exe...done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. TERM = xterm Breakpoint 1 at 0x4ce176: file emacs.c, line 317. Temporary breakpoint 2 at 0x4ebbce: file sysdep.c, line 794. (gdb) r --batch --load loadup bootstrap Starting program: /home/kbrown/src/emacs/test-w32/src/temacs.exe --batch --load loadup bootstrap [New Thread 3812.0x253c] [New Thread 3812.0x80c] Program received signal SIGTRAP, Trace/breakpoint trap. 0x765c321a in KERNELBASE!DeleteAce () from /c/windows/syswow64/KERNELBASE.dll (gdb) thread apply all bt full Thread 2 (Thread 3812.0x80c): #0 0x7749f8e5 in ntdll!RtlUpdateClonedSRWLock () from /c/windows/system32/ntdll.dll No symbol table info available. #1 0x7749f8e5 in ntdll!RtlUpdateClonedSRWLock () from /c/windows/system32/ntdll.dll No symbol table info available. #2 0x765bdd54 in ReadFile () from /c/windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000098 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available. Thread 1 (Thread 3812.0x253c): #0 0x765c321a in KERNELBASE!DeleteAce () from /c/windows/syswow64/KERNELBASE.dll No symbol table info available. #1 0x005bf093 in emacs_abort () at w32fns.c:7706 button = 6 #2 0x00536928 in staticpro (varaddress=0x807c8c) at alloc.c:5033 No locals. #3 0x005786cc in defvar_lisp (o_fwd=0x7d35fc, namestring=0x7a966d "dbus-runtime-version", address=0x807c8c) at lread.c:4055 No locals. #4 0x004cdfc8 in syms_of_dbusbind () at dbusbind.c:1777 o_fwd = { type = Lisp_Fwd_Obj, objvar = 0x807c8c } #5 0x004cf84b in main (argc=5, argv=0x28ac10) at emacs.c:1439 dummy = 1 stack_bottom_variable = 0 '\000' do_initial_setlocale = true dumping = true skip_args = 1 rlim = { rlim_cur = 2097152, rlim_max = 2097152 } no_loadup = false junk = 0x0 dname_arg = 0x0 dname_arg2 = "\001\000\000\000(\000\000\000\000\000X\253(\000O\255\025a \330#a\340\324\037a \336#ax\336#a\300x\023a(\000\001\000\000\000 \330#a(\000\000\000\000\000\030\254(\000\355\202\022a\340r\030a \330#a(" ch_to_dir = 0x695f656d
(gdb) c Continuing. [Inferior 1 (process 3812) exited with code 02]