Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » IAC with 4.4i2 on Linux-32
IAC with 4.4i2 on Linux-32 [message #93310] Sat, 10 March 2007 01:04 Go to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Hi everybody. I'm having to upgrade TPTP from running 4.1 on a Linux 32
box as I need to be running Eclipse 3.3M5. From a previous message
found on the newsgroup, I'm running on 4.4.0 200702211545. I'm
unfortunately running into some issues in getting tracing to work using
the IAC, and I'm hoping someone will point me to an answer. I haven't
yet tried the RAC, and would generally prefer not to.

* I can't seem to launch a Java Application (or Eclipse Runtime
Workbench) using the IAC. I've created new configurations from Run ->
Profile..., but neither feature a `Hosts' tab like the previous
versions. Is this not possible in 4.4-i1?

* Although I haven't configured an RAC, I decided I'd give these two
configurations a try anyways. When I click on Profile, I get two
dialogs. The first is a little one that says that `One of the selected
launch delegates has failed. The operation will continue'. The other is
a bigger with two IWAT0284E errors saying than an agent controller
couldn't be found -- which is to be expected. But an NPE was logged:

ENTRY org.eclipse.tptp.platform.common 1 0 2007-03-09 18:48:24.431
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.hyades.internal.execution.local.control.ProcessI mpl.getConsole(ProcessImpl.java:380)
at
org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIDelegateHelper.verifyValidJVMVersion(PIDelegateHelper.ja va:443)
at
org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIRuntimeWorkbenchLauncherDelegate.preLaunch(PIRuntimeWork benchLauncherDelegate.java:39)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1168)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
at java.lang.Thread.run(Unknown Source)



So I thought I would also try running my simple app with -XrunpiAgent.
I add
..../plugins/org.eclipse.hyades.execution.linux.x86_4.3.0.v2 00702070100/
to my LD_LIBRARY_PATH and then run my app with
`-XrunpiAgent:server=enabled'. I get a warning saying:

Agent Controller is not active: will wait in a 1000 ms loop

but the app runs. When I try to attach (Run -> Profile... -> Attach -
Java Process), the Agents tab displays an error:

IWAT0435E An error occurred when connecting to the host

Refreshing the data makes no difference, and there are no errors logged
to the console. I should mention that on the Host tab, doing a Test
Connection for the Local Direct Connections succeeds, and there is named
pipe in /tmp/IBMRAC/. Using `server=controlled' made no difference
either. Am I missing something here?


I then tried to run it with `-XrunpiAgent:server=standalone,file=foo'.
This caused a SIGSEGV:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xbbacf869, pid=18417, tid=16384
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
# Problematic frame:
# C [libc.so.6+0x64869] __libc_free+0x49

where the top of the stack is

C [libc.so.6+0x64869] __libc_free+0x49
C [libhcclco.so+0x6ded] ra_free+0x11
C [libpiAgent.so+0x1b468]
C [libpiAgent.so+0x1b507] jvmpiAgent_printNodeElement+0x93
C [libpiAgent.so+0x224b3]
C [libpiAgent.so+0x20845]
C [libpiAgent.so+0x20ea2]
C [libpiAgent.so+0x204a9]
V [libjvm.so+0x20853f]
V [libjvm.so+0x2f2389]
V [libjvm.so+0x1a2ebc]

Thanks in advance for any suggestions. I should note here that this is
the Sun 1.5.0_07 VM on a 32 bit machine.

Brian.
Re: IAC with 4.4i2 on Linux-32 [message #93342 is a reply to message #93310] Sun, 11 March 2007 04:57 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
I should add one thing: when running with server=standalone

> I then tried to run it with `-XrunpiAgent:server=standalone,file=foo'.
> This caused a SIGSEGV:
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # SIGSEGV (0xb) at pc=0xbbacf869, pid=18417, tid=16384
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
> # Problematic frame:
> # C [libc.so.6+0x64869] __libc_free+0x49

This works fine with the 4.1 piAgent. I just updated my JDK to Sun
1.5.0_b11, and running it now doesn't crash, but fails with:

Exception in thread "main" java.lang.ClassFormatError: Incompatible
magic value -259263675 in class file sun/misc/URLClassPath$FileLoader$1
at sun.misc.URLClassPath$FileLoader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Re: IAC with 4.4i2 on Linux-32 [message #95714 is a reply to message #93342] Fri, 13 April 2007 11:37 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Brian,
All of your scenarios are perfectly valid.

Can you try the latest stable build (TPTP-4.4.0-200703270100D) dropped
to Europa for 4.4 i2? The TPTP-4.4.0-200702211545 build was our stable
build dropped to Europa for 4.4 i1. If the problem persists, please open a
defect for each of your failing scnerios.

Paul
"Brian de Alwis" <bsd@cs.ubc.ca> wrote in message
news:et0280$1f2$1@utils.eclipse.org...
>I should add one thing: when running with server=standalone
>
>> I then tried to run it with `-XrunpiAgent:server=standalone,file=foo'.
>> This caused a SIGSEGV:
>>
>> #
>> # An unexpected error has been detected by HotSpot Virtual Machine:
>> #
>> # SIGSEGV (0xb) at pc=0xbbacf869, pid=18417, tid=16384
>> #
>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
>> # Problematic frame:
>> # C [libc.so.6+0x64869] __libc_free+0x49
>
> This works fine with the 4.1 piAgent. I just updated my JDK to Sun
> 1.5.0_b11, and running it now doesn't crash, but fails with:
>
> Exception in thread "main" java.lang.ClassFormatError: Incompatible magic
> value -259263675 in class file sun/misc/URLClassPath$FileLoader$1
> at sun.misc.URLClassPath$FileLoader.getResource(Unknown Source)
> at sun.misc.URLClassPath.getResource(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Previous Topic:Summer Of Code project question
Next Topic:Users and different session id
Goto Forum:
  


Current Time: Tue Mar 19 10:47:47 GMT 2024

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

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

Back to the top