Search found 4 matches

by quentho
Fri Jun 05, 2020 9:00 am
Forum: ESP32 Arduino
Topic: CORRUPT HEAP
Replies: 5
Views: 5587

Re: CORRUPT HEAP

I increased the size of my pointers with new char [15], I have the right concatenation but I still have a problem with my memory free call CORRUPT HEAP tail.
by quentho
Thu Jun 04, 2020 9:41 am
Forum: ESP32 Arduino
Topic: CORRUPT HEAP
Replies: 5
Views: 5587

Re: CORRUPT HEAP

I don't understand because i have set the termined zero terminal with this line : *(data+1)='\0';. It's working but the probleme is when i free my pointer.
I show you the new code with the same result
by quentho
Mon Jun 01, 2020 4:16 pm
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'e with free [RESOLVED]
Replies: 1
Views: 2442

Guru Meditation Error: Core 1 panic'e with free [RESOLVED]

Hello , I would like to recover the result of my serial2 link. It's a char by char and concatenate them. I use pointers, my code works once when I don't free memory with free() function. When I want to free the memory after use I have directly one problem problems. I put two pictures one with free, ...
by quentho
Mon Jun 01, 2020 3:18 pm
Forum: ESP32 Arduino
Topic: CORRUPT HEAP
Replies: 5
Views: 5587

CORRUPT HEAP

Hello, i would like to put my serial char result inside char* with concatenation function. But i have a 2 problem problemes : CORRUPT HEAP: Bad tail CORRUPT HEAP: multi_heap.c:432 i think it's overload but i initialize my pointer with 15 octets and normaly it's enought. void Wisol::getID() { printf(...