Announcement

Collapse
No announcement yet.

Fixed: Java Applets Crash Firefox

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fixed: Java Applets Crash Firefox

    I have Kubuntu 7.10 installed on two systems with Firefox 2.0.0.8 and Java(TM) Plug-in 1.6.0_03 installed. Every time I browse to a web page that has a Java applet on it, the Firefox application crashes and disappears. An example site is Java test page at: http://www.java.com/en/download/help/testvm.xml
    If anyone has any ideas on this issue, I would be most appreciative.

    #2
    Re: Java Applets Crash Firefox

    I have checked this page with firefox 2.0.0.8 and java 6 and it works. It puts a heavy load on my RAM (more than 300 Mb used by firefox, and 250 Mb used by the java virtual machine), takes and age to load, but works.

    Maybe it's an extension related problem (1) or memory. But I doubt it.

    Javier.

    (1) To check for extensions problems disable all your extensions, check the page, if it works check again enabling one extension at time.

    Comment


      #3
      Re: Java Applets Crash Firefox

      Thanks for the reply. I have ran Firefox with the -safe-mode option and still get the crash.

      Comment


        #4
        Re: Java Applets Crash Firefox

        This are the relevant packages that I have installed, just in case it can help:

        sun-java-jre 6-03-ubuntu2
        sun-java-plugin 6-03-ubuntu2
        firefox 2.0.0.8+2binonly

        Active extensions: FlashBlock, WebDeveloperToolbar.

        Javier.

        Comment


          #5
          Re: Java Applets Crash Firefox

          I have just found a Java error file from one of my crashes:

          # SIGSEGV (0xb) at pc=0xb7eb2cbc, pid=14336, tid=3034065808
          #
          # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
          # Problematic frame:
          # C [libc.so.6+0x71cbc] memcpy+0x1c
          #
          # If you would like to submit a bug report, please visit:
          # http://java.sun.com/webapps/bugreport/crash.jsp
          #

          --------------- T H R E A D ---------------

          Current thread (0xb5ade800): JavaThread "Thread-4" [_thread_in_native, id=14359]

          siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0xb4d32000

          Registers:
          EAX=0xb5261001, EBX=0xb7f86ff4, ECX=0x0000021e, EDX=0x00000fff
          ESP=0xb4d016f0, EBP=0xb4d01714, ESI=0xb5261788, EDI=0xb4d32000
          EIP=0xb7eb2cbc, CR2=0xb4d32000, EFLAGS=0x00210207

          Top of Stack: (sp=0xb4d016f0)
          0xb4d016f0: b7e9afda b4d31879 b5261001 00000fff
          0xb4d01700: b4d31879

          Comment


            #6
            Re: Java Applets Crash Firefox

            I would run memcheck just to be on the safe side, but it looks like you have hit a Java bug or a wrong installation to me.

            Maybe reinstalling java could help.

            I'm sorry but I doubt that I will be able to help you more. If reinstalling doesn't help and memory is correct, then you should probably open a bug in java. Don't expect a fast answer (or even an answer).

            Javier.

            Comment


              #7
              Fixed: Java Applets Crash Firefox

              JRE tries to call the libnss_files.so library to find localhost name and it forwards it onto the libc.so.6 file. If the localhost entry in the host file is too long, it will crash the JRE. It appears that on my system, the Network Manager Application had grouped all my 127.0.0.1 localhost entries (used to block spyware and adware sites) into one 127.0.0.1 line. The 127.0.0.1 in my host file was huge. I separated the line back out into individual lines and the JRE started working again.

              Comment


                #8
                Re: Fixed: Java Applets Crash Firefox

                File a bug?
                For external use only.

                Comment

                Working...
                X