Community
Participate
Working Groups
On computers with 138MB RAM and Windows98 we have installed: 1) jdk-1_5_0_04-windows-i586-p.exe 2) eclipse-SDK-3.1-win32.zip When my pupils make a little program OutFile.java in different places they have received the windows message “Addressing Exception” in Java Virtual Machine. For example when make a new row (Enter) or when use: Right Click; Source; Organize Imports. We have to restart computer or we have to restart Eclipse receiving message: JVM terminated Exit code=-1 C:\Windows\javaw.exe -Xms40m -Xmx256m -jar D:\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher D:\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata fffc2929-8 -vm C:\WINDOWS\javaw.exe -vmarge -Xms40m -Xmx256m -jar D:\eclipse\startup.jar Six months earlier we have on the same computers with 138MB RAM and Windows98 installed: 1) j2sdk-1_4_2_03-windows-i586-p.exe 2) eclipse-SDK-3.0.1-win32.zip and every thing was all right. OutFile.java package file; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class OutFile { private static PrintWriter writer; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try{ writer=new PrintWriter(new FileWriter("C:/Documents and Settings/boris/Desktop/testwin98/out.txt")); }catch(IOException e){ System.out.println("Exeption:"+e.getMessage()); System.exit(1); } writer.println("New file"); writer.println("New Line"); } } Recently I have tried (2005.10.13) I)Change eclipse.ini from: -vmargs -Xms40m -Xmx256m to: -vmargs -Xms40m -Xmx128m II)Change eclipse.ini from: -vmargs -Xms40m -Xmx256m to: -vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe -vmargs -Xms40m -Xmx128m Result is: JVM terminated Exit code=-1 C:\Windows\javaw.exe -Xms40m -Xmx128m -jar D:\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher D:\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata fffc2929-8 -vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe -vm C:\WINDOWS\javaw.exe -vmarge -Xms40m -Xmx128m -jar D:\eclipse\startup.jar
Would you have a vm log that shows where the problem occured? They are located in the user.dir used when starting Eclipse.
Pls reopen once requested info is available. Also see bug 109793. This platform is not supported.
.metadata\.log !SESSION 2005-10-13 18:55:41.110 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=bg_BG Framework arguments: -vm C:"Program Files\Java\jre1.5.0_04\bin\javaw.exe -vm C:\WINDOWS\javaw.exe -vmargs -Xms40m -Xmx128m -jar D:\eclipse\startup.jar Command-line arguments: -os win32 -ws win32 -arch x86 -vm C:"Program Files\Java\jre1.5.0_04\bin\javaw.exe -vm C:\WINDOWS\javaw.exe -vmargs -Xms40m - Xmx128m -jar D:\eclipse\startup.jar !ENTRY org.eclipse.core.resources 2 10035 2005-10-13 18:56:14.780 !MESSAGE A workspace crash was detected. The previous session did not exit normally. !SESSION 2005-10-14 16:07:01.250 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=bg_BG Framework arguments: -vm C:"Program Files\Java\jre1.5.0_04\bin\javaw.exe -vm C:\WINDOWS\javaw.exe -vmargs -Xms40m -Xmx128m -jar D:\eclipse\startup.jar Command-line arguments: -os win32 -ws win32 -arch x86 -vm C:"Program Files\Java\jre1.5.0_04\bin\javaw.exe -vm C:\WINDOWS\javaw.exe -vmargs -Xms40m - Xmx128m -jar D:\eclipse\startup.jar !ENTRY org.eclipse.core.resources 2 10035 2005-10-14 16:07:33.500 !MESSAGE A workspace crash was detected. The previous session did not exit normally.
I was talking about the VM log, not the Eclipse log. When the VM crashed, it generates a log file that is located in the working location used to start Eclipse.
Please reopen once the requested information is provided.
There is a problem. Where to find “the working location used to start Eclipse” with log files? Where to find javaw.exe log files? On one of the XP systems I found this 1128683223046.log file: !SESSION 2005-10-07 14:07:02.906 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=bg_BG Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 2005-10-07 14:07:03.203 !MESSAGE Error reading configuration: d:\eclipse\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is denied) !STACK 0 java.io.FileNotFoundException: d:\eclipse\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock (Locker_JavaNio.java:34) at org.eclipse.core.runtime.adaptor.FileManager.lock (FileManager.java:361) at org.eclipse.core.runtime.adaptor.FileManager.open (FileManager.java:658) at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initFileManager (EclipseAdaptor.java:809) at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initialize (EclipseAdaptor.java:139) at org.eclipse.osgi.framework.internal.core.Framework.initialize (Framework.java:126) at org.eclipse.osgi.framework.internal.core.Framework.<init> (Framework.java:104) at org.eclipse.osgi.framework.internal.core.OSGi.createFramework (OSGi.java:90) at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.0.jar/ 0 0 2005-10-07 14:07:03.640 !MESSAGE FrameworkEvent.ERROR !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:1013) ……….. !ENTRY org.eclipse.osgi 2005-10-07 14:07:03.687 !MESSAGE Startup error !STACK 1 java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.0.jar/ [1] is not active. at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive (EclipseStarter.java:410) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (EclipseStarter.java:297) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) This mean, that information for VM crash has to be in this file on Win98 systems too? Or my be, we looking for other log files? I have two suspects. Folder “eclipse” and workspace folder Something like 12a05 or may be in third one: C:\Windows (because of C:\Windows\javaw.exe). More thoughts: If I have to restart win98, probably the system may have no time to make a record for the crash!
Move to Platform/Runtime. It seems that Eclipse doesn't start properly.
the logs in comment 6 may not be relevant here if the end result is that the JVM crashes. That is just reporting that we are trying to open the lock file and do not have permissions. That could be due to a number of issues related to the filesystem itself. Boris, can you confirm that infact the VM is hard crashing in these cases? Also, going back and retrying with 1.4.2 would be interesting. Could well be a VM issue.
jeff_mcaffer@ca.ibm.com Jeff McAffer There are five main points I want to mention: -Additional Comment #6 was added only to show that information for crash in Java Virtual Machine is included in file: workspace\.metadata\xxxxxxxxx.log (the real problem from Additional Comment #6 is from computer with XP operating system and is not connected with our problem - restricted access). -I have try (on 10 computers simultaneously): 1) jdk-1_5_0_04-windows-i586-p.exe 2) eclipse-SDK-3.1-win32.zip 3) eclipse.ini: -vmargs -Xms40m -Xmx128m Usually there is a log file bat not any information for crash in JVM -I have try (on a computers simultaneously): 1) j2sdk-1_4_2_03-windows-i586-p.exe 2) eclipse-SDK-3.1-win32.zip 3) eclipse.ini: -vmargs -Xms40m -Xmx128m There is a log file bat not any information for crash in JVM -I have try (on 10 computers simultaneously): 1) jdk-1_5_0_04-windows-i586-p.exe 2) eclipse-SDK-3.1-win32.zip 3) eclipse.ini: -vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe -vmargs -Xms40m -Xmx128m Usually there is not any log file bat On a computer I have this message: Error in C:\Program Files\java\jre1.5.0_04\bin\client\jvm.dll -In all cases I have either: Windows message “Addressing Exception” (Usually in Java Virtual Machine) or Eclipse desktop message beginning like this: JVM terminated Exit code=-1 C:\Windows\javaw.exe I am sure there is easy solution for this problem (for Eclipse insiders. The problem is worthy to be solved! The easiest way is to start XP on all my 128MB RAM computers!?
Created attachment 43891 [details] Error Log
I am having the same problem at work and it is definatly crashing here is my error log. # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d723c40, pid=628, tid=2364 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing) # Problematic frame: # V [jvm.dll+0x63c40] # --------------- T H R E A D --------------- Current thread (0x009af040): VMThread [id=2364] siginfo: ExceptionCode=0xc0000005, reading address 0x08000000 Registers: EAX=0x08000000, EBX=0x18e579ec, ECX=0x02c5fa6c, EDX=0x18e25aa0 ESP=0x02c5f9b4, EBP=0x02c5f9d8, ESI=0x18e579e8, EDI=0x02c5fa6c EIP=0x6d723c40, EFLAGS=0x00010287 Top of Stack: (sp=0x02c5f9b4) 0x02c5f9b4: 18e579e8 2849f708 6d739990 18e579e8 0x02c5f9c4: 18e8b1d0 18e579d8 0073a730 2849f350 0x02c5f9d4: 2849f70c 02c5fb08 6d7b6da3 18e579d8 0x02c5f9e4: 02c5fa6c 02c5fa6c 0073a5e8 009879f4 0x02c5f9f4: 6d733bec 02c5fa6c 00000001 009879a8 0x02c5fa04: 6d72f4b3 02c5fa6c 00000000 009879a8 0x02c5fa14: 02c5faa0 6d723b0e 00000000 02c5fab8 0x02c5fa24: 02c5fa6c 00987c60 6d72459e 009879a8 Instructions: (pc=0x6d723c40) 0x6d723c30: 24 08 57 8b f9 8b 06 85 c0 74 2f 3b 47 1c 73 2a 0x6d723c40: 8b 08 83 e1 03 80 f9 03 75 06 8b 00 24 fc eb 0a Stack: [0x02c20000,0x02c60000), sp=0x02c5f9b4, free space=254k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x63c40] V [jvm.dll+0xf6da3] V [jvm.dll+0x6ef6c] V [jvm.dll+0x5182c] V [jvm.dll+0x6f117] V [jvm.dll+0x1251d2] V [jvm.dll+0x124ca0] V [jvm.dll+0x124e49] V [jvm.dll+0x124b7e] C [MSVCRT.dll+0x85bc] C [KERNEL32.dll+0xb388] VM_Operation (0x0478f820): generation collection for allocation, mode: safepoint, requested by thread 0x0303d940 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0303d940 JavaThread "Worker-4" [_thread_blocked, id=2948] 0x0306a898 JavaThread "Worker-3" [_thread_blocked, id=2988] 0x03069d20 JavaThread "Worker-2" [_thread_blocked, id=2924] 0x03e8e890 JavaThread "Worker-1" [_thread_blocked, id=2916] 0x0321e530 JavaThread "Java indexing" daemon [_thread_blocked, id=580] 0x031ce698 JavaThread "Worker-0" [_thread_blocked, id=2820] 0x009d9c60 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=2332] 0x02de7e78 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=2348] 0x03099cf8 JavaThread "State Data Manager" daemon [_thread_blocked, id=2312] 0x009ba0a0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2340] 0x00735618 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2516] 0x009b8050 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2436] 0x009b2e40 JavaThread "Finalizer" daemon [_thread_blocked, id=1848] 0x009b1928 JavaThread "Reference Handler" daemon [_thread_blocked, id=2728] 0x00734dc8 JavaThread "main" [_thread_in_native, id=2404] Other Threads: =>0x009af040 VMThread [id=2364] 0x009bb638 WatcherThread [id=316] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x00734378/0x00000318] Threads_lock - owner thread: 0x009af040 [0x00734540/0x000002dc] Heap_lock - owner thread: 0x0303d940 Heap def new generation total 2880K, used 2880K [0x16aa0000, 0x16dc0000, 0x17e50000) eden space 2560K, 100% used [0x16aa0000, 0x16d20000, 0x16d20000) from space 320K, 100% used [0x16d70000, 0x16dc0000, 0x16dc0000) to space 320K, 99% used [0x16d20000, 0x16d6fff8, 0x16d70000) tenured generation total 37824K, used 16620K [0x17e50000, 0x1a340000, 0x26aa0000) the space 37824K, 43% used [0x17e50000, 0x18e8b310, 0x18e8b400, 0x1a340000) compacting perm gen total 27904K, used 27738K [0x26aa0000, 0x285e0000, 0x2aaa0000) the space 27904K, 99% used [0x26aa0000, 0x285b6838, 0x285b6a00, 0x285e0000) ro space 8192K, 63% used [0x2aaa0000, 0x2afaccc8, 0x2aface00, 0x2b2a0000) rw space 12288K, 46% used [0x2b2a0000, 0x2b83b738, 0x2b83b800, 0x2bea0000) Dynamic libraries: 0x00400000 - 0x0040d000 C:\WINNT\system32\javaw.exe 0x77f80000 - 0x77ffc000 C:\WINNT\system32\ntdll.dll 0x7c2d0000 - 0x7c335000 C:\WINNT\system32\ADVAPI32.dll 0x7c570000 - 0x7c623000 C:\WINNT\system32\KERNEL32.dll 0x77d30000 - 0x77da8000 C:\WINNT\system32\RPCRT4.dll 0x77e10000 - 0x77e79000 C:\WINNT\system32\USER32.dll 0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.dll 0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll 0x6d6c0000 - 0x6d857000 C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll 0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll 0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_07\bin\hpi.dll 0x690a0000 - 0x690ab000 C:\WINNT\system32\PSAPI.DLL 0x6d690000 - 0x6d69c000 C:\Program Files\Java\jre1.5.0_07\bin\verify.dll 0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_07\bin\java.dll 0x6d6b0000 - 0x6d6bf000 C:\Program Files\Java\jre1.5.0_07\bin\zip.dll 0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_07\bin\net.dll 0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll 0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL 0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_07\bin\nio.dll 0x10000000 - 0x10050000 C:\Program Files\eclipse\configuration\org.eclipse.osgi\bundles\61\1\.cp\swt-win32-3139.dll 0x7ce20000 - 0x7cf0f000 C:\WINNT\system32\ole32.dll 0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.dll 0x76b30000 - 0x76b6e000 C:\WINNT\system32\comdlg32.dll 0x70a70000 - 0x70ad6000 C:\WINNT\system32\SHLWAPI.DLL 0x7cf30000 - 0x7d176000 C:\WINNT\system32\SHELL32.DLL 0x779b0000 - 0x77a4b000 C:\WINNT\system32\OLEAUT32.dll 0x75e60000 - 0x75e7a000 C:\WINNT\system32\IMM32.dll 0x66650000 - 0x666a4000 C:\WINNT\system32\USP10.dll 0x03a20000 - 0x03a28000 C:\Program Files\eclipse\configuration\org.eclipse.osgi\bundles\13\1\.cp\os\win32\x86\core_3_1_0.dll 0x69640000 - 0x6965f000 C:\WINNT\system32\oleacc.dll 0x7c950000 - 0x7c9df000 C:\WINNT\system32\CLBCATQ.DLL 0x70440000 - 0x704cf000 C:\WINNT\system32\mlang.dll 0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll 0x759b0000 - 0x759b6000 C:\WINNT\system32\LZ32.DLL 0x6b2c0000 - 0x6b2c5000 C:\WINNT\system32\msimg32.dll VM Arguments: jvm_args: -Xms40m -Xmx256m java_command: C:\Program Files\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher C:\Program Files\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 1a4_3c -vm C:\WINNT\system32\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program Files\eclipse\startup.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06 CLASSPATH=C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar PATH=C:\alfresco-1.2.1\bin;C:\Program Files\alfresco-1.2.1\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program File\Java\jdk1.5.0_06\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN USERNAME=cbeckwith OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD --------------- S Y S T E M --------------- OS: Windows 2000 Build 2195 Service Pack 4 CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse Memory: 4k page, physical 1047920k(539384k free), swap 2522148k(2079372k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0
Chris is this VM log related to the problem initially reported?
Chris do you have steps on how to reproduce?
This looks like a VM error.