unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
@ 2010-12-23 20:59 Caligo
  2010-12-24  8:21 ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: Caligo @ 2010-12-23 20:59 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]

Greetings,

Today doing some work in C++ I noticed that Emacs would freeze whenever I
tried to scroll down in one of my files.  It would only happen to one
specific *.hpp file, and I managed to almost pinpoint the source by removing
rest of the source code.  Now I can't even open the file because Emacs goes
into infinite loop at start-up.  I have attached the file.  If ColorSpaces
typedef is removed or commented out, then it works fine, but please note
that spaces and the rest of the code are necessary to trigger it.

Can anyone else confirm this?

[-- Attachment #1.2: Type: text/html, Size: 577 bytes --]

[-- Attachment #2: bug.hpp --]
[-- Type: text/x-c++hdr, Size: 590 bytes --]















































class ConversionConsole : public QWidget{


private:
  typedef boost::array<InputLine, 22> InputLines;



























  typedef cons<XYZ, cons<xyY, cons<Lab, cons<LCHab, cons<Luv, cons<LCHuv,
          cons<AdobeRGB, cons<AppleRGB, cons<BestRGB, cons<BetaRGB,
  	  cons<BruceRGB, cons<CIERGB, cons<ColorMatchRGB, cons<DonRGB4,
  	  cons<ECIRGB, cons<EktaSpacePS5, cons<NTSCRGB, cons<PAL_SECAMRGB,
  	  cons<ProPhotoRGB, cons<SMPTE_CRGB, cons<sRGB, cons<WideGamutRGB
  	  > > > > > > > > > > > > > > > > > > > > > > ColorSpaces;

};

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
       [not found] <mailman.18.1293143079.13294.help-gnu-emacs@gnu.org>
@ 2010-12-24  1:02 ` Stefan Monnier
  2010-12-24  2:10   ` Caligo
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2010-12-24  1:02 UTC (permalink / raw)
  To: help-gnu-emacs

> Today doing some work in C++ I noticed that Emacs would freeze whenever I
> tried to scroll down in one of my files.  It would only happen to one
> specific *.hpp file, and I managed to almost pinpoint the source by removing
> rest of the source code.  Now I can't even open the file because Emacs goes
> into infinite loop at start-up.  I have attached the file.  If ColorSpaces
> typedef is removed or commented out, then it works fine, but please note
> that spaces and the rest of the code are necessary to trigger it.

Send it via M-x report-emacs-bug, please.


        Stefan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  1:02 ` Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) Stefan Monnier
@ 2010-12-24  2:10   ` Caligo
  2010-12-24  3:56     ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Caligo @ 2010-12-24  2:10 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

sorry, I've never done this before.  I used M-x report-emacs-bug and I've
typed the report up, but how do I attach the *.hpp file to the report?

On Thu, Dec 23, 2010 at 7:02 PM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:

> > Today doing some work in C++ I noticed that Emacs would freeze whenever I
> > tried to scroll down in one of my files.  It would only happen to one
> > specific *.hpp file, and I managed to almost pinpoint the source by
> removing
> > rest of the source code.  Now I can't even open the file because Emacs
> goes
> > into infinite loop at start-up.  I have attached the file.  If
> ColorSpaces
> > typedef is removed or commented out, then it works fine, but please note
> > that spaces and the rest of the code are necessary to trigger it.
>
> Send it via M-x report-emacs-bug, please.
>
>
>        Stefan
>

[-- Attachment #2: Type: text/html, Size: 1250 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  2:10   ` Caligo
@ 2010-12-24  3:56     ` Stefan Monnier
  2010-12-24  5:39       ` Caligo
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2010-12-24  3:56 UTC (permalink / raw)
  To: Caligo; +Cc: help-gnu-emacs

> sorry, I've never done this before.  I used M-x report-emacs-bug and I've
> typed the report up, but how do I attach the *.hpp file to the report?

You can just copy&paste it, or if your Emacs is new enough, then M-x
mml-attach-file (available from somewhere in the menu) should work
as well.


        Stefan


> On Thu, Dec 23, 2010 at 7:02 PM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:

>> > Today doing some work in C++ I noticed that Emacs would freeze whenever I
>> > tried to scroll down in one of my files.  It would only happen to one
>> > specific *.hpp file, and I managed to almost pinpoint the source by
>> removing
>> > rest of the source code.  Now I can't even open the file because Emacs
>> goes
>> > into infinite loop at start-up.  I have attached the file.  If
>> ColorSpaces
>> > typedef is removed or commented out, then it works fine, but please note
>> > that spaces and the rest of the code are necessary to trigger it.
>> 
>> Send it via M-x report-emacs-bug, please.
>> 
>> 
>> Stefan
>> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  3:56     ` Stefan Monnier
@ 2010-12-24  5:39       ` Caligo
  2010-12-24  8:29         ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: Caligo @ 2010-12-24  5:39 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

I tried to send it, but I get "Sending...failed with exit value 1".

Could you or somebody else please send it.


On Thu, Dec 23, 2010 at 9:56 PM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:

> > sorry, I've never done this before.  I used M-x report-emacs-bug and I've
> > typed the report up, but how do I attach the *.hpp file to the report?
>
> You can just copy&paste it, or if your Emacs is new enough, then M-x
> mml-attach-file (available from somewhere in the menu) should work
> as well.
>
>
>        Stefan
>
>
> > On Thu, Dec 23, 2010 at 7:02 PM, Stefan Monnier <
> monnier@iro.umontreal.ca>wrote:
>
> >> > Today doing some work in C++ I noticed that Emacs would freeze
> whenever I
> >> > tried to scroll down in one of my files.  It would only happen to one
> >> > specific *.hpp file, and I managed to almost pinpoint the source by
> >> removing
> >> > rest of the source code.  Now I can't even open the file because Emacs
> >> goes
> >> > into infinite loop at start-up.  I have attached the file.  If
> >> ColorSpaces
> >> > typedef is removed or commented out, then it works fine, but please
> note
> >> > that spaces and the rest of the code are necessary to trigger it.
> >>
> >> Send it via M-x report-emacs-bug, please.
> >>
> >>
> >> Stefan
> >>
>

[-- Attachment #2: Type: text/html, Size: 1936 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-23 20:59 Caligo
@ 2010-12-24  8:21 ` Tassilo Horn
  0 siblings, 0 replies; 9+ messages in thread
From: Tassilo Horn @ 2010-12-24  8:21 UTC (permalink / raw)
  To: help-gnu-emacs

Caligo <iteronvexor@gmail.com> writes:

Hi Caligo,

> Today doing some work in C++ I noticed that Emacs would freeze
> whenever I tried to scroll down in one of my files.  It would only
> happen to one specific *.hpp file, and I managed to almost pinpoint
> the source by removing rest of the source code.  Now I can't even open
> the file because Emacs goes into infinite loop at start-up.  I have
> attached the file.  If ColorSpaces typedef is removed or commented
> out, then it works fine, but please note that spaces and the rest of
> the code are necessary to trigger it.
>
> Can anyone else confirm this?

Yeah, even with "emacs -Q bug.hpp" and a very recent emacs 24 directly
from bzr.  Could you please file a bug report including the hpp file
using M-x report-emacs-bug?

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  5:39       ` Caligo
@ 2010-12-24  8:29         ` Tassilo Horn
  2010-12-24  9:00           ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2010-12-24  8:29 UTC (permalink / raw)
  To: help-gnu-emacs

Caligo <iteronvexor@gmail.com> writes:

> I tried to send it, but I get "Sending...failed with exit value 1".

Next time, simply copy the contents of the bug report buffer into your
usual email client and send from that.

> Could you or somebody else please send it.

I did so.  I'll provide the bug number as soon as I got the
acknowledgement mail.

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  8:29         ` Tassilo Horn
@ 2010-12-24  9:00           ` Tassilo Horn
  2010-12-24 15:51             ` Caligo
  0 siblings, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2010-12-24  9:00 UTC (permalink / raw)
  To: help-gnu-emacs

Tassilo Horn <tassilo@member.fsf.org> writes:

> I did so.  I'll provide the bug number as soon as I got the
> acknowledgement mail.

It's Bug#7722.

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7722

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
  2010-12-24  9:00           ` Tassilo Horn
@ 2010-12-24 15:51             ` Caligo
  0 siblings, 0 replies; 9+ messages in thread
From: Caligo @ 2010-12-24 15:51 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Thanks very much Tassilo.

On Fri, Dec 24, 2010 at 3:00 AM, Tassilo Horn <tassilo@member.fsf.org>wrote:

> Tassilo Horn <tassilo@member.fsf.org> writes:
>
> > I did so.  I'll provide the bug number as soon as I got the
> > acknowledgement mail.
>
> It's Bug#7722.
>
>  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7722
>
> Bye,
> Tassilo
>
>
>

[-- Attachment #2: Type: text/html, Size: 820 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-12-24 15:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.18.1293143079.13294.help-gnu-emacs@gnu.org>
2010-12-24  1:02 ` Emacs goes into infinite loop - GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) Stefan Monnier
2010-12-24  2:10   ` Caligo
2010-12-24  3:56     ` Stefan Monnier
2010-12-24  5:39       ` Caligo
2010-12-24  8:29         ` Tassilo Horn
2010-12-24  9:00           ` Tassilo Horn
2010-12-24 15:51             ` Caligo
2010-12-23 20:59 Caligo
2010-12-24  8:21 ` Tassilo Horn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).