trevorsandy / lpub3d

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

Crash during globally rescaling the assembly image #714

Closed Dark-Noir closed 1 year ago

Dark-Noir commented 1 year ago

Subject

Crash during globally rescaling the assembly image, only happens once, but to be honest, LPub3D crashes at many cases, this is just one of them. Please improve the stability of LPub3D 🙏 When you want more crash dumps for other crashes, like when trying to add another step to the same page, just ask (but i hate to created dozens of tickets when no interest is there ^^).

Environment

Configuration

Logs

Dump

Steps to reproduce

  1. Start LPub3D.exe
  2. Select your LDraw lib
  3. Open a *.ldr file
  4. Go to "Configuration -> Building instructions Setup... -> Assembly Setup..."
  5. Set the "Scale" to "0,60"
  6. Close the menu with "OK"

Expected behavior

Actual behavior

Workaround

Restart and try again...

Solution suggestion

Fix it ^^

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

I was not able to reproduce this behaviour on v2.4.6-r144 or the latest DevOps build.

Using your configuration settings:

Crash714_A

My behaviour from a clean portable distribution install were as expected.

Crash714

Cheers,

Dark-Noir commented 1 year ago

@trevorsandy I get many crashes here and there, not really good to reproduce at the same step, but they appear quite often. So i can just send dump files for you to check and fix it. I working on a ~1500 pages large instruction, maybe its just too much for the program. Atm. i am using Bricklink Studio for it, to find errors etc., but i lacks features so i would love to use LPub3D for the final version, but the crashes are just to annoying.

trevorsandy commented 1 year ago

I get many crashes here and there... I can just send dump files for you to check and fix it.

The dump file seems to suggest you are exceeding your memory capacity.

Some helpful tips:

Cheers,

Dark-Noir commented 1 year ago

The dump file seems to suggest you are exceeding your memory capacity.

I got 64GB of RAM, if LPub3D can fill it, then there is probably a memory leak 😅

Some helpful tips:

* In LPub3D Preferences, set _Show Load Status_ to _Always_ to see any anomalies on model file load

* Turn off high-overhead features like fade and highlight while formatting your model

* Break your model into multiple _books_

Good ideas ty ^^