Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.2, Qt Creator 11.0.1
-
None
-
msvc 2012
-
-
e9b3cd548 (11.0)
Description
In one of my Qt project I can write, or paste, a certain line of code that causes Qt Creator to produce a segmentation fault and crash. Have also verified that it work on other person's Qt Creator with the same version, but it does not happen in version 4. It doesn't happen when developing the project out side of Qt Creator.
It's a bit complicated, but the lines of code could be the following (in any order) and they have to be in a function
Line A: a b=c;
Line B: d e(f)="";
- To produce a segmentation fault, it's important that
- Both lines end in ;
- Line B ends in ="";. There can be spaces and stuff in the string, but it has to be a string or char
- a, c, d, e, f starts with is atleast a letter (doesn't crash with number or other character)
- The ascii value of one characted in c module 4 is 0, . So $,0,4,8,d,D,h,H, etc
- It's not important that
- Line A is defined before Line B
- Lane A is defined withing the function, it can also be a variable from the function header