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

WebView crashes on certain files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 8, 64 bits.

    • Subcomponent:
      web

      Description

      Hi,

      I'm writing an application with Java FX and I need to use WebView to display some XHTML files. But with certain files, it crashes and I don't know why. The crash happen with WebView of Java 8 (last release) but not with WebView of Java 7.

      My source code is simple :

       BorderPane root = new BorderPane();
              WebView editor = new WebView();
              root.setCenter(editor);
              
              editor.getEngine().load("path/to/my/html/file");
              
              
              Scene scene = new Scene(root, 400,400);
              
              primaryStage.setTitle("Hello World!");
              primaryStage.setScene(scene);
              primaryStage.show();


      If you want the file which maje the crash happen, please tell me where can I upload it. But I'm sure It's not because of that html file because the crash happens with others html file.

      When I run the file, i got this error :

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006f18d377, pid=5320, tid=820
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b109) (build 1.8.0-ea-b109)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b51 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C [jfxwebkit.dll+0x6ed377]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      #path\to\the\log\hs_err_pid5320.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      I'm adding now the content of the report in the next post.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peterz Peter Zhelezniakov (Inactive)
                Reporter:
                jbahatijfx Jiva Bahati (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: