Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Intermittent hard fault on WIZnet socket read

オープン
#11,472 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adafruit/circuitpython のほかの issue

adafruit/circuitpython の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。