Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
5.14.2.1, 5.15.2
-
None
Description
Appliciation crashes when setting NULL char (\0, \x00) within model for QTableView.
When setting NULL char during init we receive proper excpetion:
ValueError: embedded null character
The problem occurs during dynamic modification of the data inside the model:
Process finished with exit code -1073741819 (0xC0000005)
I have attached a code for crash reproduction.
I have prepared button for updating the model with begin/end resetmodel.
On the first button click, the displayed table is incorrectly empty starting from the element with NULL char.
On the second button click, whole app crashes.