delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/04/14:04:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: std5.imagineis.com: apache set sender to mark AT soderquist DOT net using -f
Message-ID: <57412.134.253.26.10.1083693854.squirrel@std5.imagineis.com>
Date: Tue, 4 May 2004 12:04:14 -0600 (MDT)
Subject: Cygwin 1.5.9-1 Error running Java program from bash shell.
From: "Mark Soderquist" <mark AT soderquist DOT net>
To: <cygwin AT cygwin DOT com>
Reply-To: mark AT novaworx DOT org
MIME-Version: 1.0
Note-from-DJ: This may be spam

------=_20040504120414_49301
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

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



------=_20040504120414_49301
Content-Type: application/octet-stream; name="FailOnCygwin.java"
Content-Disposition: attachment; filename="FailOnCygwin.java"
Content-Transfer-Encoding: base64

aW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmF4LnN3aW5nLmZpbGVjaG9v
c2VyLio7CgovKioKVGhpcyBjbGFzcyBkZW1vbnN0cmF0ZXMgYSBKYXZhIGZh
aWx1cmUgcnVubmluZyBmcm9tIGEgQ3lnd2luIGJhc2ggc2hlbGwuClJlcXVp
cmVzIEphdmEgMS40LnguClRlc3RlZCB3aXRoIEphdmEgMS40LjJfMDQuCiov
CnB1YmxpYyBjbGFzcyBGYWlsT25DeWd3aW4gewoKCXB1YmxpYyBzdGF0aWMg
ZmluYWwgdm9pZCBtYWluKCBTdHJpbmdbXSBwYXJhbWV0ZXJzICkgewoJCUZp
bGVTeXN0ZW1WaWV3IGZpbGVTeXN0ZW1WaWV3ID0gRmlsZVN5c3RlbVZpZXcu
Z2V0RmlsZVN5c3RlbVZpZXcoKTsKCQlGaWxlW10gcm9vdHMgPSBGaWxlLmxp
c3RSb290cygpOwoJCUZpbGUgY2RyaXZlID0gcm9vdHNbIDEgXTsKCgkJLy8g
VGVzdCBmYWlscyB1c2luZyB0aGlzIG1ldGhvZC4KCQlib29sZWFuIGRyaXZl
ID0gZmlsZVN5c3RlbVZpZXcuaXNGaWxlU3lzdGVtUm9vdCggY2RyaXZlICk7
Cgl9Cgp9Cg==

------=_20040504120414_49301
Content-Type: text/plain; name="hs_err_pid592.log"
Content-Disposition: attachment; filename="hs_err_pid592.log"


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)
#





------=_20040504120414_49301
Content-Type: text/plain; charset=us-ascii

--
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/
------=_20040504120414_49301--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019