Solaris 10 10/08 Release Notes

SPARC: Applications Noncompliant With 8–byte Aligned Mutexes Fail (6729759)

Objects of type mutex_t and pthread_mutex_t must start at 8-byte aligned addresses. Applications that do not satisfy this requirement fail. The following error message is displayed:

*** _THREAD_ERROR_DETECTION: lock usage error detected ***
"mutex is misaligned"
"condvar is misaligned"

Workaround: Setting the environment variable to the following values causes alignment errors to be reported on stderr:

Users should test their applications with the THREAD_ERROR_DETECTION environment variable set to one of these values and request corrections to noncompliant applications.