Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 119630

Summary: [IAC] Eclipse crashes after short time
Product: z_Archived Reporter: MH <mhilpert>
Component: TPTPAssignee: Samson Wai <samwai>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P2 CC: duncan, rngadam
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: closed471
Attachments:
Description Flags
eclipse error log none

Description MH CLA 2005-12-07 09:18:05 EST
When I profile my server app within Eclipse, after about 1-2 minutes, Eclipse crashes. Here's one of the last hs_err_pid1516.log content:


-----------------------------------------------------------------------------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d76dc4c, pid=1516, tid=1776
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x8dc4c]
#

---------------  T H R E A D  ---------------

Current thread (0x04195e20):  JavaThread "Thread-22" [_thread_in_vm, id=1776]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00020000, ECX=0x00000000, EDX=0x00000000
ESP=0x05c9f88c, EBP=0x05c9f894, ESI=0x04195e20, EDI=0x04195ee0
EIP=0x6d76dc4c, EFLAGS=0x00010202

Top of Stack: (sp=0x05c9f88c)
0x05c9f88c:   04195ee0 00000000 00020000 057449dd
0x05c9f89c:   04195e20 00000000 00000000 00020000
0x05c9f8ac:   05c30480 05743db8 00000000 00000000
0x05c9f8bc:   00020000 05c30480 00000002 05c30258
0x05c9f8cc:   05c30158 05c30260 05744556 05c30480
0x05c9f8dc:   00020000 303e65b6 04195ee0 05c9f968
0x05c9f8ec:   04126c33 04195e20 28acf688 05c9f958
0x05c9f8fc:   28acf688 00000006 00000000 303e65b6 

Instructions: (pc=0x6d76dc4c)
0x6d76dc3c:   75 08 e8 58 3a fb ff 8b 45 0c 8b 4d 10 83 c4 0c
0x6d76dc4c:   8b 38 85 c9 7c 46 8b 45 14 85 c0 7c 3f 03 c8 3b 


Stack: [0x05c60000,0x05ca0000),  sp=0x05c9f88c,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x8dc4c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.hyades.collection.framework.channel.DataChannelImpl.hc_flushDCBufferToStream(ILjava/io/OutputStream;)I+0
j  org.eclipse.hyades.collection.framework.channel.DataChannelImpl$FlusherThread.run()V+229
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0433de18 JavaThread "Thread-27" [_thread_blocked, id=1672]
  0x0431bad0 JavaThread "Thread-26" daemon [_thread_blocked, id=804]
  0x0431cdd8 JavaThread "Thread-25" daemon [_thread_blocked, id=1616]
  0x040acde0 JavaThread "Reader Thread: rabuffer1" [_thread_blocked, id=1784]
=>0x04195e20 JavaThread "Thread-22" [_thread_in_vm, id=1776]
  0x03152df0 JavaThread "Profile UI" [_thread_blocked, id=1208]
  0x04066e20 JavaThread "Console Error Reader" [_thread_in_native, id=1648]
  0x0412bd60 JavaThread "Console Output Reader" [_thread_in_native, id=1476]
  0x03f76560 JavaThread "Thread-19" daemon [_thread_blocked, id=748]
  0x02f608d0 JavaThread "Thread-18" daemon [_thread_blocked, id=796]
  0x031d5a70 JavaThread "Worker-9" [_thread_blocked, id=1632]
  0x031a39f0 JavaThread "Reader Thread: Direct connection: 0" [_thread_blocked, id=1908]
  0x031a3460 JavaThread "Reader Thread: Direct connection: 0" [_thread_blocked, id=1708]
  0x03155008 JavaThread "Reader Thread: IBMAC:ramaster" [_thread_blocked, id=1540]
  0x03eedd48 JavaThread "Named Pipe Transport" [_thread_in_native, id=1012]
  0x03eed5a8 JavaThread "Profile_Refresh" [_thread_blocked, id=1840]
  0x007edaf8 JavaThread "Worker-3" [_thread_blocked, id=1232]
  0x00807c48 JavaThread "Worker-1" [_thread_blocked, id=1528]
  0x02d78508 JavaThread "Java indexing" daemon [_thread_blocked, id=1140]
  0x02cc8e08 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1920]
  0x02f77db0 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=1696]
  0x02eb4bf8 JavaThread "State Data Manager" daemon [_thread_blocked, id=1684]
  0x007cc7d8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1220]
  0x00736608 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1576]
  0x007ca8f8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1852]
  0x007c5820 JavaThread "Finalizer" daemon [_thread_blocked, id=1532]
  0x007f0250 JavaThread "Reference Handler" daemon [_thread_blocked, id=1660]
  0x00736448 JavaThread "main" [_thread_blocked, id=1700]

Other Threads:
  0x007bdd60 VMThread [id=1052]
  0x007f1d78 WatcherThread [id=1228]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 18176K, used 16547K [0x16aa0000, 0x17e50000, 0x17e50000)
  eden space 16192K, 100% used [0x16aa0000, 0x17a70000, 0x17a70000)
  from space 1984K,  17% used [0x17a70000, 0x17ac8cb8, 0x17c60000)
  to   space 1984K,   0% used [0x17c60000, 0x17c60000, 0x17e50000)
 tenured generation   total 241984K, used 241929K [0x17e50000, 0x26aa0000, 0x26aa0000)
   the space 241984K,  99% used [0x17e50000, 0x26a924d0, 0x26a92600, 0x26aa0000)
 compacting perm gen  total 37632K, used 37452K [0x26aa0000, 0x28f60000, 0x2aaa0000)
   the space 37632K,  99% used [0x26aa0000, 0x28f331e8, 0x28f33200, 0x28f60000)
    ro space 8192K,  66% used [0x2aaa0000, 0x2affbcc0, 0x2affbe00, 0x2b2a0000)
    rw space 12288K,  46% used [0x2b2a0000, 0x2b842060, 0x2b842200, 0x2bea0000)

Dynamic libraries:
0x00400000 - 0x0040c000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\BIN\javaw.exe
0x77880000 - 0x77902000 	C:\WINNT\system32\ntdll.dll
0x79350000 - 0x793b5000 	C:\WINNT\system32\ADVAPI32.dll
0x77e70000 - 0x77f30000 	C:\WINNT\system32\KERNEL32.dll
0x77d20000 - 0x77d98000 	C:\WINNT\system32\RPCRT4.dll
0x77e00000 - 0x77e69000 	C:\WINNT\system32\USER32.dll
0x77f40000 - 0x77f7c000 	C:\WINNT\system32\GDI32.dll
0x78000000 - 0x78045000 	C:\WINNT\system32\MSVCRT.dll
0x6d6e0000 - 0x6d874000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 	C:\WINNT\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\hpi.dll
0x68f30000 - 0x68f3b000 	C:\WINNT\system32\PSAPI.DLL
0x6d6b0000 - 0x6d6bc000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\zip.dll
0x6d530000 - 0x6d543000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\net.dll
0x74fa0000 - 0x74fb4000 	C:\WINNT\system32\WS2_32.dll
0x74f90000 - 0x74f98000 	C:\WINNT\system32\WS2HELP.DLL
0x6d550000 - 0x6d559000 	C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\jre\bin\nio.dll
0x10000000 - 0x10050000 	C:\Programme\eclipse\configuration\org.eclipse.osgi\bundles\245\1\.cp\swt-win32-3139.dll
0x7ce80000 - 0x7cf6f000 	C:\WINNT\system32\ole32.dll
0x71710000 - 0x71794000 	C:\WINNT\system32\COMCTL32.dll
0x76b00000 - 0x76b3f000 	C:\WINNT\system32\comdlg32.dll
0x772a0000 - 0x77306000 	C:\WINNT\system32\SHLWAPI.DLL
0x7cf90000 - 0x7d1db000 	C:\WINNT\system32\SHELL32.DLL
0x779a0000 - 0x77a3b000 	C:\WINNT\system32\OLEAUT32.dll
0x75df0000 - 0x75e0a000 	C:\WINNT\system32\IMM32.dll
0x664b0000 - 0x66504000 	C:\WINNT\system32\USP10.dll
0x038f0000 - 0x038f8000 	C:\Programme\eclipse\configuration\org.eclipse.osgi\bundles\61\1\.cp\os\win32\x86\core_3_1_0.dll
0x03a10000 - 0x03a18000 	C:\Programme\eclipse\configuration\org.eclipse.osgi\bundles\61\1\.cp\os\win32\x86\win32refresh.dll
0x694d0000 - 0x694ef000 	C:\WINNT\system32\oleacc.dll
0x784a0000 - 0x7852f000 	C:\WINNT\system32\CLBCATQ.DLL
0x70440000 - 0x704cf000 	C:\WINNT\system32\mlang.dll
0x77810000 - 0x77817000 	C:\WINNT\system32\VERSION.dll
0x75940000 - 0x75946000 	C:\WINNT\system32\LZ32.DLL
0x6b150000 - 0x6b155000 	C:\WINNT\system32\msimg32.dll
0x6eec0000 - 0x6eee1000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libapr.dll
0x74f60000 - 0x74f73000 	C:\WINNT\system32\MSWSOCK.dll
0x77970000 - 0x77994000 	C:\WINNT\system32\DNSAPI.DLL
0x74fc0000 - 0x74fc9000 	C:\WINNT\system32\WSOCK32.dll
0x6ee50000 - 0x6ee59000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libapriconv.dll
0x04940000 - 0x04a46000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libeay32.dll
0x13000000 - 0x130ad000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libdb43.dll
0x780c0000 - 0x78121000 	C:\WINNT\system32\MSVCP60.dll
0x04a50000 - 0x04a82000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\ssleay32.dll
0x60000000 - 0x60093000 	C:\Programme\Microsoft Visual Studio\Common\VSS\win32\SSAPI.DLL
0x782f0000 - 0x78301000 	C:\WINNT\system32\MPR.dll
0x6ee60000 - 0x6ee89000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libaprutil.dll
0x04ec0000 - 0x04ed2000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\intl3_svn.dll
0x04ee0000 - 0x04fd1000 	C:\Programme\eclipse\plugins\org.tigris.subversion.javahl.win32_0.9.37\libsvnjavahl-1.dll
0x719b0000 - 0x719b8000 	C:\WINNT\system32\SHFOLDER.dll
0x63110000 - 0x6318b000 	C:\Programme\Microsoft Visual Studio\Common\VSS\win32\ssus.dll
0x051e0000 - 0x051f7000 	C:\Programme\eclipse\plugins\org.eclipse.hyades.execution_4.1.0\os\win32\x86\tptpCommon.dll
0x05210000 - 0x05227000 	C:\Programme\eclipse\plugins\org.eclipse.hyades.execution_4.1.0\os\win32\x86\tptpNP.dll
0x77830000 - 0x7783c000 	C:\WINNT\System32\rnr20.dll
0x77310000 - 0x77323000 	C:\WINNT\system32\iphlpapi.dll
0x774f0000 - 0x774f5000 	C:\WINNT\system32\ICMP.DLL
0x05240000 - 0x05257000 	C:\WINNT\system32\MPRAPI.DLL
0x750c0000 - 0x750d0000 	C:\WINNT\system32\SAMLIB.DLL
0x7ce20000 - 0x7ce73000 	C:\WINNT\system32\NETAPI32.DLL
0x75130000 - 0x75136000 	C:\WINNT\system32\NETRAP.dll
0x77be0000 - 0x77bf1000 	C:\WINNT\system32\NTDSAPI.dll
0x77940000 - 0x7796c000 	C:\WINNT\system32\WLDAP32.DLL
0x79430000 - 0x7943f000 	C:\WINNT\system32\SECUR32.DLL
0x77380000 - 0x773b0000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 	C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782e000 	C:\WINNT\system32\RTUTILS.DLL
0x78310000 - 0x783a1000 	C:\WINNT\system32\SETUPAPI.DLL
0x791a0000 - 0x79205000 	C:\WINNT\system32\USERENV.DLL
0x774b0000 - 0x774e4000 	C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774a1000 	C:\WINNT\system32\rasman.dll
0x77500000 - 0x77522000 	C:\WINNT\system32\TAPI32.dll
0x77330000 - 0x77349000 	C:\WINNT\system32\DHCPCSVC.DLL
0x777d0000 - 0x777d8000 	C:\WINNT\System32\winrnr.dll
0x777e0000 - 0x777e5000 	C:\WINNT\system32\rasadhlp.dll
0x05500000 - 0x0550b000 	C:\Programme\eclipse\plugins\org.eclipse.hyades.execution_4.1.0\os\win32\x86\hcclco.dll
0x05620000 - 0x0562d000 	C:\Programme\eclipse\plugins\org.eclipse.hyades.execution_4.1.0\os\win32\x86\hccls.dll
0x05740000 - 0x05751000 	C:\Programme\eclipse\plugins\org.eclipse.hyades.execution_4.1.0\os\win32\x86\hcclsm.dll

VM Arguments:
jvm_args: -Xmx256m
java_command: C:\Programme\Eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher C:\Programme\Eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 478_3c -data E:\Eclipse_workspace -vm C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\BIN\javaw.exe -vmargs -Xmx256m -jar C:\Programme\Eclipse\startup.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06
PATH=C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06\BIN;C:\PROGRAMME\PERL\BIN\;C:\PROGRAMME\ORANT\BIN;C:\PROGRAMME\ORACLE\JRE\1.1.7\BIN;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\PROGRAMME\MSSQL\BINN;C:\PROGRAMME\JPROBE SUITE 5.2.2\BIN;C:\PROGRAMME\SUBVERSION\BIN;C:\Programme\Sun\Java\J2SE\SDK\jdk1.5.0_06/bin;C:\Programme\Sun\AppServer\bin;C:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Programme\Microsoft Visual Studio\Common\Tools;C:\Programme\Microsoft Visual Studio\VC98\bin;e:\tmp\sjsas_pe-8_0-windows.exe2\package;C:\programme\orant\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;c:\programme\MSSQL\BINN;C:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Programme\Microsoft Visual Studio\Common\Tools;C:\Programme\Microsoft Visual Studio\VC98\bin;C:\programme\orant\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;c:\programme\MSSQL\BINN
USERNAME=hilpert
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 2000 Build 2195 Service Pack 4

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1047276k(267100k free), swap 1209728k(506044k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0

-------------------------------------------------------------------------
Comment 1 Bob Duncan CLA 2005-12-08 20:49:50 EST
All I can tell from this is that the exception is occurring in the collection framework according to the traceback (sepcifically the collection.framework.channel.DataChannelImpl class). I can't tell what the original cause might've been.

First, please retry with a 1.4.x jvm and let me know if that works. 

Does this happen with other apps or only this app? Can you attach or send me an app that I can use to reproduce this? 
Comment 2 Samson Wai CLA 2005-12-15 14:13:09 EST
It looks like the JVM heap memory has been used up. Do you know approx. how much memory is needed for the server app? Eclipse has a built-in limit of 256MB heap space. You can modify this limit from the config file "eclipse.ini" under Eclipse installation path. I would say setting "-Xmx1024m" is a safe guess.
Comment 3 Samson Wai CLA 2006-01-13 12:55:00 EST
Transferring to the right component.
Comment 4 Ricky Ng-Adam CLA 2006-02-23 09:49:38 EST
Created attachment 35231 [details]
eclipse error log
Comment 5 Ricky Ng-Adam CLA 2006-02-23 09:50:30 EST
Log above occurred when I tried installing TPTP and running it on our 575 junit tests suite.  After a few minutes running Eclipse crashed and generated the attached log.
Comment 6 Samson Wai CLA 2006-03-20 09:48:18 EST
The performance issue has been fixed under bug 116692. The memory issue is a JVM heap size constraint. If the target application under profile is expected to consume extra memory then the JVM heap sizes should be increased when starting Eclipse (edit eclipse.ini and increase the "-Xms" and "-Xmx" parameters).


*** This bug has been marked as a duplicate of 116692 ***
Comment 7 Kathy Chan CLA 2010-11-18 23:41:45 EST
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.