Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Core dump

Acclaimed Contributor Acclaimed Contributor

Re: Core dump (heap corruption)

>1. 0x600000010d5518a8:  0x0000000000000000      0x600000010f2c3728
0x600000010d5518b8:     0x0000000000000440<    0x000000000f0fff00
0x600000010d5518c8:     0x0000000000000000      0x0000000000000000
[Prabhakar] What I understood by your explanation is 0x0000000000000440 this previous block address is not correct.


Yes.  Or the heap address was already freed then reallocated or or bad heap address.

>2. You have to set a watchpoint and run the program
>[Prabhakar] This should be done run time or can be run using core file?


Watchpoints and breakpoints require moving the PC.