Dear Chengrui,

Thanks very much for your help and rapid response. I installed the
development agent controller and could profile the application.

Cheers,
Ian

_______________________________________________

IAN ASHLEY
Software Engineering Manager
T   +44 (0)1727 847488
F   +44 (0)1727 840649
Sandridge Park
Porters Wood
St Albans Herts
AL3 6PH UK

www.nstein.com
Connecting people with content
 
This message, its contents and any attachments to it, are private and
confidential.  Any unauthorised disclosure, use or dissemination of the
whole or any part of this message without our prior consent in writing is
prohibited. If you are not the intended recipient of this message please
notify us immediately. The contents of this message and any attachment to it
do not constitute a commitment, agreement, or representation by us except
where the same is provided for in a written agreement entered into between
you and us.
 
Registered in England Number 3160929. Nstein Technologies Europe Ltd, c/o
Fasken Martineau Stringer Saul, 17 Hanover Square, London, W1S 1HU




From: "Deng, Chengrui" <chengrui.d...@intel.com>
Reply-To: TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
Date: Fri, 18 Dec 2009 14:34:40 +0800
To: TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
Subject: RE: [tptp-tracing-profiling-tools-dev] Problem using TPTP to
profile Jboss on Linux

Hi, Ian,
I just checked the log file you attached. The crash happened in TPTP Call
Graph Profiler module (CGProf). I also noticed that you used TPTP profiler
4.6.1 release version.
 
This crash problem is caused by incorrect memory operation of TPTP CGProf
when profiling your app. We have modified the CGProf memory operation code
in 4.6.2. If you would like, you can have a try with the latest TPTP 4.6.2
development candidate build
<http://www.eclipse.org/tptp/home/downloads/?ver=4.6.2> . Additional
information is I am working on refactoring current CGProf implementation. I
think the crash problem will be solved in future TPTP release. Thanks.
 
Regards,
 
Chengrui Deng
China Runtime Technology Lab,
Intel SSG/MRTC
 


From: tptp-tracing-profiling-tools-dev-boun...@eclipse.org
[mailto:tptp-tracing-profiling-tools-dev-boun...@eclipse.org] On Behalf Of
Ian Ashley
Sent: 2009年12月18日 0:17
To: TPTP Tracing and Profiling Tools Project developer discussions
Subject: Re: [tptp-tracing-profiling-tools-dev] Problem using TPTP to
profile Jboss on Linux
 
Thanks very much for the feedback. We only really have 1 Java application so
I cannot easily try a different but I can try the latest release of JDK 1.6
if that would help.

I have attached the log file as requested.

Thanks,
Ian

_______________________________________________

IAN ASHLEY
Software Engineering Manager
T   +44 (0)1727 847488
F   +44 (0)1727 840649
Sandridge Park
Porters Wood
St Albans Herts
AL3 6PH UK

www.nstein.com
Connecting people with content

This message, its contents and any attachments to it, are private and
confidential.  Any unauthorised disclosure, use or dissemination of the
whole or any part of this message without our prior consent in writing is
prohibited. If you are not the intended recipient of this message please
notify us immediately. The contents of this message and any attachment to it
do not constitute a commitment, agreement, or representation by us except
where the same is provided for in a written agreement entered into between
you and us.
 
Registered in England Number 3160929. Nstein Technologies Europe Ltd, c/o
Fasken Martineau Stringer Saul, 17 Hanover Square, London, W1S 1HU



From: Eugene Chan <ewc...@ca.ibm.com>
Reply-To: TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
Date: Thu, 17 Dec 2009 11:09:36 -0500
To: TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
Cc: <tptp-tracing-profiling-tools-dev@eclipse.org>,
<tptp-tracing-profiling-tools-dev-boun...@eclipse.org>
Subject: Re: [tptp-tracing-profiling-tools-dev] Problem using TPTP to
profile Jboss on Linux


Hi Ian 

According to the error message, the crash happened in the Agent Controller
Execution Profiler library libCGProf.so. Does the same problem reproduce if
you profile with a different JVM? or a different Java application?
Would you please open a TPTP defect for this problem and list your step to
reproduce the problem. Please also attach the hs_err_pid15049.log if
available. 

Thanks 
Eugene 


From: Ian Ashley <ian.ash...@nstein.com>
To: <tptp-tracing-profiling-tools-dev@eclipse.org>
Date: 12/17/2009 09:56 AM
Subject: [tptp-tracing-profiling-tools-dev] Problem using TPTP to profile
Jboss on Linux 
Sent by: tptp-tracing-profiling-tools-dev-boun...@eclipse.org





I am having a problem trying to use Eclipse TPTP to profile JBoss 5.0.0.GA
on a Linux server that I hope you can help me with.

uname -a on the server returns
Linux aserver.picdar.co.uk 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23
EDT 2005 i686 i686 i386 GNU/Linux

I have installed new versions of JBoss 5.0.0.GA and Agent Controller 4.6.1
(from agntctrl.linux_ia32-TPTP-4.6.1.zip) on the Linux server.

The following environment variables were set
export TPTP_AC_HOME=<install directory>
export 
JAVA_PROFILER_HOME=$TPTP_AC_HOME/plugins/org.eclipse.tptp.javaprofiler
export 
LD_LIBRARY_PATH=$JAVA_PROFILER_HOME:$TPTP_AC_HOME/lib:$LD_LIBRARY_PATH
export MARTINI_LOGGER_DIRECTORY=/tmp/Ian
export MARTINI_LOGGER_LOG_LEVEL=5

To configure the Agent Controller I ran SetConfig.sh entering
/usr/java/jdk1.6.0_13/jre/bin/java as the Java to use and ALL as the hosts
to accept connections from.

The following was added to JBoss's run.sh file

JAVA_OPTS="-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf
$JAVA_OPTS"


I installed a new version of Eclipse Galileo for Java EE Development on my
computer (Mac OS X).
I installed TPTP version 4.6.1 from tptp.runtime-TPTP-4.6.1.zip


I started the Agent Controller with ACStart.sh.
I started JBoss with run.sh

I attached to the Agent Controller from Eclipse by creating an Attach to
Agent Profile Configuration. The Agents tab correctly showed that the
Execution Time Analysis agent was available.

When profiling our application JBoss core dumps displaying

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb5f9b81e, pid=15049, tid=1745877936
#
# Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C  [libCGProf.so+0x5181e]
_ZN7Martini8BaseProf8CProfEnv18FinalizeStackEntryEyy+0xa2
#
# An error report file with more information is saved as:
# /home/iana/jboss-5.0.0.GA/bin/hs_err_pid15049.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
<http://java.sun.com/webapps/bugreport/crash.jsp>
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./run.sh: line 317: 15049 Aborted                (core dumped) "$JAVA"
$JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath
"$JBOSS_CLASSPATH" org.jboss.Main $JBOSS_NSTEIN_ARGS "$@"

I have attached the log file.


All help gratefully received,
Ian _______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
<https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev>



_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev


_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

<<image.gif>>

<<image.gif>>

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to