From: Brian Ceccarelli <nsysbnc@acs.ncsu.edu>
Subject: Re: Urgent Problem: Sybase Threads on OSF1 Alpha
Date: 1998/05/15 [thread overview]
Message-ID: <355C96C4.6F6@acs.ncsu.edu> (raw)
In-Reply-To: 6ja0nl$eqt$1@nnrp1.dejanews.com
c.eltawil@architel.com wrote:
>
> Hi,
> 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)
>
> Anybody has ever experirnced this or has any insights.
Local automatic variables are indeed on the stack and are
unique to your function. Perhaps you have a memory leak
elsewhere in your code. These variables may be getting
stepped on by something totally unrelated. This problem
may only appear on the DEC Alpha because its compiler
may put things in memory differently in such a way to
expose your problem.
If this is an Open Server application, you may experiment
by messing with the SRV_S_STACKSIZE via srv_prop(). Strange
things start to happen when the stack size limit is
approached.
If this is a straight Open Client app, my guess is that
you do indeed have a memory-stomping problem coming
from who-knows-where.
In either case, I'd hate to be in your shoes right now! :)
Brian
next prev parent reply other threads:[~1998-05-15 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 [this message]
1998-05-19 4:00 ` Michael Zarlenga
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