Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
939 stars 532 forks source link

Duet 3 Mini WiFi crash in network interface code #861

Open dc42 opened 1 year ago

dc42 commented 1 year ago

Duet Forum Discussion Thread

https://forum.duet3d.com/topic/32537/extruder-stops-extruding-again-reboots-randomly-rrf-3-5b3

Which Duet products are you using?

Firmware Version

3.5beta3+

Duet Web Control Version

3.5beta3

Are you using a Single Board Computer (RaspberryPi) with your Duet?

What happened?

Duet is resetting randomly within the WiFi code with an imprecise hard fault.

dc42 commented 1 year ago

Traced it to writing data via a null buffer pointer in WiFiSocket::ReceiveData. However, RRF already guards that code with a check for a null pointer. Temporarily added checks on the value of the register concerned around the calls made by that function.

T3P3 commented 4 months ago

updated thread here: https://forum.duet3d.com/topic/33998/reboots-crashes-rrf-3-5-0-rc1/135