Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

[EAP 606] Exception while profiling

Moderators: Vladimir Kondratyev, Anton Katilin

[EAP 606] Exception while profiling

Postby trojanfoe » Thu May 26, 2005 9:40 am

Hi there, I have been profile a web application running within JRun 4 on my Win XP Pro machine. I have collected the method invocation information from the running process and have been happily analysing it using the very nice IDE. However the JVM (1.5.0-b4) which is running JRun echoed the following message:

Code: Select all
# An unexpected error has been detected by HotSpot Virtual Machine:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00929a4e, pid=2596, tid=2148
# Java VM: Java HotSpot(TM) Server VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C  [yjpagent.dll+0x39a4e]
# An error report file with more information is saved as hs_err_pid2596.log
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

Here are the contents of the log file:

Code: Select all
# An unexpected error has been detected by HotSpot Virtual Machine:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00929a4e, pid=2596, tid=2148
# Java VM: Java HotSpot(TM) Server VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C  [yjpagent.dll+0x39a4e]

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

Current thread (0x00f9fc20):  JavaThread "Thread-0" daemon [_thread_in_native, id=2148]

siginfo: ExceptionCode=0xc0000005, writing address 0x183ec7e7

EAX=0x161dabf4, EBX=0x00946f40, ECX=0x183ec7df, EDX=0x161dac28
ESP=0x0f7cfad0, EBP=0x0f7cfad8, ESI=0x00946f3c, EDI=0x0f7cfb2c
EIP=0x00929a4e, EFLAGS=0x00010206

Top of Stack: (sp=0x0f7cfad0)
0x0f7cfad0:   0f7cfc40 00000030 0f7cfae4 009298a4
0x0f7cfae0:   00000030 0f7cfaf0 0092905d 00000030
0x0f7cfaf0:   0f7cfb30 00928a82 00000030 0f7cfc40
0x0f7cfb00:   0f7cfc40 00f9fcdc 0f7cfb54 0092c387
0x0f7cfb10:   00955b10 0f7cfafc 00000000 6d94478b
0x0f7cfb20:   161dac10 00000000 00959e94 6d94224e
0x0f7cfb30:   0f7cfb3c 00928aa8 00000030 0f7cfb78
0x0f7cfb40:   0090e3d5 00000030 0f7cfc40 00959e94

Instructions: (pc=0x00929a4e)
0x00929a3e:   51 04 eb 18 8b 48 08 89 51 04 89 4a 08 8b 48 04
0x00929a4e:   89 51 08 89 4a 04 89 15 74 5d 95 00 83 c0 04 eb

Stack: [0x0f6d0000,0x0f7d0000),  sp=0x0f7cfad0,  free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [yjpagent.dll+0x39a4e]
C  [yjpagent.dll+0x398a4]
C  [yjpagent.dll+0x3905d]
C  [yjpagent.dll+0x38a82]
C  [yjpagent.dll+0x38aa8]
C  [yjpagent.dll+0x1e3d5]
C  [yjpagent.dll+0x1dadb]
C  [yjpagent.dll+0x8d8a]
j  com.yourkit.runtime.Core.storeTelemetryRecord(J[J)V+0
j  com.yourkit.runtime.telemetry.TelemetryThread.runImpl()V+75
j  com.yourkit.runtime.telemetry.TelemetryThread.run()V+1
v  ~StubRoutines::call_stub
V  [jvm.dll+0xedcc0]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.yourkit.runtime.Core.storeTelemetryRecord(J[J)V+0
j  com.yourkit.runtime.telemetry.TelemetryThread.runImpl()V+75
j  com.yourkit.runtime.telemetry.TelemetryThread.run()V+1
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x108f14d8 JavaThread "RMI ConnectionExpiration-[]" daemon [_thread_blocked, id=960]
  0x0f69e3f8 JavaThread "RMI TCP Connection(114)-" daemon [_thread_in_native, id=2532]
  0x10868008 JavaThread "RMI RenewClean-[]" daemon [_thread_blocked, id=2320]
  0x108f1188 JavaThread "RMI ConnectionExpiration-[]" daemon [_thread_blocked, id=3704]
  0x106ccb78 JavaThread "RMI TCP Connection(113)-" daemon [_thread_in_native, id=3360]
  0x10c68008 JavaThread "RMI TCP Connection(112)-" daemon [_thread_in_native, id=3068]
  0x00f70e60 JavaThread "RMI TCP Connection(97)-" daemon [_thread_in_native, id=868]
  0x12e00c80 JavaThread "RMI TCP Connection(46)-" daemon [_thread_in_native, id=2652]
  0x1094d1e0 JavaThread "scheduler-3" [_thread_blocked, id=2264]
  0x107d94b0 JavaThread "jrpp-2" [_thread_in_native, id=440]
  0x0032ebf0 JavaThread "DestroyJavaVM" [_thread_blocked, id=3636]
  0x106d4ea8 JavaThread "scheduler-2" [_thread_blocked, id=2804]
  0x10723148 JavaThread "scheduler-1" [_thread_blocked, id=2268]
  0x10a6c9e0 JavaThread "obj-skimmer" daemon [_thread_blocked, id=3312]
  0x107b1d60 JavaThread "mipc-1" [_thread_in_native, id=2680]
  0x10930e38 JavaThread "Thread-6" [_thread_blocked, id=2732]
  0x10674330 JavaThread "jndi-6" [_thread_blocked, id=244]
  0x10673a08 JavaThread "jndi-5" [_thread_blocked, id=992]
  0x109399d8 JavaThread "clock" daemon [_thread_blocked, id=2716]
  0x106d7850 JavaThread "scheduler-0" [_thread_blocked, id=2608]
  0x106d7008 JavaThread "Transaction Domain PrivateJmsDomain" [_thread_blocked, id=2588]
  0x106a3950 JavaThread "Transaction Domain DefaultDomain" [_thread_blocked, id=2592]
  0x106a36d8 JavaThread "tyrex.util.daemonMaster" daemon [_thread_blocked, id=3400]
  0x0f5b2860 JavaThread "jndi-4" [_thread_blocked, id=2432]
  0x0f5b1dc8 JavaThread "jndi-3" [_thread_blocked, id=2440]
  0x10557e78 JavaThread "jndi-2" [_thread_in_native, id=3128]
  0x10557c10 JavaThread "jndi-1" [_thread_blocked, id=3876]
  0x10557758 JavaThread "jndi-0" [_thread_blocked, id=1532]
  0x105507c0 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=2820]
  0x1081d778 JavaThread "jms-fifo-5" [_thread_blocked, id=1984]
  0x106422f8 JavaThread "jms-fifo-4" [_thread_blocked, id=2672]
  0x10ab88b8 JavaThread "jms-fifo-3" [_thread_blocked, id=2668]
  0x1071ad58 JavaThread "jms-fifo-2" [_thread_blocked, id=2664]
  0x109db008 JavaThread "jms-fifo-1" [_thread_blocked, id=3484]
  0x0f585188 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2644]
  0x0f583d60 JavaThread "CompilerThread1" daemon [_thread_blocked, id=2144]
  0x0f582dd0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2612]
  0x0f581418 JavaThread "AdapterThread" daemon [_thread_blocked, id=2620]
  0x0f57a9c8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2632]
  0x0f579fc0 JavaThread "YJP CPU Sampler" daemon [_thread_blocked, id=2628]
  0x0f5f5f10 JavaThread "GC Daemon" daemon [_thread_blocked, id=2624]
  0x0f514270 JavaThread "RMI Reaper" daemon [_thread_blocked, id=2312]
  0x0f567cc8 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=2140]
  0x0f4f6e00 JavaThread "RMI TCP Accept-1255" daemon [_thread_in_native, id=1468]
  0x0f4f5dc0 JavaThread "Timer-0" daemon [_thread_blocked, id=328]
=>0x00f9fc20 JavaThread "Thread-0" daemon [_thread_in_native, id=2148]
  0x00f9ba18 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=3728]
  0x00f948b0 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=3976]
  0x00f8b7b0 JavaThread "Finalizer" daemon [_thread_blocked, id=2256]
  0x00f8ab20 JavaThread "Reference Handler" daemon [_thread_blocked, id=168]

Other Threads:
  0x00f87308 VMThread [id=2384]
  0x0f586618 WatcherThread [id=2648]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

 def new generation   total 3456K, used 631K [0x02fa0000, 0x03350000, 0x03dd0000)
  eden space 3136K,  18% used [0x02fa0000, 0x03030188, 0x032b0000)
  from space 320K,  17% used [0x03300000, 0x0330dd38, 0x03350000)
  to   space 320K,   0% used [0x032b0000, 0x032b0000, 0x03300000)
 tenured generation   total 29184K, used 4183K [0x03dd0000, 0x05a50000, 0x0afa0000)
   the space 29184K,  14% used [0x03dd0000, 0x041e5de8, 0x041e5e00, 0x05a50000)
 compacting perm gen  total 17408K, used 17321K [0x0afa0000, 0x0c0a0000, 0x0efa0000)
   the space 17408K,  99% used [0x0afa0000, 0x0c08a550, 0x0c08a600, 0x0c0a0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00410000    E:\JRun4.0\bin\jrun.exe
0x77f50000 - 0x77ff7000    C:\WINNT\System32\ntdll.dll
0x77e60000 - 0x77f46000    C:\WINNT\system32\kernel32.dll
0x77dd0000 - 0x77e5d000    C:\WINNT\system32\ADVAPI32.dll
0x78000000 - 0x78087000    C:\WINNT\system32\RPCRT4.dll
0x77c10000 - 0x77c63000    C:\WINNT\system32\MSVCRT.dll
0x6d840000 - 0x6dba7000    E:\jdk1.5.0\jre\bin\server\jvm.dll
0x77d40000 - 0x77dd0000    C:\WINNT\system32\USER32.dll
0x7f000000 - 0x7f041000    C:\WINNT\system32\GDI32.dll
0x76b40000 - 0x76b6c000    C:\WINNT\System32\WINMM.dll
0x6d280000 - 0x6d288000    E:\jdk1.5.0\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000    C:\WINNT\System32\PSAPI.DLL
0x6d380000 - 0x6d3b5000    E:\jdk1.5.0\jre\bin\jdwp.dll
0x008f0000 - 0x00967000    E:\YKJProfiler\bin\win32\yjpagent.dll
0x71ad0000 - 0x71ad8000    C:\WINNT\System32\WSOCK32.DLL
0x71ab0000 - 0x71ac5000    C:\WINNT\System32\WS2_32.dll
0x71aa0000 - 0x71aa8000    C:\WINNT\System32\WS2HELP.dll
0x6d610000 - 0x6d61c000    E:\jdk1.5.0\jre\bin\verify.dll
0x6d300000 - 0x6d31d000    E:\jdk1.5.0\jre\bin\java.dll
0x6d630000 - 0x6d63f000    E:\jdk1.5.0\jre\bin\zip.dll
0x6d220000 - 0x6d227000    E:\jdk1.5.0\jre\bin\dt_socket.dll
0x71a50000 - 0x71a8b000    C:\WINNT\system32\mswsock.dll
0x71a90000 - 0x71a98000    C:\WINNT\System32\wshtcpip.dll
0x6d4c0000 - 0x6d4d3000    E:\jdk1.5.0\jre\bin\net.dll
0x6d4b0000 - 0x6d4b8000    E:\jdk1.5.0\jre\bin\management.dll
0x0ffd0000 - 0x0fff3000    C:\WINNT\System32\rsaenh.dll
0x75a70000 - 0x75b15000    C:\WINNT\system32\USERENV.dll
0x71c20000 - 0x71c6e000    C:\WINNT\System32\netapi32.dll
0x76f20000 - 0x76f45000    C:\WINNT\System32\DNSAPI.dll
0x76fb0000 - 0x76fb7000    C:\WINNT\System32\winrnr.dll
0x76f60000 - 0x76f8c000    C:\WINNT\system32\WLDAP32.dll
0x76fc0000 - 0x76fc5000    C:\WINNT\System32\rasadhlp.dll
0x0ff00000 - 0x0ff0c000    E:\JRun4.0\bin\portscan.dll
0x6d5f0000 - 0x6d5f6000    E:\jdk1.5.0\jre\bin\rmi.dll
0x75f40000 - 0x75f5f000    C:\WINNT\system32\Apphelp.dll

VM Arguments:
jvm_args: -Xms32m -Xmx128m -Dsun.io.useCanonCaches=false -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,address=,suspend=n -agentlib:yjpagent=sessionname=JRun -Djmx.invoke.getters=true
java_command: <unknown>

Environment Variables:
PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel

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

OS: Windows XP Build 2600 Service Pack 1

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

Memory: 4k page, physical 523632k(53232k free), swap 1280152k(628632k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 02:42:57 by "java_re" with MS VC++ 6.0

Posts: 3
Joined: Thu May 26, 2005 9:35 am

Postby Vladimir Kondratyev » Thu Jun 16, 2005 4:25 pm

Hi Andy,

is the problem reproducible in latest EAP build #612?

Vladimir Kondratyev
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.