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

Unexpected exception in native code outside VM: Solaris 64bit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta2
    • sparc
    • solaris_8
    • Verified

      While running one of our Swing tools, the following error was raised:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFFFFFFFF7EE00778
      Function=[Unknown. Nearest: memcpy+0xCC]
      Library=/usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1

      Current Java thread:
              at sun.java2d.loops.Blit.Blit(Native Method)
              at sun.java2d.SunGraphics2D.blitSurfaceData(SunGraphics2D.java:2966)
              at sun.java2d.SunGraphics2D.renderSurfaceData(SunGraphics2D.java:2892)
              at sun.java2d.SunGraphics2D.clipAndRenderSurfaceData(SunGraphics2D.java:2949)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3258)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3490)
              at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4604)
              at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4547)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4497)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4329)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      Dynamic libraries:
      0x100000000 /usr/local/java/j2sdk1.4.0/solsparc/bin/../bin/sparcv9/native_threads/java
      0xffffffff7f300000 /usr/lib/64/libthread.so.1
      0xffffffff7f500000 /usr/lib/64/libdl.so.1
      0xffffffff7ef00000 /usr/lib/64/libc.so.1
      0xffffffff7ee00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1
      0xffffffff7d000000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/server/libjvm.so
      0xffffffff7ce00000 /usr/lib/64/libCrun.so.1
      0xffffffff7cc00000 /usr/lib/64/libsocket.so.1
      0xffffffff7ca00000 /usr/lib/64/libnsl.so.1
      0xffffffff7c800000 /usr/lib/64/libm.so.1
      0xffffffff7da00000 /usr/lib/64/libw.so.1
      0xffffffff7c500000 /usr/lib/64/libmp.so.2
      0xffffffff7c300000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/native_threads/libhpi.so
      0xffffffff7c000000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libverify.so
      0xffffffff7be00000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libjava.so
      0xffffffff7bb00000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libzip.so
      0xffffffff2fe00000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libawt.so
      0xffffffff2fc00000 /usr/local/java/j2sdk1.4.0/solsparc/bin/../jre/lib/sparcv9/libmlib_image.so
      0xffffffff2f900000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/motif21/libmawt.so
      0xffffffff2f500000 /usr/dt/lib/sparcv9/libXm.so.4
      0xffffffff2f300000 /usr/openwin/lib/sparcv9/libXt.so.4
      0xffffffff2f000000 /usr/openwin/lib/sparcv9/libXext.so.0
      0xffffffff2ee00000 /usr/openwin/lib/sparcv9/libXtst.so.1
      0xffffffff2ec00000 /usr/openwin/lib/sparcv9/libX11.so.4
      0xffffffff2ea00000 /usr/openwin/lib/sparcv9/libdps.so.5
      0xffffffff2e700000 /usr/openwin/lib/sparcv9/libSM.so.6
      0xffffffff2e500000 /usr/openwin/lib/sparcv9/libICE.so.6
      0xffffffff2e300000 /usr/openwin/lib/sparcv9/libdga.so.1
      0xffffffff2e000000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libfontmanager.so
      0xffffffff2db00000 /usr/lib/sparcv9/liblayout.so
      0xffffffff2d600000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libjpeg.so
      0xffffffff2d300000 /usr/local/java/jdk1.4/solsparc/jre/lib/sparcv9/libnio.so
      0xffffffff2d100000 /usr/lib/64/librt.so.1
      0xffffffff2ce00000 /usr/local/java/j2sdk1.4.0/solsparc/bin/../jre/lib/sparcv9/libnet.so
      0xffffffff2cc00000 /usr/lib/64/libaio.so.1
      0xffffffff2ca00000 /usr/local/java/j2sdk1.4.0/solsparc/bin/../jre/lib/sparcv9/libsunwjdga.so

      Local Time = Mon Apr 30 16:47:47 2001
      Elapsed Time = 308
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.0-beta-b62 mixed mode)
      #
      # An error report file has been saved as hs_err_pid4417.log.
      # Please refer to the file for further information.
      #
      gnumake: *** [runauto] Abort (core dumped)

      To reproduce this error: Bringover the following tool,
      -----------------------
      /net/sqesvr/export/jfc/Merlin_ws/BAT_Suite/KeyFire

      Edit the GNUmakefile, add "-d64 -server -Xmixed" options in the java command at line number 100 as shown here:
      @$(JAVA_HOME)/bin/java -d64 -server -Xmixed -classpath ...
      and execute as
      %gnumake auto

      When the application starts with Motif LookAndFeel (it will take 5 minutes), this error appears.

      % java -version
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b62)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b62, mixed mode)

      More info providied:
      -------------------
      1. xdpyinfo output:
      % xdpyinfo
      name of display: :0.0
      version number: 11.0
      vendor string: Sun Microsystems, Inc.
      vendor release number: 6410
      maximum request size: 262140 bytes
      motion buffer size: 256
      bitmap unit, bit order, padding: 32, MSBFirst, 32
      image byte order: MSBFirst
      number of supported pixmap formats: 3
      supported pixmap formats:
          depth 1, bits_per_pixel 1, scanline_pad 32
          depth 8, bits_per_pixel 8, scanline_pad 32
          depth 24, bits_per_pixel 32, scanline_pad 32
      keycode range: minimum 8, maximum 132
      focus: window 0x4c00009, revert to Parent
      number of extensions: 28
          AccessX
          Adobe-DPS-Extension
          DOUBLE-BUFFER
          DPMS
          DPSExtension
          Extended-Visual-Information
          FBPM
          LBX
          MIT-SCREEN-SAVER
          MIT-SHM
          MIT-SUNDRY-NONSTANDARD
          Multi-Buffering
          RECORD
          SECURITY
          SHAPE
          SUN_ALLPLANES
          SUN_DGA
          SUN_OVL
          SUN_SME
          SYNC
          SolarisIA
          TOG-CUP
          XC-APPGROUP
          XC-MISC
          XIE
          XInputDeviceEvents
          XInputExtension
          XTEST
      default screen number: 0
      number of screens: 1

      screen #0:
        dimensions: 1152x900 pixels (325x254 millimeters)
        resolution: 90x90 dots per inch
        depths (3): 1, 8, 24
        root window id: 0x37
        depth of root window: 8 planes
        number of colormaps: minimum 1, maximum 5
        default colormap: 0x34
        default number of colormap cells: 256
        preallocated pixels: black 1, white 0
        options: backing-store YES, save-unders YES
        largest cursor: 64x64
        current input event mask: 0x38003f
          KeyPressMask KeyReleaseMask ButtonPressMask
          ButtonReleaseMask EnterWindowMask LeaveWindowMask
          SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
        number of visuals: 16
        default visual id: 0x20
        visual:
          visual id: 0x20
          class: PseudoColor
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x21
          class: PseudoColor
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x22
          class: StaticColor
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x7, 0x38, 0xc0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x23
          class: StaticGray
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x24
          class: GrayScale
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x25
          class: TrueColor
          depth: 8 planes
          available colormap entries: 8 per subfield
          red, green, blue masks: 0x7, 0x38, 0xc0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x26
          class: DirectColor
          depth: 8 planes
          available colormap entries: 8 per subfield
          red, green, blue masks: 0x7, 0x38, 0xc0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x27
          class: StaticGray
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2e
          class: PseudoColor
          depth: 8 planes
          available colormap entries: 256
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2f
          class: PseudoColor
          depth: 8 planes
          available colormap entries: 255
          red, green, blue masks: 0x0, 0x0, 0x0
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x28
          class: TrueColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x29
          class: TrueColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2a
          class: DirectColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2b
          class: DirectColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2c
          class: TrueColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits
        visual:
          visual id: 0x2d
          class: TrueColor
          depth: 24 planes
          available colormap entries: 256 per subfield
          red, green, blue masks: 0xff, 0xff00, 0xff0000
          significant bits in color specification: 8 bits

      2. /usr/platform/sun4u/sbin/prtdiag output:
      % /usr/platform/sun4u/sbin/prtdiag
      System Configuration: Sun Microsystems sun4u Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz)
      System clock frequency: 120 MHz
      Memory size: 512 Megabytes

      ========================= CPUs =========================

                          Run Ecache CPU CPU
      Brd CPU Module MHz MB Impl. Mask
      --- --- ------- ----- ------ ------ ----
       0 0 0 360 2.0 12 1.3


      ========================= IO Cards =========================

           Bus# Freq
      Brd Type MHz Slot Name Model
      --- ---- ---- ---- -------------------------------- ----------------------
       0 PCI-1 33 1 ebus
       0 PCI-1 33 1 network-SUNW,hme
       0 PCI-1 33 2 SUNW,m64B ATY,GT-C
       0 PCI-1 33 3 ide-pci1095,646


      No failures found in System

      3. Is the bug consistent? consistent in the machines in which it happened.

      4. Is it reproducible on other machines? Happened in 2 machines, but did not happen in another 2 machines.
      -------------------------------------------------------------------------------
      It started happening in Merlin b65 again. This time the only difference is, in the commandline, the keywords are -d64 -server only; -Xmixed is not used.

      ramans@eng Date:05/21/2001
      -------------------------------------------------------------------------------

            azeemj Azeem Jiva
            sramansunw Sridhar Raman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: