Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: GabeJones@my-dejanews.com
Subject: Tracking down stack corruption
Date: 1999/02/03	[thread overview]
Message-ID: <79ahnb$43q$1@nnrp1.dejanews.com> (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    



                 reply	other threads:[~1999-02-03  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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