[Qt-creator] QtCreator Crash under RHEL5 (Code Syntax Related?)

Victor Sardina Victor.Sardina at noaa.gov
Sun Apr 25 05:56:27 CEST 2010


Fellows:

I happened to come across a rather unusual crash of QtCreator under 
RHEL5. I will try to explain the steps to reproduce the crash:

1) Go to a function implementation line, like:
 
int FooClass::FooFunction(int const& i, int const& j,
                                           int const& k, int const& h)
{  ...
    ...
}

and  break it down like so:

 int FooClass::FooFunction
   (int const& i, int const& j,
    int const& k, int const& h)
{  ...
    ...
}

2) Then go to the end of the first line of arguments, erased the "," and 
try writing it back...

I get an instant crash each time I try to do this under RedHat 5. At 
first I thought that it had something to do with the FakeVim plugin, but 
no, it happens even when not using the FakeVim plugin. This appear to 
indicate that for some reason the Editor can't cope with the parsing of 
code written in that manner, maybe something to do with the handling of 
the scope operator "::"? Whatever the reason, this happens each time you 
follow 1) and 2) above. I will try it under Mac tomorrow and see what 
happens.

Has anyone seen this behaviour before?

Victor



More information about the Qt-creator-old mailing list