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

Webengine (webkit) crash when reading files using FileReader

    XMLWordPrintable

Details

    • web
    • generic
    • generic

    Backports

      Description

        FULL PRODUCT VERSION :
        1.9.01

        ADDITIONAL OS VERSION INFORMATION :
        Windows 7 and 10

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        standard setup

        A DESCRIPTION OF THE PROBLEM :
        if you have following js code, the jvm crashes completely.
        ...
        var reader=new FileReader()
        reader. readAsBinaryString(f)
        These is reproducable on all read methods.

        visual studio seems to identify an internal null pointer exception.

        REGRESSION. Last worked in version 8u152

        ADDITIONAL REGRESSION INFORMATION:
        always same result. it's possible to create a filereader instance, getting file properties, slicing a blob.
        but reading crash.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        See also html5rocks/tutorials/file/dndfiles

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        it's possible to read a file.

        REPRODUCIBILITY :
        This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

                ghb Guru Hb (Inactive)
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: