GNU bug report logs - #11841
24.1; emacs hangs when opening cpp file with mixed eol styles

Previous Next

Packages: emacs, cc-mode;

Reported by: Vadim K <vadimsks <at> gmail.com>

Date: Mon, 2 Jul 2012 04:34:02 UTC

Severity: important

Merged with 11891, 13046

Found in versions 23.4, 24.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Mackenzie <acm <at> muc.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13046: closed (23.4; Minimal Example to freeze emacs C++ mode
 (nasty interaction between templates & windows endline characters ))
Date: Tue, 11 Dec 2012 19:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Dec 2012 19:24:11 +0000
with message-id <20121211192411.GA3498 <at> acm.acm>
and subject line Re: bug#11841: 24.1;	emacs hangs when opening cpp file with mixed eol styles
has caused the debbugs.gnu.org bug report #11841,
regarding 23.4; Minimal Example to freeze emacs C++ mode (nasty interaction between templates & windows endline characters )
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
11841: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11841
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John Smith <drefleladi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.4; Minimal Example to freeze emacs C++ mode (nasty interaction
	between templates & windows endline characters )
Date: Sat, 1 Dec 2012 16:22:20 +0100
[Message part 3 (text/plain, inline)]
Dear Maintainers,

Using emacs -Q,just open the attached minimal example and try typing
"std::string" in the body of the function.
That should hang emacs forever (or at least it does on my up-to-date
ubuntu).

Cheers,
[Message part 4 (text/html, inline)]
[crash.hpp (text/x-c++hdr, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 11841-done <at> debbugs.gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>, Vadim K <vadimsks <at> gmail.com>
Subject: Re: bug#11841: 24.1;	emacs hangs when opening cpp file with mixed
	eol styles
Date: Tue, 11 Dec 2012 19:24:11 +0000
Bug fixed in revision #111024.

On Mon, Jul 02, 2012 at 07:42:11PM +0300, Eli Zaretskii wrote:
> > Date: Sun, 1 Jul 2012 20:51:43 -0400
> > From: Vadim K <vadimsks <at> gmail.com>
> > 
> > Emacs hangs forever with 100% cpu usage when I'm trying to open a
> > specific cpp file (see attached bad.cpp). The bad.cpp file has
> > Windows end of line style (0D 0A) everywhere except in the line next
> > to the last one.

-- 
Alan Mackenzie (Nuremberg, Germany).


This bug report was last modified 12 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.