EAServer crashes with SIGSEGV on solaris with latest jdk 1.4.1-b21.
After some debugging I found that after we called JNI_CreateJavaVM() there are at least 152 bytes memory get corruptted. Those memory were allocated from malloc call.
This problem only exists for Solaris version, NT version does not have this problem. 1.4.0 on Solaris does not have this problem, either.
We did some more investigation and found that this is happening only if LD_PRELOAD is pointing to libjsig.so. It works fine if we do not have LD_PRELOAD to point to libjsig.so. It works fine even if we use the libjsig.so that is shipped with JDK 1.4.0 release.
After some debugging I found that after we called JNI_CreateJavaVM() there are at least 152 bytes memory get corruptted. Those memory were allocated from malloc call.
This problem only exists for Solaris version, NT version does not have this problem. 1.4.0 on Solaris does not have this problem, either.
We did some more investigation and found that this is happening only if LD_PRELOAD is pointing to libjsig.so. It works fine if we do not have LD_PRELOAD to point to libjsig.so. It works fine even if we use the libjsig.so that is shipped with JDK 1.4.0 release.