Re: Core dump (heap corruption) (105 Views)
Reply
Acclaimed Contributor
Dennis Handly
Posts: 24,786
Registered: ‎03-06-2006
Message 26 of 26 (105 Views)

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.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation