| Profiler hangs while "Connecting to the JVMTI agent" [message #138204] |
Mon, 17 November 2008 08:34  |
Christoph Leuzinger Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hello,
I'm trying to profile my Java application using TPTP. My system is running
Ubuntu Linux 8.04 on an amd64 platform. I'm using Eclipse version 3.4.1
(Build id: M20080911-1700) and the TPTP Platform plugin version 4.5.1. I'm
using version 1.6.0.07 of Sun's JDK and the the internal agent controller.
Testing the connection to the agent controller from the preferences panel
succeeds. However, when I try to profile any application, the progress
view shows that the application is launched, but then hangs displaying
"Connecting to the JVMTI agent". No profiling takes place.
When I run "eclipse -debug", I get the two exceptions shown below ("Socket
closed", "Broken pipe") when trying to profile the application.
Any hints? Thanks in advance,
Christoph
Output of "eclipse -debug":
---------------------------
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.j ava:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:14 1)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con nectionImpl.sendMessage(ConnectionImpl.java:518)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.sendCommand(AgentController.java:1203)
at
org.eclipse.tptp.platform.execution.client.agent.internal.Ag entImpl.sendCommand(AgentImpl.java:353)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.sendOptions(TIDelegateHelper.java:1061)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.attachToAgent(TIDelegateHelper.java:729)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.attachToAgent(TIDelegateHelper.java:653)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.access$7(TIDelegateHelper.java:651)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper$2.processLaunched(TIDelegateHelper.java:492)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launchAC(ProcessImpl.java:701)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launch(ProcessImpl.java:130)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:527)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:325)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1164)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:195)
at java.lang.Thread.run(Thread.java:636)
java.net.SocketException: Socket is closed
at java.net.Socket.getOutputStream(Socket.java:827)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con nectionImpl.sendMessage(ConnectionImpl.java:517)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.sendCommand(AgentController.java:1203)
at
org.eclipse.tptp.platform.execution.client.agent.internal.Ag entImpl.sendCommand(AgentImpl.java:353)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.configureDataProcessor(TIDelegateHelper.java:8 19)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.attachToAgent(TIDelegateHelper.java:738)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.attachToAgent(TIDelegateHelper.java:653)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.access$7(TIDelegateHelper.java:651)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper$2.processLaunched(TIDelegateHelper.java:492)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launchAC(ProcessImpl.java:701)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launch(ProcessImpl.java:130)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:527)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:325)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1164)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:195)
at java.lang.Thread.run(Thread.java:636)
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05033 seconds