Community
Participate
Working Groups
I'm running the M1 download and I get fairly frequent crashes while compiling under eclipse. I'm running Java 1.4.1 (downloaded yesterday from Sun). I thought my binaries might be corrupted, so I've been re-installing just about everything. Other apps don't seem to crash (though sadly I can't be sure they *won't*) so I'm guessing it's Eclipse related... I'm not sure why it happens, but it may be related to compiling on a save with errors in the file (I do this often...) I've got about six files with names like 'hs_err_pid1916.log' that all seem to have identical contents: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D32797D Function=ZIP_Open+0x369 Library=C:\Program Files\Java\j2re1.4.1\bin\zip.dll Current Java thread: at java.util.zip.ZipFile.getNextEntry(Native Method) at java.util.zip.ZipFile.access$400(ZipFile.java:26) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:301) at org.eclipse.jdt.internal.core.builder.ClasspathJar.isPackage (ClasspathJar.java:67) at org.eclipse.jdt.internal.core.builder.ClasspathJar.findClass (ClasspathJar.java:48) at org.eclipse.jdt.internal.core.builder.NameEnvironment.findClass (NameEnvironment.java:233) at org.eclipse.jdt.internal.core.builder.NameEnvironment.findType (NameEnvironment.java:249) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage (LookupEnvironment.java:332) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings (CompilationUnitScope.java:73) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings (LookupEnvironment.java:119) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile (Compiler.java:300) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:323) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile (AbstractImageBuilder.java:219) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile (AbstractImageBuilder.java:166) at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build (IncrementalImageBuilder.java:109) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas (JavaBuilder.java:182) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build (JavaBuilder.java:110) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:392) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:839) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:120) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:176) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:186) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:146) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:839) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:160) at org.eclipse.core.internal.events.BuildManager.build (BuildManager.java:211) at org.eclipse.core.internal.resources.Workspace.endOperation (Workspace.java:745) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1383) at org.eclipse.ui.actions.WorkspaceModifyOperation.run (WorkspaceModifyOperation.java:78) - locked <02D104C0> (a org.eclipse.jdt.internal.ui.refactoring.PerformChangeOperation$1) at org.eclipse.jdt.internal.ui.refactoring.PerformChangeOperation.executeChange (PerformChangeOperation.java:149) at org.eclipse.jdt.internal.ui.refactoring.PerformChangeOperation.run (PerformChangeOperation.java:123) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:299) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:717) at org.eclipse.jdt.internal.ui.refactoring.RefactoringWizard.performFinish (RefactoringWizard.java:334) at org.eclipse.jdt.internal.ui.refactoring.UserInputWizardPage.performFinish (UserInputWizardPage.java:88) at org.eclipse.jdt.internal.ui.refactoring.RefactoringWizard.performFinish (RefactoringWizard.java:464) at org.eclipse.jface.wizard.WizardDialog.finishPressed (WizardDialog.java:574) at org.eclipse.jdt.internal.ui.refactoring.RefactoringWizardDialog.finishPressed (RefactoringWizardDialog.java:73) at org.eclipse.jface.wizard.WizardDialog.buttonPressed (WizardDialog.java:312) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:397) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.jface.window.Window.runEventLoop(Window.java:562) at org.eclipse.jface.window.Window.open(Window.java:542) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate (RefactoringStarter.java:78) at org.eclipse.jdt.ui.actions.ExtractTempAction.run (ExtractTempAction.java:77) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:193) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:169) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1256) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) 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 org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539) Dynamic libraries: 0x00400000 - 0x00406000 C:\WINNT\system32\javaw.exe 0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll 0x77DB0000 - 0x77E0D000 C:\WINNT\system32\ADVAPI32.dll 0x77E80000 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL 0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL 0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll 0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL 0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll 0x6D330000 - 0x6D45C000 C:\Program Files\Java\j2re1.4.1 \bin\client\jvm.dll 0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll 0x6D1D0000 - 0x6D1D7000 C:\Program Files\Java\j2re1.4.1\bin\hpi.dll 0x6D300000 - 0x6D30D000 C:\Program Files\Java\j2re1.4.1\bin\verify.dll 0x6D210000 - 0x6D229000 C:\Program Files\Java\j2re1.4.1\bin\java.dll 0x6D320000 - 0x6D32D000 C:\Program Files\Java\j2re1.4.1\bin\zip.dll 0x10000000 - 0x10007000 C:\usr\local\eclipse\plugins\org.eclipse.core.resources.win32_2.1.0 \os\win32\x86\core_2_0_5.dll 0x0B3E0000 - 0x0B426000 C:\usr\local\eclipse\plugins\org.eclipse.swt.win32_2.1.0\os\win32\x86 \swt-win32-2108.dll 0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll 0x71780000 - 0x7180A000 C:\WINNT\system32\COMCTL32.dll 0x76B30000 - 0x76B6D000 C:\WINNT\system32\comdlg32.dll 0x70BD0000 - 0x70C34000 C:\WINNT\system32\SHLWAPI.DLL 0x782F0000 - 0x78536000 C:\WINNT\system32\SHELL32.DLL 0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.dll 0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll 0x0B950000 - 0x0B95D000 C:\PROGRA~1\PANICW~1\POP-UP~1\DPHOOK32.DLL 0x63000000 - 0x63014000 C:\WINNT\System32\SynTPFcs.dll 0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll 0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL 0x69640000 - 0x6965F000 C:\WINNT\system32\oleacc.dll 0x6B2C0000 - 0x6B2C5000 C:\WINNT\system32\msimg32.dll 0x1C000000 - 0x1C007000 C:\PROGRA~1\AIM95\idlemon.dll 0x6D2D0000 - 0x6D2DE000 C:\Program Files\Java\j2re1.4.1\bin\net.dll 0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll 0x75030000 - 0x75043000 C:\WINNT\system32\WS2_32.DLL 0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL 0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll 0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL 0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll 0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL 0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL 0x75150000 - 0x75160000 C:\WINNT\system32\SAMLIB.DLL 0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL 0x77BE0000 - 0x77BEF000 C:\WINNT\system32\SECUR32.DLL 0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.DLL 0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL 0x773B0000 - 0x773DE000 C:\WINNT\system32\ACTIVEDS.DLL 0x77380000 - 0x773A2000 C:\WINNT\system32\ADSLDPC.DLL 0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL 0x77880000 - 0x7790D000 C:\WINNT\system32\SETUPAPI.DLL 0x77C10000 - 0x77C6E000 C:\WINNT\system32\USERENV.DLL 0x774E0000 - 0x77512000 C:\WINNT\system32\RASAPI32.DLL 0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL 0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL 0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL 0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll 0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll 0x74FD0000 - 0x74FED000 C:\WINNT\system32\msafd.dll 0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll 0x0D080000 - 0x0D08D000 C:\PROGRA~1\DELL\ACCESS~1\Dadkeyb.dll 0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll 0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll 0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL Local Time = Wed Oct 02 15:34:26 2002 Elapsed Time = 3030 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed mode) #
Has this problem only surfaced since downloading the new vm? Is it known to be stable?
Hi. I thought it might be a VM related issue, so I switched back to the old VM (uninstalled the new one just to be sure and re-installed 1.4.0_02) after writing the bug. Eclipse still crashes -- I can attach another one of the crash dumps if you think it might be helpful. It's not exactly the same (paths are different) but it's still a crash in ZIP_open. Recently, it's happened a couple of times on start up.
After looking on sun's site, I find there is an open issue with very similar symptoms: http://developer.java.sun.com/developer/bugParade/bugs/4731870.html The comments say that at least one developer has been having the problem since 1.3 -- I'm a little confused as to why it would show up now and not before? I'm going to check all my zip files again, since there's a suggested work-around of either a) converting all zips to jars or b) opening all zips in WinZip and saving them again. Anything Eclipse could do to help pinpoint the offending file would help a lot, of course. It's looking like this is not an Eclipse bug after all, but I'd love to have a feature that logged the files handed off to zip.dll. Chris
Closing since this is likely a VM bug. Since we are calling Java API, it would be difficult to log the files handed off to zip.dll.
*** Bug 31109 has been marked as a duplicate of this bug. ***
*** Bug 31916 has been marked as a duplicate of this bug. ***
*** Bug 35682 has been marked as a duplicate of this bug. ***
*** Bug 37557 has been marked as a duplicate of this bug. ***