Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Using threadprof profiler crashes my JVM
Using threadprof profiler crashes my JVM [message #134856] Sat, 23 August 2008 23:25 Go to next message
Chris Jobson is currently offline Chris Jobson
Messages: 2
Registered: July 2009
Junior Member
hi

When I launch a Java App with these agent profiler args:

-agentlib:JPIBootLoader=JPIAgent:server=enabled;ThreadProf

then when I actually do anything in the JVM I get a JVM crash with this
crash log:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07037015, pid=7560,
tid=11452
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode)
# Problematic frame:
# C
#

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

Current thread (0x07353910): JavaThread "Reference Handler" daemon


siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x060b4ae4, EDX=0x060b4ae4
ESP=0x09a2f9dc, EBP=0x00000011, ESI=0x00000000, EDI=0x07064980
EIP=0x07037015, EFLAGS=0x00010246

Top of Stack: (sp=0x09a2f9dc)
0x09a2f9dc: 07064a50 09a2fa2c 06ed2b2d 07035438
0x09a2f9ec: 00000001 00000000 00800011 0739dee4
0x09a2f9fc: 09a2fa8c 073539d0 14671728 00000003
0x09a2fa0c: 060db18f 09a2fa2c 09a2fa80 06271a10
0x09a2fa1c: 09a2fb50 06125968 166275c0 00000000
0x09a2fa2c: 00000001 00000000 0000011d 00000000
0x09a2fa3c: 6d815b00 00800011 060da2ad 09a2fa80
0x09a2fa4c: 07064a50 00800011 0739dee0 073539d0

Instructions: (pc=0x07037015)
0x07037005: c8 e8 75 f3 ff ff 8b 4f 58 8b f0 8b 11 ff 52 08
0x07037015: 8b 06 8b 56 04 5f 5e 5b c2 08 00 8b 4f 58 33 f6


Stack:



Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.Object.wait(J)V+0
j java.lang.Object.wait()V+2
j java.lang.ref.Reference$ReferenceHandler.run()V+46
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x0a1568e0 JavaThread "http-4443-Monitor"
0x0a1a7d98 JavaThread "http-4443-Processor25" daemon
0x0a1a72b8 JavaThread "http-4443-Processor24" daemon
0x0a1a6790 JavaThread "http-4443-Processor23" daemon
0x0a1a6438 JavaThread "http-4443-Processor22" daemon
0x0a1a5100 JavaThread "http-4443-Processor21" daemon
0x0a1a45c8 JavaThread "http-4443-Processor20" daemon
0x0a1a3b48 JavaThread "http-4443-Processor19" daemon
0x0a1a3060 JavaThread "http-4443-Processor18" daemon
0x0a1a2550 JavaThread "http-4443-Processor17" daemon
0x0a198d48 JavaThread "http-4443-Processor16" daemon
0x0a198238 JavaThread "http-4443-Processor15" daemon
0x0a197728 JavaThread "http-4443-Processor14" daemon
0x0a196ca8 JavaThread "http-4443-Processor13" daemon
0x0a1a04a0 JavaThread "http-4443-Processor12" daemon
0x0a19f990 JavaThread "http-4443-Processor11" daemon
0x0a19f008 JavaThread "http-4443-Processor10" daemon
0x0a1944f8 JavaThread "http-4443-Processor9" daemon
0x0a1a1d90 JavaThread "http-4443-Processor8" daemon
0x0a1a1c08 JavaThread "http-4443-Processor7" daemon
0x0a152000 JavaThread "http-4443-Processor6" daemon
0x0a19c6a0 JavaThread "http-4443-Processor5" daemon
0x0a168d08 JavaThread "http-4443-Processor4" daemon
0x09b4c6a0 JavaThread "http-4443-Processor3" daemon
0x0a1a0930 JavaThread "http-4443-Processor2" daemon
0x0aa47cd0 JavaThread "http-4443-Processor1" daemon
0x0a1906d0 JavaThread "http-4040-Monitor"
0x0a18f8d8 JavaThread "http-4040-Processor25" daemon
0x0a18e9b0 JavaThread "http-4040-Processor24" daemon
0x0a18d910 JavaThread "http-4040-Processor23" daemon
0x0a18c930 JavaThread "http-4040-Processor22" daemon
0x0a18bc10 JavaThread "http-4040-Processor21" daemon
0x0a18aea0 JavaThread "http-4040-Processor20" daemon
0x0a18a300 JavaThread "http-4040-Processor19" daemon
0x0a1897f0 JavaThread "http-4040-Processor18" daemon
0x0a182a68 JavaThread "http-4040-Processor17" daemon
0x0a181e28 JavaThread "http-4040-Processor16" daemon
0x0a1812f8 JavaThread "http-4040-Processor15" daemon
0x0a1803e0 JavaThread "http-4040-Processor14" daemon
0x0a17f8d0 JavaThread "http-4040-Processor13" daemon
0x0a17e860 JavaThread "http-4040-Processor12" daemon
0x0a17dd40 JavaThread "http-4040-Processor11" daemon
0x0a17ca80 JavaThread "http-4040-Processor10" daemon
0x0a17bbe0 JavaThread "http-4040-Processor9" daemon
0x0a17b050 JavaThread "http-4040-Processor8" daemon
0x0a17a3e0 JavaThread "http-4040-Processor7" daemon
0x0a1798d8 JavaThread "http-4040-Processor6" daemon
0x0a178a10 JavaThread "http-4040-Processor5" daemon
0x0a177ff8 JavaThread "http-4040-Processor4" daemon
0x0a154e00 JavaThread "http-4040-Processor3" daemon
0x0a154348 JavaThread "http-4040-Processor2" daemon
0x0a171b08 JavaThread "http-4040-Processor1" daemon
0x0aa63b70 JavaThread
"ContainerBackgroundProcessor[StandardEngine]" daemon

0x0a3bf168 JavaThread "TaskScheduler:ExecuteThread" daemon

0x0aa33b38 JavaThread "TaskScheduler:ExecuteThread" daemon

0x0a3ceab0 JavaThread "Thread-80" daemon
0x0a3602f8 JavaThread "Scheduler(0:1)" daemon
0x09c40e80 JavaThread "Thread-78"
0x0a670d38 JavaThread "Thread-77"
0x0a424888 JavaThread "Thread-76"
0x09bab098 JavaThread "Thread-75"
0x0a64f008 JavaThread "Thread-74"
0x0a49f5e8 JavaThread "Thread-73"
0x0a491538 JavaThread "Thread-72"
0x0a444ca0 JavaThread "Thread-71"
0x0a421d88 JavaThread "Thread-70"
0x09c4b008 JavaThread "Thread-69"
0x0a781d50 JavaThread "Thread-67"
0x0a780650 JavaThread "Thread-68"
0x0a7811a8 JavaThread "Thread-66"
0x0a77fad0 JavaThread "Thread-65"
0x0a77ef50 JavaThread "Thread-64"
0x0a77e3d0 JavaThread "Thread-63"
0x0a77d850 JavaThread "Thread-61"
0x0a77ccd0 JavaThread "Thread-60"
0x0a77c150 JavaThread "Thread-59"
0x0a77b5d0 JavaThread "Thread-62"
0x0a77aa50 JavaThread "Thread-57"
0x0a779ed0 JavaThread "Thread-58"
0x0a779350 JavaThread "Thread-55"
0x0a7787d0 JavaThread "Thread-54"
0x0a777c50 JavaThread "Thread-53"
0x0a776fb0 JavaThread "Thread-56"
0x0a776430 JavaThread "Thread-52"
0x0a7758b0 JavaThread "Thread-51"
0x0a774d30 JavaThread "Thread-50"
0x0a774240 JavaThread "Thread-48"
0x0a7736c0 JavaThread "Thread-49"
0x0a772ab0 JavaThread "Thread-47"
0x0a771f78 JavaThread "Thread-46"
0x0a771440 JavaThread "Thread-45"
0x0a770908 JavaThread "Thread-44"
0x0a76fdd0 JavaThread "Thread-43"
0x0a76f328 JavaThread "Thread-42"
0x0a76e760 JavaThread "Thread-41"
0x0a76dc28 JavaThread "Thread-40"
0x0a76d0f0 JavaThread "Thread-39"
0x0a76c5b8 JavaThread "Thread-38"
0x0a76ba78 JavaThread "Thread-37"
0x0a76afd0 JavaThread "Thread-36"
0x0a76a430 JavaThread "Thread-35"
0x0a769920 JavaThread "Thread-34"
0x0a768e10 JavaThread "Thread-33"
0x0a768300 JavaThread "Thread-32"
0x0a7677f0 JavaThread "Thread-31"
0x0a766ce0 JavaThread "Thread-30"
0x0a7661d0 JavaThread "Thread-29"
0x0a7656c0 JavaThread "Thread-28"
0x0a764bb0 JavaThread "Thread-27"
0x0a7640a0 JavaThread "Thread-26"
0x0a762798 JavaThread "Thread-25"
0x0a760590 JavaThread "Thread-24"
0x0a754c20 JavaThread "Thread-23"
0x0a753808 JavaThread "Thread-22"
0x0a75cbc8 JavaThread "Thread-21"
0x0a75e978 JavaThread "Thread-20"
0x0a73e888 JavaThread "Thread-19"
0x0a755cf0 JavaThread "Thread-18"
0x0a75d4b0 JavaThread "Thread-17"
0x0a73f6f8 JavaThread "Thread-16"
0x0a74ddb0 JavaThread "Thread-15"
0x0a74e9b8 JavaThread "Thread-14"
0x0a739bb0 JavaThread "Thread-13"
0x0a75ed00 JavaThread "Thread-12"
0x0a742c10 JavaThread "Thread-11"
0x0a750f50 JavaThread "Thread-10"
0x0a750780 JavaThread "Thread-9"
0x0a731478 JavaThread "Thread-8"
0x0a739df0 JavaThread "Thread-7"
0x0a7307f0 JavaThread "Thread-6"
0x0a731b90 JavaThread "Thread-5"
0x0a443fb8 JavaThread "Thread-4"
0x0a443d90 JavaThread "Thread-3"
0x0a740158 JavaThread "Thread-2"
0x0a3cf968 JavaThread "Thread-1" daemon
0x09b30ff0 JavaThread "Low Memory Detector" daemon
0x09b31de0 JavaThread "CompilerThread0" daemon
0x07420238 JavaThread "Signal Dispatcher" daemon
0x0739c480 JavaThread "Finalizer" daemon
=>0x07353910 JavaThread "Reference Handler" daemon
0x00039580 JavaThread "main"

Other Threads:
0x0738b6c0 VMThread [id=10728]
0x07398a90 WatcherThread [id=10360]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 18176K, used 3134K [0x20020000, 0x213d0000,
0x213d0000)
eden space 16192K, 7% used [0x20020000, 0x2013fa50, 0x20ff0000)
from space 1984K, 100% used [0x20ff0000, 0x211e0000, 0x211e0000)
to space 1984K, 0% used [0x211e0000, 0x211e0000, 0x213d0000)
tenured generation total 241984K, used 59713K [0x213d0000, 0x30020000,
0x30020000)
the space 241984K, 24% used [0x213d0000, 0x24e205d0, 0x24e20600,
0x30020000)
compacting perm gen total 20480K, used 20331K [0x30020000, 0x31420000,
0x34020000)
the space 20480K, 99% used [0x30020000, 0x313faf80, 0x313fb000,
0x31420000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x004d5000
C:\work\SUP\server\uep\SQLAnywhere10\win32\mlsrv10.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x65100000 - 0x65191000
C:\work\SUP\server\uep\SQLAnywhere10\win32\mlodbc10.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\MSWSOCK.dll
0x773d0000 - 0x774d3000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595 b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x20000000 - 0x20017000 C:\WINDOWS\system32\odbcint.dll
0x10000000 - 0x100d6000
C:\work\SUP\server\uep\SQLAnywhere10\win32\dbicu10.dll
0x00b00000 - 0x00f06000
C:\work\SUP\server\uep\SQLAnywhere10\win32\dbicudt10.dll
0x65000000 - 0x650bf000
C:\work\SUP\server\uep\SQLAnywhere10\win32\dblgen10.dll
0x59a60000 - 0x59b01000 C:\WINDOWS\system32\DBGHELP.DLL
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x65480000 - 0x654f9000
C:\work\SUP\server\uep\SQLAnywhere10\win32\mlrsa_tls10.dll
0x055c0000 - 0x05698000
C:\work\SUP\server\uep\SQLAnywhere10\win32\dbodbc10.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\IpHlpApi.dll
0x5fe80000 - 0x5fe9b000 C:\WINDOWS\system32\odbccp32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77d00000 - 0x77d33000 C:\WINDOWS\system32\netman.dll
0x76d40000 - 0x76d58000 C:\WINDOWS\system32\MPRAPI.dll
0x77cc0000 - 0x77cf2000 C:\WINDOWS\system32\ACTIVEDS.dll
0x76e10000 - 0x76e35000 C:\WINDOWS\system32\adsldpc.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x76e80000 - 0x76e8e000 C:\WINDOWS\system32\rtutils.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x76400000 - 0x765a6000 C:\WINDOWS\system32\netshell.dll
0x76c00000 - 0x76c2e000 C:\WINDOWS\system32\credui.dll
0x76ee0000 - 0x76f1c000 C:\WINDOWS\system32\RASAPI32.dll
0x76e90000 - 0x76ea2000 C:\WINDOWS\system32\rasman.dll
0x76eb0000 - 0x76edf000 C:\WINDOWS\system32\TAPI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x771b0000 - 0x7725a000 C:\WINDOWS\system32\WININET.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x73030000 - 0x73040000 C:\WINDOWS\system32\WZCSAPI.DLL
0x77620000 - 0x7768e000 C:\WINDOWS\system32\WZCSvc.DLL
0x76d30000 - 0x76d34000 C:\WINDOWS\system32\WMI.dll
0x76d80000 - 0x76d9e000 C:\WINDOWS\system32\DHCPCSVC.DLL
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76f50000 - 0x76f58000 C:\WINDOWS\system32\WTSAPI32.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x606b0000 - 0x607bd000 C:\WINDOWS\system32\ESENT.dll
0x5dac0000 - 0x5dac8000 C:\WINDOWS\system32\rdpsnd.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x65200000 - 0x65245000
C:\work\SUP\server\uep\SQLAnywhere10\win32\mlsql10.dll
0x65280000 - 0x652d1000
C:\work\SUP\server\uep\SQLAnywhere10\win32\mljava10.dll
0x6d740000 - 0x6d8de000 c:\program
files\java\jdk1.5.0_15\jre\bin\client\jvm.dll
0x6d300000 - 0x6d308000 c:\program files\java\jdk1.5.0_15\jre\bin\hpi.dll
0x06070000 - 0x0608d000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPIBootLoader.dll
0x06090000 - 0x060a3000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \MartiniOSA.dll
0x060d0000 - 0x06113000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPI.dll
0x06ff0000 - 0x0701c000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPIAgent.dll
0x07030000 - 0x0706a000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ThreadProf.dll
0x07080000 - 0x0709c000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ACCollector.dll
0x070a0000 - 0x070c1000 c:\tmp\agentcontroller\bin\AgentBase.dll
0x070d0000 - 0x070e4000 c:\tmp\agentcontroller\bin\transportSupport.dll
0x070f0000 - 0x0711b000 c:\tmp\agentcontroller\bin\tptpUtils.dll
0x12000000 - 0x12241000 c:\tmp\agentcontroller\bin\xerces-c_2_6.dll
0x07120000 - 0x07133000 c:\tmp\agentcontroller\bin\hcclco.dll
0x07140000 - 0x07153000 c:\tmp\agentcontroller\bin\hcclsm.dll
0x07160000 - 0x0717b000 c:\tmp\agentcontroller\bin\tptpConfig.dll
0x07180000 - 0x07190000 c:\tmp\agentcontroller\bin\processControlUtil.dll
0x07190000 - 0x0719f000 c:\tmp\agentcontroller\bin\tptpLogUtils.dll
0x07430000 - 0x0743e000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ThreadAdaptor.dll
0x07450000 - 0x074d4000
c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JIE.dll
0x6d710000 - 0x6d71c000 c:\program
files\java\jdk1.5.0_15\jre\bin\verify.dll
0x6d380000 - 0x6d39d000 c:\program files\java\jdk1.5.0_15\jre\bin\java.dll
0x6d730000 - 0x6d73f000 c:\program files\java\jdk1.5.0_15\jre\bin\zip.dll
0x65380000 - 0x653d1000
C:\work\SUP\server\uep\SQLAnywhere10\win32\dbjodbc10.dll
0x6d540000 - 0x6d553000 C:\Program Files\Java\jdk1.5.0_15\jre\bin\net.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll
0x0af40000 - 0x0af4f000 C:\work\SUP\server\uep\dll\csi-nativeos-nt386.dll

VM Arguments:
jvm_args: vfprintf -Xss256k -Dsun.io.useCanonCaches=false
-Djava.endorsed.dirs=.\tomcat\common\endorsed -Dcatalina.base=.\tomcat
-Dcatalina.home=.\tomcat -Djava.io.tmpdir=.\tomcat\temp
-Djava.util.logging.config.file=.\tomcat\webapps\onepage\con fig\logging.properties
-Dlog4j.configuration=.\tomcat\webapps\onepage\config\log4j. properties
-Djava.library.path=.\dll;.\SQLAnywhere10\win32
-DMLStartClasses=com.sybase.ep.ml.scripts.TomcatStartClass
-Dcom.sybase.security.LogWarningsAtLevel=DEBUG -Xms256m -Xmx256m
-agentlib:JPIBootLoader=JPIAgent:server=enabled;ThreadProf
-DiAnywhere.MobiLink.Notifier=null_notifier_str
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=c:\program files\java\jdk1.5.0_15
CLASSPATH=/html/classes;/java/classes;.;/jConnect-5_5/classe s/jconn2;/jConnect-4_2/classes
PATH=c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javapro filer;c:\tmp\agentcontroller\bin;C:\Program
Files/GNU/bin;C:/PROGRA~1/MKSTOO~1/mksnt;c:\program
files\java\jdk1.5.0_15/bin;H://ep_scripts;c:\work\apache-ant -1.7.1\bin;c:\program
files\java\jdk1.5.0_15\bin;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGR A~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\s ystem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\program
files\Sysinternals;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program
Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere
9\drivers;C:\Program Files\Sybase\Shared\Sybase Central
4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program
Files\Sybase\InfoMaker 9.0\Tutorial;C:\Program Files\MD5Sums;C:\Program
Files\Rational\Attache\bin;C:\Program
Files\Hummingbird\Connectivity\11.00\Accessories\;;;.
USERNAME=jobson
SHELL=C:/Program Files/MKS Toolkit/mksnt/sh.exe
DISPLAY=:0.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 4
stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3

Memory: 4k page, physical 2086980k(808224k free), swap 3239376k(1610072k
free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_15-b04) for windows-x86, built
on Feb 9 2008 01:07:28 by "java_re" with MS VC++ 6.0

============================================================ ==================

This happens every time.

JVM works fine without agent profiling. It also works just fine when
using CGProf - just ThreadProf seems to bring it down.

Any suggestions for how I might workaround this issue? Or what I might do
to help debug the problem?

thanks

Chris
Re: Using threadprof profiler crashes my JVM [message #134914 is a reply to message #134856] Mon, 25 August 2008 13:43 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Chris,

I have filed Bug 245115 for the team to take a look at the problem. Please
feel free to add yourself to the bug entry for monitoring and feedback.
Does the problem happens with JVM 1.6? Does it work if you launch your
application from Eclipse workbench in profile mode with Thread Analysis?

Eugene

"Chris Jobson" <jobson@sybase.com> wrote in message
news:497fff60173ed9fbe4f1d6428a273b6a$1@www.eclipse.org...
> hi
>
> When I launch a Java App with these agent profiler args:
>
> -agentlib:JPIBootLoader=JPIAgent:server=enabled;ThreadProf
>
> then when I actually do anything in the JVM I get a JVM crash with this
> crash log:
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07037015, pid=7560,
> tid=11452
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode)
> # Problematic frame:
> # C
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x07353910): JavaThread "Reference Handler" daemon
>
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>
> Registers:
> EAX=0x00000000, EBX=0x00000000, ECX=0x060b4ae4, EDX=0x060b4ae4
> ESP=0x09a2f9dc, EBP=0x00000011, ESI=0x00000000, EDI=0x07064980
> EIP=0x07037015, EFLAGS=0x00010246
>
> Top of Stack: (sp=0x09a2f9dc)
> 0x09a2f9dc: 07064a50 09a2fa2c 06ed2b2d 07035438
> 0x09a2f9ec: 00000001 00000000 00800011 0739dee4
> 0x09a2f9fc: 09a2fa8c 073539d0 14671728 00000003
> 0x09a2fa0c: 060db18f 09a2fa2c 09a2fa80 06271a10
> 0x09a2fa1c: 09a2fb50 06125968 166275c0 00000000
> 0x09a2fa2c: 00000001 00000000 0000011d 00000000
> 0x09a2fa3c: 6d815b00 00800011 060da2ad 09a2fa80
> 0x09a2fa4c: 07064a50 00800011 0739dee0 073539d0
> Instructions: (pc=0x07037015)
> 0x07037005: c8 e8 75 f3 ff ff 8b 4f 58 8b f0 8b 11 ff 52 08
> 0x07037015: 8b 06 8b 56 04 5f 5e 5b c2 08 00 8b 4f 58 33 f6
>
> Stack:
>
>
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j java.lang.Object.wait(J)V+0
> j java.lang.Object.wait()V+2
> j java.lang.ref.Reference$ReferenceHandler.run()V+46
> v ~StubRoutines::call_stub
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
> 0x0a1568e0 JavaThread "http-4443-Monitor"
> 0x0a1a7d98 JavaThread "http-4443-Processor25" daemon
> 0x0a1a72b8 JavaThread "http-4443-Processor24" daemon
> 0x0a1a6790 JavaThread "http-4443-Processor23" daemon
> 0x0a1a6438 JavaThread "http-4443-Processor22" daemon
> 0x0a1a5100 JavaThread "http-4443-Processor21" daemon
> 0x0a1a45c8 JavaThread "http-4443-Processor20" daemon
> 0x0a1a3b48 JavaThread "http-4443-Processor19" daemon
> 0x0a1a3060 JavaThread "http-4443-Processor18" daemon
> 0x0a1a2550 JavaThread "http-4443-Processor17" daemon
> 0x0a198d48 JavaThread "http-4443-Processor16" daemon
> 0x0a198238 JavaThread "http-4443-Processor15" daemon
> 0x0a197728 JavaThread "http-4443-Processor14" daemon
> 0x0a196ca8 JavaThread "http-4443-Processor13" daemon
> 0x0a1a04a0 JavaThread "http-4443-Processor12" daemon
> 0x0a19f990 JavaThread "http-4443-Processor11" daemon
> 0x0a19f008 JavaThread "http-4443-Processor10" daemon
> 0x0a1944f8 JavaThread "http-4443-Processor9" daemon
> 0x0a1a1d90 JavaThread "http-4443-Processor8" daemon
> 0x0a1a1c08 JavaThread "http-4443-Processor7" daemon
> 0x0a152000 JavaThread "http-4443-Processor6" daemon
> 0x0a19c6a0 JavaThread "http-4443-Processor5" daemon
> 0x0a168d08 JavaThread "http-4443-Processor4" daemon
> 0x09b4c6a0 JavaThread "http-4443-Processor3" daemon
> 0x0a1a0930 JavaThread "http-4443-Processor2" daemon
> 0x0aa47cd0 JavaThread "http-4443-Processor1" daemon
> 0x0a1906d0 JavaThread "http-4040-Monitor"
> 0x0a18f8d8 JavaThread "http-4040-Processor25" daemon
> 0x0a18e9b0 JavaThread "http-4040-Processor24" daemon
> 0x0a18d910 JavaThread "http-4040-Processor23" daemon
> 0x0a18c930 JavaThread "http-4040-Processor22" daemon
> 0x0a18bc10 JavaThread "http-4040-Processor21" daemon
> 0x0a18aea0 JavaThread "http-4040-Processor20" daemon
> 0x0a18a300 JavaThread "http-4040-Processor19" daemon
> 0x0a1897f0 JavaThread "http-4040-Processor18" daemon
> 0x0a182a68 JavaThread "http-4040-Processor17" daemon
> 0x0a181e28 JavaThread "http-4040-Processor16" daemon
> 0x0a1812f8 JavaThread "http-4040-Processor15" daemon
> 0x0a1803e0 JavaThread "http-4040-Processor14" daemon
> 0x0a17f8d0 JavaThread "http-4040-Processor13" daemon
> 0x0a17e860 JavaThread "http-4040-Processor12" daemon
> 0x0a17dd40 JavaThread "http-4040-Processor11" daemon
> 0x0a17ca80 JavaThread "http-4040-Processor10" daemon
> 0x0a17bbe0 JavaThread "http-4040-Processor9" daemon
> 0x0a17b050 JavaThread "http-4040-Processor8" daemon
> 0x0a17a3e0 JavaThread "http-4040-Processor7" daemon
> 0x0a1798d8 JavaThread "http-4040-Processor6" daemon
> 0x0a178a10 JavaThread "http-4040-Processor5" daemon
> 0x0a177ff8 JavaThread "http-4040-Processor4" daemon
> 0x0a154e00 JavaThread "http-4040-Processor3" daemon
> 0x0a154348 JavaThread "http-4040-Processor2" daemon
> 0x0a171b08 JavaThread "http-4040-Processor1" daemon
> 0x0aa63b70 JavaThread
> "ContainerBackgroundProcessor[StandardEngine]" daemon
>
> 0x0a3bf168 JavaThread "TaskScheduler:ExecuteThread" daemon
>
> 0x0aa33b38 JavaThread "TaskScheduler:ExecuteThread" daemon
>
> 0x0a3ceab0 JavaThread "Thread-80" daemon
> 0x0a3602f8 JavaThread "Scheduler(0:1)" daemon
> 0x09c40e80 JavaThread "Thread-78"
> 0x0a670d38 JavaThread "Thread-77"
> 0x0a424888 JavaThread "Thread-76"
> 0x09bab098 JavaThread "Thread-75"
> 0x0a64f008 JavaThread "Thread-74"
> 0x0a49f5e8 JavaThread "Thread-73"
> 0x0a491538 JavaThread "Thread-72"
> 0x0a444ca0 JavaThread "Thread-71"
> 0x0a421d88 JavaThread "Thread-70"
> 0x09c4b008 JavaThread "Thread-69"
> 0x0a781d50 JavaThread "Thread-67"
> 0x0a780650 JavaThread "Thread-68"
> 0x0a7811a8 JavaThread "Thread-66"
> 0x0a77fad0 JavaThread "Thread-65"
> 0x0a77ef50 JavaThread "Thread-64"
> 0x0a77e3d0 JavaThread "Thread-63"
> 0x0a77d850 JavaThread "Thread-61"
> 0x0a77ccd0 JavaThread "Thread-60"
> 0x0a77c150 JavaThread "Thread-59"
> 0x0a77b5d0 JavaThread "Thread-62"
> 0x0a77aa50 JavaThread "Thread-57"
> 0x0a779ed0 JavaThread "Thread-58"
> 0x0a779350 JavaThread "Thread-55"
> 0x0a7787d0 JavaThread "Thread-54"
> 0x0a777c50 JavaThread "Thread-53"
> 0x0a776fb0 JavaThread "Thread-56"
> 0x0a776430 JavaThread "Thread-52"
> 0x0a7758b0 JavaThread "Thread-51"
> 0x0a774d30 JavaThread "Thread-50"
> 0x0a774240 JavaThread "Thread-48"
> 0x0a7736c0 JavaThread "Thread-49"
> 0x0a772ab0 JavaThread "Thread-47"
> 0x0a771f78 JavaThread "Thread-46"
> 0x0a771440 JavaThread "Thread-45"
> 0x0a770908 JavaThread "Thread-44"
> 0x0a76fdd0 JavaThread "Thread-43"
> 0x0a76f328 JavaThread "Thread-42"
> 0x0a76e760 JavaThread "Thread-41"
> 0x0a76dc28 JavaThread "Thread-40"
> 0x0a76d0f0 JavaThread "Thread-39"
> 0x0a76c5b8 JavaThread "Thread-38"
> 0x0a76ba78 JavaThread "Thread-37"
> 0x0a76afd0 JavaThread "Thread-36"
> 0x0a76a430 JavaThread "Thread-35"
> 0x0a769920 JavaThread "Thread-34"
> 0x0a768e10 JavaThread "Thread-33"
> 0x0a768300 JavaThread "Thread-32"
> 0x0a7677f0 JavaThread "Thread-31"
> 0x0a766ce0 JavaThread "Thread-30"
> 0x0a7661d0 JavaThread "Thread-29"
> 0x0a7656c0 JavaThread "Thread-28"
> 0x0a764bb0 JavaThread "Thread-27"
> 0x0a7640a0 JavaThread "Thread-26"
> 0x0a762798 JavaThread "Thread-25"
> 0x0a760590 JavaThread "Thread-24"
> 0x0a754c20 JavaThread "Thread-23"
> 0x0a753808 JavaThread "Thread-22"
> 0x0a75cbc8 JavaThread "Thread-21"
> 0x0a75e978 JavaThread "Thread-20"
> 0x0a73e888 JavaThread "Thread-19"
> 0x0a755cf0 JavaThread "Thread-18"
> 0x0a75d4b0 JavaThread "Thread-17"
> 0x0a73f6f8 JavaThread "Thread-16"
> 0x0a74ddb0 JavaThread "Thread-15"
> 0x0a74e9b8 JavaThread "Thread-14"
> 0x0a739bb0 JavaThread "Thread-13"
> 0x0a75ed00 JavaThread "Thread-12"
> 0x0a742c10 JavaThread "Thread-11"
> 0x0a750f50 JavaThread "Thread-10"
> 0x0a750780 JavaThread "Thread-9"
> 0x0a731478 JavaThread "Thread-8"
> 0x0a739df0 JavaThread "Thread-7"
> 0x0a7307f0 JavaThread "Thread-6"
> 0x0a731b90 JavaThread "Thread-5"
> 0x0a443fb8 JavaThread "Thread-4"
> 0x0a443d90 JavaThread "Thread-3"
> 0x0a740158 JavaThread "Thread-2"
> 0x0a3cf968 JavaThread "Thread-1" daemon
> 0x09b30ff0 JavaThread "Low Memory Detector" daemon
> 0x09b31de0 JavaThread "CompilerThread0" daemon
> 0x07420238 JavaThread "Signal Dispatcher" daemon
> 0x0739c480 JavaThread "Finalizer" daemon
> =>0x07353910 JavaThread "Reference Handler" daemon
> 0x00039580 JavaThread "main"
>
> Other Threads:
> 0x0738b6c0 VMThread [id=10728]
> 0x07398a90 WatcherThread [id=10360]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> def new generation total 18176K, used 3134K [0x20020000, 0x213d0000,
> 0x213d0000)
> eden space 16192K, 7% used [0x20020000, 0x2013fa50, 0x20ff0000)
> from space 1984K, 100% used [0x20ff0000, 0x211e0000, 0x211e0000)
> to space 1984K, 0% used [0x211e0000, 0x211e0000, 0x213d0000)
> tenured generation total 241984K, used 59713K [0x213d0000, 0x30020000,
> 0x30020000)
> the space 241984K, 24% used [0x213d0000, 0x24e205d0, 0x24e20600,
> 0x30020000)
> compacting perm gen total 20480K, used 20331K [0x30020000, 0x31420000,
> 0x34020000)
> the space 20480K, 99% used [0x30020000, 0x313faf80, 0x313fb000,
> 0x31420000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x004d5000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\mlsrv10.exe
> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
> 0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
> 0x65100000 - 0x65191000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\mlodbc10.dll
> 0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
> 0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
> 0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
> 0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
> 0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
> 0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
> 0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
> 0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
> 0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
> 0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\MSWSOCK.dll
> 0x773d0000 - 0x774d3000
> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595 b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
> 0x20000000 - 0x20017000 C:\WINDOWS\system32\odbcint.dll
> 0x10000000 - 0x100d6000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\dbicu10.dll
> 0x00b00000 - 0x00f06000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\dbicudt10.dll
> 0x65000000 - 0x650bf000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\dblgen10.dll
> 0x59a60000 - 0x59b01000 C:\WINDOWS\system32\DBGHELP.DLL
> 0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
> 0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
> 0x65480000 - 0x654f9000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\mlrsa_tls10.dll
> 0x055c0000 - 0x05698000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\dbodbc10.dll
> 0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
> 0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
> 0x76d60000 - 0x76d79000 C:\WINDOWS\system32\IpHlpApi.dll
> 0x5fe80000 - 0x5fe9b000 C:\WINDOWS\system32\odbccp32.dll
> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
> 0x77d00000 - 0x77d33000 C:\WINDOWS\system32\netman.dll
> 0x76d40000 - 0x76d58000 C:\WINDOWS\system32\MPRAPI.dll
> 0x77cc0000 - 0x77cf2000 C:\WINDOWS\system32\ACTIVEDS.dll
> 0x76e10000 - 0x76e35000 C:\WINDOWS\system32\adsldpc.dll
> 0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
> 0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
> 0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
> 0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
> 0x76e80000 - 0x76e8e000 C:\WINDOWS\system32\rtutils.dll
> 0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll
> 0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
> 0x76400000 - 0x765a6000 C:\WINDOWS\system32\netshell.dll
> 0x76c00000 - 0x76c2e000 C:\WINDOWS\system32\credui.dll
> 0x76ee0000 - 0x76f1c000 C:\WINDOWS\system32\RASAPI32.dll
> 0x76e90000 - 0x76ea2000 C:\WINDOWS\system32\rasman.dll
> 0x76eb0000 - 0x76edf000 C:\WINDOWS\system32\TAPI32.dll
> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
> 0x771b0000 - 0x7725a000 C:\WINDOWS\system32\WININET.dll
> 0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
> 0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
> 0x73030000 - 0x73040000 C:\WINDOWS\system32\WZCSAPI.DLL
> 0x77620000 - 0x7768e000 C:\WINDOWS\system32\WZCSvc.DLL
> 0x76d30000 - 0x76d34000 C:\WINDOWS\system32\WMI.dll
> 0x76d80000 - 0x76d9e000 C:\WINDOWS\system32\DHCPCSVC.DLL
> 0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
> 0x76f50000 - 0x76f58000 C:\WINDOWS\system32\WTSAPI32.dll
> 0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
> 0x606b0000 - 0x607bd000 C:\WINDOWS\system32\ESENT.dll
> 0x5dac0000 - 0x5dac8000 C:\WINDOWS\system32\rdpsnd.dll
> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
> 0x65200000 - 0x65245000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\mlsql10.dll
> 0x65280000 - 0x652d1000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\mljava10.dll
> 0x6d740000 - 0x6d8de000 c:\program
> files\java\jdk1.5.0_15\jre\bin\client\jvm.dll
> 0x6d300000 - 0x6d308000 c:\program files\java\jdk1.5.0_15\jre\bin\hpi.dll
> 0x06070000 - 0x0608d000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPIBootLoader.dll
> 0x06090000 - 0x060a3000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \MartiniOSA.dll
> 0x060d0000 - 0x06113000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPI.dll
> 0x06ff0000 - 0x0701c000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JPIAgent.dll
> 0x07030000 - 0x0706a000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ThreadProf.dll
> 0x07080000 - 0x0709c000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ACCollector.dll
> 0x070a0000 - 0x070c1000 c:\tmp\agentcontroller\bin\AgentBase.dll
> 0x070d0000 - 0x070e4000 c:\tmp\agentcontroller\bin\transportSupport.dll
> 0x070f0000 - 0x0711b000 c:\tmp\agentcontroller\bin\tptpUtils.dll
> 0x12000000 - 0x12241000 c:\tmp\agentcontroller\bin\xerces-c_2_6.dll
> 0x07120000 - 0x07133000 c:\tmp\agentcontroller\bin\hcclco.dll
> 0x07140000 - 0x07153000 c:\tmp\agentcontroller\bin\hcclsm.dll
> 0x07160000 - 0x0717b000 c:\tmp\agentcontroller\bin\tptpConfig.dll
> 0x07180000 - 0x07190000 c:\tmp\agentcontroller\bin\processControlUtil.dll
> 0x07190000 - 0x0719f000 c:\tmp\agentcontroller\bin\tptpLogUtils.dll
> 0x07430000 - 0x0743e000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \ThreadAdaptor.dll
> 0x07450000 - 0x074d4000
> c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javaprofiler \JIE.dll
> 0x6d710000 - 0x6d71c000 c:\program
> files\java\jdk1.5.0_15\jre\bin\verify.dll
> 0x6d380000 - 0x6d39d000 c:\program files\java\jdk1.5.0_15\jre\bin\java.dll
> 0x6d730000 - 0x6d73f000 c:\program files\java\jdk1.5.0_15\jre\bin\zip.dll
> 0x65380000 - 0x653d1000
> C:\work\SUP\server\uep\SQLAnywhere10\win32\dbjodbc10.dll
> 0x6d540000 - 0x6d553000 C:\Program Files\Java\jdk1.5.0_15\jre\bin\net.dll
> 0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
> 0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
> 0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
> 0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
> 0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll
> 0x0af40000 - 0x0af4f000 C:\work\SUP\server\uep\dll\csi-nativeos-nt386.dll
>
> VM Arguments:
> jvm_args:
> vfprintf -Xss256k -Dsun.io.useCanonCaches=false -Djava.endorsed.dirs=.\tomcat\common\endorsed
> -Dcatalina.base=.\tomcat -Dcatalina.home=.\tomcat -Djava.io.tmpdir=.\tomcat\temp
> -Djava.util.logging.config.file=.\tomcat\webapps\onepage\con fig\logging.properties -Dlog4j.configuration=.\tomcat\webapps\onepage\config\log4j. properties -Djava.library.path=.\dll;.\SQLAnywhere10\win32 -DMLStartClasses=com.sybase.ep.ml.scripts.TomcatStartClass -Dcom.sybase.security.LogWarningsAtLevel=DEBUG -Xms256m -Xmx256m -agentlib:JPIBootLoader=JPIAgent:server=enabled;ThreadProf -DiAnywhere.MobiLink.Notifier=null_notifier_str> java_command: <unknown>> Launcher Type: generic>> Environment Variables:> JAVA_HOME=c:\program files\java\jdk1.5.0_15> CLASSPATH=/html/classes;/java/classes;.;/jConnect-5_5/classe s/jconn2;/jConnect-4_2/classes > PATH=c:\tmp\agentcontroller\plugins\org.eclipse.tptp.javapro filer;c:\tmp\agentcontroller\bin;C:\ProgramFiles/GNU/bin;C:/ PROGRA~1/MKSTOO~1/mksnt;c:\programfiles\java\jdk1.5.0_15/bin ;H://ep_scripts;c:\work\apache-ant-1.7.1\bin;c:\programfiles \java\jdk1.5.0_15\bin;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\M KSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system 32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\program files\Sysinternals;C:\Program Files\Sybase\SQLAnywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\ProgramFiles\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\SybaseCentral 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\ProgramFiles\Sybase\Info Maker 9.0\Tutorial;C:\Program Files\MD5Sums;C:\ProgramFiles\Rational\Attache\bin;C:\Progra mFiles\Hummingbird\Connectivity\11.00\Accessories\;;;. > USERNAME=jobson> SHELL=C:/Program Files/MKS Toolkit/mksnt/sh.exe> DISPLAY=:0.0> OS=Windows_NT> PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel>>>> --------------- S Y S T E M --------------->> OS: Windows XP Build 2600 Service Pack 2>> CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 4stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3>> Memory: 4k page, physical 2086980k(808224k free), swap 3239376k(1610072kfree)>> vm_info: Java HotSpot(TM) Client VM (1.5.0_15-b04) for windows-x86, builton Feb 9 2008 01:07:28 by "java_re" with MS VC++ 6.0>> ============================================================ ================== >> This happens every time.>> JVM works fine without agent profiling. It also works just fine whenusing CGProf - just ThreadProf seems to bring it down.>> Any suggestions for how I might workaround this issue? Or what I might doto help debug the problem?>> thanks>> Chris>>>
Re: Using threadprof profiler crashes my JVM [message #134975 is a reply to message #134914] Mon, 25 August 2008 22:27 Go to previous messageGo to next message
Chris Jobson is currently offline Chris Jobson
Messages: 2
Registered: July 2009
Junior Member
hi

I haven't tried Java 1.6 and that might be a little tricky. The JVM is
launched indirectly by an initial startup windwos application, which
passes all the necessary JVM args to the JVM. The startup windows app
runs as a server and invokes java classes in the JVM as it handles
incoming requests. The JVM crash happens after such a request is received
and processing of it has started.

As mentioned in the earlier post, this all works fine for CGprof; it is
also fine for HeapProf. JProfiler works fine with this as well (as far as
I am aware). It just seems to be ThreadProf that causes the crash.

If I get the chance I'll look at an earlier TPTP release and see if that
works or not. I'll also see if I can track down exactly where in the
processing this happens, but I won't be able to do much more on this till
middle next week now due to other commitments.

thanks

chris
Re: Using threadprof profiler crashes my JVM [message #134984 is a reply to message #134856] Tue, 26 August 2008 07:14 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Chris,

Can you enable logging and post the generated log file here?

To enable logging, define the following environment variables at the
machine level:

set MARTINI_LOGGER_DIRECTORY=<full path to an existing directory>
set MARTINI_LOGGER_LOG_LEVEL=5

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Sources for libperflin.so, librac.so, LinuxAgent.
Next Topic:Same code but 10 times the base time
Goto Forum:
  


Current Time: Mon Sep 22 08:15:20 GMT 2014

Powered by FUDForum. Page generated in 0.01929 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software