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

REGRESSION: JFileChooser initialization complains and crashes VM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: gm110360 Date: 06/02/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Constructing a JFileChooser when left over shortcut files (.lnk) that point to folders or files that no longer exist are present on the Windows desktop leads to a crash in the VM

      Possibly related to the fix for Bug 4356160.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Put shortcuts on your desktop.
      Delete the original files and folders that the shortcuts refer to.
      Construct a JFileChooser

      Several dialogs will appear complaining about the inability to find the destination of the shortcut references "Problem with Shortcut...". After dismissing all of these dialogs the VM will exit.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      bogus shortcuts should be ignored
      ACTUAL -
      bogus shortcuts crash the VM

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f83905, pid=3192, tid=3436
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
      # Problematic frame:
      # C [ntdll.dll+0x33905]
      #
      # An error report file with more information is saved as hs_err_pid3192.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      error log file contains:
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f83905, pid=3192, tid=3436
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
      # Problematic frame:
      # C [ntdll.dll+0x33905]
      #

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

      Current thread (0x00316638): JavaThread "Finalizer" daemon [_thread_in_native, id=3436]

      siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

      Registers:
      EAX=0xffffffff, EBX=0x00090000, ECX=0x00000000, EDX=0x000e1350
      ESP=0x02d8f7d0, EBP=0x02d8f7dc, ESI=0x000e1388, EDI=0x000e1350
      EIP=0x77f83905, EFLAGS=0x00010286

        Top of Stack: (sp=0x02d8f7d0)
      0x02d8f7d0: 00090000 000e1388 00000000 02d8f8b0
      0x02d8f7e0: 77f58cca 00090000 000e1388 02d8f87c
      0x02d8f7f0: 00000000 000e3790 000e3788 26d33088
      0x02d8f800: 00316638 00000000 00000000 6d63101f
      0x02d8f810: ffffffff 77f5c1f4 000cdf98 02d8f838
      0x02d8f820: 77f838fd 00000005 000cdf70 00090000
      0x02d8f830: 000cdf98 00000000 02d8f90c 77f58cca
      0x02d8f840: 00090000 77f58ebe 00090608 77f59037

      Instructions: (pc=0x77f83905)
      0x77f838f5: 00 57 53 e8 7c f6 ff ff 8b 47 08 8b 4f 0c 3b c1
      0x77f83905: 89 01 89 48 04 75 21 66 8b 07 66 3d 80 00 73 18


      Stack: [0x02c90000,0x02d90000), sp=0x02d8f7d0, free space=1021k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [ntdll.dll+0x33905]
      C [ntdll.dll+0x8cca]
      C [ole32.dll+0x10579]
      J sun.awt.shell.Win32ShellFolder2.finalize()V
      v ~StubRoutines::call_stub
      V [jvm.dll+0x81663]
      V [jvm.dll+0xd3b5d]
      V [jvm.dll+0x81534]
      V [jvm.dll+0x86815]
      C [java.dll+0x1fd8]
      J java.lang.ref.Finalizer.runFinalizer()V
      J java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
      v ~RuntimeStub::alignment_frame_return Runtime1 stub
      j java.lang.ref.Finalizer$FinalizerThread.run()V+11
      v ~StubRoutines::call_stub
      V [jvm.dll+0x81663]
      V [jvm.dll+0xd3b5d]
      V [jvm.dll+0x81534]
      V [jvm.dll+0x81291]
      V [jvm.dll+0x9bd30]
      V [jvm.dll+0xfdeb2]
      V [jvm.dll+0xfde80]
      C [MSVCRT.dll+0x27fb8]
      C [kernel32.dll+0x1d33b]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.shell.Win32ShellFolder2.releaseIShellFolder(J)V+0
      J sun.awt.shell.Win32ShellFolder2.finalize()V
      v ~StubRoutines::call_stub
      J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V
      J java.lang.ref.Finalizer.runFinalizer()V
      J java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
      v ~RuntimeStub::alignment_frame_return Runtime1 stub
      j java.lang.ref.Finalizer$FinalizerThread.run()V+11
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
        0x0348f618 JavaThread "WorkQueue" [_thread_blocked, id=2840]
        0x03473e98 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2504]
        0x0344cee0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3660]
        0x0344cab8 JavaThread "AWT-Shutdown" [_thread_blocked, id=2800]
        0x0344b950 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2972]
        0x0031b2c8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2740]
        0x00319ea8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3980]
        0x003191a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3120]
      =>0x00316638 JavaThread "Finalizer" daemon [_thread_in_native, id=3436]
        0x00315aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3356]
        0x00035078 JavaThread "main" [_thread_in_native, id=1012]

      Other Threads:
        0x00313e78 VMThread [id=3852]
        0x0031c4d0 WatcherThread [id=3252]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 768K, used 45K [0x22a70000, 0x22b40000, 0x22f50000)
        eden space 704K, 6% used [0x22a70000, 0x22a7b6d0, 0x22b20000)
        from space 64K, 0% used [0x22b20000, 0x22b20000, 0x22b30000)
        to space 64K, 0% used [0x22b30000, 0x22b30000, 0x22b40000)
       tenured generation total 9660K, used 5793K [0x22f50000, 0x238bf000, 0x26a70000)
         the space 9660K, 59% used [0x22f50000, 0x234f8760, 0x234f8800, 0x238bf000)
       compacting perm gen total 8192K, used 3462K [0x26a70000, 0x27270000, 0x2aa70000)
         the space 8192K, 42% used [0x26a70000, 0x26dd1960, 0x26dd1a00, 0x27270000)
          ro space 8192K, 62% used [0x2aa70000, 0x2af70348, 0x2af70400, 0x2b270000)
          rw space 12288K, 46% used [0x2b270000, 0x2b7fba58, 0x2b7fbc00, 0x2be70000)

      Dynamic libraries:
      0x00400000 - 0x0040c000 C:\WINDOWS\system32\java.exe
      0x77f50000 - 0x77ff7000 C:\WINDOWS\System32\ntdll.dll
      0x77e60000 - 0x77f46000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e5d000 C:\WINDOWS\system32\ADVAPI32.dll
      0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll
      0x77c10000 - 0x77c63000 C:\WINDOWS\system32\MSVCRT.dll
      0x6d630000 - 0x6d7b4000 C:\Program Files\Java\jre1.5.0\bin\client\jvm.dll
      0x77d40000 - 0x77dcc000 C:\WINDOWS\system32\USER32.dll
      0x7e090000 - 0x7e0d1000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6c000 C:\WINDOWS\system32\WINMM.dll
      0x76390000 - 0x763ac000 C:\WINDOWS\System32\IMM32.DLL
      0x629c0000 - 0x629c8000 C:\WINDOWS\system32\LPK.DLL
      0x72fa0000 - 0x72ffa000 C:\WINDOWS\system32\USP10.dll
      0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d600000 - 0x6d60c000 C:\Program Files\Java\jre1.5.0\bin\verify.dll
      0x6d2f0000 - 0x6d30d000 C:\Program Files\Java\jre1.5.0\bin\java.dll
      0x6d620000 - 0x6d62f000 C:\Program Files\Java\jre1.5.0\bin\zip.dll
      0x6d000000 - 0x6d166000 C:\Program Files\Java\jre1.5.0\bin\awt.dll
      0x73000000 - 0x73023000 C:\WINDOWS\system32\WINSPOOL.DRV
      0x771b0000 - 0x772d4000 C:\WINDOWS\system32\ole32.dll
      0x5ad70000 - 0x5ada4000 C:\WINDOWS\System32\uxtheme.dll
      0x51000000 - 0x5104d000 C:\WINDOWS\system32\ddraw.dll
      0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
      0x5c000000 - 0x5c0c8000 C:\WINDOWS\system32\D3DIM700.DLL
      0x6d240000 - 0x6d27e000 C:\Program Files\Java\jre1.5.0\bin\fontmanager.dll
      0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
      0x03b90000 - 0x03bbb000 C:\WINDOWS\System32\msctfime.ime
      0x6d190000 - 0x6d1be000 C:\Program Files\Java\jre1.5.0\bin\cmm.dll
      0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.5.0\bin\jpeg.dll
      0x773d0000 - 0x77bc2000 C:\WINDOWS\system32\shell32.dll
      0x70a70000 - 0x70ad5000 C:\WINDOWS\system32\SHLWAPI.dll
      0x71950000 - 0x71a34000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
      0x77340000 - 0x773cb000 C:\WINDOWS\system32\comctl32.dll
      0x6d4b0000 - 0x6d4c3000 C:\Program Files\Java\jre1.5.0\bin\net.dll
      0x71ab0000 - 0x71ac4000 C:\WINDOWS\system32\WS2_32.dll
      0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
      0x6d4d0000 - 0x6d4d9000 C:\Program Files\Java\jre1.5.0\bin\nio.dll
      0x10000000 - 0x1003b000 C:\Program Files\Digital Rapids\Stream\KMJava.dll
      0x10480000 - 0x1053c000 C:\WINDOWS\system32\MSVCP71D.dll
      0x10200000 - 0x10287000 C:\WINDOWS\system32\MSVCR71D.dll
      0x06590000 - 0x065dc000 C:\Program Files\Digital Rapids\Stream\KMRemote.dll
      0x04560000 - 0x04592000 C:\Program Files\Digital Rapids\Stream\KMEXTERNAL.dll
      0x73bd0000 - 0x73bf0000 C:\WINDOWS\system32\MSVFW32.dll
      0x065e0000 - 0x06681000 C:\Program Files\Digital Rapids\Stream\KMShare.dll
      0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
      0x7c890000 - 0x7c911000 C:\WINDOWS\system32\CLBCATQ.DLL
      0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
      0x77c00000 - 0x77c07000 C:\WINDOWS\system32\VERSION.dll
      0x066b0000 - 0x066c4000 C:\Program Files\Digital Rapids\Common\DRDevice.dll
      0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.dll
      0x066e0000 - 0x06786000 C:\Program Files\Digital Rapids\Common\DRAuthKey.dll
      0x76f50000 - 0x76f58000 C:\WINDOWS\system32\wtsapi32.dll
      0x76360000 - 0x7636f000 C:\WINDOWS\system32\WINSTA.dll
      0x067a0000 - 0x067da000 C:\Dev\COLORA~2.0\Release\DRCOLO~1.DLL
      0x50400000 - 0x5041e000 C:\WINDOWS\System32\nsp.dll
      0x50430000 - 0x50592000 C:\WINDOWS\system32\NSPW7.DLL
      0x76400000 - 0x76601000 C:\WINDOWS\system32\msi.dll
      0x75e90000 - 0x75f37000 C:\WINDOWS\system32\SXS.DLL
      0x746f0000 - 0x74716000 C:\WINDOWS\System32\Msimtf.dll
      0x04360000 - 0x04367000 C:\Program Files\Logitech\iTouch\kbdhook.dll
      0x6d350000 - 0x6d356000 C:\Program Files\Java\jre1.5.0\bin\jawt.dll
      0x04490000 - 0x044a1000 C:\Program Files\Digital Rapids\Copper Receiver\KMRemote.dll
      0x55900000 - 0x55961000 C:\WINDOWS\system32\MSVCP60.dll
      0x71c20000 - 0x71c6e000 C:\WINDOWS\system32\netapi32.dll
      0x75f40000 - 0x75f5f000 C:\WINDOWS\system32\appHelp.dll
      0x044f0000 - 0x04514000 C:\Program Files\Compuware\DriverStudio\DriverWorkbench\DSRNamespace.dll
      0x71700000 - 0x71849000 C:\WINDOWS\System32\shdocvw.dll
      0x71d40000 - 0x71d5b000 C:\WINDOWS\System32\actxprxy.dll
      0x71b20000 - 0x71b31000 C:\WINDOWS\system32\MPR.dll
      0x75f60000 - 0x75f66000 C:\WINDOWS\System32\drprov.dll
      0x71c10000 - 0x71c1d000 C:\WINDOWS\System32\ntlanman.dll
      0x71cd0000 - 0x71ce6000 C:\WINDOWS\System32\NETUI0.dll
      0x71c90000 - 0x71ccc000 C:\WINDOWS\System32\NETUI1.dll
      0x71c80000 - 0x71c86000 C:\WINDOWS\System32\NETRAP.dll
      0x71bf0000 - 0x71c01000 C:\WINDOWS\System32\SAMLIB.dll
      0x75f70000 - 0x75f79000 C:\WINDOWS\System32\davclnt.dll
      0x76980000 - 0x76987000 C:\WINDOWS\system32\LINKINFO.dll
      0x76990000 - 0x769b4000 C:\WINDOWS\system32\ntshrui.dll
      0x76b20000 - 0x76b35000 C:\WINDOWS\system32\ATL.DLL
      0x75a70000 - 0x75b15000 C:\WINDOWS\system32\USERENV.dll
      0x73380000 - 0x733d2000 C:\WINDOWS\System32\zipfldr.dll
      0x76620000 - 0x7666e000 C:\WINDOWS\System32\cscui.dll
      0x06de0000 - 0x06dfb000 C:\WINDOWS\System32\CSCDLL.dll

      VM Arguments:
      java_command: Stream.dat

      Environment Variables:
      JAVA_HOME=C:\j2sdk1.4.2_04
      CLASSPATH=C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar
      PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\apache-ant-1.5.4\bin;C:\j2sdk1.4.2_04\bin;C:\Tools\usr\local\wbin;C:\Program Files\Common Files\GTK\2.0\bin
      USERNAME=scott.palmer
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel


      --------------- S Y S T E M ---------------

      OS: Windows XP Build 2600 Service Pack 1

      CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

      Memory: 4k page, physical 1048048k(355524k free), swap 2521636k(1910232k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0-beta2-b51) for windows-x86, built on May 13 2004 02:09:25 by "java_re" with MS VC++ 6.0

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 275739)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: