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

[BFW-5746] [BUG] BSOD stubs.cpp:5 while receiving gcode from Prusa Connect #4052

Closed
meermanr opened this issue Jun 23, 2024 · 4 comments
Closed
Assignees
Labels
BSOD Firmware crashed. bug Something isn't working.

Comments

@meermanr
Copy link

Printer model

XL5T

Firmware version

6.0.2+14873 [S][A]

Upgrades and modifications

None

Printing from...

Prusa Connect

Describe the bug

Blue Screen of Death (BSoD) occurred shortly after sending a print job via PrusaSlicer-2.8.0-beta1 through Prusa Connect. I noted that the Prusa Connect tab in the slicer didn't seem to fully load (see screenshot) so I checked the XL's own screen and found it was still on the screen following "Change all filaments" I had done previously. So I used the swipe gesture for back and after the usual beep of acknowledgement no new menu screen was shown, instead there was a short delay and then this BSOD.

I suspect the bgcode was being streamed to the printer, or had recently finished being downloaded, when this happened.

BSOD text (using OCR, image also attached):

BSOD

stubs.cpp:5
aborted
task: displayTask
SP: 10007fd0 LR: 0802b15f PC: 0802b15e
CPUID: 0443c803 ICSR. ICSR_: 00020200 VTOR_: Fa050300
SCR _: 00000210 SHCSR: 00010000 DFSR_: e000ed34
AFSR: 00000030 ADR_ :00100030
bot: 100080bc top: 10006ab0 stack:
2000c7a8 00013391 00013391 40000c00 000c000e 00013391
10008000 00000003 00ffffff 00000000 00000030
00000000 00000000 00000000 08112234 0812Fddc
00000000 11000030 00000000 00000000 00000000
08112e34 0812fdcc 00000000 10000034 10000034 00000000
6.0.2+14873 [S] [A]

PrusaSlicer-2 8 0-beta1 showing Prusa Connect tab that didn't fully load

PrusaXL5T_BSOD_stubs5

How to reproduce

No response

Expected behavior

No response

Files

PrusaXL5T_BSOD_stubs5.zip

I will send the crash dump via email.

@meermanr meermanr added the bug Something isn't working. label Jun 23, 2024
@meermanr
Copy link
Author

Crash dump sent to [email protected], and given ID: PR29049909378

@danopernis danopernis self-assigned this Jun 24, 2024
@danopernis
Copy link
Member

@meermanr Thank you for the bug report and especially for the crash dump. I really appreciate including the report ID which helped speed up the process.

I acknowledge that the bug is present. It should be quite rare, but it is there nevertheless. For interested reader, it happens in DialogHandler which didn't account for different FSM generation number.

Fix is scheduled for the next patch release.

@danopernis danopernis changed the title [BUG] BSOD stubs.cpp:5 while receiving gcode from Prusa Connect [BFW-5746] [BUG] BSOD stubs.cpp:5 while receiving gcode from Prusa Connect Jun 26, 2024
@meermanr
Copy link
Author

meermanr commented Jun 26, 2024 via email

@danopernis danopernis added scheduled We are working on it or we have scheduled it for one of the next releases. BSOD Firmware crashed. labels Jun 26, 2024
@danopernis
Copy link
Member

@meermanr New firmware v6.0.4 was just released which should fix this.

@danopernis danopernis removed the scheduled We are working on it or we have scheduled it for one of the next releases. label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BSOD Firmware crashed. bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants