firefox sets LD_LIBRARY_PATH which breaks the icedtea6-plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
Won't Fix
|
Medium
|
|||
firefox (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
openjdk-6 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: firefox
starting with openjdk/
The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to include MOZILLA_FIVE_HOME and a number of subdirectories of MOZILLA_FIVE_HOME. The current NSS provider code seems to honor LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser.
Caused by: java.io.
at sun.security.
at sun.security.
(wondering why the nss version shipped with firefox 3.6.3 identifies itself as 3.7).
However the openjdk build is configured for the nss version configured at build time, and you can run it with more than one browser, so it makes sense to use the libnss version which was detected at openjdk build time.
My current solution/workaround is to pass a modified LD_LIBRARY_PATH to the subprocess such that the libnss3.so which was configured at build time is always used.
The setting of LD_LIBRARY_PATH in the run-mozilla.sh start script may be convenient, but it does break plugins which are built to be independent of the browser used.
Things to do on the browser side:
- why does firefox use it's own outdated libnss copy, and doesn't use the system nss3?
- why does the nss shipped with firefox identifies itself with 3.7?
- the firefox startup script should not set LD_LIBRARY_PATH, but search itself for libs
in known places.
for a proposed workaround for the icedtea6-plugin to work with this broken plugin, see http://
Related branches
Changed in openjdk: | |
status: | Unknown → Confirmed |
Changed in openjdk: | |
status: | Confirmed → Fix Released |
Changed in openjdk: | |
importance: | Unknown → Medium |
Changed in openjdk: | |
status: | Fix Released → Won't Fix |
Icedtea dont load/runs/works with applets. One example are geogebra applet. www.slu. edu/classes/ maymk/GeoGebra/
Trying to load any applets from this page would fail. http://
One applet that fail: www.slu. edu/classes/ maymk/GeoGebra/ SecantToTangent .html
http://