From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Is the Cygw32 port ready for testing? Date: Tue, 16 Oct 2012 20:24:18 +0200 Message-ID: <83zk3m2s31.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1350411878 31188 80.91.229.3 (16 Oct 2012 18:24:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 18:24:38 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 20:24:44 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 1TOBom-0000Up-U2 for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2012 20:24:41 +0200 Original-Received: from localhost ([::1]:42132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOBof-0000Bg-PP for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2012 14:24:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOBoa-000096-12 for emacs-devel@gnu.org; Tue, 16 Oct 2012 14:24:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOBoT-0004pZ-4n for emacs-devel@gnu.org; Tue, 16 Oct 2012 14:24:27 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOBoS-0004oz-Oe for emacs-devel@gnu.org; Tue, 16 Oct 2012 14:24:21 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MC000I000F9M700@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 16 Oct 2012 20:24:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MC000IHL0G58F90@a-mtaout22.012.net.il>; Tue, 16 Oct 2012 20:24:06 +0200 (IST) In-reply-to: <507D5FD0.4060403@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:154373 Archived-At: > 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 If this also crashes, then please run the same command from GDB, and see what happens. > At this point I attached gdb. The session didn't provide any > information that I can see, but I'm attaching a log (gdb.txt). > [...] > 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: > . > Attaching to process 3672 > [New Thread 3672.0x16cc] > [New Thread 3672.0x1c0] > [New Thread 3672.0x1e00] > Reading symbols from /home/kbrown/src/emacs/test-w32/src/temacs.exe...done. > warning: File "/home/kbrown/src/emacs/test-w32/src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". If you want to debug Emacs conveniently, you need to take care of that "warning", because you do need GDB to load .gdbinit. > (gdb) thread apply all bt full You need to say "continue" first. (Doesn't the Abort dialog say so?) > Thread 1 (Thread 3672.0x16cc): > #0 0x75abf5be in USER32!SetMessageExtraInfo () > from /c/windows/syswow64/USER32.dll > No symbol table info available. > #1 0x75abf5be in USER32!SetMessageExtraInfo () > from /c/windows/syswow64/USER32.dll > No symbol table info available. > #2 0x75abcd46 in USER32!SetMessageExtraInfo () > from /c/windows/syswow64/USER32.dll > No symbol table info available. > #3 0x00000000 in ?? () > No symbol table info available. Any idea why it says "No symbol table info available"? There's no -s switch on the link command line. Also, why did you use CFLAGS='-g -O0', rather than CFLAGS='-g3 -O0'? The latter would produce a much richer debug info. (But I don't think it has anything to do with the crash or the lack of debug info.)