Profile Launch Xrun library error [message #77746] |
Wed, 19 July 2006 07:03 |
Eclipse User |
|
|
|
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 #77961 is a reply to message #77872] |
Thu, 20 July 2006 06:14 |
Eclipse User |
|
|
|
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 #78259 is a reply to message #78248] |
Fri, 21 July 2006 20:19 |
Randy D. Smith 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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03833 seconds