Shared memory error 128 was seen on AIX when a multithreaded process used a single-threaded c-tree client library. In a separate instance, when a Java application used the c-tree single-threaded client library on AIX, a c-tree call failed with error 128 when using the shared memory communication protocol. The logic has been modified to correct these problems.