Bug 36367 - IPlatformRunnable implementation gets JVM error
Summary: IPlatformRunnable implementation gets JVM error
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
: 44158 45966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-10 13:40 EDT by Greg Merrill CLA
Modified: 2004-06-14 11:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Merrill CLA 2003-04-10 13:40:17 EDT
I have a custom application which implements IPlatformRunnable.  This
application instantiates & runs a org.eclipse.ui.internal.Workbench, then
interacts with the UI before shutting down.

Often, the application runs just fine.  However, JVM errors arise
intermittently. (Maybe 1 in 3 times I run the app.)   I have attached the trace
from one such example below.

Is there anything I could be doing programmatically to cause a VM-level problem
like this?

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D38345D
Function=[Unknown.]
Library=c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
    at sun.security.pkcs.PKCS9Attribute.<clinit>(PKCS9Attribute.java:302)
    at sun.security.x509.AVAKeyword.initKeywords(AVA.java:1174)
    at sun.security.x509.AVAKeyword.<clinit>(AVA.java:1184)
    at sun.security.x509.AVA.toKeyword(AVA.java:562)
    at sun.security.x509.AVA.toString(AVA.java:570)
    at sun.security.x509.RDN.toString(X500Name.java:1651)
    at sun.security.x509.X500Name.generateDN(X500Name.java:966)
    at sun.security.x509.X500Name.toString(X500Name.java:547)
    at
sun.security.x509.CertificateIssuerName.toString(CertificateIssuerName.java:84)
    at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:673)
    at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
    at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1630)
    at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:286)
    at
sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:94)
    at
java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:389
    at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:267)
    at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
    at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
    at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
    at sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:64)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:261)
    at java.util.jar.JarVerifier.update(JarVerifier.java:194)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:251)
    at java.util.jar.JarFile.getInputStream(JarFile.java:313)
    - locked <02E8B1C0> (a java.util.jar.JarFile)
    at sun.misc.URLClassPath$5.getInputStream(URLClassPath.java:617)
    at sun.misc.Resource.getBytes(Resource.java:57)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:247)
     at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     - locked <02E9B288> (a sun.misc.Launcher$ExtClassLoader)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
     - locked <02E96078> (a sun.misc.Launcher$AppClassLoader)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
     - locked <02E96078> (a sun.misc.Launcher$AppClassLoader)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
     at java.security.Provider.loadProvider(Provider.java:149)
     at java.security.Security$2.run(Security.java:278)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.Security.reloadProviders(Security.java:274)
     - locked <06BA2F20> (a java.lang.Class)
     - locked <06BA2F20> (a java.lang.Class)
     at java.security.Security.getProviders(Security.java:813)
     - locked <06BA2F20> (a java.lang.Class)
     at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:468)
     at java.security.SecureRandom.<init>(SecureRandom.java:163)
     at
org.eclipse.core.internal.utils.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdenti
86)
     at
org.eclipse.core.internal.utils.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:

     at org.eclipse.core.internal.localstore.BlobStore.addBlob(BlobStore.java:46)
     at
org.eclipse.core.internal.localstore.HistoryStore.addState(HistoryStore.java:139)
     at
org.eclipse.core.internal.localstore.HistoryStore.addState(HistoryStore.java:157)
     at
org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.jav

     at org.eclipse.core.internal.resources.File.internalSetContents(File.java:238)
     at org.eclipse.core.internal.resources.File.setContents(File.java:274)
     at org.eclipse.core.internal.resources.File.setContents(File.java:305)
     at
org.eclipse.ui.editors.text.FileDocumentProvider.doSaveDocument(FileDocumentProvider.java:443)
     at
org.eclipse.ui.texteditor.AbstractDocumentProvider.saveDocument(AbstractDocumentProvider.java:455)
     at
org.eclipse.ui.texteditor.AbstractTextEditor$10.execute(AbstractTextEditor.java:2885)
     at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:65)
     at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1588)
     at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:79)
     - locked <03173BC0> (a org.eclipse.ui.texteditor.AbstractTextEditor$10)
     at
org.eclipse.ui.texteditor.AbstractTextEditor.performSaveOperation(AbstractTextEditor.java:2905)
     at
org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:2698)
     at org.eclipse.ui.editors.text.TextEditor.doSave(TextEditor.java:225)
     at com.ghm.MyEditor.doSave(JaxbObjectEditor.java:87)
     at com.ghm.MyEditorTest.testGenerdardProcessTypeEditorStudioTest.java:103)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at com.ghm.CustomApplication$1.run(StudioTestApplication.java:56)
     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:31)
     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:94)
     - locked <030DD670> (a org.eclipse.swt.widgets.RunnableLock)
     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1752)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1487)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1271)
     at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254)
     at com.ghm.CustomApplication$2.run(StudioTestApplication.java:144)
     at java.lang.Thread.run(Thread.java:536)

 Dynamic libraries:
 0x00400000 - 0x00406000     c:\views\third-party\jdk\j2sdk1.4.1_01\bin\javaw.exe
 0x77F50000 - 0x77FF7000     C:\WINDOWS\System32\ntdll.dll
 0x77E60000 - 0x77F46000     C:\WINDOWS\system32\kernel32.dll
 0x77DD0000 - 0x77E5D000     C:\WINDOWS\system32\ADVAPI32.dll
 0x78000000 - 0x78086000     C:\WINDOWS\system32\RPCRT4.dll
 0x77D40000 - 0x77DC6000     C:\WINDOWS\system32\USER32.dll
 0x77C70000 - 0x77CB0000     C:\WINDOWS\system32\GDI32.dll
 0x77C10000 - 0x77C63000     C:\WINDOWS\system32\MSVCRT.dll
 0x629C0000 - 0x629C8000     C:\WINDOWS\System32\LPK.DLL
 0x72FA0000 - 0x72FFA000     C:\WINDOWS\System32\USP10.dll
 0x6D330000 - 0x6D45A000    
c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\client\jvm.dll
 0x76B40000 - 0x76B6C000     C:\WINDOWS\System32\WINMM.dll
 0x6D1D0000 - 0x6D1D7000     c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\hpi.dll
 0x6D300000 - 0x6D30D000    
c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\verify.dll
 0x6D210000 - 0x6D229000     c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\java.dll
 0x6D320000 - 0x6D32D000     c:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\zip.dll
 0x10000000 - 0x10008000    
C:\views\main\studio\eclipse\plugins\org.eclipse.core.resources.win32_2.1.0\o
\core_2_1_0a.dll
 0x0B360000 - 0x0B3A7000    
C:\views\main\studio\eclipse\plugins\org.eclipse.swt.win32_2.1.0\os\win32\x86
2130.dll
 0x771B0000 - 0x772D1000     C:\WINDOWS\system32\ole32.dll
 0x77340000 - 0x773CB000     C:\WINDOWS\system32\COMCTL32.dll
 0x763B0000 - 0x763F5000     C:\WINDOWS\system32\comdlg32.dll
 0x70A70000 - 0x70AD4000     C:\WINDOWS\system32\SHLWAPI.dll
 0x773D0000 - 0x77BC2000     C:\WINDOWS\system32\SHELL32.dll
 0x77120000 - 0x771AB000     C:\WINDOWS\system32\OLEAUT32.dll
 0x76390000 - 0x763AC000     C:\WINDOWS\System32\IMM32.dll
 0x71950000 - 0x71A34000    
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.
7fb5805\comctl32.dll
 0x5AD70000 - 0x5ADA4000     C:\WINDOWS\System32\uxtheme.dll
 0x63000000 - 0x63014000     C:\WINDOWS\System32\SynTPFcs.dll
 0x77C00000 - 0x77C07000     C:\WINDOWS\system32\VERSION.dll
 0x74720000 - 0x74764000     C:\WINDOWS\System32\MSCTF.dll
 0x74C80000 - 0x74CAC000     C:\WINDOWS\System32\oleacc.dll
 0x55900000 - 0x55961000     C:\WINDOWS\System32\MSVCP60.dll
 0x76380000 - 0x76385000     C:\WINDOWS\System32\msimg32.dll
 0x605D0000 - 0x605D8000     C:\WINDOWS\System32\mslbui.dll
 0x6D2D0000 - 0x6D2DE000     C:\views\third-party\jdk\j2sdk1.4.1_01\jre\bin\net.dll
 0x71AD0000 - 0x71AD8000     C:\WINDOWS\System32\WSOCK32.dll
 0x71AB0000 - 0x71AC5000     C:\WINDOWS\System32\WS2_32.dll
 0x71AA0000 - 0x71AA8000     C:\WINDOWS\System32\WS2HELP.dll
 0x71A50000 - 0x71A8B000     C:\WINDOWS\System32\mswsock.dll
 0x76F20000 - 0x76F45000     C:\WINDOWS\System32\DNSAPI.dll
 0x76FB0000 - 0x76FB7000     C:\WINDOWS\System32\winrnr.dll
 0x76F60000 - 0x76F8C000     C:\WINDOWS\system32\WLDAP32.dll
 0x76FC0000 - 0x76FC5000     C:\WINDOWS\System32\rasadhlp.dll
 0x0BEB0000 - 0x0BF09000    
C:\views\main\studio\eclipse\plugins\net.sf.colorer_0.4.0\os\win32\x86\net_sf
l
 0x76200000 - 0x76298000     C:\WINDOWS\system32\WININET.dll
 0x762C0000 - 0x76348000     C:\WINDOWS\system32\CRYPT32.dll
 0x762A0000 - 0x762AF000     C:\WINDOWS\system32\MSASN1.dll
 0x76C90000 - 0x76CB2000     C:\WINDOWS\system32\imagehlp.dll
 0x6D510000 - 0x6D58D000     C:\WINDOWS\system32\DBGHELP.dll
 0x76BF0000 - 0x76BFB000     C:\WINDOWS\System32\PSAPI.DLL

 Local Time = Thu Apr 10 12:10:55 2003
 Elapsed Time = 11
 #
 # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
 # Error ID : 4F530E43505002E6
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
 #
 # An error report file has been saved as hs_err_pid2536.log.
 # Please refer to the file for further information.
 #
Comment 1 Rafael Chaves CLA 2003-10-03 17:29:03 EDT
*** Bug 44158 has been marked as a duplicate of this bug. ***
Comment 2 Rafael Chaves CLA 2003-10-07 09:24:13 EDT
This is clearly a VM bug. Since we don't have a clue of what causes it (we only
know which API call is involved), I will not bother reporting it to Sun. Is it
possible for you to use a more recent VM and see if the problem still happens?
Thanks.
Comment 3 David Havrda CLA 2003-10-08 11:49:12 EDT
I have found that by running with the vm arguements -Xint it dramatically cuts 
down on this error ocurring.
Comment 4 John Arthorne CLA 2004-01-26 11:42:29 EST
Closing as VM bug
Comment 5 Rafael Chaves CLA 2004-06-14 11:07:59 EDT
*** Bug 45966 has been marked as a duplicate of this bug. ***
Comment 6 Rafael Chaves CLA 2004-06-14 11:09:10 EDT
*** Bug 59640 has been marked as a duplicate of this bug. ***