Skip to content

ESP32: Guru Meditation some time after ppp.active(False) #17079

@rambo

Description

@rambo

Port, board and/or hardware

esp32 port, WROVER

MicroPython version

MicroPython v1.24.1 on 2024-11-29; Generic ESP32 module with SPIRAM with ESP32

Reproduction

Python code at https://gist.github.com/rambo/af8fed021feba46ce0bba86ea2b9dfaa

A more minimal version is to probably just call net.active(False) after timing out from

net = network.PPP(self.uart)
net.active(True)
await asyncio.sleep(0.5)
net.connect()
while not self.net.isconnected():
    await asyncio.sleep(0.1)

Do note that PPP.disconnect -method does not exist in ESP32 port for some reason so we cannot call it before calling active(False).

Expected behaviour

Micropython should continue running normally forever.

Observed behaviour

Micropython crashes with Guru meditation.

mpy_stackraces.txt

Additional Information

mpy_stackraces_resolved.txt

See the file for the resolved stack traces.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy