trevorsandy / lpub3d

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

Crash with dump #741

Open jacovandermolen opened 10 months ago

jacovandermolen commented 10 months ago

Subject

Crash running continues page render

Environment

LPub3D_x86_64-2.4.7.75.3551_20230905 Windows 10 64b

Logs

LPub3DLog.txt LPub3D.dmp.zip

Steps to reproduce

Open model and go through a few pages. 31134 - Space Shuttle.txt

Actual behaviour

Crash with a model file that gave no problems in previous versions. Crash seems to be random differs from page to page where crash occurs.

Workaround

Disable (remove) the 'Parts' view by unchecking Parts in the tabs context menu.

igxelpicd64 dll_Crash_03

jacovandermolen commented 10 months ago

Then close and restart and then this: image

jacovandermolen commented 10 months ago

Unformatting the model file also crashes LPub. The file was working fine with previous versions.

trevorsandy commented 10 months ago

Thank you for reporting this behaviour.

  1. Crash running continues page render

I took a look at the dmp file and can say I've seen this abnormal end intermittently in development - particularly when building the lcLib (LeoCAD) module.

The abend is triggered by igxelpicd64.dll which is part of the Intel UHD driver and has been reported by several graphics intensive applications to be the source of unexplained crashes - see Here or Here or Here

igxelpicd64 dll_Crash_01

igxelpicd64 dll_Crash

~There was no trace within LPub3D to show where the abend is triggered but I suspect it is in the 3DViewer image or display generation.~

So I was able to reproduce this quite intermittent abend and, as indicated above. it is indeed triggered from the 3DViewer module - its parts selection module draw() event to be precise.

Crash741_03

~At this moment, I don't have a solution to resolve this behaviour. I'd am trying to focus on what could be triggering it from within LPub3D.~ For me the abend is somewhat random and generally at file or page load so this seems consistent with the behaviour you are seeing also.

I have since found a workaround - disable (remove) the 'Parts' view by unchecking Parts in the tabs context menu.

igxelpicd64 dll_Crash_03

  1. image

This behaviour should now be corrected. The autogenerated versions JSON file had a typo which I've since corrected.

3.

Unformatting the model file also crashes LPub.

I'm not able to reproduce this behaviour with a clean v2.4.7r75 install.

Clear_Formatting_01

So it is likely this abend may be related to your configuration.

  1. Are you consistently receiving an abend when you attempt to remove your document's formatting ?
  2. Is this behaviour present with a clean v2.4.7r75 install - in a simple location (e.g. C:\Users\Trevor\LPub3D_x86_64-2.4.7.75.3551_20230905\LPub3D_x86_64) ?

Cheers,

jacovandermolen commented 10 months ago

OK, I see. It is indeed random. Would it help to disable the 3Dviewer? The problem does not occur with LPub3D version 2.4.5

I will have to try unformatting again.

My LPub installations are on C:\LEGO\LPub3D...etc

trevorsandy commented 10 months ago

Would it help to disable the 3Dviewer ?

Yes. For me, the abend was quite frequent with the 'Parts' menu enabled and not at all when disabled (unchecked).

igxelpicd64 dll_Crash_03

The problem does not occur with LPub3D version 2.4.5

For me it does. I was able to reproduce the abend when the 'Parts' tab is enabled with v2.4.5.0, v2.4.5.26 and v2.4.5.62.

igxelpicd64 dll_Crash_04

Cheers,