We would like to know if someone hit the issue of Free memory read or write in the pthread library under Red Hat Enterprise Linux 5.4 or 5.7 64 bits.
Our program, call the function pthread_mutex_lock() & unlock().
If we look at the stack return by Purify 7.0.1
in one case:
in the other case
a_lock was initialize with
if we run in gdb the code and look at a_lock, everything seems allocated properly.
and the memory that was free was allocated after initialize a_lock.
Any idea what to look for?