• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • DSO:L1
  • hhuynh
  • Reporter: hhuynh
  • May 27, 2007
  • 0
  • Watchers: 0
  • March 27, 2008
  • September 14, 2007

Attachments

Description

The same error occurs for jdk1.5.0_11 and jdk1.6.0_01

Working directory: C:\Program Files\Terracotta\terracotta-trunk-nightly-rev3308\samples\pojo\jtable Executed call: C:\jdk\jdk1.5.0_11\bin\javaw.exe -agentlib:jprofilerti=port=31757 “-Xbootclasspath/p:c:\Program Files\Terracotta\terracotta-trunk-nightly-rev3308\bin..\lib\dso-boot\dso-boot-hotspot_win32_150_11.jar” “-Dtc.install-root=c:\Program Files\Terracotta\terracotta-trunk-nightly-rev3308\bin..” -Dtc.config=tc-config.xml “-Xbootclasspath/a:C:\Program Files\jprofiler5\bin\agent.jar” -classpath “C:\Program Files\Terracotta\terracotta-trunk-nightly-rev3308\samples\pojo\jtable\classes” demo.jtable.Main

JProfiler> Protocol version 24 JProfiler> Using JVMTI JProfiler> 32-bit library JProfiler> Listening on port: 31757. JProfiler> Native library initialized JProfiler> Hotspot compiler enabled JProfiler> Starting com/tc/net/NIOWorkarounds …

JProfiler> Waiting for a connection from the JProfiler GUI … #

An unexpected error has been detected by HotSpot Virtual Machine:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6874fa03, pid=9460, tid=6608

#

Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)

Problematic frame:

C [jprofilerti.dll+0x4fa03]

#

An error report file with more information is saved as hs_err_pid9460.log

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

#

Comments

Anders Bengtsson 2007-05-28

This is the error I’m getting, with JProfiler 4. I’ve tried to re-arrange the bootclasspath stuff in lots of different combinations, but always getting this same error.

/usr/java/jdk1.5.0_11/bin/java -agentlib:jprofilerti=port=34505 -Xbootclasspath/a:/home/anders/jprofiler4/bin/agent.jar -Xbootclasspath/p:/home/anders/terracotta-2.3.0/lib/dso-boot/dso-boot-hotspot_linux_150_11.jar -Dtc.install-root=/home/anders/terracotta-2.3.0 -Dtc.config=pr-yggdrasil/config/tc.xml -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=9999 -Dmonitor.jmx.rmi.port=3000 -Dcom.sun.management.jmxremote -Xmx400m -Xms400m -Didea.launcher.port=7533 -Didea.launcher.bin.path=/home/anders/idea-6180/bin -Dfile.encoding=ISO-8859-1 -classpath /usr/java/jdk1.5.0_11/jre/lib/jce.jar:/usr/java/jdk1.5.0_11/jre/lib/javaws.jar:/usr/java/jdk1.5.0_11/jre/lib/jsse.jar:/usr/java/jdk1.5.0_11/jre/lib/deploy.jar:/usr/java/jdk1.5.0_11/jre/lib/charsets.jar:/usr/java/jdk1.5.0_11/jre/lib/plugin.jar:/usr/java/jdk1.5.0_11/jre/lib/rt.jar:/usr/java/jdk1.5.0_11/jre/lib/ext/sunjce_provider.jar:/usr/java/jdk1.5.0_11/jre/lib/ext/sunpkcs11.jar:/usr/java/jdk1.5.0_11/jre/lib/ext/dnsns.jar:/usr/java/jdk1.5.0_11/jre/lib/ext/localedata.jar:/home/anders/perforce/pr/pr-yggdrasil/build/test/classes:/home/anders/perforce/pr/pr-yggdrasil/build/prod/classes:/home/anders/perforce/pr/lib/ojdbc14.jar:/home/anders/perforce/pr/lib/junit-4.1.jar:/home/anders/perforce/pr/lib/log4j-1.2.14.jar:/home/anders/perforce/pr/pr-cluster/classes:/home/anders/perforce/pr/pr-util/classes:/home/anders/perforce/pr/lib/jmock-1.1.0.jar:/home/anders/perforce/pr/pr-yggdrasil/lib/jruby/jruby-1.0RC2.jar:/home/anders/perforce/pr/pr-yggdrasil/lib/jruby/backport-util-concurrent.jar:/home/anders/perforce/pr/lib/ehcache-1.2.4.jar:/home/anders/perforce/pr/lib/commons-logging-1.0.4.jar:/home/anders/perforce/pr/pr-yggdrasil-common/classes:/home/anders/idea-6180/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain com.pricerunner.yggdrasil.Main JProfiler> Protocol version 21 JProfiler> Using JVMTI JProfiler> 32-bit library JProfiler> Listening on port: 34505. JProfiler> Native library initialized JProfiler> Hotspot compiler enabled JProfiler> A different instance of the native library has been JProfiler> loaded. Please check the appropriate environment JProfiler> variable. (PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH) JProfiler> Exiting.

Eugene Kuleshov 2007-05-28

Anders, have you tried to report this problem to JProfiler folks? They may have better idea about the meaning of this error.

orion 2007-09-14

Anders reports that this has been fixed:

Hi,

Just thought I should let you know:

I asked some time ago about profilers that work with Terracotta clients, in particular JProfiler which we already had. We reported JProfiler’s problems with Terracotta to the JProfiler support. They have fixed it, so the version of JProfiler they have available for download now (5.0.1 with some hot-fix) works fine with Terracotta.

/Anders