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

Crash in WebPaneJava.dll

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • fx2.0
    • javafx
    • None
    • web

      "Ensemble -> Web View" sample crashes in WebPaneJava.dll.
      The stack traces I got are:
      1)
      C [WebPaneJava.dll+0x55ea96]

      [error occurred during error reporting (printing native stack), id 0xc0000005]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J com.sun.webpane.webkit.Timer.twkFireTimerEvent()V
      J com.sun.webpane.webkit.Timer.fireTimerEvent(J)V
      J com.sun.webpane.webkit.Timer.notifyTick()V
      J javafx.scene.web.WebEngine$PulseTimer$2.pulse()V
      J com.sun.javafx.tk.Toolkit.firePulse()V
      J com.sun.javafx.tk.quantum.QuantumToolkit.pulse()V
      J com.sun.javafx.tk.quantum.QuantumToolkit$10.run()V
      v ~StubRoutines::call_stub
      j com.sun.glass.ui.win.WinApplication._runLoop([Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+0
      j com.sun.glass.ui.win.WinApplication.access$100(Lcom/sun/glass/ui/win/WinApplication;[Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+3
      j com.sun.glass.ui.win.WinApplication$2$1.run()V+32
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      2)
      C [WebPaneJava.dll+0x596b2c] JSGlobalContextCreate+0x9dfc

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.sun.webpane.webkit.network.URLProcessor.writeCallback(Ljava/nio/ByteBuffer;IIJ)V+0
      j com.sun.webpane.webkit.network.URLProcessor.access$200(Ljava/nio/ByteBuffer;IIJ)V+4
      j com.sun.webpane.webkit.network.URLProcessor$2.run()V+35
      v ~StubRoutines::call_stub
      j com.sun.glass.ui.win.WinApplication._runLoop([Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+0
      j com.sun.glass.ui.win.WinApplication.access$100(Lcom/sun/glass/ui/win/WinApplication;[Ljava/lang/String;Lcom/sun/glass
      /ui/Launchable;)V+3
      j com.sun.glass.ui.win.WinApplication$2$1.run()V+32
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub


      The crash could take different number of test iterations. Sometimes it could fail after few iterations,
      sometimes it takes hundreds or thousands of iterations. Please see hs_err files attached.
      The are not exactly the same, but look similar.

      You can try to reproduce it by your self by running Ensemble2Auto test with -runsamples "Web View" "Cube".
      Here is run_ensemble.sh you can edit and run:

      === run_ensemble.sh ===
      JFX_HOME="C:/katya/javafx/2.0/graphics-scrum/rt-16182/"
      JAVA_HOME="C:/katya/jdk/6u25"

      JAVA_ARGS="$JAVA_ARGS -Xmx72m"
      JAVA_ARGS="${JAVA_ARGS} -verbose:gc -XX:+HeapDumpOnOutOfMemoryError"
      JAVA_ARGS="${JAVA_ARGS} -cp ${JFX_HOME}/rt/lib/jfxrt.jar;${JFX_HOME}/perf/Ensemble2AutoTest.jar.new;${JFX_HOME}/perf/FXB
      enchmark.jar;${JFX_HOME}/perf/benchmarks-2.1.1.jar;${JFX_HOME}/apps/ga-samples/Ensemble.jar"
      JAVA_ARGS="${JAVA_ARGS};${JFX_HOME}/perf/jemmy/JemmyAWT.jar.jar"
      JAVA_ARGS="${JAVA_ARGS};${JFX_HOME}/perf/jemmy/JemmyAWTInput.jar"
      JAVA_ARGS="${JAVA_ARGS};${JFX_HOME}/perf/jemmy/JemmyCore.jar"
      JAVA_ARGS="${JAVA_ARGS};${JFX_HOME}/perf/jemmy/JemmyJC.jar"
      JAVA_ARGS="${JAVA_ARGS};${JFX_HOME}/perf/jemmy/jemmy.jar"

      JAVA_ARGS="${JAVA_ARGS} -Djava.library.path=${JFX_HOME}/perf/lib/win32"

      TEST_ARGS="-iterations 1000000000 -delay 1 -counters CPU_LOAD_PERCENTAGE MAX_MEMORY_USAGE JFX_FPS"


      ${JAVA_HOME}/bin/java ${JAVA_ARGS} ensemble.autotest.Ensemble2AutoTest ${TEST_ARGS} -runsamples "Web View" "Cube"
      =======================


      Jemmy libraries could be taken from JFX_WS/jfx/tests/performance/Ensemble2AutoTest/lib/.
      benchmarks-2.1.1.jar from JFX_WS/import/benchmarks-2.1.1/benchmarks-2.1.1.jar
      Other perf jars could be simply downloaded from graphocs-scrum build artifact:
       http://jfx.sfbay.sun.com/hudson/job/presidio-graphics-scrum/2843/label=windows-i586-14/artifact/artifacts/perf/*zip*/perf.zip

      Please, ask Oleg S. for help in case you have troubles with running the test.


      I was able to reproduce the crash with b41, b44 as well as with the build which contains fix for RT-16182.
      So, the issue is not new and exists in latest FX builds.

            loneid Leonid Popov (Inactive)
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: