Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.4.1
-
OS X 10.10, Windows 8.1, OpenSUSE 13.2. Qt 5.5, QtCreator 3.4.1
-
9d5c85a6359769d4ad37ea2f1fded65d03824b25
Description
Qt-Creator crashes while opening (and parsing) a cpp file containing a very long initializer list for a local variable. In my case (see attachment) it's just an array initializer; the original code there it was first found seems to be an auto generated file. Under debugger I can see a lot of lines in a stack trace like this:
frame #10809: 0x00000001123c7c5c libCPlusPlus_debug.1.0.0.dylib`CPlusPlus::BinaryExpressionAST::clone(this=0x00000001394fe798, pool=0x0000000134fc5920) const + 92 at ASTClone.cpp:350
P.S. Qt-Creator does not crash if such an initializer is in a non-function scope.