Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000304 [Resin] minor always 07-11-05 00:00 11-30-05 14:43
Reporter jdane View Status public  
Assigned To
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.15 Product Version 3.0.14
  Product Build 3.0.14
Summary 0000304: bad symbol (mutext_lock) causes resin JNI lib load failure
Description 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?
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- 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
 

- Issue History
Date Modified Username Field Change
07-11-05 00:00 jdane New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:43 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker