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

PIT: Pushing a Frame to FS mode and restoring causes VM Crash on Cinnabar, ATI

XMLWordPrintable

    • 2d
    • b39
    • 6
    • b43
    • x86
    • linux_sun
    • Verified

      I am running a java application which creates a frame, pushes it to FS mode when clicking a button. On clicking the same button, the FS frame is restored to Normal. When I run this using the current PIT build on Cinnabar having an ATI Radeon 9600XT, I am seeing a VM crash as soon as the FS frame gets restored to Normal mode. This is not reproducible on Mustang-b37, not reproducible on the PIT build with OpenGL pipeline.

      Here is the PIT build:
      java version "1.6.0-2d.pit-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_26_may_2005_00_46-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)

      I have attached a sample test. Execute it on Linux-Cinnabar with the PIT build. Click on the button. The frame will be pushed into FS mode. Click on the button again (or Press space bar). You would see a VM crash on the console.

      Here is the crash info:
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0x4dca7a87, pid=15667, tid=1309014960
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b37 mixed mode)
      # Problematic frame:
      # C [libmawt.so+0x1ba87]
      #

      --------------- T H R E A D ---------------

      Current thread (0x083e1be0): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=15679]

      siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000003c

      Registers:
      EAX=0x083e1c94, EBX=0x4dcbde88, ECX=0x00000000, EDX=0x082f58b8
      ESP=0x4e05efc0, EBP=0x4e05eff8, ESI=0x00000000, EDI=0x00000000
      EIP=0x4dca7a87, CR2=0x0000003c, EFLAGS=0x00010206

      Top of Stack: (sp=0x4e05efc0)
      0x4e05efc0: 0841c120 0841bdf8 4e05eff8 4dc9ffd8
      0x4e05efd0: 083e1c94 0841bdf8 0841c120 00000000
      0x4e05efe0: ff000000 4e05f180 4dca7a7b 4dcbde88
      0x4e05eff0: 00000000 4e05f0f0 4e05f0c8 4dca7f61
      0x4e05f000: 083e1c94 00000000 4e05f17c 00000000
      0x4e05f010: ff000000 00000006 00000000 08412640
      0x4e05f020: 083e1be0 0841bf48 0000003a 000001d5
      0x4e05f030: 083e1be0 401494c0 4e05f174 0841bdf8

      Instructions: (pc=0x4dca7a87)
      0x4dca7a77: b5 ec fe ff 81 c3 0d 64 01 00 83 ec 2c 8b 7d 0c
      0x4dca7a87: 8b 4f 3c 85 c9 0f 84 6e 01 00 00 8b 57 40 85 d2

      Stack: [0x4dfdf000,0x4e060000), sp=0x4e05efc0, free space=511k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libmawt.so+0x1ba87]
      C [libmawt.so+0x1bf61] AWTDrawGlyphList+0x81
      C [libfontmanager.so+0x3c3c3] Java_sun_font_X11TextRenderer_doDrawGlyphList+0x93
      j sun.font.X11TextRenderer.doDrawGlyphList(Lsun/java2d/SurfaceData;Lsun/java2d/pipe/Region;ILsun/font/GlyphList;)V+0
      j sun.font.X11TextRenderer.drawGlyphList(Lsun/java2d/SunGraphics2D;Lsun/font/GlyphList;)V+14
      j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+158
      j sun.java2d.SunGraphics2D.drawString(Ljava/lang/String;II)V+60
      j com.sun.java.swing.SwingUtilities2.drawString(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V+258
      j com.sun.java.swing.SwingUtilities2.drawStringUnderlineCharAt(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V+19
      j javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(Ljava/awt/Graphics;Ljava/lang/String;III)V+7
      j sun.awt.X11.XButtonPeer.paintText(Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/lang/String;)V+43
      j sun.awt.X11.XButtonPeer.paint(Ljava/awt/Graphics;Ljava/awt/Component;)V+288
      j sun.awt.X11.XButtonPeer.paint(Ljava/awt/Graphics;)V+6
      j sun.awt.X11.XWindow.repaint()V+19
      j sun.awt.X11.XButtonPeer.setLabel(Ljava/lang/String;)V+6
      j java.awt.Button.setLabel(Ljava/lang/String;)V+54
      j FullScreenTest.actionPerformed(Ljava/awt/event/ActionEvent;)V+94
      j java.awt.Button.processActionEvent(Ljava/awt/event/ActionEvent;)V+11
      j java.awt.Button.processEvent(Ljava/awt/AWTEvent;)V+12
      j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+538
      j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
      j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
      j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub
      V [libjvm.so+0x170742]
      V [libjvm.so+0x257438]
      V [libjvm.so+0x16ffa5]
      V [libjvm.so+0x17003e]
      V [libjvm.so+0x1d7894]
      V [libjvm.so+0x2c0e63]
      V [libjvm.so+0x257f0f]
      C [libpthread.so.0+0x59ed]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.font.X11TextRenderer.doDrawGlyphList(Lsun/java2d/SurfaceData;Lsun/java2d/pipe/Region;ILsun/font/GlyphList;)V+0
      j sun.font.X11TextRenderer.drawGlyphList(Lsun/java2d/SunGraphics2D;Lsun/font/GlyphList;)V+14
      j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+158
      j sun.java2d.SunGraphics2D.drawString(Ljava/lang/String;II)V+60
      j com.sun.java.swing.SwingUtilities2.drawString(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V+258
      j com.sun.java.swing.SwingUtilities2.drawStringUnderlineCharAt(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V+19
      j javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(Ljava/awt/Graphics;Ljava/lang/String;III)V+7
      j sun.awt.X11.XButtonPeer.paintText(Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/lang/String;)V+43
      j sun.awt.X11.XButtonPeer.paint(Ljava/awt/Graphics;Ljava/awt/Component;)V+288
      j sun.awt.X11.XButtonPeer.paint(Ljava/awt/Graphics;)V+6
      j sun.awt.X11.XWindow.repaint()V+19
      j sun.awt.X11.XButtonPeer.setLabel(Ljava/lang/String;)V+6
      j java.awt.Button.setLabel(Ljava/lang/String;)V+54
      j FullScreenTest.actionPerformed(Ljava/awt/event/ActionEvent;)V+94
      j java.awt.Button.processActionEvent(Ljava/awt/event/ActionEvent;)V+11
      j java.awt.Button.processEvent(Ljava/awt/AWTEvent;)V+12
      j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+538
      j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
      j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
      j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x0805cf58 JavaThread "DestroyJavaVM" [_thread_blocked, id=15667]
      =>0x083e1be0 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=15679]
        0x083ddd28 JavaThread "AWT-Shutdown" [_thread_blocked, id=15678]
        0x083dbe28 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=15677]
        0x08339958 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=15676]
        0x080c88b0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15674]
        0x080c7378 JavaThread "CompilerThread0" daemon [_thread_blocked, id=15673]
        0x080c6420 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=15672]
        0x080c57e8 JavaThread "Attach Listener" daemon [_thread_blocked, id=15671]
        0x080b94c0 JavaThread "Finalizer" daemon [_thread_blocked, id=15670]
        0x080b8818 JavaThread "Reference Handler" daemon [_thread_blocked, id=15669]

      Other Threads:
        0x080b4170 VMThread [id=15668]
        0x080c9de0 WatcherThread [id=15675]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 576K, used 272K [0x455a0000, 0x45640000, 0x45a80000)
        eden space 512K, 40% used [0x455a0000, 0x455d43b8, 0x45620000)
        from space 64K, 100% used [0x45620000, 0x45630000, 0x45630000)
        to space 64K, 0% used [0x45630000, 0x45630000, 0x45640000)
       tenured generation total 1408K, used 339K [0x45a80000, 0x45be0000, 0x495a0000)
         the space 1408K, 24% used [0x45a80000, 0x45ad4f00, 0x45ad5000, 0x45be0000)
       compacting perm gen total 8192K, used 5004K [0x495a0000, 0x49da0000, 0x4d5a0000)
         the space 8192K, 61% used [0x495a0000, 0x49a83170, 0x49a83200, 0x49da0000)
      No shared spaces configured.

      Dynamic libraries:
      08048000-08057000 r-xp 00000000 00:20 1739007 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/bin/java
      08057000-08059000 rw-p 0000e000 00:20 1739007 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/bin/java
      08059000-08420000 rwxp 08059000 00:00 0
      40000000-40016000 r-xp 00000000 03:02 15167 /lib/ld-2.3.3.so
      40016000-40017000 rw-p 00016000 03:02 15167 /lib/ld-2.3.3.so
      40017000-40018000 rw-p 40017000 00:00 0
      40025000-40032000 r-xp 00000000 03:02 15195 /lib/tls/libpthread.so.0
      40032000-40033000 rw-p 0000d000 03:02 15195 /lib/tls/libpthread.so.0
      40033000-40035000 rw-p 40033000 00:00 0
      40035000-40037000 r-xp 00000000 03:02 15176 /lib/libdl.so.2
      40037000-40038000 rw-p 00002000 03:02 15176 /lib/libdl.so.2
      40038000-40141000 r-xp 00000000 03:02 15193 /lib/tls/libc.so.6
      40141000-40149000 rw-p 00109000 03:02 15193 /lib/tls/libc.so.6
      40149000-4014d000 rw-p 40149000 00:00 0
      4014d000-40480000 r-xp 00000000 00:20 1738359 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/client/libjvm.so
      40480000-4049c000 rw-p 00333000 00:20 1738359 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/client/libjvm.so
      4049c000-408b7000 rw-p 4049c000 00:00 0
      408b7000-408b8000 r--p 408b7000 00:00 0
      408b8000-408b9000 rwxp 408b8000 00:00 0
      408b9000-408bf000 r-xp 00000000 00:20 1738352 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/native_threads/libhpi.so
      408bf000-408c0000 rw-p 00006000 00:20 1738352 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/native_threads/libhpi.so
      408c4000-408e5000 r-xp 00000000 03:02 15194 /lib/tls/libm.so.6
      408e5000-408e6000 rw-p 00020000 03:02 15194 /lib/tls/libm.so.6
      408e6000-408ee000 rw-s 00000000 03:02 173108 /tmp/hsperfdata_pm143956/15667
      408f3000-40905000 r-xp 00000000 03:02 15179 /lib/libnsl.so.1
      40905000-40906000 rw-p 00011000 03:02 15179 /lib/libnsl.so.1
      40906000-40908000 rw-p 40906000 00:00 0
      40908000-4090f000 r-xp 00000000 03:02 15180 /lib/libnss_compat.so.2
      4090f000-40910000 rw-p 00006000 03:02 15180 /lib/libnss_compat.so.2
      40910000-40918000 r-xp 00000000 03:02 15184 /lib/libnss_nis.so.2
      40918000-40919000 rw-p 00007000 03:02 15184 /lib/libnss_nis.so.2
      40919000-40921000 r-xp 00000000 03:02 15182 /lib/libnss_files.so.2
      40921000-40922000 rw-p 00008000 03:02 15182 /lib/libnss_files.so.2
      40922000-4092d000 r-xp 00000000 00:20 1738365 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libverify.so
      4092d000-4092e000 rw-p 0000b000 00:20 1738365 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libverify.so
      4092e000-4094f000 r-xp 00000000 00:20 1738366 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libjava.so
      4094f000-40951000 rw-p 00020000 00:20 1738366 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libjava.so
      40951000-40960000 r-xp 00000000 00:20 1738368 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libzip.so
      40960000-40962000 rw-p 0000e000 00:20 1738368 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libzip.so
      40962000-4308a000 r--s 00000000 00:20 1738415 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/rt.jar
      4308a000-430b3000 rw-p 4308a000 00:00 0
      430b3000-430f8000 r--s 00000000 00:20 1738414 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/jsse.jar
      430f8000-4310c000 r--s 00000000 00:20 1738406 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/jce.jar
      4310c000-4351f000 r--s 00000000 00:20 1738916 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/charsets.jar
      4351f000-435f7000 rwxp 4351f000 00:00 0
      435f7000-4551f000 rwxp 435f7000 00:00 0
      4551f000-45523000 rwxp 4551f000 00:00 0
      45523000-4559f000 rwxp 45523000 00:00 0
      455a0000-45640000 rwxp 455a0000 00:00 0
      45640000-45a80000 rwxp 45640000 00:00 0
      45a80000-45be0000 rwxp 45a80000 00:00 0
      45be0000-495a0000 rwxp 45be0000 00:00 0
      495a0000-49da0000 rwxp 495a0000 00:00 0
      49da0000-4d5a0000 rwxp 49da0000 00:00 0
      4d5a0000-4d5a1000 rwxp 4d5a0000 00:00 0
      4d5a1000-4d5a2000 rwxp 4d5a1000 00:00 0
      4d5a2000-4d5a4000 rwxp 4d5a2000 00:00 0
      4d5a4000-4d5c0000 rwxp 4d5a4000 00:00 0
      4d5c0000-4d5c4000 rwxp 4d5c0000 00:00 0
      4d5c4000-4d5e0000 rwxp 4d5c4000 00:00 0
      4d5e0000-4d5e2000 rwxp 4d5e0000 00:00 0
      4d5e2000-4d5ff000 rwxp 4d5e2000 00:00 0
      4d5ff000-4d604000 rwxp 4d5ff000 00:00 0
      4d604000-4d620000 rwxp 4d604000 00:00 0
      4d620000-4d621000 ---p 4d620000 00:00 0
      4d621000-4d6a1000 rwxp 4d621000 00:00 0
      4d6a1000-4d6a4000 ---p 4d6a1000 00:00 0
      4d6a4000-4d722000 rwxp 4d6a4000 00:00 0
      4d722000-4d725000 ---p 4d722000 00:00 0
      4d725000-4d7a3000 rwxp 4d725000 00:00 0
      4d7a3000-4d7d6000 r--p 00000000 03:02 18516 /usr/lib/locale/en_US.utf8/LC_CTYPE
      4d7d6000-4d7dc000 r--s 00000000 03:02 15931 /usr/lib/gconv/gconv-modules.cache
      4d7dc000-4d7df000 ---p 4d7dc000 00:00 0
      4d7df000-4d85d000 rwxp 4d7df000 00:00 0
      4d85d000-4d860000 ---p 4d85d000 00:00 0
      4d860000-4d8de000 rwxp 4d860000 00:00 0
      4d8de000-4d8e1000 ---p 4d8de000 00:00 0
      4d8e1000-4d95f000 rwxp 4d8e1000 00:00 0
      4d95f000-4d962000 ---p 4d95f000 00:00 0
      4d962000-4d9e0000 rwxp 4d962000 00:00 0
      4d9e0000-4d9e1000 ---p 4d9e0000 00:00 0
      4d9e1000-4da61000 rwxp 4d9e1000 00:00 0
      4da61000-4da87000 r--s 00000000 00:20 1738346 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/ext/sunjce_provider.jar
      4da87000-4dab2000 r--s 00000000 00:20 1738347 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/ext/sunpkcs11.jar
      4dab2000-4dab5000 r--s 00000000 00:20 1738348 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/ext/dnsns.jar
      4dab5000-4db25000 r--s 00000000 00:20 1738349 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/ext/localedata.jar
      4db25000-4db9a000 r-xp 00000000 00:20 1738381 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libawt.so
      4db9a000-4dba1000 rw-p 00074000 00:20 1738381 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libawt.so
      4dba1000-4dbc5000 rw-p 4dba1000 00:00 0
      4dbc5000-4dc8b000 r-xp 00000000 00:20 1738380 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libmlib_image.so
      4dc8b000-4dc8c000 rw-p 000c5000 00:20 1738380 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libmlib_image.so
      4dc8c000-4dcbb000 r-xp 00000000 00:20 1738385 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/xawt/libmawt.so
      4dcbb000-4dcbf000 rw-p 0002e000 00:20 1738385 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/xawt/libmawt.so
      4dcbf000-4dccd000 r-xp 00000000 03:02 24608 /usr/X11R6/lib/libXext.so.6.4
      4dccd000-4dcce000 rw-p 0000d000 03:02 24608 /usr/X11R6/lib/libXext.so.6.4
      4dcce000-4ddc6000 r-xp 00000000 03:02 24597 /usr/X11R6/lib/libX11.so.6.2
      4ddc6000-4ddca000 rw-p 000f7000 03:02 24597 /usr/X11R6/lib/libX11.so.6.2
      4ddca000-4de3a000 r-xp 00000000 00:20 1738390 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libfontmanager.so
      4de3a000-4de44000 rw-p 00070000 00:20 1738390 /net/sqindia/export/disk05/2d-SQE/PIT/2005-05-26.mustang/linux-i586/jre/lib/i386/libfontmanager.so
      4de44000-4de49000 rw-p 4de44000 00:00 0
      4de49000-4de4c000 ---p 4de49000 00:00 0
      4de4c000-4deca000 rwxp 4de4c000 00:00 0
      4deca000-4decb000 r-xp 00000000 03:
      ###@###.### 2005-06-03 00:06:16 GMT

            prr Philip Race
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: