Lemmings Forums

NeoLemmix => Community Edition => Closed => Topic started by: Simon on March 04, 2025, 01:58:53 AM

Title: [✓][BUG][PL] Crash after quit: Press ESC twice during level preview
Post by: Simon on March 04, 2025, 01:58:53 AM
NL CE 1.0 in Wine 10.2 on Arch Linux.


20-second video of the crash (https://www.lixgame.com/etc/ce-crash-mash-esc.mp4)

Expected instead: No crash. I should get the same result regardless of how often I mash Esc during the fade-outs.

The program quits cleanly when I wait until the main menu has finished fading in before I press Esc the second time.

No data is lost. The program has already saved all user options and level results before it ever tries to quit from the main menu.

-- Simon
Title: Re: [BUG] Crash after quit: Press ESC twice during level preview
Post by: WillLem on March 04, 2025, 02:40:49 AM
Went to move this to the Community Edition bugs board, but of course it doesn't exist yet!

What was decided regarding this? Shall I just use the existing NL bugs board? It seems better for CE to have its own, but I'm happy to go with whatever's decided.



I can replicate the bug in Windows 11. I'll find a fix soon.
Title: Re: [BUG] Crash after quit: Press ESC twice during level preview
Post by: WillLem on March 04, 2025, 07:46:22 PM
Should be fixed in:

CE commit 3fad407
SLX commit 2ee282d

Used madExcept to help track down the cause, added a check to ensure valid pointer in the buggy method.
Title: Re: [FIXED][BUG] Crash after quit: Press ESC twice during level preview
Post by: Simon on March 06, 2025, 02:11:46 AM
Thanks for looking at this so quickly! Happy to test it when you release binaries for the next time. I don't have a Delphi build toolchain here.

-- Simon
Title: Re: [✓][BUG][PL] Crash after quit: Press ESC twice during level preview
Post by: Simon on April 23, 2025, 05:17:42 PM
Do you think that this fix warrants a new release for CE? It has sat unreleased now for 7 weeks.

There will be Level of the Year 2024 and Design Contest 32 soon. CE has made it more interesting for me to livestream solving NL levels, and you'll get better feedback for newer versions.

-- Simon
Title: Re: [✓][BUG][PL] Crash after quit: Press ESC twice during level preview
Post by: WillLem on April 24, 2025, 11:56:41 AM
Quote from: Simon on April 23, 2025, 05:17:42 PMDo you think that this fix warrants a new release for CE?

I was going to add a few more features before doing another release but sure, I can release the current working version as a hotfix.

I've been concentrating on other things for the past few weeks as I have a lot of irl stuff going on. Should probably have done a "comings and goings" post.

I'll get a hotfix out later today or tomorrow and update the release schedule ETAs.
Title: Re: [✓][BUG][PL] Crash after quit: Press ESC twice during level preview
Post by: Simon on April 24, 2025, 11:45:12 PM
Thanks! No rush, I'll be busy for another week.



Edit: WillLem has released 1.0.1. I confirm: The crash after double-tapping Esc is now fixed.

-- Simon