Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4789981

Pro/E Wildfire crashes due to a crash in JVM/plugin/Mozilla

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.3.1_08
    • 1.3.1
    • deploy
    • 08
    • sparc
    • solaris_8

      For one thing, see the following bugzilla bug
      http://bugzilla.mozilla.org/show_bug.cgi?id=133762

      Here's how to reproduce this problem on SWAN.

      The test system has Solaris 8 2/02 (Update 7) FCS, plus
      J2SE Cluster patches for Solaris 8:
      http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/J2SE
      and no other patches.

      * Install the Java Plugin from here:

      http://java.sun.com/products/archive/j2se/1.3.1_02/index.html

      * Set this env var after extracting the Java Plugin:

      setenv MOZ_PLUGIN_PATH `pwd`/j2sdk1_3_1_02/jre/plugin/sparc/ns600

      This will instruct Mozilla to search for the Java Plugin in that
      directory.

      * The attached file PTC_MOZILLA_1.0.1.tar.gz is the full Mozilla 1.0.1
      binary distribution used by PTC. Extract it, and then run the script
      ./mozilla from the top directory to launch Mozilla.

      * The attached file PTC_JSObject_TestCase.tar.gz contains a small
      test case. Extract it, and the open the jsJava.html file in
      Mozilla.

      You should see an applet containing an input panel and a button.
      Type a valid javascript expression -e.g. alert('hello') - in the
      input panel and then click on the "eval" button. Most of the
      time (80% of the time for us) the JVM will crash causing the browser
      to crash.

      ###@###.### 2002-12-11
      Here's one more way to reproduce the problem, as described by the
      customer.

      --------
      This test case is using the actual Windchill applet that is crashing
      in PTC SPRs # 991459 & # 988978.

      The testcase contains three files attached to this bug report
      as WC_TestCase.zip. The files are:
          WC_TestCase.html - an HTML page embedding the applet
          DnDApplet.jar - a small jar file containing the applet.
          solutions.css - css file to allow the page being rendered correctly.

      Here's how to reproduce the crash:

      1. Run Mozilla
      2. Open the page WC_TestCase.html
      3. After a few seconds a Java-Security dialog will appear asking to
      grant permission to the applet signed by "PTC". You can safely
      grant it, the applet is used widely in production installation,
      and all it does is act as a Drag source & Drop target.
      4. After clicking "Grant", wait a few seconds, Mozilla will crash.

      In other words,there is no need to interact with the page. Just open
      it, grant the applet and you should see the crash.

      I've stripped from the HTML file any reference to ptc internal server, so
      the page might load slowly, but it reproduces the crash every time we
      use it.
      --------

            ccheung Calvin Cheung
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: