Search found 5 matches

by alubee
Wed Mar 13, 2024 9:19 am
Forum: General Discussion
Topic: Assertion Failure upon freeing heap memory
Replies: 4
Views: 1886

Re: Assertion Failure upon freeing heap memory

Checking the contents of

Code: Select all

data[i]
before freeing the block in my_struct_free, there is always initialized data inside.
by alubee
Wed Mar 13, 2024 8:38 am
Forum: General Discussion
Topic: Assertion Failure upon freeing heap memory
Replies: 4
Views: 1886

Re: Assertion Failure upon freeing heap memory

Hi Memory blocks associated to the pointer in my_s->data[i] is initialized elsewhere, because the payloads that the array elements point to can become rather large. But the count should reflect how many data-elements are initialized. But I will double check the contents of the data elements to be su...
by alubee
Thu Mar 07, 2024 7:59 pm
Forum: General Discussion
Topic: Assertion Failure upon freeing heap memory
Replies: 4
Views: 1886

Assertion Failure upon freeing heap memory

Hello, I am having a headache dealing with a memory leak that I have been having. Although, once I discovered which resource I remained to be freeing, I receive, at times, this assertion error assert failed: block_next tlsf_block_functions.h:94 (!block_is_last(block)) . Given I cannot find any resou...
by alubee
Tue Dec 05, 2023 8:27 am
Forum: General Discussion
Topic: IOError on deep sleep with idf monitor
Replies: 3
Views: 4008

Re: IOError on deep sleep with idf monitor

Hi,

I've tested the fix for esp-idf-monitor 1.3.4. Works like a charm now. Thanks!
by alubee
Tue Nov 28, 2023 3:48 pm
Forum: General Discussion
Topic: IOError on deep sleep with idf monitor
Replies: 3
Views: 4008

IOError on deep sleep with idf monitor

Context: I'm working on a project using deep sleep and the ESP32C3. When monitoring the serial output via JTAG, the serial monitor is disconnected, as expected. However, when the ESP goes into deep sleep, "idf.py monitor" raises the an error (see stack trace below). Since a colleague of mine does n...