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

Java crashes initializing Java2D when run on OS X run under VMWare Fusion

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      generic

      Description

      FULL PRODUCT VERSION :
      JRE version: 7.0_07-b10
      Java VM: Java HotSpot(TM) 64-Bit Server VM (23.3-b01 mixed mode bsd-amd64 compressed oops)

      A DESCRIPTION OF THE PROBLEM :
      Java crashes when executed in a VMware Fusion VM. It appears to be due to the lack of video acceleration that VMware provides. If that's the case, perhaps Java should not be making assumptions about what sort of video capabilities are available, despite being run on OS X.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fff8f3512b4, pid=658, tid=37127
      #
      # JRE version: 7.0_07-b10
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.3-b01 mixed mode bsd-amd64 compressed oops)
      # Problematic frame:
      # C [libGL.dylib+0x12b4] glGetString+0xf
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x00007fbfc9c27800): JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=37127, stack(0x0000000179a5e000,0x0000000179b5e000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000000003b0

      Registers:
      RAX=0x0000000000000000, RBX=0x0000000178096900, RCX=0x0000000000000000, RDX=0x0000000000000008
      RSP=0x0000000179b5d910, RBP=0x0000000179b5d910, RSI=0x0000000000001f00, RDI=0x0000000000001f00
      R8 =0x8000000000000000, R9 =0x00000000000006ae, R10=0x000000010e47ff44, R11=0x000000010dc8821f
      R12=0x0000000000000000, R13=0x000000016f5a6538, R14=0x0000000179b5d9c0, R15=0x00007fbfc9c27800
      RIP=0x00007fff8f3512b4, EFLAGS=0x0000000000010202, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

        Top of Stack: (sp=0x0000000179b5d910)
      0x0000000179b5d910: 0000000179b5d950 0000000178016fbb
      0x0000000179b5d920: 00007fbfc9c279d8 000000016f5a6538
      0x0000000179b5d930: 0000000000000000 000000016f5a6538
      0x0000000179b5d940: 0000000179b5d9c0 00007fbfc9c27800
      0x0000000179b5d950: 0000000179b5d9a8 000000010e47ff70
      0x0000000179b5d960: 000000010e48b183 0000000179b5d968
      0x0000000179b5d970: 000000016f5a6538 0000000179b5d9c0
      0x0000000179b5d980: 000000016f5a9420 0000000000000000
      0x0000000179b5d990: 000000016f5a6538 0000000000000000
      0x0000000179b5d9a0: 0000000179b5d9c8 0000000179b5da18
      0x0000000179b5d9b0: 000000010e474333 0000000111d5fec0
      0x0000000179b5d9c0: 000000010e47cdbb 0000000000000000
      0x0000000179b5d9d0: 0000000111d5e388 0000000179b5d9d8
      0x0000000179b5d9e0: 000000016f5a99cd 0000000179b5da28
      0x0000000179b5d9f0: 000000016f5a9ce8 0000000000000000
      0x0000000179b5da00: 000000016f5a99d8 0000000179b5d9c8
      0x0000000179b5da10: 0000000179b5da28 0000000179b5da80
      0x0000000179b5da20: 000000010e474806 0000000111d60040
      0x0000000179b5da30: 0000000000000001 0000000111d5e9e8
      0x0000000179b5da40: 0000000179b5da30 000000016f5a54b7
      0x0000000179b5da50: 0000000179b5daa8 000000016f5a5970
      0x0000000179b5da60: 0000000000000000 000000016f5a5580
      0x0000000179b5da70: 0000000179b5da28 0000000179b5daa8
      0x0000000179b5da80: 0000000179b5db10 000000010e46e4f7
      0x0000000179b5da90: 0000000000000000 0000000000000000
      0x0000000179b5daa0: 0000000000000000 0000000111d5e9e8
      0x0000000179b5dab0: 0000000100001fa0 0000000000000001
      0x0000000179b5dac0: 00007fbfc9c27800 000000010e46e46f
      0x0000000179b5dad0: 000000000000000a 00007fbfc96ebcb0
      0x0000000179b5dae0: 0000000179b5db80 0000000179b5dd50
      0x0000000179b5daf0: 000000000000000a 000000016f5a5580
      0x0000000179b5db00: 000000010e47e6e0 0000000179b5dcc0

      Instructions: (pc=0x00007fff8f3512b4)
      0x00007fff8f351294: 68 4d 0d ee 65 48 89 3c 25 f0 00 00 00 31 c0 5d
      0x00007fff8f3512a4: c3 55 48 89 e5 89 fe 65 48 8b 04 25 f0 00 00 00
      0x00007fff8f3512b4: 48 8b 88 b0 03 00 00 48 8b 38 5d ff e1 55 48 89
      0x00007fff8f3512c4: e5 48 89 f2 89 fe 65 48 8b 04 25 f0 00 00 00 48

      Register to memory mapping:

      RAX=0x0000000000000000 is an unknown value
      RBX=0x0000000178096900: j2d_glGetString+0 in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/lwawt/liblwawt.dylib at 0x0000000178013000
      RCX=0x0000000000000000 is an unknown value
      RDX=0x0000000000000008 is an unknown value
      RSP=0x0000000179b5d910 is pointing into the stack for thread: 0x00007fbfc9c27800
      RBP=0x0000000179b5d910 is pointing into the stack for thread: 0x00007fbfc9c27800
      RSI=0x0000000000001f00 is an unknown value
      RDI=0x0000000000001f00 is an unknown value
      R8 =0x8000000000000000 is an unknown value
      R9 =0x00000000000006ae is an unknown value
      R10=0x000000010e47ff44 is an Interpreter codelet
      method entry point (kind = native) [0x000000010e47fce0, 0x000000010e480520] 2112 bytes
      R11=0x000000010dc8821f: throw_unsatisfied_link_error+0 in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib at 0x000000010d883000
      R12=0x0000000000000000 is an unknown value
      R13=0x000000016f5a6538 is an oop
      {method}
       - klass: {other class}
      R14=0x0000000179b5d9c0 is pointing into the stack for thread: 0x00007fbfc9c27800
      R15=0x00007fbfc9c27800 is a thread


      Stack: [0x0000000179a5e000,0x0000000179b5e000], sp=0x0000000179b5d910, free space=1022k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libGL.dylib+0x12b4] glGetString+0xf
      C [liblwawt.dylib+0x3fbb] Java_sun_java2d_opengl_OGLContext_getOGLIdString+0x23
      j sun.java2d.opengl.OGLContext.getOGLIdString()Ljava/lang/String;+0
      j sun.java2d.opengl.CGLGraphicsConfig$1.run()V+5
      j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+95
      v ~StubRoutines::call_stub
      V [libjvm.dylib+0x288afb]
      V [libjvm.dylib+0x288fd8]
      V [libjvm.dylib+0x289112]
      V [libjvm.dylib+0x2bfa8c]
      V [libjvm.dylib+0x478694]
      V [libjvm.dylib+0x479b7a]
      V [libjvm.dylib+0x3b5595]
      C [libsystem_c.dylib+0x4e8bf] _pthread_start+0x14f
      C [libsystem_c.dylib+0x51b75] thread_start+0xd

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.java2d.opengl.OGLContext.getOGLIdString()Ljava/lang/String;+0
      j sun.java2d.opengl.CGLGraphicsConfig$1.run()V+5
      j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+95
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
      =>0x00007fbfc9c27800 JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=37127, stack(0x0000000179a5e000,0x0000000179b5e000)]
        0x00007fbfc9a84000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=36875, stack(0x0000000179755000,0x0000000179855000)]
        0x00007fbfc9c1b000 JavaThread "AWT-EventQueue-3" [_thread_blocked, id=36355, stack(0x000000017995b000,0x0000000179a5b000)]
        0x00007fbfc9a9c800 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=18951, stack(0x0000000179858000,0x0000000179958000)]
        0x00007fbfc9a7f000 JavaThread "Thread-3" daemon [_thread_blocked, id=33795, stack(0x000000017858b000,0x000000017868b000)]
        0x00007fbfc9834800 JavaThread "DestroyJavaVM" [_thread_blocked, id=7171, stack(0x000000010e32b000,0x000000010e42b000)]
        0x00007fbfc9820800 JavaThread "Java Web Start Main Thread" [_thread_in_native, id=33283, stack(0x000000017845b000,0x000000017855b000)]
        0x00007fbfc9ad4000 JavaThread "Javaws Secure Thread" daemon [_thread_blocked, id=32771, stack(0x0000000178358000,0x0000000178458000)]
        0x00007fbfc9a2d000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=32515, stack(0x0000000178255000,0x0000000178355000)]
        0x00007fbfc9a2c000 JavaThread "AWT-Shutdown" [_thread_blocked, id=32259, stack(0x0000000178106000,0x0000000178206000)]
        0x00007fbfc9a2b800 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=31755, stack(0x0000000177d6a000,0x0000000177e6a000)]
        0x00007fbfc9adf000 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=31247, stack(0x0000000177c67000,0x0000000177d67000)]
        0x00007fbfc992c000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=24835, stack(0x0000000176679000,0x0000000176779000)]
        0x00007fbfc990b000 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=1799, stack(0x00007fff6ca7a000,0x00007fff6d27a000)]
        0x00007fbfc98f3000 JavaThread "Service Thread" daemon [_thread_blocked, id=17667, stack(0x0000000174f3f000,0x000000017503f000)]
        0x00007fbfc98f2000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=17411, stack(0x0000000174e3c000,0x0000000174f3c000)]
        0x00007fbfc98e9800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=17155, stack(0x0000000174d39000,0x0000000174e39000)]
        0x00007fbfc98e6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=16899, stack(0x0000000174c36000,0x0000000174d36000)]
        0x00007fbfc989e800 JavaThread "Finalizer" daemon [_thread_blocked, id=13059, stack(0x000000017492c000,0x0000000174a2c000)]
        0x00007fbfc9898800 JavaThread "Reference Handler" daemon [_thread_blocked, id=12803, stack(0x0000000174829000,0x0000000174929000)]

      Other Threads:
        0x00007fbfc9896000 VMThread [stack: 0x0000000174726000,0x0000000174826000] [id=12547]
        0x00007fbfc98cf800 WatcherThread [stack: 0x0000000175042000,0x0000000175142000] [id=17923]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 28736K, used 9218K [0x0000000111540000, 0x0000000113460000, 0x00000001307e0000)
        eden space 25600K, 36% used [0x0000000111540000, 0x0000000111e40830, 0x0000000112e40000)
        from space 3136K, 0% used [0x0000000112e40000, 0x0000000112e40000, 0x0000000113150000)
        to space 3136K, 0% used [0x0000000113150000, 0x0000000113150000, 0x0000000113460000)
       tenured generation total 63872K, used 0K [0x00000001307e0000, 0x0000000134640000, 0x000000016ed40000)
         the space 63872K, 0% used [0x00000001307e0000, 0x00000001307e0000, 0x00000001307e0200, 0x0000000134640000)
       compacting perm gen total 21248K, used 8615K [0x000000016ed40000, 0x0000000170200000, 0x0000000173f40000)
         the space 21248K, 40% used [0x000000016ed40000, 0x000000016f5a9d68, 0x000000016f5a9e00, 0x0000000170200000)
      No shared spaces configured.

      Card table byte_map: [0x0000000173f40000,0x0000000174256000] byte_map_base: 0x00000001736b5600

      Polling page: 0x000000010d6fe000

      Code Cache [0x000000010e46e000, 0x000000010e6de000, 0x000000011146e000)
       total_blobs=324 nmethods=15 adapters=261 free_code_cache=48668Kb largest_free_block=49827904

      Compilation events (10 events):
      Event: 0.818 Thread 0x00007fbfc98e9800 10 java.lang.Object::<init> (1 bytes)
      Event: 0.818 Thread 0x00007fbfc98e9800 nmethod 10 0x000000010e4da110 code [0x000000010e4da240, 0x000000010e4da2d8]
      Event: 0.893 Thread 0x00007fbfc98e9800 11 sun.nio.cs.UTF_8$Decoder::decode (640 bytes)
      Event: 0.907 Thread 0x00007fbfc98e9800 nmethod 11 0x000000010e4e2390 code [0x000000010e4e2680, 0x000000010e4e3450]
      Event: 0.913 Thread 0x00007fbfc98e9800 12 sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (543 bytes)
      Event: 0.926 Thread 0x00007fbfc98e9800 nmethod 12 0x000000010e4e4550 code [0x000000010e4e47c0, 0x000000010e4e53b8]
      Event: 0.960 Thread 0x00007fbfc98e9800 14 java.lang.String::length (6 bytes)
      Event: 0.961 Thread 0x00007fbfc98e9800 nmethod 14 0x000000010e4dfdd0 code [0x000000010e4dff00, 0x000000010e4dff78]
      Event: 1.029 Thread 0x00007fbfc98e9800 15 java.lang.String::startsWith (72 bytes)
      Event: 1.030 Thread 0x00007fbfc98e9800 nmethod 15 0x000000010e4df190 code [0x000000010e4df2e0, 0x000000010e4df418]

      GC Heap History (0 events):
      No events

      Deoptimization events (3 events):
      Event: 0.814 Thread 0x00007fbfc9820800 Uncommon trap -34 fr.pc 0x000000010e4d3574
      Event: 0.814 Thread 0x00007fbfc9820800 Uncommon trap -34 fr.pc 0x000000010e4d3574
      Event: 0.857 Thread 0x00007fbfc9820800 Uncommon trap -34 fr.pc 0x000000010e4d3574

      Internal exceptions (10 events):
      Event: 0.858 Thread 0x00007fbfc9820800 Threw 0x000000011192d100 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jni.cpp:716
      Event: 0.883 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a735f0 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jvm.cpp:1166
      Event: 0.884 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a73aa0 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jvm.cpp:1166
      Event: 0.885 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a77978 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jvm.cpp:1166
      Event: 0.885 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a77e38 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jvm.cpp:1166
      Event: 0.913 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a95708 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jni.cpp:716
      Event: 0.926 Thread 0x00007fbfc9a9b800 Threw 0x0000000111a96820 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jni.cpp:716
      Event: 1.025 Thread 0x00007fbfc9c1b000 Threw 0x0000000111d15108 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/interpreter/linkResol
      Event: 1.025 Thread 0x00007fbfc9c1b000 Threw 0x0000000111d15228 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/interpreter/linkResol
      Event: 1.028 Thread 0x00007fbfc9c1b000 Threw 0x0000000111d445c0 at /HUDSON/workspace/jdk7u7-2-build-macosx-amd64-product/jdk7u7/hotspot/src/share/vm/prims/jni.cpp:716

      Events (10 events):
      Event: 1.092 loading class 0x00007fbfca055e10 done
      Event: 1.092 loading class 0x00007fbfca055e40
      Event: 1.092 loading class 0x00007fbfca055e40 done
      Event: 1.092 Thread 0x00007fbfc9c27800 Thread added: 0x00007fbfc9c27800
      Event: 1.092 loading class 0x00007fbfca052890
      Event: 1.093 loading class 0x00007fbfca058ac0
      Event: 1.094 loading class 0x00007fbfca058ac0 done
      Event: 1.094 loading class 0x00007fbfca052890 done
      Event: 1.112 loading class 0x00007fbfca052910
      Event: 1.112 loading class 0x00007fbfca052910 done


      Dynamic libraries:
      0x000000000d08b000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
      0x000000000d08b000 /System/Library/Frameworks/Security.framework/Versions/A/Security
      0x000000000d08b000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
      0x000000000d08b000 /usr/lib/libz.1.dylib
      0x000000000d08b000 /usr/lib/libSystem.B.dylib
      0x000000000d08b000 /usr/lib/libobjc.A.dylib
      0x000000000d08b000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
      0x000000000d08b000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
      0x000000000d08b000 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
      0x000000000d08b000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
      0x000000000d08b000 /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
      0x000000000d08b000 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
      0x000000000d08b000 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
      0x000000000d08b000 /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
      0x000000000d08b000 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
      0x000000000d08b000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
      0x000000000d08b000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
      0x000000000d08b000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
      0x000000000d08b000 /usr/lib/libauto.dylib
      0x000000000d08b000 /usr/lib/libicucore.A.dylib
      0x000000000d08b000 /usr/lib/libxml2.2.dylib
      0x000000000d0


      ( This report has more than 16,000 characters and has been truncated. )

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: