Thanks for the bug report. We
had not seen this one on our 1.4.2 JVM.
I just downloaded the same JVM and I
get a nearly identical failure. We
will be sure to fix this before we put
out the next version of the patch next
week. Thanks again for the information.
WBI Performance II
IBM Corp, Austin, TX
Reply to: email@example.com
Phone: (512) 838-4758, T/L: 678-4758
firstname.lastname@example.org wrote on
03/31/2005 12:48:25 PM:
> I am trying to use this patch.
I use SUN JDK-1.5.0_02. I use
> Linux kernel 2.6.8. I successfully compiled oprofile and the opjan
> library. I used a simple 'Hello World' program with this library as
> specified in this mail. I get following error. I have attached the
> log file too. Any help appreciated.
> # An unexpected error has been detected by HotSpot
> # SIGSEGV (0xb) at pc=0x400b1f73, pid=31378,
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09
mixed mode, sharing)
> # Problematic frame:
> # C [libc.so.6+0x65f73] strlen+0x33
> # An error report file with more information
is saved as hs_err_pid31378.log
> # If you would like to submit a bug report, please
> # http://java.sun.com/webapps/bugreport/crash.jsp
> -----Original Message-----
> From: email@example.com [mailto:oprofile-
> firstname.lastname@example.org]On Behalf Of Scott T Jones
> Sent: Monday, February 07, 2005 4:04 PM
> To: email@example.com
> Subject: RE: oprofile and jitted code -- proposal 1
> This patch adds two new functions to OProfile. First, it adds
> to resolve addresses in anonymous processes, by integrating libopjdl.so
> into OProfile. This builds upon the patch previously provided
> Cohen. Second, it provides a Java profiler, libopjan.so, which
> the names of Java jitted methods, when combined with the first feature.
> This implements the following proposal on the oprofile-list:
> This patch changes configure.in and uses libtool to build libopjdl.so
> libopjan.so. Therefore, after applying the patch, you must execute
> libtoolize to initialize libtool, then you must execute ./autogen.sh
> rebuild the configure script. Finally, you can execute configure,
> and make install to complete the installation of the patch. The
> LD_LIBRARY_PATH environment variable must include the directory to
> these shared objects are installed.
> The new optional OProfile configure option, --enable-opjan, enables
> building of libopjan.so, which is used with Java to provide "OProfile
> Address-to-Name" support.
> A compatible level of jvmpi.h (IBM or Sun 1.3 or above) must be copied
> the libopjan directory before libopjan.so can be successfully built.
> new configure script will copy this file from $JDKDIR/include if the
> environment variable has been set to the directory of the active JDK.
> Note that libopjan.so is built using libtool, the presence of which
> tested at configure time.
> To invoke opjan support, the -Xrunopjan parameter must be specified
> you start Java. For example:
> java -Xrunopjan sample
> will resolve Java methods when running sample.class.
> This patch should be applied to version 0.8.1 of OProfile.
> Scott T Jones
> WBI Performance II
> IBM Corp, Austin, TX
> Reply to: firstname.lastname@example.org
> Phone: (512) 838-4758, T/L: 678-4758[attachment "hs_err_pid31378.
> log" deleted by Scott T Jones/Austin/IBM]