Intermittent hard fault on WIZnet socket read
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 4.6k
- フォーク
- 1.4k
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 145
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adafruit/circuitpython のほかの issue
-
board breaks api
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
adafruit/circuitpython#11099 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
circuitpython api enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
adafruit/circuitpython#11505 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
adafruit/circuitpython#11467 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add file truncate()オープンcpython api enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
adafruit/circuitpython#11402 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug displayio esp32-s3 regression
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
adafruit/circuitpython#11400 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
adafruit/circuitpython の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dkfans/keeperfx#5415 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
void-linux/void-runit#141 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ARM-software/sysarch-acs#600 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信