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

Crash when using ColorAdjust effect on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx1.2
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Windows 7, 6u13

      Description

      See the following thread:
      http://www.javagaming.org/index.php/topic,20578.0.html

      def images:Node[] = [FXDLoader.load("{__DIR__}Images/bot.fxz")];
      Group{
                  content:[Duplicator.duplicate(images[0])]
                  effect:ColorAdjust {
                          brightness: 0.0
                          contrast: 1.0
                          hue: 0.0
                          saturation: 0.5
                      }
      }


      The stack trace:

      Current thread (0x0495e000): JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=5008, stack(0x04f70000,0x04fc0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x3f080000

      Registers:
      EAX=0x3f080000, EBX=0x0495e000, ECX=0x00000006, EDX=0x6da14398
      ESP=0x04fbe5e0, EBP=0x04fbe668, ESI=0x28ab1970, EDI=0x0495e114
      EIP=0x6d8d0f4c, EFLAGS=0x00010246

      Top of Stack: (sp=0x04fbe5e0)
      0x04fbe5e0: 0495e114 28ab1970 04fbe668 245a142c
      0x04fbe5f0: 0495e000 00000000 6d9cea38 023572cc
      0x04fbe600: 10006bbb 0495e114 3f080000 00000000
      0x04fbe610: 0495e000 28ab1970 28ab1970 28ab1970
      0x04fbe620: 04fbe6e4 28ab1970 6d9ea234 023572c8
      0x04fbe630: 00000016 00000000 04fbe64c 023572c4
      0x04fbe640: 00000012 00000002 245a142c 04fbe6f0
      0x04fbe650: 04fbe6c0 02412602 0495e000 28ab1970

      Instructions: (pc=0x6d8d0f4c)
      0x6d8d0f3c: 24 30 83 c4 04 85 c0 74 03 c6 00 00 8b 44 24 28
      0x6d8d0f4c: 8b 28 8b 4d 04 8b 41 0c 3d 00 00 00 c0 7c 14 0f


      Stack: [0x04f70000,0x04fc0000], sp=0x04fbe5e0, free space=313k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xd0f4c]
      j com.sun.scenario.effect.impl.sw.sse.SSEColorAdjustPeer.filter([IIIIIIF[IFFFFIIIFFF)V+0
      j com.sun.scenario.effect.impl.sw.sse.SSEColorAdjustPeer.filter(Lcom/sun/scenario/effect/Effect;Lcom/sun/javafx/geom/AffineTransform;[Lcom/sun/scenario/effect/ImageData;)Lcom/sun/scenario/effect/ImageData;+254
      j com.sun.scenario.effect.CoreEffect.filterImageDatas(Lcom/sun/scenario/effect/FilterContext;Lcom/sun/javafx/geom/AffineTransform;[Lcom/sun/scenario/effect/ImageData;)Lcom/sun/scenario/effect/ImageData;+9
      j com.sun.scenario.effect.ColorAdjust.filterImageDatas(Lcom/sun/scenario/effect/FilterContext;Lcom/sun/javafx/geom/AffineTransform;[Lcom/sun/scenario/effect/ImageData;)Lcom/sun/scenario/effect/ImageData;+4
      j com.sun.scenario.effect.FilterEffect.filter(Lcom/sun/scenario/effect/FilterContext;Lcom/sun/javafx/geom/AffineTransform;Lcom/sun/scenario/effect/Effect;)Lcom/sun/scenario/effect/ImageData;+118
      j com.sun.scenario.effect.impl.j2d.J2DEffectHelper.render(Lcom/sun/scenario/effect/Effect;Ljava/awt/Graphics2D;FFLcom/sun/scenario/effect/Effect;)V+87
      J com.sun.scenario.scenegraph.SGNode.renderToImage(Lcom/sun/scenario/scenegraph/SGNode;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;IIIILjava/awt/Image;B)V
      J com.sun.scenario.scenegraph.CacheFilter.createImageData(Lcom/sun/scenario/effect/FilterContext;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)Lcom/sun/scenario/effect/ImageData;
      J com.sun.scenario.scenegraph.CacheFilter.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGGroup.renderContent(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGGroup.renderContent(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      J com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V
      j com.sun.scenario.scenegraph.SGGroup.renderContent(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+48
      j com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+103
      j com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+69
      j com.sun.scenario.scenegraph.SGGroup.renderContent(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+48
      j com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+103
      j com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+69
      j com.sun.scenario.scenegraph.SGGroup.renderContent(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+48
      j com.sun.scenario.scenegraph.SGNode.doRender(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+103
      j com.sun.scenario.scenegraph.SGNode.render(Ljava/awt/Graphics2D;Lcom/sun/javafx/geom/Bounds2D;Lcom/sun/javafx/geom/AffineTransform;)V+69
      j com.sun.scenario.scenegraph.JSGPanel.paintComponent(Ljava/awt/Graphics;)V+162

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              tdv Dmitri Trembovetski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: