I am having this problem (on i386) and I think I have found the source of the problem and a workaround.  I start Firefox and it sits there loading.  My CPU usage goes to 100% and it is sed that is using all the cpu.  Once I kill the sed process Firefox starts up.  This is what the processes look like:

26956 ?        S      0:00 /bin/sh /usr/bin/firefox
26966 ?        S      0:00 /bin/sh /usr/bin/firefox
26970 ?        R      1:13 sed -e s/\"//g

Looks like it has to do with this line from mozilla-firefox script:

JVM_VERSION=`${JVM_COMMAND} -version 2>&1 | grep version | cut -f 3 -d " " | sed -e 's/\"//g'`

This appears to be code that gets the Java version.  I have tried Sun JDK 1.5.0_05 and 1.5.0_02 and they both exhibit the problem.

It looks like this line that comes before it is causing the problem:

export LD_ASSUME_KERNEL=2.2.5

I was able to create a script that recreates the issue that looks like this:

#!/bin/sh
export LD_ASSUME_KERNEL=2.2.5
echo `java -version 2>&1 | grep version | cut -f 3 -d " " | sed -e 's/\"//g'`

So I have commented out first occurance of the line "export LD_ASSUME_KERNEL=2.2.5" in mozilla-firefox script and it starts up fine now.

----
Nilesh Kapadia
[EMAIL PROTECTED]
http://www.nileshk.com
      

Reply via email to