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

OGL: VM Crash on cinnabar with OpenGL when changing the display mode few times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • 2d
    • x86
    • linux_sun

      I am getting a VM crash when changing the display mode few times (through setDisplayMode()) on Cinnabar with Nvidia GeForce4 MX440 when OGL is turned on.

      This is noticed since mustang-b56 and this machine is installed with Cinnbar-b40 (GA). Not reproducible on Win32, default mode on cinnabar.

      I have attached the test and the output of 'xdpyinfo'. Run the test. Try changing the display mode 5-6 times by choosing from the list of display modes shown. You would see a VM crash.

      Here is the crash info:
      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x4aa15780, pid=22355, tid=1263348656
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0-beta-b59 mixed mode)
      # Problematic frame:
      # C [libmawt.so+0x2a780]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

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

      Current thread (0x083ef100): JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=22365]

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

      Registers:
      EAX=0x00000060, EBX=0x4aa24538, ECX=0x084b9e68, EDX=0x00000000
      ESP=0x4b4d2370, EBP=0x4b4d2388, ESI=0x466d3768, EDI=0x083e73c8
      EIP=0x4aa15780, CR2=0x00000068, EFLAGS=0x00210206

      Top of Stack: (sp=0x4b4d2370)
      0x4b4d2370: 00000006 4b4d23e8 4002dbbf 00000000
      0x4b4d2380: 4aa24538 466d3768 4b4d2508 4aa1275c
      0x4b4d2390: 083ef1e4 00000060 00000000 00000001
      0x4b4d23a0: 4002ffc1 083ef100 083ef100 080ab900
      0x4b4d23b0: 4b4d2400 063246f7 080ab900 083ef100
      0x4b4d23c0: 4b4d2478 00000001 4b4d23d0 4002cf00
      0x4b4d23d0: 4b4d2400 06324507 083ef3c0 083ef418
      0x4b4d23e0: 00000064 00000000 083e7360 09ddc5a8

      Instructions: (pc=0x4aa15780)
      0x4aa15770: 0e fe ff 81 c3 c5 ed 00 00 89 75 fc 85 c0 74 20
      0x4aa15780: 8b 70 08 8b 45 08 89 74 24 04 89 04 24 e8 3e ff

      Stack: [0x4b482000,0x4b4d3000), sp=0x4b4d2370, free space=320k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libmawt.so+0x2a780]
      C [libmawt.so+0x2775c] Java_sun_java2d_opengl_OGLRenderQueue_flushBuffer+0x87c
      j sun.java2d.opengl.OGLRenderQueue.flushBuffer(JI)V+0
      j sun.java2d.opengl.OGLRenderQueue.flushBuffer()V+21
      j sun.java2d.opengl.OGLRenderQueue.access$100(Lsun/java2d/opengl/OGLRenderQueue;)V+1
      j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+81
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1ea1bd]
      V [libjvm.so+0x2d2e48]
      V [libjvm.so+0x1e9ad0]
      V [libjvm.so+0x1e9b5d]
      V [libjvm.so+0x256595]
      V [libjvm.so+0x3468ac]
      V [libjvm.so+0x2d3b53]
      C [libpthread.so.0+0x5a13]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.java2d.opengl.OGLRenderQueue.flushBuffer(JI)V+0
      j sun.java2d.opengl.OGLRenderQueue.flushBuffer()V+21
      j sun.java2d.opengl.OGLRenderQueue.access$100(Lsun/java2d/opengl/OGLRenderQueue;)V+1
      j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+81
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
        0x0854dd00 JavaThread "TimerQueue" daemon [_thread_blocked, id=22369]
        0x0805d600 JavaThread "DestroyJavaVM" [_thread_blocked, id=22356]
        0x084f1700 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=22368]
        0x084f0f00 JavaThread "AWT-Shutdown" [_thread_blocked, id=22367]
        0x084ce500 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=22366]
      =>0x083ef100 JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=22365]
        0x083bd600 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=22364]
        0x080bd100 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=22362]
        0x080bbb00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=22361]
        0x080bac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=22360]
        0x080aa900 JavaThread "Finalizer" daemon [_thread_blocked, id=22359]
        0x080a9b00 JavaThread "Reference Handler" daemon [_thread_blocked, id=22358]

      Other Threads:
        0x080a6c00 VMThread [id=22357]
        0x080be800 WatcherThread [id=22363]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 2304K, used 166K [0x422e0000, 0x42560000, 0x427c0000)
        eden space 2048K, 4% used [0x422e0000, 0x422f6290, 0x424e0000)
        from space 256K, 30% used [0x42520000, 0x42533828, 0x42560000)
        to space 256K, 0% used [0x424e0000, 0x424e0000, 0x42520000)
       tenured generation total 29960K, used 26604K [0x427c0000, 0x44502000, 0x462e0000)
         the space 29960K, 88% used [0x427c0000, 0x441bb068, 0x441bb200, 0x44502000)
       compacting perm gen total 12288K, used 7866K [0x462e0000, 0x46ee0000, 0x4a2e0000)
         the space 12288K, 64% used [0x462e0000, 0x46a8e918, 0x46a8ea00, 0x46ee0000)
      No shared spaces configured.

      Dynamic libraries:
      06000000-063c6000 r-xp 00000000 00:16 70789 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/client/libjvm.so
      063c6000-063e2000 rw-p 003c6000 00:16 70789 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/client/libjvm.so
      063e2000-067fd000 rw-p 063e2000 00:00 0
      08048000-08057000 r-xp 00000000 00:16 71431 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/bin/java
      08057000-08059000 rw-p 0000f000 00:16 71431 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/bin/java
      08059000-08e47000 rwxp 08059000 00:00 0
      40000000-40016000 r-xp 00000000 03:03 9196 /lib/ld-2.3.3.so
      40016000-40017000 rw-p 00016000 03:03 9196 /lib/ld-2.3.3.so
      40017000-40018000 rw-p 40017000 00:00 0
      40026000-40033000 r-xp 00000000 03:03 9224 /lib/tls/libpthread.so.0
      40033000-40034000 rw-p 0000d000 03:03 9224 /lib/tls/libpthread.so.0
      40034000-40036000 rw-p 40034000 00:00 0
      40036000-40038000 r-xp 00000000 03:03 9205 /lib/libdl.so.2
      40038000-40039000 rw-p 00002000 03:03 9205 /lib/libdl.so.2
      40039000-40143000 r-xp 00000000 03:03 9222 /lib/tls/libc.so.6
      40143000-4014b000 rw-p 00109000 03:03 9222 /lib/tls/libc.so.6
      4014b000-4014f000 rw-p 4014b000 00:00 0
      4014f000-40170000 r-xp 00000000 03:03 9223 /lib/tls/libm.so.6
      40170000-40171000 rw-p 00020000 03:03 9223 /lib/tls/libm.so.6
      40171000-40174000 ---p 40171000 00:00 0
      40174000-401c2000 rwxp 40174000 00:00 0
      401c2000-401c3000 r--p 401c2000 00:00 0
      401c3000-401c4000 rwxp 401c3000 00:00 0
      401c4000-401ca000 r-xp 00000000 00:16 70782 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/native_threads/libhpi.so
      401ca000-401cb000 rw-p 00006000 00:16 70782 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/native_threads/libhpi.so
      401d0000-401d6000 r-xp 00000000 03:03 9225 /lib/tls/librt.so.1
      401d6000-401d7000 rw-p 00006000 03:03 9225 /lib/tls/librt.so.1
      401d7000-401df000 rw-s 00000000 03:03 241521 /tmp/hsperfdata_pm143956/22355
      401e5000-401f7000 r-xp 00000000 03:03 9208 /lib/libnsl.so.1
      401f7000-401f8000 rw-p 00011000 03:03 9208 /lib/libnsl.so.1
      401f8000-401fa000 rw-p 401f8000 00:00 0
      401fa000-40201000 r-xp 00000000 03:03 9209 /lib/libnss_compat.so.2
      40201000-40202000 rw-p 00006000 03:03 9209 /lib/libnss_compat.so.2
      40202000-4020a000 r-xp 00000000 03:03 9213 /lib/libnss_nis.so.2
      4020a000-4020b000 rw-p 00007000 03:03 9213 /lib/libnss_nis.so.2
      4020b000-40213000 r-xp 00000000 03:03 9211 /lib/libnss_files.so.2
      40213000-40214000 rw-p 00008000 03:03 9211 /lib/libnss_files.so.2
      40214000-4021f000 r-xp 00000000 00:16 70795 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libverify.so
      4021f000-40220000 rw-p 0000b000 00:16 70795 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libverify.so
      40220000-40243000 r-xp 00000000 00:16 70796 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libjava.so
      40243000-40245000 rw-p 00023000 00:16 70796 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libjava.so
      40245000-40254000 r-xp 00000000 00:16 70798 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libzip.so
      40254000-40256000 rw-p 0000e000 00:16 70798 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libzip.so
      40256000-403b6000 rwxp 40256000 00:00 0
      403b6000-42256000 rwxp 403b6000 00:00 0
      42256000-4225c000 rwxp 42256000 00:00 0
      4225c000-422d6000 rwxp 4225c000 00:00 0
      422d6000-422d7000 rw-s 00000000 00:06 12288015 /SYSV00000000 (deleted)
      422d7000-422d8000 rw-s f0a08000 03:03 18611 /dev/nvidia0
      422d8000-422d9000 rw-s f0a0c000 03:03 18611 /dev/nvidia0
      422d9000-422da000 rw-s f7dc0000 03:03 18611 /dev/nvidia0
      422da000-422db000 rw-s f13ec000 03:03 18611 /dev/nvidia0
      422db000-422dc000 rw-s 00000000 00:06 12714012 /SYSV00000000 (deleted)
      422dc000-422dd000 rw-s f0ce0000 03:03 18611 /dev/nvidia0
      422dd000-422de000 rw-s 00000000 00:06 12976164 /SYSV00000000 (deleted)
      422de000-422df000 rw-s f0ce4000 03:03 18611 /dev/nvidia0
      422df000-422e0000 rw-s f79b0000 03:03 18611 /dev/nvidia0
      422e0000-42560000 rwxp 422e0000 00:00 0
      42560000-427c0000 rwxp 42560000 00:00 0
      427c0000-44502000 rwxp 427c0000 00:00 0
      44502000-462e0000 rwxp 44502000 00:00 0
      462e0000-46ee0000 rwxp 462e0000 00:00 0
      46ee0000-4a2e0000 rwxp 46ee0000 00:00 0
      4a2e0000-4a2e2000 rwxp 4a2e0000 00:00 0
      4a2e2000-4a2f2000 rwxp 4a2e2000 00:00 0
      4a2f2000-4a300000 rwxp 4a2f2000 00:00 0
      4a300000-4a306000 rwxp 4a300000 00:00 0
      4a306000-4a320000 rwxp 4a306000 00:00 0
      4a320000-4a330000 rwxp 4a320000 00:00 0
      4a330000-4a33f000 rwxp 4a330000 00:00 0
      4a33f000-4a346000 rwxp 4a33f000 00:00 0
      4a346000-4a360000 rwxp 4a346000 00:00 0
      4a360000-4a4d9000 r--s 02c1b000 00:16 70837 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/rt.jar
      4a4d9000-4a57d000 rw-p 4a4d9000 00:00 0
      4a57d000-4a57e000 ---p 4a57d000 00:00 0
      4a57e000-4a5fe000 rwxp 4a57e000 00:00 0
      4a5fe000-4a601000 ---p 4a5fe000 00:00 0
      4a601000-4a64f000 rwxp 4a601000 00:00 0
      4a64f000-4a652000 ---p 4a64f000 00:00 0
      4a652000-4a6a0000 rwxp 4a652000 00:00 0
      4a6a0000-4a6d3000 r--p 00000000 03:03 12033 /usr/lib/locale/en_US.utf8/LC_CTYPE
      4a6d3000-4a6d9000 r--s 00000000 03:03 9448 /usr/lib/gconv/gconv-modules.cache
      4a6d9000-4a6dc000 ---p 4a6d9000 00:00 0
      4a6dc000-4a72a000 rwxp 4a6dc000 00:00 0
      4a72a000-4a72d000 ---p 4a72a000 00:00 0
      4a72d000-4a7ab000 rwxp 4a72d000 00:00 0
      4a7ab000-4a7ae000 ---p 4a7ab000 00:00 0
      4a7ae000-4a7fc000 rwxp 4a7ae000 00:00 0
      4a7fc000-4a7fd000 ---p 4a7fc000 00:00 0
      4a7fd000-4a87d000 rwxp 4a7fd000 00:00 0
      4a87d000-4a8f9000 r-xp 00000000 00:16 70812 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libawt.so
      4a8f9000-4a900000 rw-p 0007c000 00:16 70812 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libawt.so
      4a900000-4a924000 rw-p 4a900000 00:00 0
      4a924000-4a9ea000 r-xp 00000000 00:16 70811 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libmlib_image.so
      4a9ea000-4a9eb000 rw-p 000c5000 00:16 70811 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libmlib_image.so
      4a9eb000-4aa22000 r-xp 00000000 00:16 70816 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/xawt/libmawt.so
      4aa22000-4aa25000 rw-p 00037000 00:16 70816 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/xawt/libmawt.so
      4aa25000-4aa26000 rw-p 4aa25000 00:00 0
      4aa26000-4aa28000 rwxp 00000000 03:03 33557 /dev/zero
      4aa28000-4aa29000 rw-s 00000000 00:06 13008933 /SYSV00000000 (deleted)
      4aa29000-4aa2a000 rw-s f13f0000 03:03 18611 /dev/nvidia0
      4aa2a000-4aa2b000 rw-s f7468000 03:03 18611 /dev/nvidia0
      4aa2b000-4aa2c000 rw-s 00000000 00:06 14319693 /SYSV00000000 (deleted)
      4aa34000-4aa42000 r-xp 00000000 03:03 46733 /usr/X11R6/lib/libXext.so.6.4
      4aa42000-4aa43000 rw-p 0000d000 03:03 46733 /usr/X11R6/lib/libXext.so.6.4
      4aa43000-4ab3b000 r-xp 00000000 03:03 46718 /usr/X11R6/lib/libX11.so.6.2
      4ab3b000-4ab3f000 rw-p 000f7000 03:03 46718 /usr/X11R6/lib/libX11.so.6.2
      4ab3f000-4ab44000 r-xp 00000000 03:03 46760 /usr/X11R6/lib/libXtst.so.6.1
      4ab44000-4ab45000 rw-p 00004000 03:03 46760 /usr/X11R6/lib/libXtst.so.6.1
      4ab45000-4ab4c000 r-xp 00000000 03:03 46742 /usr/X11R6/lib/libXi.so.6.0
      4ab4c000-4ab4d000 rw-p 00006000 03:03 46742 /usr/X11R6/lib/libXi.so.6.0
      4ab4d000-4abb3000 r-xp 00000000 03:03 155623 /usr/lib/libGL.so.1.0.7676
      4abb3000-4abcb000 rwxp 00066000 03:03 155623 /usr/lib/libGL.so.1.0.7676
      4abcb000-4abcc000 rwxp 4abcb000 00:00 0
      4abcc000-4b2ff000 r-xp 00000000 03:03 155625 /usr/lib/libGLcore.so.1.0.7676
      4b2ff000-4b331000 rwxp 00733000 03:03 155625 /usr/lib/libGLcore.so.1.0.7676
      4b331000-4b335000 rwxp 4b331000 00:00 0
      4b335000-4b336000 r-xp 00000000 03:03 241747 /usr/lib/tls/libnvidia-tls.so.1.0.7676
      4b336000-4b337000 rw-p 00000000 03:03 241747 /usr/lib/tls/libnvidia-tls.so.1.0.7676
      4b337000-4b392000 rw-p 4b337000 00:00 0
      4b392000-4b407000 r-xp 00000000 00:16 70821 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libfontmanager.so
      4b407000-4b412000 rw-p 00074000 00:16 70821 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libfontmanager.so
      4b412000-4b416000 rw-p 4b412000 00:00 0
      4b416000-4b419000 ---p 4b416000 00:00 0
      4b419000-4b467000 rwxp 4b419000 00:00 0
      4b467000-4b47a000 r-xp 00000000 00:16 70802 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libnet.so
      4b47a000-4b47b000 rw-p 00012000 00:16 70802 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libnet.so
      4b47b000-4b481000 r-xp 00000000 00:16 70803 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libnio.so
      4b481000-4b482000 rw-p 00006000 00:16 70803 /net/sqindia/export/disk09/jdk/1.6.0/b59/binaries/linux-i586/jre/lib/i386/libnio.so
      4b482000-4b485000 ---p 4b482000 00:00 0
      4b485000-4b4d3000 rwxp 4b485000 00:00 0
      4b4d3000-4b4e0000 rw-s 00000000 00:06 589825 /SYSV00000000 (deleted)
      4b4e0000-4b760000 rw-s f0000000 03:03 18611 /dev/nvidia0
      4b760000-4b7bb000 rw-p 00000000 03:03 33557 /dev/zero
      4b7bb000-4b83d000 rw-p 4b7bb000 00:00 0
      4b83d000-4b898000 rw-p 00000000 03:03 33557 /dev/zero
      4b898000-4b91a000 rw-p 4b898000 00:00 0
      4b91a000-4ba1c000 rw-s e0010000 03:03 18611 /dev/nvidia0
      4ba1c000-4ba2c000 rw-s fc820000 03:03 18611 /dev/nvidia0
      4ba2c000-4bb2e000 rw-p 4ba2c000 00:00 0
      4bb2e000-4bb2f000 rw-s 170e0000 03:03 18611 /dev/nvidia0
      4bb2f000-4bb30000 rw-s 170e1000 03:03 18611 /dev/nvidia0
      4bb30000-4bb31000 rw-s f7fca000 03:03 18611 /dev/nvidia0
      4bb31000-4c2b3000 rw-p 4bb31000 00:00 0
      4c2b3000-4c3b3000 rw-s e0112000 03:03 18611 /dev/nvidia0
      4c3b3000-4c3b4000 rw-s f1de8000 03:03 18611 /dev/nvidia0
      4c3b4000-4c3b5000 rw-s f1dec000 03:03 18611 /dev/nvidia0
      4c3b5000-4c3b6000 rw-s f6e38000 03:03 18611 /dev/nvidia0
      4c3bf000-4c3c0000 rw-s 00000000 00:06 12255246 /SYSV00000000 (deleted)
      4c3c0000-4c3c2000 rwxp 00000000 03:03 33557 /dev/zero
      4c3c2000-4c3c4000 rwxp 00000000 03:03 33557 /dev/zero
      4c3c4000-4c3c6000 rwxp 00000000 03:03 33557 /dev/zero
      4c3c6000-4c3c8000 rwxp 00000000 03:03 33557 /dev/zero
      4c3c8000-4c3ca000 rwxp 00000000 03:03 33557 /dev/zero
      4c3ca000-4c3cc000 rwxp 00000000 03:03 33557 /dev/zero
      4c3cc000-4c3ce000 rwxp 00000000 03:03 33557 /dev/zero
      4c3ce000-4c3d0000 rwxp 00000000 03:03 33557 /dev/zero
      4c3d0000-4c3d1000 r-xp 00000000 03:03 46622 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
      4c3d1000-4c3d2000 rw-p 00000000 03:03 46622 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
      4c3e0000-4c3e8000 r-xp 00000000 03:03 46729 /usr/X11R6/lib/libXcursor.so.1.0.2
      4c3e8000-4c3e9000 rw-p 00007000 03:03 46729 /usr/X11R6/lib/libXcursor.so.1.0.2
      4c3e9000-4c3f0000 r-xp 00000000 03:03 46755 /usr/X11R6/lib/libXrender.so.1.2.2
      4c3f0000-4c3f1000 rw-p 00007000 03:03 46755 /usr/X11R6/lib/libXrender.so.1.2.2
      4c3f1000-4c3f4000 ---p 4c3f1000 00:00 0
      4c3f4000-4c442000 rwxp 4c3f4000 00:00 0
      4c442000-4c445000 ---p 4c442000 00:00 0
      4c445000-4c493000 rwx

            campbell Christopher Campbell (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: