Non Integrated AC Agent crash [message #113957] |
Wed, 03 October 2007 13:50 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: romain.conseil.gmail.com
Hello,
I try to use the non integrated ACAgent to profile a remote application.
The remote app runs on a linux RH4 and I try to profile on a windows XP
with eclipse europa and the last tptp plugin.
I use the last acagent version : agntctrl.linux_ia32-TPTP-4.4.0.3 de
ACAgent and i have set PATH, LD_LIBRARY_PATH and fixed the different
agent.xml files (\replaced by / and suppress .exe)
I can run the SampleClient without error on the linux plateform (port
10006) but when I try to run my java app (with the
-XrunpiAgent:server=enabled option) the ACAgent seems to crash and I have
this message in the shell :
Agent Controller is not active: will wait in a 1000 ms loop
The ACServer process is then killed and a core fil is generated :
(gdb) where
#0 0x01d5e66c in os::report_fatal_error () from
/usr/java/j2re1.4.2_06/lib/i386/server/libjvm.so
#1 0x01d5ee0f in os::handle_unexpected_exception () from
/usr/java/j2re1.4.2_06/lib/i386/server/libjvm.so
#2 0x01d62d76 in JVM_handle_linux_signal () from
/usr/java/j2re1.4.2_06/lib/i386/server/libjvm.so
#3 0x01d61b08 in signalHandler () from
/usr/java/j2re1.4.2_06/lib/i386/server/libjvm.so
#4 <signal handler called>
#5 0x00de2e33 in parseMessage () from ../lib/libtptpCmdExtr.so
#6 0x00de2994 in processMessage () from ../lib/libtptpCmdExtr.so
#7 0x00b9910b in processRecdMsgs () from ../lib/libsocketTL.so
#8 0x00b9925b in processClientRequest () from ../lib/libsocketTL.so
#9 0x00116371 in start_thread () from /lib/tls/libpthread.so.0
#10 0x00280ffe in clone () from /lib/tls/libc.so.6
(gdb)
I also have a message in the ptpParseError.log :
(09/03/07 10:41:33 ACServer) XML Error: Invalid document structure (error
detected at line:1, col:1, in "parseMessage()")
DO you have an idea ? I have done something wrong or is there a bug in the
ACAgent ?
Of course it is impossible to see any agent in the profileDialog of
eclipse but I can connect to the host on the 10006 port (connection test
success) which is weird since ACServer is down...
Thanks a lot for your help !
|
|
|
|
Re: Non Integrated AC Agent crash [message #113998 is a reply to message #113970] |
Wed, 03 October 2007 14:33 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: romain.conseil.gmail.com
Hi Igor,
and thanks for your answer,
here is the content of the servicelog.log :
<CommonBaseEvent creationTime="2007-10-03T08:40:47.034720Z"
globalInstanceId="A703558F0000877B5985CC5D7FD1301A" msg="Received command
for unrecognized interface: iid=org.eclipse.tptp.eventProvider,
cmd=listenerAccepted" severity="50" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="Connect2AC.c, line
2238" instanceId="1004" location="ocmt4.tls.fr.astrium.corp"
locationType="IPV4" processId="11455" subComponent="Client Compatibility
TL" threadId="11455" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-10-03T08:40:48.924979Z"
globalInstanceId="A7035590000E1D1F3AE2B2A402533B4C" msg="File server
started listening on port 10005" severity="10" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="fileServer.c, line
177" instanceId="1004" location="ocmt4.tls.fr.astrium.corp"
locationType="IPV4" processId="11455" subComponent="Client Compatibility
TL" threadId="11455" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-10-03T08:40:54.099431Z"
globalInstanceId="A7035596000184507BF665FA32212BA9" msg="Incoming
connection request from agent Java Profiling Agent in process 11617 with
uuid UUID-1191400854-92723-442489449-998779012" severity="10"
version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="RACmdHandlers.c,
line 42" instanceId="1005" location="ocmt4.tls.fr.astrium.corp"
locationType="IPV4" processId="11455" subComponent="Agent Compatibility
TL" threadId="11455" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-10-03T08:40:54.099825Z"
globalInstanceId="A7035596000185E834D1137B5718BF00" msg="Registered Agent
UUID-1191400854-92723-442489449-998779012." severity="10" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="RACmdHandlers.c,
line 99" instanceId="1005" location="ocmt4.tls.fr.astrium.corp"
locationType="IPV4" processId="11455" subComponent="Agent Compatibility
TL" threadId="11455" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-10-03T08:40:55.130057Z"
globalInstanceId="A70355970001FBF27D69D6A540C2BE6D" msg="Registering
process 11617 org.eclipse.tptp.legacy.Java Profiling Agent" severity="10"
version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="Connect2AC.c, line
1217" instanceId="1004" location="ocmt4.tls.fr.astrium.corp"
locationType="IPV4" processId="11455" subComponent="Client Compatibility
TL" threadId="11455" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
Concerning JVMTI / JVMPI, I will have a look to it but since I run my app
with jre 1.4.2_06, maybe it will be impossible to use JVMTI profiling...
Thanks for your help...
|
|
|
|
Re: Non Integrated AC Agent crash [message #114052 is a reply to message #114041] |
Thu, 04 October 2007 09:07 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: romain.conseil.gmail.com
Hi,
In fact the ACServer seems to crash only when I try to connect with
eclipse. My application can connect to the ACAgent normally and there is
no error message.
The crash apprears when eclipse try to fetch "the children of host" when
opening the profile dialog...
For the service log file (570 lines), i would prefer to send it to you by
mail but the end of your address is hidden. Maybe you can write me a mail
(my address is a gmail one) : romain.conseil@xxxxxxxxxx.com
Thanks again...
|
|
|
Re: Non Integrated AC Agent crash [message #114319 is a reply to message #114052] |
Fri, 05 October 2007 13:47 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: romain.conseil.gmail.com
Hi,
I'm still trying to find why my ACAgent crash. Maybe this info could help :
I'm working on a Linux RedHat 4 and I haven't found
libstdc++-libc6.2-2.so.3 for this distrib. So I used
libstdc++-3-libc6.2-2-2.10.0.so which seems to be quite similar. Is it a
problem ? Could it be a reason for the crash ?
I tied to update the tptp plugins in my eclipse and to reconnect but it is
the same... Eclipse connexion seems to make ACServer crash...
Thanks for help.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04050 seconds