Hi Erik,

Does this happen on any other JVMs? Also can you clarify the OS you are
running on?

With Linux IPF I am having no trouble with the command line you provided:

[zombie]$ java -agentlib:JPIBootLoader=JPIAgent:server=enabled\;CGProf
main.Zombie?
Default configuration values for connection with AC are used.
Note: Agent and AC should use same configuration for correct work.
Zombie-e-e-e-e-e-e-e-e^C
[zombie]$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b0305)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)

Only other difference I can see right now is I have an older JVM. Do you
get any other interesting output pertaining to CGProxy if you add:

 -verbose:class

to the command line? Feel free to open a Bugzilla with the information
above and we can investigate further in there.

Mike Reid

Test and Performance Tools,
Rational Application Developer for Websphere
phone. 905-413-2282 | fax. 905-413-4850
e-mail. miker...@ca.ibm.com
                                                                                
                                 
  From:       Erik Lindblad <erik.lindb...@gmail.com>                           
                                 
                                                                                
                                 
  To:         tptp-tracing-profiling-tools-dev@eclipse.org                      
                                 
                                                                                
                                 
  Date:       04/15/2010 06:39 AM                                               
                                 
                                                                                
                                 
  Subject:    [tptp-tracing-profiling-tools-dev] Error starting CGProf,   TPTP 
agent controller 4.6.2 (IPF).     
              Bug?                                                              
                                 
                                                                                
                                 
  Sent by:    tptp-tracing-profiling-tools-dev-boun...@eclipse.org              
                                 
                                                                                
                                 





Hello!

HeapProf and ThreadProf work as expected, however CGProf crashes on
start with this message (to stdout):
[Error: EC JPIAgent received message (FATAL ERROR): Internal error
(see log file).]

Last 2 lines of the logfile:
Informative     04/15/10        09:40:58        235081  0
CJavaInstrumentorManager        failed to load class
'org/eclipse/tptp/martini/CGProxy'
Error   04/15/10        09:40:58        235081  0
CJavaInstrumentorManager        failed to register native callbacks
for the call-graph events recorder class

Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b0701)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

agent jvm parameters:
-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf

Full martini log attached (loglevel 5).

Could this be a bug or am I doing something wrong?

Cheers,
Erik
[attachment "MLog235081.log.gz" deleted by Mike Reid/Toronto/IBM]
_______________________________________________
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

<<inline: ecblank.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