This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 64-bit emacs crashes a lot
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Aug 2013 22:35:54 -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>
On 8/15/2013 4:55 PM, Ryan Johnson wrote:
At this point I'm pretty confident it's memory corruption of some kind.
Consider the following semi-STC:
1. Invoke: emacs-nox -Q; echo -e "att $(jobs -p)\nc" > /dev/clipboard; fg
2. ^Z
3. (switch to window running gdb and hit [shift]+[insert] to paste from
clipboard)
5. (switch to window running emacs): M-x compile C-a C-k ls [ret]
6. C-x o (to switch to the compilation output window)
7. Hit 'g' to keep repeating the "compilation" until gdb picks up a crash.
I tried a simpler version of this (without gdb and without
suspending/resuming):
1. Invoke 'emacs-nox -Q' in mintty.
2. M-x compile C-a C-k ls RET
3. C-x o
4. Hit 'g' repeatedly.
I got it to abort with Fatal error 6 after slightly over 100 repetitions.
I then tried the same thing with emacs-X11 (running under X, not in
mintty). I hit 'g' 200 times without a problem. I repeated this with
emacs-w32, again 200 times without a problem.
So there's a bug somewhere. But if it's an emacs bug, it's strange that
it only occurs with emacs-nox and not with either of the GUI versions of
emacs.
Ken
--
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