Skip to content

ussl within urequests causes memory problems #8662

Description

@MATTYGILO

I am running a program on an esp32.

I run a https request early on in the code, then later run some resource intensive neural networks.

I get this error

Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.

I first mentioned this problem in these questions:
https://github.com/mocleiri/tensorflow-micropython-examples/issues/84
https://github.com/espressif/esp-idf/issues/8856

I have since found the root of the problem, but do not know how to fix it

When I comment out all the lines of code including ussl within the urequests file

https://github.com/micropython/micropython-lib/blob/master/python-ecosys/urequests/urequests.py

s = ussl.wrap_socket(s, server_hostname=host)
etc.

The program doesn't crash. However, I require https requests. All help is much appreciated.

Activity

  1. changed the title [-]ussl within urequests causes memory problems Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.[/-] [+]ussl within urequests causes memory problems[/+] on May 13, 2022
  2. jimmo commented on Jul 21, 2022

    @jimmo
    Member

    This issue is now being tracked in #8940.

  3. added a commit that references this issue on Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions