Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file)
Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97231] Fri, 27 April 2007 18:26 Go to next message
Eclipse User
Originally posted by: smalunjk.stanford.edu

Hi all

1> I have eclipse 3.3M6, TPTP 4.4.0, java 1_5_09, new technology agent
controller 4.3.1, JVMTI 4.2 installed. I am trying to investigate a memory
leak of a standalone java application from within eclipse.

clicking on "test availability" button from the monitor tab(with "Java
profiling(Java 5.0 +)..." highlighted returns success.

But when i run memory analysis on the application, it seems to freeze and
after a few minutes i get this in the eclipse console:

Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
log file).]

2> tptpParserError.log has following 2 lines added to it:

(04/27/07 14:46:10 C:\Java\newAC\bin\tptpProcessController.exe) XML Error:
Expected comment or processing instruction (error detected at line:1,
col:177, in "parseApplication()")
(04/27/07 14:46:18 C:\Java\newAC\bin\tptpProcessController.exe) XML Error:
Expected comment or processing instruction (error detected at line:1,
col:1535, in "parseApplication()")

3>servicelog.log has:

<CommonBaseEvent creationTime="2007-04-27T21:50:49.828000Z"
globalInstanceId="AF4DFEEC70CD4E718142B30FA4EA428B" msg="PC
handleProcessEvents: Process has exited with status 4294967295."
severity="50" version="1.0.1">
<sourceComponentId component="ProcessController"
componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.3.1\TPTP-4.3.1-200702221346\agnt ctrl\src\agents\tptpProcessController\ProcessController_md.c pp,
line 284" instanceId="101" location="LENOVO-0418C407.stanford.edu"
locationType="IPV4" processId="12144" subComponent="ProcessController"
threadId="10744"/>
<situation categoryName="ReportSituation">
<situationType reasoningScope="INTERNAL" reportCategory="LOG"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation"/>
</situation>
</CommonBaseEvent>

4>and org.eclipse.tptp.javaprofiler/log has:

=============================================
Process ID: 10320
Process command line: "c:\java\jdk1.5.0_09\jre\bin\java.exe" -Xms256m
-Xmx512m
-Dlog4j.configuration=file:c:/java/workspace3.3/gateway/tran scriber-log4j.xml
-agentlib:JPIBootLoader=JPIAgent:server=controlled;HeapProf: allocsites=true
edu.stanford.irt.gateway.hl7v2.client.Hl7FileTranscriber
<PRORAMARGS_REMOVED>
Machine name: LENOVO-0418C407
=============================================

Informative 04/27/07 21:50:49 5720 5 CDataManager Updated instrumentation
information for class
'sun/reflect/GeneratedSerializationConstructorAccessor1' (id = 1210)
Error 04/27/07 21:50:49 5720 0 CHeapAdaptor Found unexpected sequence of
'new' and 'invokespecial' instructions. Method
sun/reflect/GeneratedSerializationConstructorAccessor1.newIn stance(([Ljava/lang/Object;)Ljava/lang/Object;)




5> I noticed that Asaf,Guru and all have been very helpful. I would appreciate
any help on this issue. Let me know what I missed here.

Thanks in advance and let me know for additional info.
Sanjay Malunjkar
Re: Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97289 is a reply to message #97231] Sun, 29 April 2007 02:04 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Sanjay,

Thanks for the report. It seems that you have found a new
instrumentation issue with the Heap Profiler. Is it possible for you to
post a small Java application that can be used for reproducing this
behavior?

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler


sanjay malunjkar wrote:
> Hi all
>
> 1> I have eclipse 3.3M6, TPTP 4.4.0, java 1_5_09, new technology agent
> controller 4.3.1, JVMTI 4.2 installed. I am trying to investigate a
> memory leak of a standalone java application from within eclipse.
> clicking on "test availability" button from the monitor tab(with "Java
> profiling(Java 5.0 +)..." highlighted returns success.
>
> But when i run memory analysis on the application, it seems to freeze
> and after a few minutes i get this in the eclipse console:
>
> Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
> log file).]
>
> 2> tptpParserError.log has following 2 lines added to it:
>
> (04/27/07 14:46:10 C:\Java\newAC\bin\tptpProcessController.exe) XML
> Error: Expected comment or processing instruction (error detected at
> line:1, col:177, in "parseApplication()")
> (04/27/07 14:46:18 C:\Java\newAC\bin\tptpProcessController.exe) XML
> Error: Expected comment or processing instruction (error detected at
> line:1, col:1535, in "parseApplication()")
>
> 3>servicelog.log has:
>
> <CommonBaseEvent creationTime="2007-04-27T21:50:49.828000Z"
> globalInstanceId="AF4DFEEC70CD4E718142B30FA4EA428B" msg="PC
> handleProcessEvents: Process has exited with status 4294967295."
> severity="50" version="1.0.1">
> <sourceComponentId component="ProcessController"
> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.3.1\TPTP-4.3.1-200702221346\agnt ctrl\src\agents\tptpProcessController\ProcessController_md.c pp,
> line 284" instanceId="101" location="LENOVO-0418C407.stanford.edu"
> locationType="IPV4" processId="12144" subComponent="ProcessController"
> threadId="10744"/>
> <situation categoryName="ReportSituation">
> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation"/>
> </situation>
> </CommonBaseEvent>
>
> 4>and org.eclipse.tptp.javaprofiler/log has:
>
> =============================================
> Process ID: 10320
> Process command line: "c:\java\jdk1.5.0_09\jre\bin\java.exe" -Xms256m
> -Xmx512m
> -Dlog4j.configuration=file:c:/java/workspace3.3/gateway/tran scriber-log4j.xml
> -agentlib:JPIBootLoader=JPIAgent:server=controlled;HeapProf: allocsites=true
> edu.stanford.irt.gateway.hl7v2.client.Hl7FileTranscriber
> <PRORAMARGS_REMOVED>
> Machine name: LENOVO-0418C407
> =============================================
>
> Informative 04/27/07 21:50:49 5720 5 CDataManager
> Updated instrumentation information for class
> 'sun/reflect/GeneratedSerializationConstructorAccessor1' (id = 1210)
> Error 04/27/07 21:50:49 5720 0 CHeapAdaptor Found
> unexpected sequence of 'new' and 'invokespecial' instructions. Method
> sun/reflect/GeneratedSerializationConstructorAccessor1.newIn stance(([Ljava/lang/Object;)Ljava/lang/Object;)
>
>
>
>
>
> 5> I noticed that Asaf,Guru and all have been very helpful. I would
> appreciate any help on this issue. Let me know what I missed here.
>
> Thanks in advance and let me know for additional info.
> Sanjay Malunjkar
>
>
Re: Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97304 is a reply to message #97289] Sun, 29 April 2007 04:44 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
I was able to reproduce this problem. I will open a Bugzilla and add
your in the CC list so you can track our progress.

Thanks again for reporting this issue.

Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97317 is a reply to message #97304] Sun, 29 April 2007 04:56 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Please see here for more details:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=184618

Feel free to add yourself to the CC list.

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97374 is a reply to message #97317] Mon, 30 April 2007 12:23 Go to previous messageGo to next message
Eclipse User
Originally posted by: smalunjk.stanford.edu

Asaf

thanks for the response. I was unable to add myself to the cc list.can u
help?
also, when is the i4 release going to be available?

thanks
sanjay
Re: Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file) [message #97417 is a reply to message #97374] Tue, 01 May 2007 02:29 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Sanjay,

I tried to add you to the CC list and failed. I think you must create a
Bugzilla account in bugs.eclipse.org before you can add yourself to the
CC list of a bug.

The bug you reported was fixed. The fix will be included in the next
"dev" build of the Agent Controller as well as in the 4.4.i3 candidate
build (expected by end of this week). If you can't wait, you can
check-out the source code of the org.eclipse.tptp.platform.jvmti.runtime
component and build the Profiler Runtime files. CVS access procedures
are available here:
http://dev.eclipse.org/viewcvs/index.cgi/?root=TPTP_Project

TPTP 4.4 GA is expected in June, as part of Eclipse 3.3.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:who can tell me how to monitor the HPUX machine, thanks!
Next Topic:determining target vm vendor + version before launching an application
Goto Forum:
  


Current Time: Fri Aug 22 00:06:17 EDT 2014

Powered by FUDForum. Page generated in 0.02652 seconds