Topic: Reproducible Crash of QET
When using the Element-Editor I found a way to reproducibly crash QET.
The steps to reproduce the crash are as follows:
QET crashes reproducible when:
- create a new element
- place a text somewhere
- edit the text
- move the text somewhere else
- save the element
- reload the file (menu - file - reload)
- click at the text-element
- crash!
Same behaviour when:
- open an element-file with some text
- copy and paste a text-element
(view zooms and shifts somewhere!)
- save the element-file
- reload the file (menu - file - reload)
- click at the pasted text-element
- crash!
When starting QET from commandline these two lines appear in both cases when crashing (system-language is set to German):
qelectrotech: sources/editor/ui/texteditor.cpp:74: void TextEditor::setUpChangeConnection(QPointer<PartText>): Zusicherung »m_change_connection.isEmpty()« nicht erfüllt.
Abgebrochen
QET- and System-Info:
"QElectroTech V 0.90-DEV+d7e1813ffb0a58100c957a06d79751d3"
"Compilation: GCC 12.1.0"
"Built with Qt 5.15.4 - x86_64 - Date : Aug 16 2022 : 08:39:41"
"Run with Qt 5.15.4 using 8 thread(s)"
"CPU : model name\t: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz\n"
"RAM Total : 31 GB"
"RAM Available : 30 GB"
"GPU : Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)\n"
"GPU RAM : "
"OS : linux - x86_64 - Version : Debian GNU/Linux bookworm/sid - Kernel : 5.18.0-4-amd64"
*** Qt screens ***
"( 1 : 1920 x 1080 )"
In the attachment you find a small element-file i use for the "crash-tests" but you can use any other element-file.