This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 64-bit emacs crashes a lot
- From: Ryan Johnson <ryan dot johnson at cs dot utoronto dot ca>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Aug 2013 18:48:06 -0400
- Subject: Re: 64-bit emacs crashes a lot
- References: <51F3151D dot 7040000 at cs dot utoronto dot ca> <51F33565 dot 1090406 at cornell dot edu> <51F33F52 dot 4060405 at cs dot utoronto dot ca> <51FB1D9E dot 5090102 at cs dot utoronto dot ca> <20130802080211 dot GA18054 at calimero dot vinschen dot de> <51FB9228 dot 2020309 at cornell dot edu> <51FBA100 dot 90005 at cs dot utoronto dot ca> <51FD5462 dot 5020400 at cs dot utoronto dot ca> <51FFBDFF dot 7040501 at cornell dot edu> <51FFC4F2 dot 8080909 at cs dot utoronto dot ca> <5203D89E dot 6030801 at cornell dot edu> <5203DCCA dot 1010105 at cs dot utoronto dot ca> <5205B364 dot 8090007 at cs dot utoronto dot ca> <52064730 dot 50404 at cornell dot edu> <"52065B3C dot 6060104 at cs dot utoronto <520CCA41.3000107"@cs.utoronto.ca> <520D089A dot 1020806 at cornell dot edu> <83ioz6op5v dot fsf at gnu dot org> <520D4036 dot 8010303 at cs dot utoronto dot ca> <520D44B9 dot 7090206 at cornell dot edu> <520D4725 dot 3030503 at cs dot utoronto dot ca> <520D4F07 dot 8050007 at cornell dot edu> <520D4FF7 dot 5040405 at cornell dot edu>
On 15/08/2013 6:02 PM, Ken Brown wrote:
On 8/15/2013 5:58 PM, Ken Brown wrote:
On 8/15/2013 5:24 PM, Ryan Johnson wrote:
On 15/08/2013 5:14 PM, Ken Brown wrote:
On 8/15/2013 4:55 PM, Ryan Johnson wrote:
Program received signal SIGSEGV, Segmentation fault.
___chkstk_ms () at
/usr/src/debug/gcc-4.8.1-1/libgcc/config/i386/cygwin.S:146
You're not using the latest gcc, which is 4.8.1-3. Any chance that
that's your problem?
Heh. I actually do have the latest gcc, but somehow the upgrade didn't
pick up the debug package (which showed as not installed in setup.exe).
I have manually upgraded it now.
OK. But doesn't the above show that the crash is occurring in gcc, not
emacs?
BTW, how do you compile emacs from the sources given? I tried untarring
and patching, but I get the message:
configure: error: Emacs hasn't been ported to `x86_64-unknown-cygwin'
systems.
Check `etc/MACHINES' for recognized configuration names.
One of the patches changes configure.ac, so you have to run autoreconf
after applying it.
Or it might be 'autoreconf -I m4'.
Something is still wrong:
$ cd /scratch
$ tar xaf /usr/src/emacs-24.3.tar.xz
$ patch -p1 </usr/src/emacs-24.3-5.cygwin.patch
patching file emacs-24.3/CYGWIN-PATCHES/emacs-X11.postinstall
patching file emacs-24.3/CYGWIN-PATCHES/emacs-X11.preremove
patching file emacs-24.3/CYGWIN-PATCHES/emacs-w32.postinstall
patching file emacs-24.3/CYGWIN-PATCHES/emacs-w32.preremove
patching file emacs-24.3/CYGWIN-PATCHES/emacs.postinstall
patching file emacs-24.3/CYGWIN-PATCHES/emacs.preremove
$ cd emacs-24.3
$ autoreconf -I m4
$ ./configure CFLAGS='-g -0g -fsanitize=address'
LDFLAGS='-fsanitize=address' --without-all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
configure: error: Emacs hasn't been ported to `x86_64-unknown-cygwin'
systems.
Check `etc/MACHINES' for recognized configuration names.
In particular, it doesn't look like the patch actually patches any emacs
files at all... do I need to pull all past versions of the source
package as well or something?
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple