Mantis - Resin
Viewing Issue Advanced Details
304 minor always 07-11-05 00:00 11-30-05 14:43
jdane  
 
urgent  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.15  
0000304: bad symbol (mutext_lock) causes resin JNI lib load failure
RSN-343
after "./configure; make; make install", and starting resin and getting a message about the JNI library not being loaded,
I enabled finer logging, and saw this:

[09:28:53.485] java.lang.UnsatisfiedLinkError: /usr/local/spkg/resin-pro-3.0.14/libexec/libresin.so: ld.so.1: /usr/java/bin/java: fatal: relocation error: file /usr/local/spkg/resin-pro-3.0.14/libexec/libresin.so: symbol mutext_lock: referenced symbol not found

mutext_lock? that looks like a typo to me.

I notice also that the source for 3.0.13 contains a preprocessor define

./c/plugin/resin/resin.h:#define pthread_lock(x) mutext_lock(x)

but that the source for 3.0.14 doesn't seem to contain any reference at all to a mutext_lock. so perhaps the bug was fixed in the source, but not in the 3.0.14 binary package provided on the Caucho site?

Notes
(0000342)
ferg   
07-11-05 00:00   
mutext_lock is the Solaris native thread API. This may be a case where it should be compiled with pthreads instead of solaris threads.
(0000343)
ferg   
07-11-05 00:00   
should be mutex_lock, not mutext_lock in modules/c/src/resin/resin.h