About HEAP error

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Mar 3 07:01:19 UTC 2021


On 02/03/2021 05:44, Richi Dubey wrote:

>
> (gdb) p *(Heap_Error_context*)(0x00206d7c)
> $5 = {
>   heap = 0x202ba8 <_Workspace_Area>,
>   block = 0x206fec,
>   reason = HEAP_ERROR_FREE_PATTERN
> }

If it is always the same address, then you can set a watch point to an 
element which is written after the free to catch the function which 
writes into this area.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list