5 Replies Latest reply: Mar 27, 2013 9:06 PM by t_horsfall RSS

    Java 7u10 unusable after installation on new Macintosh OS X 10.8.2 system

    813768
      After creating a freshly installed OS X 10.8.2 (Mountain Lion) installation I am unable to launch any Swing/AWT applications.

      The clean OS X installation is done as a VMWare Fusion (v5.0.2) virtual machine on a MacBook Pro (Mid 2009).

      To reproduce:

      1. Install a OS X Mountain Lion as a "fresh" install
      2. Apply Apple Software Update
      3. Install latest Oracle Java JRE (1.7u10)
      4. Attempt to open the Java Preferences Pane (or any other Swing/AWT application)

      A "Problem Report for Java Control Panel" dialog is presented and the error is as follows (edited for posting length restrictions):

      Process: java [226]
      Path: /usr/bin/java
      Identifier: net.java.openjdk.cmd
      Version: 1.0 (1.0)
      Code Type: X86-64 (Native)
      Parent Process: bash [221]
      User ID: 501

      PlugIn Path: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib
      PlugIn Identifier: libjvm.dylib
      PlugIn Version: ??? (1)

      Date/Time: 2012-12-17 17:36:12.235 -0500
      OS Version: Mac OS X 10.8.2 (12C60)
      Report Version: 10

      Interval Since Last Report: 20435 sec
      Crashes Since Last Report: 23
      Per-App Interval Since Last Report: 2454 sec
      Per-App Crashes Since Last Report: 23
      Anonymous UUID: 278A9B4C-CD86-58CD-330D-FC8B28FC9888

      Crashed Thread: 17 Java: Java2D Queue Flusher

      Exception Type: EXC_BAD_ACCESS (SIGABRT)
      Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000003b0

      VM Regions Near 0x3b0:
      -->
      __TEXT 000000010ee72000-000000010ee83000 [   68K] r-x/rwx SM=COW /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

      Application Specific Information:
      abort() called

      Thread 17 Crashed:: Java: Java2D Queue Flusher
      0 libsystem_kernel.dylib      0x00007fff93d30212 __pthread_kill + 10
      1 libsystem_c.dylib      0x00007fff8b853af4 pthread_kill + 90
      2 libsystem_c.dylib      0x00007fff8b897dce abort + 143
      3 libjvm.dylib      0x000000010f351c93 os::abort(bool) + 25
      4 libjvm.dylib      0x000000010f44044e VMError::report_and_die() + 2306
      5 libjvm.dylib      0x000000010f353387 JVM_handle_bsd_signal + 1073
      6 libsystem_c.dylib      0x00007fff8b8408ea _sigtramp + 26
      7 libGL.dylib      0x00007fff8baf297a glGetString + 15
      8 liblwawt.dylib      0x0000000176c25d7b Java_sun_java2d_opengl_OGLContext_getOGLIdString + 35
      9 ???      0x000000010fba7f70 0 + 4558847856
      10 ???      0x000000010fb9c333 0 + 4558799667
      11 ???      0x000000010fb9c806 0 + 4558800902
      12 ???      0x000000010fb964f7 0 + 4558775543
      13 libjvm.dylib      0x000000010f22555f JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 557
      14 libjvm.dylib      0x000000010f225a3c JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 256
      15 libjvm.dylib      0x000000010f225b76 JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74
      16 libjvm.dylib      0x000000010f25c4f0 thread_entry(JavaThread*, Thread*) + 169
      17 libjvm.dylib      0x000000010f4152b4 JavaThread::thread_main_inner() + 134
      18 libjvm.dylib      0x000000010f41679a JavaThread::run() + 440
      19 libjvm.dylib      0x000000010f3521b5 java_start(Thread*) + 173
      20 libsystem_c.dylib      0x00007fff8b852742 pthreadstart + 327
      21 libsystem_c.dylib      0x00007fff8b83f181 thread_start + 13

      Thread 17 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000017a92b0a8 rdx: 0x0000000000000000
      rdi: 0x0000000000006717 rsi: 0x0000000000000006 rbp: 0x000000017a92b0d0 rsp: 0x000000017a92b0a8
      r8: 0x00007fff7b417278 r9: 0x000000017a92b080 r10: 0x0000000020000000 r11: 0x0000000000000206
      r12: 0x000000010f6e80c0 r13: 0x0000000170a63aa8 r14: 0x000000017a92c000 r15: 0x000000010f3551e0
      rip: 0x00007fff93d30212 rfl: 0x0000000000000206 cr2: 0x00007fff7b410fe8
      Logical CPU: 0
        • 1. Re: Java 7u10 unusable after installation on new Macintosh OS X 10.8.2 system
          990850
          We see the exact same error running a bundled jre7 in our install4j product-installer, also in a vmware environment, when running native there is no problem at all.

          I have seen notices about the same issue on the VMWare forums as well.
          • 2. JAVA 7.0 Update 13 crashes on Virtual Mac OS X 10.8.2 (VMware Fusion 5.0.2)
            992003
            Date: 19. feb. 2013.

            I have similar JAVA crash experience, my case is:

            HOST machine:
            - Apple Mac Pro (Mid 2010) Dual Xeon CPU 2,4 GHz. 8 GB Ram.
            - Mac OS X 10.8.2
            - All up-to-date updates installed, date now: 19 feb 2013)
            - Mac OS X Firewall disabled.
            - VMware Fusion 5.0.2 (complete up-to-date, date now 19. feb 2013)


            GUEST machine:
            - Virtual Computer configurated with 2 CPU Cores and 2 GB Ram)
            - VMware Machine Setting /Display/Accel. 3D Graphics: OFF.
            - Mac OS X 10.8.2. All up-to-date updates installed, date now: 19 feb 2013
            - Installed from official DMG 10.8.2 image file in VMware Fusion 5.0.2
            - Mac OS X Firewall disabled.
            - VM tools 5.0.2 installed
            - Firefox 18.0.2 web browser installed
            - Safari 6.0.2 web browser installed
            - Oracle JAVA 7.0 Update 13 installed (from: www.java.com)



            When opening System Prefences.
            Then clicking "JAVA preference icon"
            Then JAVA prefences wont ever show up,
            it craches every time.

            A dialog windows comes up saying:

            "Java Control Panel quit unexpectedly while using the libjvm.dylib plug-in.
            Click Reopen to open the application again.
            Click Report to see more detailed information and send a report to Apple."

            Clicking the Report button then comes a lot of lines like:


            ================================START===

            Process: java [294]
            Path: /usr/bin/java
            Identifier: net.java.openjdk.cmd
            Version: 1.0 (1.0)
            Code Type: X86-64 (Native)
            Parent Process: bash [289]
            User ID: 501

            PlugIn Path: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib
            PlugIn Identifier: libjvm.dylib
            PlugIn Version: ??? (1)

            Date/Time: 2013-02-19 18:36:17.793 +0100
            OS Version: Mac OS X 10.8.2 (12C60)
            Report Version: 10

            Interval Since Last Report: 11049 sec
            Crashes Since Last Report: 17
            Per-App Interval Since Last Report: 21 sec
            Per-App Crashes Since Last Report: 16
            Anonymous UUID: 7C082A56-706B-6BDF-7EC3-02D0D9983C87

            Crashed Thread: 20 Java: Java2D Queue Flusher

            Exception Type: EXC_BAD_ACCESS (SIGABRT)
            Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000003b0

            VM Regions Near 0x3b0:
            -->
            __TEXT 00000001025c3000-00000001025d4000 [   68K] r-x/rwx SM=COW /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java


            etc etc etc.......
            and in the bottom it says:
            VM Region Summary:
            ReadOnly portion of Libraries: Total=187.4M resident=143.2M(76%) swapped_out_or_unallocated=44.2M(24%)
            Writable regions: Total=1.7G written=10.9M(1%) resident=13.4M(1%) swapped_out=0K(0%) unallocated=1.7G(99%)

            REGION TYPE VIRTUAL
            =========== =======
            (null) (reserved) 1.6G reserved VM address space (unallocated)
            CG backing stores 124K
            CG image 1028K
            CG shared images 1184K
            CoreServices 800K
            MALLOC 32.3M
            MALLOC guard page 48K
            MALLOC_LARGE (reserved) 9600K reserved VM address space (unallocated)
            Memory tag=242 12K
            STACK GUARD 56.1M
            Stack 25.2M
            VM_ALLOCATE 70.9M
            __DATA 14.7M
            __IMAGE 528K
            __LINKEDIT 57.7M
            __TEXT 129.7M
            __UNICODE 544K
            mapped file 36.7M
            shared memory 308K
            =========== =======
            TOTAL 2.0G
            TOTAL, minus reserved VM space 427.7M

            Model: VMware7,1, BootROM VMW71.00V.0.B64.1206270404, 2 processors, 2.28 GHz, 2 GB, SMC 1.16f8
            Graphics: Display, PCI, 128 MB
            Memory Module: RAM slot #0/RAM slot #0, 2 GB, DRAM, 0 MHz, VMware Virtual RAM, VMW-2048MB
            Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
            Network Service: Ethernet, Ethernet, en0
            SCSI Device: SCSI Target Device @ 0
            SCSI Device: SCSI Target Device @ 0
            USB Device: VMware Virtual USB Hub, 0x0e0f (VMWare, Inc.), 0x0002, 0x01200000 / 3
            USB Device: VMware Virtual USB Keyboard, apple_vendor_id, 0x020b, 0x01210000 / 5
            USB Device: Virtual Bluetooth Adapter, 0x0e0f (VMWare, Inc.), 0x0008, 0x01220000 / 4
            USB Device: VMware Virtual USB Mouse, 0x0e0f (VMWare, Inc.), 0x0003, 0x01100000 / 2


            ================================END===


            NOW PLEEEEEEEEEEASE tell me what is cooking here???

            JAVA plug-in will not load in Safari 6.0.2 or Firefox 18.0.2 browser.
            I have googled many pages and found nothing that works!

            I have tried with and without Apple lastest JAVA 006 update also
            with and without JAVA 7.0 Update 13.

            ORACLE, it is YOUR turn now??!!!????
            PLEASE REPLY!


            greetz
            Jesper, Denmark.
            • 3. Re: JAVA 7.0 Update 13 crashes on Virtual Mac OS X 10.8.2 (VMware Fusion 5.0.2)
              996201
              Any progress from the Oracle side on this issue? Has anyone actually submitted a bug report?

              The VMware Communities forum is also tracking this issue, but it looks like it's entirely on the Oracle-side.
              http://communities.vmware.com/message/2209137
              • 4. Re: JAVA 7.0 Update 13 crashes on Virtual Mac OS X 10.8.2 (VMware Fusion 5.0.2)
                gimbal2
                user12270502 wrote:
                Any progress from the Oracle side on this issue? Has anyone actually submitted a bug report?
                Look it up and if not - go ahead. Otherwise it stays "someone else's responsibility".

                Note: you're not talking to Oracle here.
                • 5. Re: JAVA 7.0 Update 13 crashes on Virtual Mac OS X 10.8.2 (VMware Fusion 5.0.2)
                  t_horsfall
                  I've submitted this as a Bug to Oracle, after reproducing it on Java 7u17. Their response and Bug ID:

                  We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 9001114.
                  You can monitor this bug on the Java Bug Database at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9001114.