Skip to content

[panic report] sys_timeout: timeout != NULL, pool MEMP_SYS_T #9381

Closed
@tommycusick

Description

@tommycusick

CircuitPython version

Adafruit CircuitPython 9.0.5 on 2024-05-22; Raspberry Pi Pico W with rp2040

Code/REPL

import os

import asyncio
import board
import digitalio

import biplane


server = biplane.Server()


@server.route("/", "GET")
def root(query_parameters, headers, body):
  return biplane.Response("<b>Hello, world!</b>", content_type="text/html")


async def run_server():
  for _ in server.circuitpython_start_wifi_station(
     os.getenv('CIRCUITPY_WIFI_SSID'),
     os.getenv('CIRCUITPY_WIFI_PASSWORD'),
     os.getenv('BIPLANE_MDNS_HOSTNAME')):
    await asyncio.sleep(0)  # let other tasks run


async def blink_builtin_led(pin, blink_hz=10):
  with digitalio.DigitalInOut(pin) as led:
    led.switch_to_output(value=False)
    while True:
      led.value = not led.value
      await asyncio.sleep(1. / blink_hz)


if __name__ == '__main__':
    asyncio.run(
       asyncio.gather(
          blink_builtin_led(board.LED),
          run_server(),
        )
    )

Behavior

Code stopped by auto-reload. Reloading soon.
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
starting mDNS at kittyfood.local (IP address 10.0.1.200)

*** PANIC ***

sys_timeout: timeout != NULL, pool MEMP_SYS_T

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions