This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 64-bit emacs crashes a lot
- From: Bengt Larsson <lists dot cygwin4 at bengtl dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 16 Aug 2013 11:07:45 +0200
- Subject: Re: 64-bit emacs crashes a lot
- References: <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>
- Reply-to: cygwin at cygwin dot com
Ryan Johnson wrote:
>I set a breakpoint there, since I thought it was guaranteed to lead to a
>crash if it ever ran, but it turns out that's not true. Invoking M-x
>compile triggers the breakpoint twice in a row with the following
>(valid!) 5-byte UTF-8:
>
>111110XX 10XXXXXX 10XXXXXX 10XXXXXX 10XXXXXX
>11111000 10001111 10111111 10111101 10111111
>
>The value is always the same, and corresponds to the code point
>U+3FFF7F, FWIW. The backtrace seems to involve loading a file (maybe the
>.elc contains 'compile or 'compilation-mode?), and the breakpoint does
>not recur in subsequent compilations, presumably because they don't
>re-load the file. Emacs continues normally from there, because the
>leading bits are zero and the resulting code point doesn't pass the
>0x3FFFFF limit.
Modern Emacs uses an extended UTF-8 as internal representation.
http://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Representations.html
--
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