Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.1.0, Qt Creator 4.5.2
-
None
-
Linux with qt 5.9.2, Windows with qt 5.10.1
Description
I have a simple shell script with the following content: << % (see attachment).
- Opening this script in QtCreator using Plain Text Editor freezes QtCreator on Windows and Linux. (a)
- A crash occurs as soon as this combination is typed into an opened shell script. (b)
- Error log:"terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc"
- Error log:"terminate called after throwing an instance of 'std::bad_alloc'
QtCreator does not crash, if << and % are separated by a line break.
Steps to reproduce:
(a)
- Create shell script with the following line: << % (see attachment).
- Make script executable
- Open script in QtCreator's Plain Text Editor (File > Open File With... > Plain Text Editor)
- Freeze
(b)
- Create shell script
- Make script executable
- Open script in QtCreator's Plain Text Editor (File > Open File With... > Plain Text Editor)
- Type << % in the script
- Crash