Hello,

I am running Cygwin 1.5.9-1 on Windows XP with Java 1.4.2_04. Recently I
upgraded Cygwin (my previous version was 1.5.7-1). Now some of my Java
programs fail to execute when being executed from bash (2.05b.0(1)-release).
I have narrowed the Java code down to one method call. I have attached the
source to a small Java program (FailOnCygwin.java) to demonstrate the
problem. Also attached is the log file from the Java VM where a stack
trace can be found.

I didn't see any cygwin DLLs in the log to indicate that it might be a Cygwin
problem but I can run the program just fine from a normal Windows CMD shell.

I would like to keep current on Cygwin but need to be able to execute Java
programs as well.

Thanks


Attachment: FailOnCygwin.java
Description: Binary data

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : unknown exception code (0xc06d007e) occurred at PC=0x77E73887
Function=RaiseException+0x50
Library=C:\WINDOWS\system32\kernel32.dll

Current Java thread:
        at sun.awt.shell.Win32ShellFolder2.getEnumObjects(Native Method)
        at sun.awt.shell.Win32ShellFolder2.getEnumObjects(Win32ShellFolder2.java:454)
        at sun.awt.shell.Win32ShellFolder2.listFiles(Win32ShellFolder2.java:489)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:115)
        at 
sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Win32ShellFolderManager2.java:275)
        at sun.awt.shell.ShellFolder.isFileSystemRoot(ShellFolder.java:260)
        at 
javax.swing.filechooser.FileSystemView.isFileSystemRoot(FileSystemView.java:285)
        at FailOnCygwin.main(FailOnCygwin.java:17)

Dynamic libraries:
0x00400000 - 0x00406000         d:\home\mvsoder\app\java\1.4.2\bin\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
0x08000000 - 0x08138000         d:\home\mvsoder\app\java\1.4.2\jre\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
0x10000000 - 0x10007000         d:\home\mvsoder\app\java\1.4.2\jre\bin\hpi.dll
0x00390000 - 0x0039E000         d:\home\mvsoder\app\java\1.4.2\jre\bin\verify.dll
0x003A0000 - 0x003B9000         d:\home\mvsoder\app\java\1.4.2\jre\bin\java.dll
0x003C0000 - 0x003CD000         d:\home\mvsoder\app\java\1.4.2\jre\bin\zip.dll
0x02E60000 - 0x02F6F000         D:\home\mvsoder\app\java\1.4.2\jre\bin\awt.dll
0x73000000 - 0x73023000         C:\WINDOWS\System32\WINSPOOL.DRV
0x76390000 - 0x763AC000         C:\WINDOWS\System32\IMM32.dll
0x771B0000 - 0x772D4000         C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA4000         C:\WINDOWS\System32\uxtheme.dll
0x02FD0000 - 0x03020000         D:\home\mvsoder\app\java\1.4.2\jre\bin\fontmanager.dll
0x51000000 - 0x5104D000         C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000         C:\WINDOWS\System32\DCIMAN32.dll
0x5C000000 - 0x5C0C8000         C:\WINDOWS\System32\D3DIM700.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
0x71C20000 - 0x71C6E000         C:\WINDOWS\System32\netapi32.dll
0x71B20000 - 0x71B31000         C:\WINDOWS\system32\MPR.dll
0x23400000 - 0x2340B000         C:\Program Files\Rational\ClearCase\bin\ccasenp.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
0x76C90000 - 0x76CB2000         C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000         C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C07000         C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000         C:\WINDOWS\System32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 576K, used 446K [0x10010000, 0x100b0000, 0x104f0000)
  eden space 512K,  74% used [0x10010000, 0x1006fad8, 0x10090000)
  from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
  to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
 tenured generation   total 1408K, used 138K [0x104f0000, 0x10650000, 0x14010000)
   the space 1408K,   9% used [0x104f0000, 0x10512858, 0x10512a00, 0x10650000)
 compacting perm gen  total 4096K, used 2598K [0x14010000, 0x14410000, 0x18010000)
   the space 4096K,  63% used [0x14010000, 0x14299a38, 0x14299c00, 0x14410000)

Local Time = Tue May 04 11:50:49 2004
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to