Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Binding UDP socket to broadcast resulting in Guru Meditation Error #80

@thijsdv

Description

@thijsdv

When binding a UDP socket to the broadcast address on a default port, the ESP throws a Guru Meditation Error.

Test:

import usocket as socket
# Assume STA_IF has a connection
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('', 49152))

Error thrown:

Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
Register dump:
PC      : 0x400efd17  PS      : 0x00060530  A0      : 0x800df00d  A1      : 0x3ffcede0  
A2      : 0x3ffb7650  A3      : 0x3ffb7710  A4      : 0x00000002  A5      : 0x00000002  
A6      : 0x00000000  A7      : 0x00000001  A8      : 0x00000000  A9      : 0x3ffcedb0  
A10     : 0x00000000  A11     : 0x3ffcede0  A12     : 0x00000002  A13     : 0x00000002  
A14     : 0x0000002a  A15     : 0x3ffcef90  SAR     : 0x00000006  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000010  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  

Backtrace: 0x400efd17:0x3ffcede0 0x400df00d:0x3ffcee10 0x400db56c:0x3ffcee30 0x400db5d4:0x3ffcee50 0x400e83ac:0x3ffcee70 0x400df133:0x3ffcef10 0x400db56c:0x3ffcef90 0x400db599:0x3ffcefb0 0x400f3369:0x3ffcefd0 0x400f35b3:0x3ffcf070 0x400ee5b3:0x3ffcf0b0

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