Random crash when saving results in corrupt LDraw file
Environment
Version of LPub3D x86_64-2.4.7.75.3780_20230905
Windows 10
Steps to reproduce
Working on a model and saving the file results in crash. Seemed random at any other given moment or after some editing.
However, I am able to constant reproduce in the case, when opening an LDraw file that has LPub formatting and unformat the document resulting in this dmp file
LPub3D should not crash when saving an LDraw file and not corrupt it.
Actual behaviour
LPub3D crashes when saving a file and corrupts it. It seems the complete file is not written, since it abruptly and randomly ends the file at some random line.
Subject
Random crash when saving results in corrupt LDraw file
Environment
Steps to reproduce
Working on a model and saving the file results in crash. Seemed random at any other given moment or after some editing. However, I am able to constant reproduce in the case, when opening an LDraw file that has LPub formatting and unformat the document resulting in this dmp file
LPub3D.dmp
Expected behaviour
LPub3D should not crash when saving an LDraw file and not corrupt it.
Actual behaviour
LPub3D crashes when saving a file and corrupts it. It seems the complete file is not written, since it abruptly and randomly ends the file at some random line.
Workaround
None found.