trevorsandy / lpub3d

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

Crash when clicking in the Command Editor #767

Closed jacovandermolen closed 1 month ago

jacovandermolen commented 1 month ago

Subject

If I click in the Command Editor LPub3D crashes with dump file

Environment

Steps to reproduce

Open a model file and edit lines in the Command Editor

image

Dump file LPub3D.dmp Log file LPub3DLog.txt

Do you need the pdb file? It is rather large (84 Mb)

trevorsandy commented 1 month ago

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

Is the abend reproducible and predictable or random ?

If reproducible, can you detail the exact sequence of clicks/keystrokes ?

Cheers,

jacovandermolen commented 1 month ago

It is reproducible every time I click some line in the editor the crash occurs.

EDIT: but only if you once navigated to the next page.

So, open model and do nothing else, but click in editor = no crash Navigate to page 2 and click editor = crash

trevorsandy commented 1 month ago

I'm following your sequence on the source from 2.4.7.186.3891 ~and I just can't seem to get an AbEnd.~

~Using the old BuildMod Beetle LDraw model (40252LPub.mpd), I'm advancing the steps, jumping ahead, navigating backwards.... and nothing.~

~If you have a specific model file that is producing the behaviour above, can you share it - along with about where in the file you're seeing this behaviour if not at the first step(s) ?~

~Also, if you are using a portable build, can you share the LPub3D.ini at ./config/LPub3D Software/LPub3D.ini ?~

EDIT: Ok - I've finally reproduced an AbEnd using a portable distro release - I was using my Dev env before unsuccessfully.

Cheers,

trevorsandy commented 1 month ago

This behaviour has been corrected.

Cheers,

jacovandermolen commented 1 month ago

I will have to test this more a bit in LPub3D_x86_64-2.4.7.236.3941_20241016, but it didn't occur anymore.