trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
133 stars 19 forks source link

Random crash when saving results in corrupt LDraw file #744

Open jacovandermolen opened 12 months ago

jacovandermolen commented 12 months ago

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.

trevorsandy commented 2 weeks ago

Thank you for reporting this behaviour. I'll take a look.

Cheers,

jacovandermolen commented 2 weeks ago

Hi Trevor, Its been a while, but it seems you are picking up working on LPub3D again? I am looking forward to more development :-)