Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Trying to spot memory corruption with core dump
@ 2009-07-28  6:44 Pavel Shevaev
  2009-07-28  6:58 ` Paul Pluzhnikov
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Shevaev @ 2009-07-28  6:44 UTC (permalink / raw)
  To: gdb

Folks, could you please share any tips on spotting possible memory
corruption by examining the core dump?

My application seg. faults every several hours under moderate load and
the core dump points to malloc/calloc which I believe is a sign I have
a serious memory corruption somewhere in my application. The problem
is the fact I can not trace the problematic place in the code and I
wonder if the core dump can give me some more clues.

Somebody told me I could examine +-200 bytes of the memory where the
last exception happened but I don't really understand what I can find
there. For me it's just the raw amount of bytes...

Thanks in advance.

-- 
Best regards, Pavel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-28 21:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28  6:44 Trying to spot memory corruption with core dump Pavel Shevaev
2009-07-28  6:58 ` Paul Pluzhnikov
2009-07-28  7:12   ` Pavel Shevaev
2009-07-28 13:43     ` Paul Pluzhnikov
2009-07-28 16:55       ` Pavel Shevaev
2009-07-28 17:32         ` Michael Snyder
2009-07-28 21:51         ` Samuel Bronson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox