* Tracking down stack corruption
@ 1999-02-03 5:00 GabeJones
0 siblings, 0 replies; only message in thread
From: GabeJones @ 1999-02-03 5:00 UTC (permalink / raw)
I have been trying to eliminate this bug for weeks, and I'm about at wits'
end. Here's the scenario: I am porting a program from Digital UNIX 3.2G to
4.0D. The application is multithreaded and has been updated to the new
pthread interface in 4.0. However, it crashes with a SEGV soon after
startup. I have run it through the debugger repeatedly, and the crash
appears at the same place every time. There seems to be stack corruption,
however--the functions as shown by ladebug are out of order. I've tried
Third Degree and Insure++, but they weren't too helpful in tracking down the
source of this corruption. I tried increasing (greatly) the thread stack &
guard size, but to no avail. What are some good steps to take when debugging
a stack corruption problem?
Thanks in advance for any pointers.
Gabe Jones
Software engineer, SkyTel Communications, Inc.
gjones@atc.skytel.com
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-02-03 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-03 5:00 Tracking down stack corruption GabeJones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox