Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profile Launch Xrun library error
Profile Launch Xrun library error [message #77746] Wed, 19 July 2006 07:03 Go to next message
Eclipse UserFriend
Originally posted by: rajakididi.hotmail.com

Hey..

I am new to TPTP. I am trying to do a Profile Launch with configuration
type as "Eclipse Application."
From the "Profiling Tab" I have selected the option "Execution History -
Statistical".
When I click on Profile it asks me to switch to Profiling and Logging
Perspective but after that profile launch terminates printing the
following error on the console :: "Error occurred during initialization of
VM
Could not find -Xrun library: libpiAgent.so"

I am running Linux on an x86 machine and using Java 1.4.2.

I have also tried to set the environment variable LD_LIBRARY_PATH to the
libpiAgent.so library path which is available on the following location
" eclipse/plugins/org.eclipse.hyades.execution_4.1.0/os/linux/ x86/libpiAgent.so ".

Please help me to resolve this issue.

Thanks..
Krayon
Re: Profile Launch Xrun library error [message #77809 is a reply to message #77746] Wed, 19 July 2006 11:50 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Krayon,
I am assuming you are using the Integrated Agent Controller (IAC) for
profiling Eclipse. I would suggest you use the Agent Controller for
performance and scalability reasons. However, this appears to be a problem
so please open a TPTP defect.

Paul
"Krayon" <rajakididi@hotmail.com> wrote in message
news:5ed1837dd354fc2d954bb459383c3f04$1@www.eclipse.org...
> Hey..
>
> I am new to TPTP. I am trying to do a Profile Launch with configuration
> type as "Eclipse Application."
> From the "Profiling Tab" I have selected the option "Execution History -
> Statistical".
> When I click on Profile it asks me to switch to Profiling and Logging
> Perspective but after that profile launch terminates printing the
> following error on the console :: "Error occurred during initialization of
> VM
> Could not find -Xrun library: libpiAgent.so"
>
> I am running Linux on an x86 machine and using Java 1.4.2.
>
> I have also tried to set the environment variable LD_LIBRARY_PATH to the
> libpiAgent.so library path which is available on the following location
>
" eclipse/plugins/org.eclipse.hyades.execution_4.1.0/os/linux/ x86/libpiAgent.
so".
>
> Please help me to resolve this issue.
>
> Thanks..
> Krayon
>
Re: Profile Launch Xrun library error [message #77872 is a reply to message #77746] Wed, 19 July 2006 17:00 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Krayon wrote:
> Hey..
>
> I am new to TPTP. I am trying to do a Profile Launch with configuration
> type as "Eclipse Application."
> From the "Profiling Tab" I have selected the option "Execution History
> - Statistical".
> When I click on Profile it asks me to switch to Profiling and Logging
> Perspective but after that profile launch terminates printing the
> following error on the console :: "Error occurred during initialization
> of VM
> Could not find -Xrun library: libpiAgent.so"
>
> I am running Linux on an x86 machine and using Java 1.4.2.

32-bit x86 system? or 64-bit? The reason I ask is that my experience is
that 32-bit and 64-bit mixing of JVMs and .so files doesn't work.

> I have also tried to set the environment variable LD_LIBRARY_PATH to the
> libpiAgent.so library path which is available on the following location
> " eclipse/plugins/org.eclipse.hyades.execution_4.1.0/os/linux/ x86/libpiAgent.so ".

Could you go ahead and check the permissions on that file and tell us
what they are?

> Please help me to resolve this issue.
>
> Thanks..
> Krayon


More info to give us: Version of Linux (RedHat? SuSE? Ubuntu? ... and
which version of that Linux), whose Java 1.4.2 (Sun's? IBM's? BEA's? and
which sub-version number... e.g., _10), which version of Eclipse?
(3.1.2?), which version of TPTP (4.1.0 or 4.1.0.1?).

The more information we have, even if just on the bugzilla that Paul
suggested, the better off we will be chasing it.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Profile Launch Xrun library error [message #77961 is a reply to message #77872] Thu, 20 July 2006 06:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rajakididi.hotmail.com

Hey..!!

Please see my answers below ::

> 32-bit x86 system? or 64-bit? The reason I ask is that my experience is
> that 32-bit and 64-bit mixing of JVMs and .so files doesn't work.

It is a 32 bit x86 system.

> Could you go ahead and check the permissions on that file and tell us
> what they are?

Permission on the library is set as :: -rw-r--r--

> More info to give us: Version of Linux (RedHat? SuSE? Ubuntu? ... and
> which version of that Linux), whose Java 1.4.2 (Sun's? IBM's? BEA's? and
> which sub-version number... e.g., _10), which version of Eclipse?
> (3.1.2?), which version of TPTP (4.1.0 or 4.1.0.1?).

I am running Ubuntu Dapper Distribution on my machine.
Sun's Java 1.4.2_07. I have also tried with J2SDK 1.4.2_11.
Eclipse 3.1.2
TPTP SDK 4.1.0

Please find the above information helpful.
Let me know if you need something more.

Thanks & Regards,
Krayon
Re: Profile Launch Xrun library error [message #78113 is a reply to message #77961] Thu, 20 July 2006 18:30 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Krayon wrote:
> Hey..!!
>
> Please see my answers below ::
>
>> 32-bit x86 system? or 64-bit? The reason I ask is that my experience
>> is that 32-bit and 64-bit mixing of JVMs and .so files doesn't work.
>
>
> It is a 32 bit x86 system.
>
>> Could you go ahead and check the permissions on that file and tell us
>> what they are?
>
>
> Permission on the library is set as :: -rw-r--r--

I know on Windows .dlls have to be executable; and I know that on my
SuSE box they don't appear to need to be... but I've seen some
discussion that makes me think Ubuntu might behave differently here? Can
you change that to make it executable (chmod +x or chmod 755) and try
again and let us know if that is the case or not?

>> More info to give us: Version of Linux (RedHat? SuSE? Ubuntu? ... and
>> which version of that Linux), whose Java 1.4.2 (Sun's? IBM's? BEA's?
>> and which sub-version number... e.g., _10), which version of Eclipse?
>> (3.1.2?), which version of TPTP (4.1.0 or 4.1.0.1?).
>
>
> I am running Ubuntu Dapper Distribution on my machine.
> Sun's Java 1.4.2_07. I have also tried with J2SDK 1.4.2_11.
> Eclipse 3.1.2
> TPTP SDK 4.1.0
>
> Please find the above information helpful.
> Let me know if you need something more.
>
> Thanks & Regards,
> Krayon

I don't have Ubuntu readily available to me ... I hope you don't mind
testing this out for me!
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Profile Launch Xrun library error [message #78186 is a reply to message #78113] Fri, 21 July 2006 07:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rajakididi.hotmail.com

Hi Randy

I changed the permissions on the library to executable (chmod +x). But
this doesn't help. I am still getting the same problem.

Krayon.
Re: Profile Launch Xrun library error [message #78248 is a reply to message #78186] Fri, 21 July 2006 15:38 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Krayon wrote:
> Hi Randy
>
> I changed the permissions on the library to executable (chmod +x). But
> this doesn't help. I am still getting the same problem.
> Krayon.
>

Looking back through this thread, I see that you're profiling an
*Eclipse Application* rather than a normal Java application. (Yes, I
didn't see that originally.) Perhaps one of my fellow TPTP-ers will jump
in and tell us what is/might be different in that situation.

But thinking about that takes me back to the LD_LIBRARY_PATH attempts...
given that an Eclipse application startup adds what is in a sense a
level of indirection to the invocation process, I'm wondering if (1) you
"set" the LD_LIBRARY_PATH or whether you EXPORTED the value... make sure
the value is exported, and (2) make sure you use the absolute path for
the piAgent library, not a path relative to your current working directory.

Meanwhile I'll keep digging to see if there is anything unique about
profiling an Eclipse app. I have a vague recollection of people running
into brick walls profiling such as they were overwhelmed with data?!?

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Profile Launch Xrun library error [message #78259 is a reply to message #78248] Fri, 21 July 2006 20:19 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Randy D. Smith wrote:
> Krayon wrote:
>
>> Hi Randy
>>
>> I changed the permissions on the library to executable (chmod +x). But
>> this doesn't help. I am still getting the same problem.
>> Krayon.
>>
>
> Looking back through this thread, I see that you're profiling an
> *Eclipse Application* rather than a normal Java application. (Yes, I
> didn't see that originally.) Perhaps one of my fellow TPTP-ers will jump
> in and tell us what is/might be different in that situation.
>
> But thinking about that takes me back to the LD_LIBRARY_PATH attempts...
> given that an Eclipse application startup adds what is in a sense a
> level of indirection to the invocation process, I'm wondering if (1) you
> "set" the LD_LIBRARY_PATH or whether you EXPORTED the value... make sure
> the value is exported, and (2) make sure you use the absolute path for
> the piAgent library, not a path relative to your current working directory.
>
> Meanwhile I'll keep digging to see if there is anything unique about
> profiling an Eclipse app. I have a vague recollection of people running
> into brick walls profiling such as they were overwhelmed with data?!?
>

After wallowing around in bugzilla, I think we're back to Paul's
suggestion that you'll need to file a bugzilla so that "the right
people" look into it. The closest I found was <
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150660 >, which implies
that the basic stuff you're trying should "just work" ... unless the
problem is Ubuntu-specific ... we seem to see an increasing frequency of
complaints from Ubuntu users... I don't know if that is totally
correlated with more Ubuntu use or if RedHat and SuSE "just work"
whereas something is out of whack on Ubuntu.

Did you ever try Paul's suggestion to switch from using the IAC (built
into the Eclipse workbench when TPTP is installed and thus somewhat
"invisible" to users) to running with the agent controller? If not, you
really should try that route. If you do try, please let us know the
results, good or bad.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Profile Launch Xrun library error [message #78705 is a reply to message #78259] Tue, 25 July 2006 11:14 Go to previous message
Eclipse UserFriend
Originally posted by: rajakididi.hotmail.com

Hey Randy

I am sorry I couldn't get back to you early.
No, I have not tried IAC yet. I will give it a shot soon.

Will inform you with the results.

Thanks & Regards,
Krayon
Previous Topic:FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Next Topic:Execution Statistics View - what is inherited base and inherited cumulative time
Goto Forum:
  


Current Time: Fri Mar 29 01:18:39 GMT 2024

Powered by FUDForum. Page generated in 0.03833 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top