Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Simulator exits/crashes on Win10x64 with POWER_LOSS_RECOVERY #26541

Closed
1 task done
vovodroid opened this issue Dec 16, 2023 · 4 comments · Fixed by #27177
Closed
1 task done

[BUG] Simulator exits/crashes on Win10x64 with POWER_LOSS_RECOVERY #26541

vovodroid opened this issue Dec 16, 2023 · 4 comments · Fixed by #27177
Labels
Bug: Confirmed ! T: Development Makefiles, PlatformIO, Python scripts, etc.

Comments

@vovodroid
Copy link
Contributor

vovodroid commented Dec 16, 2023

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

Similator exits (crashes?) on Win10x64 with POWER_LOSS_RECOVERY after arriving to this point:

image

The only change in config https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.1.x/config/examples/Simulator is

#define POWER_LOSS_RECOVERY

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

bugfix-2.1.x Bump distribution date (2023-12-16)

Printer model

No response

Electronics

No response

LCD/Controller

No response

Other add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

@vovodroid
Copy link
Contributor Author

Issue is still here.

@thisiskeithb thisiskeithb changed the title [BUG] Similator exits (crashes?) on Win10x64 with POWER_LOSS_RECOVERY [BUG] Simulator exits/crashes on Win10x64 with POWER_LOSS_RECOVERY May 16, 2024
@thisiskeithb
Copy link
Member

thisiskeithb commented Jun 8, 2024

Using the latest bugfix-2.1.x (320e002) with matching bugfix-2.1.x Simulator configs, I can confirm that the simulator crashes out under Windows 10 x64 (22H2 / OS Build 19045.4412) as well as macOS Monterey 12.7.5 when POWER_LOSS_RECOVERY is enabled.

@thisiskeithb thisiskeithb added the T: Development Makefiles, PlatformIO, Python scripts, etc. label Jun 8, 2024
@ellensp
Copy link
Contributor

ellensp commented Jun 8, 2024

crashes in Marlin/src/sd/SdVolume.h
on uint8_t fatType() const { return fatType_; }

fatType_ is not yet initialized

@thisiskeithb
Copy link
Member

crashes in Marlin/src/sd/SdVolume.h on uint8_t fatType() const { return fatType_; }

fatType_ is not yet initialized

Ahh. That would explain why it boots/works fine if you've generated fs.img & have it loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed ! T: Development Makefiles, PlatformIO, Python scripts, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants