Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Mutex corruption when using DECthreads
@ 2001-10-25  1:39 Raj Calisa
  2001-10-25 13:04 ` David Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: Raj Calisa @ 2001-10-25  1:39 UTC (permalink / raw)


Hi all,

We are using the following:

Tru64 Unix 4.0F (patch kit 5), Compaq C++ 6.2-T009.

We are currently faced with a wierd pthread_mutex_lock() failure
in our application. Unfortunately, we do not know the
return code. We only know that it is not "0". This is because
the actual mutex lies hidden under two sets of C++ wrappers and
the error code is neither propogated nor logged anywhere.

We are almost convinced that this could be due to memory corruption
and we are trying to use a tool called "Third degree" to find out
if there is really any corruption. We are running the instrumented
executable
under ladebug and put a watch on the mutex in question. In the
course of execution we get the following error:

%DECthreads bugcheck (version V3.16-023), terminating execution.
% Reason:  selected a non-ready thread 28 (0x140dab880) state sorting
% Running on OSF1 V4.0 on AlphaServer 1000A 5/500, 512Mb; 1 CPUs

If we do not put a watch on the mutex, it fails on the mutex_lock call.

Occasionally, we have seen another message as given below when we
run the instrumented program on another machine:

%DECthreads bugcheck (version V3.16-023), terminating execution.
% Reason:  schPriority: unrecognized class 0
% Running on OSF1 V4.0 on AlphaServer 1200 5/533 4MB, 1024Mb; 1 CPUs

I wanted to know what the above errors mean and could they be related
to the mutex corruption that we see.

The mutex that we are using is a "normal" mutex not a errorcheck or
recursive one. Is there a way of determining if the mutex is still
valid by looking at the "lock" field?

Thanks

rajanish...


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-25 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25  1:39 Mutex corruption when using DECthreads Raj Calisa
2001-10-25 13:04 ` David Butenhof

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