Intermittent hard fault on WIZnet socket read
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- embedded-iot, networking
Direzione di ricerca
Start by reading the linked location in adafruit_wiznet5k.py around line 913, then compare the reported socket-availability and byte-processing logs with the hard-fault report. Try to reproduce the failure with one of the listed W5500 configurations and the reported network conditions; done means the fault is reproducible and its cause is identified or a fix is verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Observed on the following W5500 configs:
Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Adafruit QT Py ESP32-S3 4MB Flash 2MB PSRAM with ESP32S3
(wired via SPI to WIZ850io)
Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; FeatherS3 with ESP32S3 (N16R8)
(wired via SPI to W5500-EVB-Pico2)
Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Seeed Xiao ESP32-S3 Sense with ESP32S3 (N8R8)
(XIAO W5500 Ethernet Adapter with built-in W5500)
Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Waveshare ESP32-S3-ETH with ESP32S3 (N16R8)
(with built-in W5500)
Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; ESP32-C5-DevKitC-1-N8R8 with ESP32C5
(Seeed Xiao ESP32-C5 N8R8 wired via SPI to WIZ850io)
With debug=True, the following is typical:
socket_available called on socket 1, protocol 33
Bytes avail. on sock: 2048
* Processing 5 bytes of data
socket_available called on socket 1, protocol 33
Bytes avail. on sock: 2043
* Processing 2043 bytes of data
[tio 17:10:27] Disconnected
[tio 17:10:33] Connected
safemode.py reports: supervisor.SafeModeReason.HARD_FAULT.
The hard fault appears to come after this debug print:
https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/blob/f01275e34ad2e5f7ddd9d074e963a8359011a297/adafruit_wiznet5k/adafruit_wiznet5k.py#L913
I'll keep trying to produce a reasonable example, but when I've tried so far I don't get the hard faults. Could be due to some combination of data or network conditions I can't replicate. It's possible there's intermittent network disruption that affects the socket.
This issue predates CP 11, but I didn't spend time on it in the past.
- Lingua principale
- C
- Stelle
- 4.6k
- Fork
- 1.4k
- Merge medio
- 1g 7h
- PR unite (30g)
- 147
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di adafruit/circuitpython
-
board breaks api
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
adafruit/circuitpython#11099 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
adafruit/circuitpython#11515 ·
I maintainer di solito rispondono entro 1 giorno
-
Tags and BranchesApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
adafruit/circuitpython#11514 ·
I maintainer di solito rispondono entro 1 giorno
-
Move silabs to ZephyrApertasilabs
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
adafruit/circuitpython#11507 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
circuitpython api enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
adafruit/circuitpython#11505 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di adafruit/circuitpython
Issue simili
-
area:http-gateway good first issue priority:low type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
crazy-goat/php-fpm-ng#828 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs good first issue type:docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
CVE-2026-18839 popt: size_t underflow in `singleOptionHelp`Forse già presa @pmatilai l’ha presa 34 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
rpm-software-management/popt#143 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100