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

Segmentation violation error on IAsolaris 2.7 in merlin-beta22 for image render

XMLWordPrintable

    • 2d
    • beta
    • x86
    • solaris, solaris_8
    • Verified

      Bug : On IA Solaris 2.7, Segmentation violation error is occuring in JDK1.4.0beta-b22, while rendering images.
                
      Error : Segmentation Violation Error
      Platform: IA Solaris 2.7
      JDK : Merlin-beta (JDK1.4.0beta-b22)

      The above failure occurs when images are rendered using the following combination.

      Color Model : 8-bit Index ColorModel, Gray Index ColorModel
      Transparency: Bitmask Colormodel, Bitmask Colormodel with background
      Scaling applied : no scaling, upscale (1.5x), downscale(0.5x)

      Error details:
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_MAPERR [addr: 0x7FEC]

              stackpointer=dac07760

      Full thread dump Classic VM (1.4.0beta-b22, native threads):
          "Thread-0" (TID:0xdc08e818, sys_thread_t:0x804e500, state:CW, native ID:0x1) prio=5
          "Screen Updater" (TID:0xdc08ebb0, sys_thread_t:0x8707158, state:CW, native ID:0xc) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:77)
              at sun.awt.ScreenUpdater.run(ScreenUpdater.java:96)
          "AWT-EventQueue-0" (TID:0xdc0cadf0, sys_thread_t:0x8609750, state:R, native ID:0xa) prio=6
              at sun.java2d.loops.BlitBg.BlitBg(Native Method)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2605)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2563)
              at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2394)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2093)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1951)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2788)
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:748)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2802)
              at DrawImageTest.repeatCurrentTest(DrawImageTest.java:580)
              at DrawImageTest.warmUp(DrawImageTest.java:490)
              at J2DTest.benchmark(J2DTest.java:152)
              at J2DBench.runTestSequences(J2DBench.java:242)
              at J2DBench$MainPanel.actionPerformed(J2DBench.java:463)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1477)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1531)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:379)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:251)
              at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
              at java.awt.Component.processMouseEvent(Component.java:4005)
              at java.awt.Component.processEvent(Component.java:3831)
              at java.awt.Container.processEvent(Container.java:1180)
              at java.awt.Component.dispatchEventImpl(Component.java:2737)
              at java.awt.Container.dispatchEventImpl(Container.java:1229)
              at java.awt.Component.dispatchEvent(Component.java:2628)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2485)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2230)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2138)
              at java.awt.Container.dispatchEventImpl(Container.java:1216)
              at java.awt.Window.dispatchEventImpl(Window.java:933)
              at java.awt.Component.dispatchEvent(Component.java:2628)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:355)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:127)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:117)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:96)
          "AWT-Motif" (TID:0xdc0b7378, sys_thread_t:0x85499a8, state:R, native ID:0x8) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:488)
          "AWT-Shutdown" (TID:0xdc0b74e8, sys_thread_t:0x852c220, state:CW, native ID:0x7) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
              at java.lang.Thread.run(Thread.java:488)
          "Finalizer" (TID:0xdc099528, sys_thread_t:0x8096af0, state:CW, native ID:0x6) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
          "Reference Handler" (TID:0xdc099300, sys_thread_t:0x808bdf8, state:CW, native ID:0x5) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
          "Signal dispatcher" (TID:0xdc099330, sys_thread_t:0x8091458, state:CW, native ID:0x4) prio=5
      Monitor Cache Dump:
          java.lang.Object@DC0A9B30/DC119558: <unowned>
              Waiting to be notified:
                  "AWT-Shutdown" (0x852c220)
          sun.awt.ScreenUpdater@DC08EBB0/DC162C90: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x8707158)
          java.lang.Class@DC0B6230/DC145898: owner "AWT-EventQueue-0" (0x8609750) 1 entry
          java.lang.ref.ReferenceQueue$Lock@DC099540/DC0CF370: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x8096af0)
          java.lang.ref.Reference$Lock@DC099310/DC0CEE90: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x808bdf8)
      Registered Monitor Dump:
          utf8 hash table: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Monitor cache lock: owner "AWT-EventQueue-0" (0x8609750) 1 entry
          Thread queue lock: owner "AWT-EventQueue-0" (0x8609750) 1 entry
              Waiting to be notified:
                  "Thread-0" (0x804e500)
          Monitor registry: owner "AWT-EventQueue-0" (0x8609750) 1 entry

      SIGABRT 6* abort (generated by abort(3) routine)
          si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
          si_errno [0]: Error 0
          si_code [-1]: SI_LWP [pid: 8097, uid: 111638]
              stackpointer=dac07234

      Full thread dump Classic VM (1.4.0beta-b22, native threads):
          "Thread-0" (TID:0xdc08e818, sys_thread_t:0x804e500, state:CW, native ID:0x1) prio=5
          "Screen Updater" (TID:0xdc08ebb0, sys_thread_t:0x8707158, state:CW, native ID:0xc) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:77)
              at sun.awt.ScreenUpdater.run(ScreenUpdater.java:96)
          "AWT-EventQueue-0" (TID:0xdc0cadf0, sys_thread_t:0x8609750, state:R, native ID:0xa) prio=6
              at sun.java2d.loops.BlitBg.BlitBg(Native Method)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2605)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2563)
              at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2394)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2093)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1951)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2788)
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:748)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2802)
              at DrawImageTest.repeatCurrentTest(DrawImageTest.java:580)
              at DrawImageTest.warmUp(DrawImageTest.java:490)
              at J2DTest.benchmark(J2DTest.java:152)
              at J2DBench.runTestSequences(J2DBench.java:242)
              at J2DBench$MainPanel.actionPerformed(J2DBench.java:463)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1477)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1531)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:379)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:251)
              at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
              at java.awt.Component.processMouseEvent(Component.java:4005)
              at java.awt.Component.processEvent(Component.java:3831)
              at java.awt.Container.processEvent(Container.java:1180)
              at java.awt.Component.dispatchEventImpl(Component.java:2737)
              at java.awt.Container.dispatchEventImpl(Container.java:1229)
              at java.awt.Component.dispatchEvent(Component.java:2628)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2485)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2230)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2138)
              at java.awt.Container.dispatchEventImpl(Container.java:1216)
              at java.awt.Window.dispatchEventImpl(Window.java:933)
              at java.awt.Component.dispatchEvent(Component.java:2628)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:355)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:127)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:117)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:96)
          "AWT-Motif" (TID:0xdc0b7378, sys_thread_t:0x85499a8, state:R, native ID:0x8) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:488)
          "AWT-Shutdown" (TID:0xdc0b74e8, sys_thread_t:0x852c220, state:CW, native ID:0x7) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
              at java.lang.Thread.run(Thread.java:488)
          "Finalizer" (TID:0xdc099528, sys_thread_t:0x8096af0, state:CW, native ID:0x6) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
          "Reference Handler" (TID:0xdc099300, sys_thread_t:0x808bdf8, state:CW, native ID:0x5) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:420)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
          "Signal dispatcher" (TID:0xdc099330, sys_thread_t:0x8091458, state:CW, native ID:0x4) prio=5
      Monitor Cache Dump:
          java.lang.Object@DC0A9B30/DC119558: <unowned>
              Waiting to be notified:
                  "AWT-Shutdown" (0x852c220)
          sun.awt.ScreenUpdater@DC08EBB0/DC162C90: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x8707158)
          java.lang.Class@DC0B6230/DC145898: owner "AWT-EventQueue-0" (0x8609750) 1 entry
          java.lang.ref.ReferenceQueue$Lock@DC099540/DC0CF370: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x8096af0)
          java.lang.ref.Reference$Lock@DC099310/DC0CEE90: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x808bdf8)
      Registered Monitor Dump:
          utf8 hash table: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Monitor cache lock: owner "AWT-EventQueue-0" (0x8609750) 1 entry
          Thread queue lock: owner "AWT-EventQueue-0" (0x8609750) 1 entry
              Waiting to be notified:
                  "Thread-0" (0x804e500)
          Monitor registry: owner "AWT-EventQueue-0" (0x8609750) 1 entry

      Abort (core dumped)

      ----------------------------------

      How to reproduce the bug:
      Set the path to latest merlin-beta build. Type "java J2DBench" at the prompt.
      A frame will popup. Click "Test Options" and verify the colormodel and transparency.
      All the checkboxes should be selected. Press "OK".
      Then click "Bench" button. Check the prompt for the exception . If it is thrown,
      then the bug is reproduced.

            tdv Dmitri Trembovetski (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: