[KLUG Members] Fellow Mozilla/Galeon Users, I need a crash test dummy

members@kalamazoolinux.org members@kalamazoolinux.org
Mon, 1 Jul 2002 13:40:53 -0400


>>>>>Can I get a few Mozilla/Galeon users to surf over to
>http://www.lmcu.org
>>>>>and see if it blows up their browser.
>>>>Nope, it comes up fine with my Galeon (latest Ximian).  I clicked on a
>>>Me too,  red-carpet says no packages to update.
>>>>few links too.  Do I need to click on anything special to crash it?
>>>Nope, I can't even view it.
>>>Do you have a jvm installed?  I'm thinking there is a threading issue
>>>between glibc and the jvm when mozilla tries to load the so. Hrrmmm....
>>>The web site is pretty useless without Java :(
>>>It used to work great, then they "upgraded".
>>Yep, I removed libjavaplugin_oji.so from /usr/lib/mozilla/plugins and the
>>site
>>loads.  :(   Grrrrrrrrrrrrrrrrrrr........
>>Time to -
>>export JAVA_PLUGIN_TRACE=true
>>strace -f -o mozilla.log mozilla
>>and see what I can find....
>605   execve("/usr/bin/i386/native_threads/java_vm", ["java_vm", "-t"], [/*
>54
>vars */]) = -1 ENOENT (No such file or directory)
>605   write(2, "INTERNAL ERROR on Browser End: ", 31) = 31
>605   write(2, "Exec of \"java_vm\" failed: 2\n<", 29) = 29
>605   write(2, "\n", 1)                 = 1
>605   write(2, "System error?:: No such file or "..., 42) = 42
>
>"/usr/bin/i386/native_threads/java_vm"?  What the.....  I hate java!

"strings libjavaplugin_oji.so"  | grep HOME shows me:
HOME
JAVA_HOME=%s
 JAVA_HOME is %s
PLUGIN_HOME=%s
 PLUGIN_HOME is %s
HOME

so I've set
export PLUGIN_HOME=/usr/java/jre1.3.1_03/
and
export JAVA_HOME=/usr/java/jre1.3.1_03/
and run moz from the prompt.  And it still looks in "/usr/bin/i386/native_threads/".

In case it uses the old 'parse me own dl_open results' trick to find it's home 
I put /usr/java/jre1.3.1_03/lib in /etc/ld.so.conf and ran ldconfig,  run moz
and it still looks in "/usr/bin/i386/native_threads/"

What sly sylvan trick does this nightmare of a plugin use to determine what the
root of the Java installation is?