From: zarlenga@conan.ids.net (Michael Zarlenga)
Subject: Re: Urgent Problem: Sybase Threads on OSF1 Alpha
Date: 1998/05/19 [thread overview]
Message-ID: <6jsobh$lut$3@paperboy.ids.net> (raw)
In-Reply-To: 355C96C4.6F6@acs.ncsu.edu
: > We have an application that was written with Sybase threads.
: > After porting it to a DEC Alpha machine, there seems to be a problem,
: > here it is:
: >
: > 2 different threads are calling the same function
: > some variables declared local as automatic in that function are corrupted
: > (doesn't thread has a stack of its own)
Yes, each Sybase thread has its own stack.
Did you get any error messages or warnings abut your stack
becoming corrupted? The default stack is approx 35K and if
you have a couple of thread-safe routines that handle large
structures or strings, you may corrupt your own stack. You
can increase this with srv_props(). I create my Open Servers
with twice the default stacksize (69632 bytes)
Before you bump the stacksize... install error and message
handlers if you haven't yet. Look CLOSELY at their output
for any hints regarding this problem.
By the way, do any of your functions walk the stack to grab
arguments? Just what do you mean by some automatic variables
are "corrupted?" What exactly is wrong with them?
--
-- Mike Zarlenga
finger zarlenga@conan.ids.net for PGP public key
prev parent reply other threads:[~1998-05-19 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-12 4:00 Urgent Problem: Sybase Threads on OSF1 Alpha c.eltawil
1998-05-13 4:00 ` Don Melano
1998-05-15 4:00 ` Brian Ceccarelli
1998-05-19 4:00 ` Michael Zarlenga [this message]
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