Skip to content

runtime (gc): memory corruption due to untracked allocations #1009

@deadprogram

Description

@deadprogram

The latest dev branch has some issues when running the https://github.com/tinygo-org/drivers/tree/master/examples/wifinina/mqttsub example.

After some period of time, somewhere between 100 and 1500 messages sent/received, the program on the Arduino Nano33 IoT crashes, giving one of the following outputs:

panic: runtime error: out of memory
fatal error: HardFault with sp=0x200007b4 pc=0xf7f8fbbd
panic: runtime error: goroutine stack overflow
panic: runtime error: nil pointer dereference

Note that it is one of the above when it crashes, not all of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions