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

Access violation in sun.awt.shell.Win32ShellFolder2.getIconBits(JI)[I+0

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_05"
      Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Ultimate Edition (French, Release)
      Version 6.1 (build 7601 : Service Pack 1)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Asus G73JH-TY073V
      CPU: Intel i7-720QM (1,6GHz × 4 cores × 2 threads)
      Graphics: ATI Radeon HD 5870 (1Go) :
      RAM: 32 GB
      Two harddisks.
      Security suites: Avast Antivirus 7.0; MalwareBytes Antimalware

      A DESCRIPTION OF THE PROBLEM :
      AWT crashes in a native library using the Windows Shell32 API, to retrieve the icon associated to some file when using the file selector to open a file. Apparently the format of the image returned by Windows is not completely supported.

      This occured after a recent Windows Update. Occurs when navigating in folders containing DLLs or executable files (possible new security restriction in Windows).

      Note: UCA is disabled (no virtualisation per user, of some system shared critical resources). All Windows Updates applied, and antivirus up to date.

      Here is the dump of the crash log appearing on the desktop:


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      crashed when starting to run JOSM (Java editor for OpenStreetmap) via Javawebstart.

      ACTUAL -
      JOSM no longer works, it fails immediately when loading any OSM file or when trying to download data from the OSM server.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5049d160, pid=8752, tid=8800
      #
      # JRE version: 7.0_05-b05
      # Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # V [jvm.dll+0xad160]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

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

      Current thread (0x05372800): JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=8800, stack(0x08f40000,0x08f90000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

      Registers:
      EAX=0x00000000, EBX=0x00000000, ECX=0x05372800, EDX=0x5066cd80
      ESP=0x08f8bfc8, EBP=0x08f8bfe0, ESI=0x05372800, EDI=0x00000000
      EIP=0x5049d160, EFLAGS=0x00010246

        Top of Stack: (sp=0x08f8bfc8)
      0x08f8bfc8: 05372928 00000400 05372800 052d9c84
      0x08f8bfd8: 000000ab 5066cd80 08f8c088 5216e600
      0x08f8bfe8: 05372800 00000000 00000000 00000400
      0x08f8bff8: 08f8c054 05372800 34fdd238 34fdd238
      0x08f8c008: 00000001 00000010 00000010 bd051910
      0x08f8c018: f3051d24 05372928 086904a0 44011fd8
      0x08f8c028: 00000028 00000020 ffffffe0 00200001
      0x08f8c038: 00000000 00001000 00000000 00000000

      Instructions: (pc=0x5049d160)
      0x5049d140: c4 08 83 7e 04 00 89 75 f0 c7 45 f4 00 00 00 00
      0x5049d150: 74 08 8d 4d f0 e8 86 ef 0b 00 8b 7d 10 8b 45 0c
      0x5049d160: 8b 10 85 ff 78 73 8b 45 14 85 c0 78 6c 8d 0c 07
      0x5049d170: 3b 4a 08 77 64 85 c0 7e 1d 8b 4a 04 8b 49 0c 83


      Register to memory mapping:

      EAX=0x00000000 is an unknown value
      EBX=0x00000000 is an unknown value
      ECX=0x05372800 is a thread
      EDX=0x5066cd80 is an unknown value
      ESP=0x08f8bfc8 is pointing into the stack for thread: 0x05372800
      EBP=0x08f8bfe0 is pointing into the stack for thread: 0x05372800
      ESI=0x05372800 is a thread
      EDI=0x00000000 is an unknown value


      Stack: [0x08f40000,0x08f90000], sp=0x08f8bfc8, free space=303k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xad160]
      C [awt.dll+0xae600] Java_sun_awt_shell_Win32ShellFolder2_getIconBits+0x14a

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.shell.Win32ShellFolder2.getIconBits(JI)[I+0
      j sun.awt.shell.Win32ShellFolder2.makeIcon(JZ)Ljava/awt/Image;+28
      j sun.awt.shell.Win32ShellFolder2.getSystemIcon(Lsun/awt/shell/Win32ShellFolder2$SystemIcon;)Ljava/awt/Image;+10
      j sun.awt.shell.Win32ShellFolderManager2.get(Ljava/lang/String;)Ljava/lang/Object;+679
      j sun.awt.shell.ShellFolder.get(Ljava/lang/String;)Ljava/lang/Object;+4
      j com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(Ljavax/swing/UIDefaults;)Ljava/lang/Object;+11
      J javax.swing.UIDefaults.getFromHashtable(Ljava/lang/Object;)Ljava/lang/Object;
      j javax.swing.UIDefaults.get(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/Object;+2
      j javax.swing.MultiUIDefaults.get(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/Object;+50
      j javax.swing.UIManager.get(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/Object;+5
      j sun.swing.DefaultLookup.get(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;+34
      j javax.swing.plaf.basic.BasicOptionPaneUI.getIconForType(I)Ljavax/swing/Icon;+75
      j javax.swing.plaf.basic.BasicOptionPaneUI.getIcon()Ljavax/swing/Icon;+38
      j javax.swing.plaf.basic.BasicOptionPaneUI.createMessageArea()Ljava/awt/Container;+87
      j javax.swing.plaf.basic.BasicOptionPaneUI.installComponents()V+5
      j javax.swing.plaf.basic.BasicOptionPaneUI.installUI(Ljavax/swing/JComponent;)V+24
      j javax.swing.JComponent.setUI(Ljavax/swing/plaf/ComponentUI;)V+39
      j javax.swing.JOptionPane.setUI(Ljavax/swing/plaf/OptionPaneUI;)V+10
      j javax.swing.JOptionPane.updateUI()V+8
      j javax.swing.JOptionPane.<init>(Ljava/lang/Object;IILjavax/swing/Icon;[Ljava/lang/Object;Ljava/lang/Object;)V+52
      j javax.swing.JOptionPane.showOptionDialog(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;IILjavax/swing/Icon;[Ljava/lang/Object;Ljava/lang/Object;)I+14
      j javax.swing.JOptionPane.showMessageDialog(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;ILjavax/swing/Icon;)V+9
      j javax.swing.JOptionPane.showMessageDialog(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V+5
      j org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(Ljava/lang/Throwable;)V+86
      j org.openstreetmap.josm.tools.BugReportExceptionHandler.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V+1
      j java.lang.ThreadGroup.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V+30
      j java.lang.ThreadGroup.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V+13
      j java.awt.EventDispatchThread.processException(Ljava/lang/Throwable;)V+43
      J java.awt.EventDispatchThread.pumpOneEventForFilters(I)V
      j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+48
      j java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4
      j java.awt.WaitDispatchSupport$2.run()V+59
      j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+4
      v ~StubRoutines::call_stub
      J java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
      j java.awt.WaitDispatchSupport.enter()Z+231
      j java.awt.Dialog.show()V+208
      j java.awt.Component.show(Z)V+5
      j java.awt.Component.setVisible(Z)V+2
      j java.awt.Window.setVisible(Z)V+2
      j java.awt.Dialog.setVisible(Z)V+2
      j org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run()V+249
      j java.awt.event.InvocationEvent.dispatch()V+47
      J java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V
      J java.awt.EventQueue$3.run()Ljava/lang/Object;
      v ~StubRoutines::call_stub
      J java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
      J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
      J java.awt.EventDispatchThread.pumpOneEventForFilters(I)V
      j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+48
      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 )
        0x05375800 JavaThread "Timer-2" daemon [_thread_blocked, id=8632, stack(0x0a080000,0x0a0d0000)]
        0x05375400 JavaThread "RemoteControl HTTP Server" daemon [_thread_in_native, id=6224, stack(0x0d170000,0x0d1c0000)]
        0x05374000 JavaThread "pool-1-thread-1" [_thread_blocked, id=8512, stack(0x0b550000,0x0b5a0000)]
        0x05373400 JavaThread "pool-4-thread-4" [_thread_blocked, id=5384, stack(0x0b390000,0x0b3e0000)]
        0x05372c00 JavaThread "pool-4-thread-3" [_thread_blocked, id=6824, stack(0x0b320000,0x0b370000)]
        0x05371400 JavaThread "pool-4-thread-2" [_thread_blocked, id=8336, stack(0x0b280000,0x0b2d0000)]
        0x05370c00 JavaThread "pool-4-thread-1" [_thread_blocked, id=7732, stack(0x08170000,0x081c0000)]
        0x05371800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3208, stack(0x0b1b0000,0x0b200000)]
        0x05370000 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=7812, stack(0x092e0000,0x09330000)]
      =>0x05372800 JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=8800, stack(0x08f40000,0x08f90000)]
        0x05372000 JavaThread "AWT-Shutdown" [_thread_blocked, id=8280, stack(0x083e0000,0x08430000)]
        0x052ccc00 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=9108, stack(0x07c70000,0x07cc0000)]
        0x052cc400 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=9136, stack(0x07af0000,0x07b40000)]
        0x0021d000 JavaThread "DestroyJavaVM" [_thread_blocked, id=6976, stack(0x00df0000,0x00e40000)]
        0x052c0000 JavaThread "Javaws Secure Thread" daemon [_thread_blocked, id=9116, stack(0x07950000,0x079a0000)]
        0x052bf000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=8696, stack(0x00ef0000,0x00ff0000)]
        0x052bac00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8996, stack(0x05760000,0x057b0000)]
        0x05274800 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=4952, stack(0x05520000,0x05570000)]
        0x05235000 JavaThread "Service Thread" daemon [_thread_blocked, id=8464, stack(0x04fb0000,0x05000000)]
        0x05230800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=8668, stack(0x05470000,0x054c0000)]
        0x00c6f800 JavaThread "Attach Listener" daemon [_thread_blocked, id=8372, stack(0x046a0000,0x046f0000)]
        0x00c65000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4944, stack(0x04f60000,0x04fb0000)]
        0x00c4a400 JavaThread "Finalizer" daemon [_thread_blocked, id=8672, stack(0x050e0000,0x05130000)]
        0x00c48c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3708, stack(0x04f00000,0x04f50000)]

      Other Threads:
        0x00c46c00 VMThread [stack: 0x010d0000,0x01120000] [id=8144]
        0x05252400 WatcherThread [stack: 0x055f0000,0x05640000] [id=9008]

      VM state:synchronizing (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x0021b3e8] Threads_lock - owner thread: 0x00c46c00
      [0x0021b7f8] Heap_lock - owner thread: 0x05374000

      Heap
       def new generation total 78656K, used 78655K [0x24660000, 0x29bb0000, 0x29bb0000)
        eden space 69952K, 100% used [0x24660000, 0x28ab0000, 0x28ab0000)
        from space 8704K, 99% used [0x29330000, 0x29baffd8, 0x29bb0000)
        to space 8704K, 0% used [0x28ab0000, 0x28ab0000, 0x29330000)
       tenured generation total 174784K, used 174783K [0x29bb0000, 0x34660000, 0x34660000)
         the space 174784K, 99% used [0x29bb0000, 0x3465fff8, 0x34660000, 0x34660000)
       compacting perm gen total 12288K, used 9726K [0x34660000, 0x35260000, 0x38660000)
         the space 12288K, 79% used [0x34660000, 0x34fdf970, 0x34fdfa00, 0x35260000)
          ro space 10240K, 42% used [0x38660000, 0x38a9e580, 0x38a9e600, 0x39060000)
          rw space 12288K, 54% used [0x39060000, 0x396df128, 0x396df200, 0x39c60000)

      Code Cache [0x02680000, 0x02b68000, 0x04680000)
       total_blobs=2933 nmethods=2662 adapters=204 free_code_cache=27775Kb largest_free_block=28439296

      Compilation events (10 events):
      Event: 111.876 Thread 0x05230800 2689 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject::unlinkCancelledWaiters (67 bytes)
      Event: 111.876 Thread 0x05230800 nmethod 2689 0x02b5f8c8 code [0x02b5f9c0, 0x02b5fad0]
      Event: 115.463 Thread 0x05230800 2690 javax.swing.Timer$1::<init> (10 bytes)
      Event: 115.463 Thread 0x05230800 nmethod 2690 0x02b5fb88 code [0x02b5fc80, 0x02b5fd10]
      Event: 115.463 Thread 0x05230800 2691 javax.swing.Timer$1::run (5 bytes)
      Event: 115.464 Thread 0x05230800 nmethod 2691 0x02b5fd48 code [0x02b5fe90, 0x02b60018]
      Event: 115.464 Thread 0x05230800 2692 javax.swing.Timer$1::run (12 bytes)
      Event: 115.464 Thread 0x05230800 nmethod 2692 0x02b60308 code [0x02b60450, 0x02b605d8]
      Event: 153.457 Thread 0x05230800 2693 sun.nio.cs.SingleByte$Decoder::decode (63 bytes)
      Event: 153.457 Thread 0x05230800 nmethod 2693 0x02b60848 code [0x02b60950, 0x02b60ab0]

      GC Heap History (10 events):
      Event: 164.645 GC heap before
      {Heap before GC invocations=155 (full 84):
       def new generation total 78656K, used 78655K [0x24660000, 0x29bb0000, 0x29bb0000)
        eden space 69952K, 100% used [0x24660000, 0x28ab0000, 0x28ab0000)
        from space 8704K, 99% used [0x29330000, 0x29bafff0, 0x29bb0000)
        to space 8704K, 0% used [0x28ab0000, 0x28ab0000, 0x29330000)
       tenured generation total 174784K, used 174783K [0x29bb0000, 0x34660000, 0x34660000)
         the space 174784K, 99% used [0x29bb0000, 0x3465fff8, 0x34660000, 0x34660000)
       compacting perm gen total 12288K, used 9726K [0x34660000, 0x35260000, 0x38660000)
         the space 12288K, 79% used [0x34660000, 0x34fdf970, 0x34fdfa00, 0x35260000)
          ro space 10240K, 42% used [0x38660000, 0x38a9e580, 0x38a9e600, 0x39060000)
          rw space 12288K, 54% used [0x39060000, 0x396df128, 0x396df200, 0x39c60000)
      Event: 165.705 GC heap after
      Heap after GC invocations=156 (full 85):
       def new generation total 78656K, used 78650K [0x24660000, 0x29bb0000, 0x29bb0000)
        eden space 69952K, 100% used [0x24660000, 0x28ab0000, 0x28ab0000)
        from space 8704K, 99% used [0x29330000, 0x29baea10, 0x29bb0000)
        to space 8704K, 0% used [0x28ab0000, 0x28ab0000, 0x29330000)
       tenured generation total 174784K, used 174783K [0x29bb0000, 0x34660000, 0x34660000)
         the space 174784K, 99% used [0x29bb0000, 0x3465fff8, 0x34660000, 0x34660000)
       compacting perm gen total 12288K, used 9726K [0x34660000, 0x35260000, 0x38660000)
         the space 12288K, 79% used [0x34660000, 0x34fdf970, 0x34fdfa00, 0x35260000)
          ro space 10240K, 42% used [0x38660000, 0x38a9e580, 0x38a9e600, 0x39060000)
          rw space 12288K, 54% used [0x39060000, 0x396df128, 0x396df200, 0x39c60000)
      }
      Event: 165.706 GC heap before
      {Heap before GC invocations=156 (full 85):
       def new generation total 78656K, used 78656K [0x24660000, 0x29bb0000, 0x29bb0000)
        eden space 69952K, 100% used [0x24660000, 0x28ab0000, 0x28ab0000)
        from space 8704K, 100% used [0x29330000, 0x29bb0000, 0x29bb0000)
        to space 8704K, 0% used [0x28ab0000, 0x28ab0000, 0x29330000)
       tenured generation total 174784K, used 174783K [0x29bb0000, 0x34660000, 0x34660000)
         the space 174784K, 99% used [0x29bb0000, 0x3465fff8, 0x34660000, 0x34660000)
       compacting perm gen total 12288K, used 9726K [0x34660000, 0x35260000, 0x38660000)
         the space 12288K, 79% used [0x34660000, 0x34fdf970, 0x34fdfa00, 0x35260000)
          ro space 10240K, 42% used [0x38660000, 0x38a9e580, 0x38a9e600, 0x39060000)
          rw space 12288K, 54% used [0x39060000, 0x396df128, 0x396df200, 0x39c60000)
      Event: 166.767 GC heap after
      Heap after GC invocations=157 (full 86):
       def new generation total 78656K, used 78651K [0x24660000, 0x29bb0000, 0x29bb0000)
        eden space 69952K, 100% used [0x24660000, 0x28ab0000, 0x28ab0000)
        from space 8704K, 99% used [0x29330000, 0x29baed88, 0x29bb0000)
        to space 8704K, 0% used [0x28ab0000, 0x28ab0000, 0x29330000)
       tenured generation total 174784K, used 174783K [0x29bb0000, 0x34660000, 0x34660000)
         the space 174784K, 99% used [0x29bb0000, 0x3465fff8, 0x34660000, 0x34660000)
       compacting perm gen total 12288K, us


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

        Attachments

          Activity

            People

            • Assignee:
              rupashka Pavel Porvatov (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: