Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Core dump

Highlighted
Dennis Handly
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.