* Annoying random DCE client death
@ 1995-04-06 4:00 Craig Ruff
1995-04-07 4:00 ` Steven Sonnenberg
1995-04-11 4:00 ` SOLVED: " Craig Ruff
0 siblings, 2 replies; 3+ messages in thread
From: Craig Ruff @ 1995-04-06 4:00 UTC (permalink / raw)
Environment: DEC Alpha OSF/1, DCE 1.0.3
We are having an annoying problem with one of our DCE client programs.
It uses DCE pipes to send the stdout and stderr (with two threads) back
to a remote program acting as the DCE server (but was a client to initiate
the request).
We are getting what appears to be random segmentation violations, most often
in the thread management code, while deep inside an RPC call. I suspect that
we are somehow either trashing memory or using some DCE routine wrong.
Question: Is there any way to turn on any consistency checking of the
thread management data structures or validity checking of the routine
arguments?
The coder is turning blue trying to find the problem, and we don't have
the time yet to turn someone else loose in an in depth static evaulation
of the code. :-(
We also appear to have the problem on SGI Irix 5.3 and DCE 1.0.2 beta code.
--
Craig Ruff NCAR cruff@ncar.ucar.edu
(303) 497-1211 P.O. Box 3000
Boulder, CO 80307
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Annoying random DCE client death
1995-04-06 4:00 Annoying random DCE client death Craig Ruff
@ 1995-04-07 4:00 ` Steven Sonnenberg
1995-04-11 4:00 ` SOLVED: " Craig Ruff
1 sibling, 0 replies; 3+ messages in thread
From: Steven Sonnenberg @ 1995-04-07 4:00 UTC (permalink / raw)
In <3m1j9m$fvt@ncar.ucar.edu> cruff@ncar.ucar.edu (Craig Ruff) writes:
>Environment: DEC Alpha OSF/1, DCE 1.0.3
>We are having an annoying problem with one of our DCE client programs.
>It uses DCE pipes to send the stdout and stderr (with two threads) back
>to a remote program acting as the DCE server (but was a client to initiate
>the request).
>We are getting what appears to be random segmentation violations, most often
>in the thread management code, while deep inside an RPC call. I suspect that
>we are somehow either trashing memory or using some DCE routine wrong.
>Question: Is there any way to turn on any consistency checking of the
>thread management data structures or validity checking of the routine
>arguments?
>The coder is turning blue trying to find the problem, and we don't have
>the time yet to turn someone else loose in an in depth static evaulation
>of the code. :-(
>We also appear to have the problem on SGI Irix 5.3 and DCE 1.0.2 beta code.
>--
>Craig Ruff NCAR cruff@ncar.ucar.edu
>(303) 497-1211 P.O. Box 3000
> Boulder, CO 80307
Purify supports DCE and DCE threads. Purify is a development tool
specifically designed to catch these type of memory corruption issues.
Contact psr@purify.com for more information and availability.
Regards,
steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* SOLVED: Annoying random DCE client death
1995-04-06 4:00 Annoying random DCE client death Craig Ruff
1995-04-07 4:00 ` Steven Sonnenberg
@ 1995-04-11 4:00 ` Craig Ruff
1 sibling, 0 replies; 3+ messages in thread
From: Craig Ruff @ 1995-04-11 4:00 UTC (permalink / raw)
Our problem turned out to be the order of the include files inside files
that have functions that perform I/O. It appears it is necessary to have
the '#include <pthread.h>' statement as the first included file. This
information is buried in section 9.4.1 of DEC's OSF/1 Programmers Guide,
in the section on multi threaded applications.
--
Craig Ruff NCAR cruff@ncar.ucar.edu
(303) 497-1211 P.O. Box 3000
Boulder, CO 80307
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-04-11 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-06 4:00 Annoying random DCE client death Craig Ruff
1995-04-07 4:00 ` Steven Sonnenberg
1995-04-11 4:00 ` SOLVED: " Craig Ruff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox