REG: Doing color conversions on multiple threads throws exceptions, crashes the VM intermittently

XMLWordPrintable

    • 2d
    • b14
    • x86
    • windows_xp
    • Verified

        Calling ColorConvertOp.filter from multiple threads throws various exceptions and sporadically crashes the VM. In my code, I am creating a new ColorConvertOp instance for every thread with different color spaces. The crash/exception appears to be in the CMM library. This is reproducible only on Win32 and not reproducible on SolSparc10. This is reproducible on JDK6 as well as JDK7 and Not reproducible on Tiger-FCS.

        I regressed using various mustang builds and it started appearing only in b92. Hence it is a regression in Mustang.

        Here is the exception:
        java.awt.color.CMMException: Invlaid transform
        at sun.awt.color.CMM.checkStatus(CMM.java:127)
        at sun.awt.color.ICC_Transform.colorConvert(ICC_Transform.java:847)
        at java.awt.image.ColorModel.getLinearGray16ToOtherGray8LUT(ColorModel.java:1841)
        at java.awt.image.ComponentColorModel.setupLUTs(ComponentColorModel.java:431)
        at java.awt.image.ComponentColorModel.<init>(ComponentColorModel.java:282)
        at java.awt.image.ColorConvertOp.createCompatibleDestImage(ColorConvertOp.java:631)

        I have attached a sample test. Execute the sample test and you would see various exceptions and sometimes a crash on Win32 platform. I have attached the crash logs to this bug report.

              Assignee:
              Alexey Ushakov
              Reporter:
              Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: