openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #01474
[Bug 195458] Re: wrong hardcoded path to libjpeg.so
As far as I understand, openjdk-6-jre-headless is the default JRE package pulled in by tomcat6 on Intrepid JeOS Server, not openjdk-6-jre.
The "-headless" version does not have a dependency on libjpeg62, which very likely explains the dozens of crashes I got from the JVM running tomcat6 on my JeOS 8.10 server (under VMWare).
On intrepid, if I follow the dependencies, here is the path:
tomcat6=>jsvc=>libcommons-daemon-java=>default-jre-headless=>openjdk-6-jre-headless
--
wrong hardcoded path to libjpeg.so
https://bugs.launchpad.net/bugs/195458
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “icedtea-java7” source package in Ubuntu: Fix Released
Status in “openjdk-6” source package in Ubuntu: Fix Released
Bug description:
Binary package hint: icedtea-java7-jre
openjdk/jdk/src/share/native/sun/awt/image/jpeg/jpegdecoder.c
void *handle = dlopen("/usr/lib/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL);
if (handle == NULL)
handle = dlopen("/usr/lib64/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL);
jpegstderror = (fn_jpegstderror)dlsym(handle, "jpeg_std_error");
if (jpegstderror == NULL) {
dlclose(handle);
}
example:
crash at open download dialog
http://josm.openstreetmap.de/download/josm-latest.jar